:root{color-scheme:light;font-family:Microsoft YaHei,PingFang SC,Segoe UI,sans-serif;--bg: #f4f7fb;--bg-soft: #eef4f8;--surface: #ffffff;--surface-raised: #fbfdff;--line: #d8e3ee;--line-strong: #bdccd9;--text: #172033;--text-muted: #5f6f82;--text-faint: #8291a5;--brand: #0f766e;--brand-strong: #0b5f59;--brand-soft: #d9f5ef;--nav: #102333;--nav-raised: #173247;--nav-active: #1c4c63;--info: #2563eb;--critical: #dc2626;--warning: #d97706;--success: #159947;--radius: 8px;--control-height: 42px;--shadow-sm: 0 8px 18px rgba(18, 40, 60, .06);--shadow-md: 0 16px 40px rgba(18, 40, 60, .1);--focus: 0 0 0 3px rgba(15, 118, 110, .14);background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow-x:hidden;background:linear-gradient(140deg,#0f766e14,#2563eb0d 42%,#f4f7fb00 70%),var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(360px,460px) minmax(0,1fr);background:linear-gradient(130deg,#091322f5,#162741e6),#101827;color:#ecf6ff}.login-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,6vw,64px);border-right:1px solid rgba(155,180,210,.16)}.brand-lockup,.sidebar-brand{display:flex;align-items:center;gap:14px}.brand-mark{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid rgba(125,211,252,.65);background:linear-gradient(145deg,#123a5a,#1e5f8f);color:#e0f2fe;font-weight:800}.brand-lockup p,.topbar p,.section-heading p{margin:0;color:#8eb9e8;font-size:12px;letter-spacing:0;text-transform:uppercase}.brand-lockup h1{margin:4px 0 0;font-size:30px;line-height:1.2}.login-copy{margin:28px 0 34px;color:#b8c8dc;line-height:1.7}.login-form{display:grid;gap:16px}.login-form label,.hazard-form label,.filters label{display:grid;gap:8px;color:#dbeafe;font-size:14px}.login-form input,.hazard-form input,.hazard-form select,.hazard-form textarea,.filters input,.filters select,.status-select{width:100%;border:1px solid #cbd7e7;background:#fff;color:#172033;padding:11px 12px;border-radius:6px;outline:none}.login-form input{background:#ffffff14;border-color:#94b8dc47;color:#fff}.login-form button,.hazard-form button{border:0;background:linear-gradient(135deg,#1683c7,#0f5d91);color:#fff;padding:12px 18px;border-radius:6px;font-weight:700}.login-alert{margin:0;color:#fecaca;font-size:13px}.login-hint{margin:18px 0 0;color:#a7bdd6;font-size:13px}.login-visual{position:relative;display:grid;align-content:center;justify-items:center;padding:clamp(28px,7vw,80px);overflow:hidden}.radar-card{width:min(560px,80vw);aspect-ratio:1.25;position:relative;border:1px solid rgba(125,211,252,.28);background:radial-gradient(circle at 50% 48%,rgba(37,99,235,.25),transparent 35%),linear-gradient(145deg,#081426bf,#142c48d9);box-shadow:0 24px 80px #00000059}.radar-rings{position:absolute;inset:12%;border:1px solid rgba(125,211,252,.28);background:linear-gradient(90deg,transparent 49%,rgba(125,211,252,.18) 50%,transparent 51%),linear-gradient(0deg,transparent 49%,rgba(125,211,252,.18) 50%,transparent 51%)}.radar-rings:before,.radar-rings:after{content:"";position:absolute;inset:18%;border:1px solid rgba(125,211,252,.22)}.radar-rings:after{inset:36%}.signal{position:absolute;width:18px;height:18px;border-radius:50%;z-index:2}.signal-critical{left:24%;top:28%;background:#ef4444}.signal-warning{right:29%;top:38%;background:#f59e0b}.signal-safe{left:48%;bottom:24%;background:#22c55e}.login-metrics{width:min(560px,80vw);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.login-metrics div,.metric,.panel{background:#fff;border:1px solid #dce7f2;box-shadow:0 10px 28px #111f330f}.login-metrics div{padding:16px;color:#102033}.login-metrics strong,.metric strong{display:block;font-size:28px}.login-metrics span,.metric span{color:#64748b;font-size:13px}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);min-width:0}.sidebar{background:#142033;color:#e5eef9;padding:22px 16px}.sidebar-brand{padding:4px 6px 24px}.sidebar-brand strong{display:block}.sidebar-brand small{color:#8eb9e8}.nav-list{display:grid;gap:8px}.nav-item{border:0;color:#cbd8e8;background:transparent;padding:12px 14px;text-align:left;border-radius:6px}.nav-item.is-active,.nav-item:hover{background:#213049;color:#fff}.nav-group{display:grid;gap:6px}.nav-parent{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-weight:700}.nav-parent:after{content:"";width:7px;height:7px;flex:0 0 auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;color:#8eb9e8;transform:rotate(-45deg);transition:transform .18s ease}.nav-group.is-open>.nav-parent:after{transform:rotate(45deg)}.nav-sublist{display:grid;gap:6px;padding-left:12px}.nav-subitem{padding:10px 12px 10px 18px;font-size:14px;border-left:2px solid rgba(142,185,232,.28)}.workspace{min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;border-bottom:1px solid #dbe5ef}.topbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.topbar-profile{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 12px;border:1px solid #d8e4ef;border-radius:8px;background:#f8fbfe}.topbar-profile-identity{display:flex;align-items:center;gap:9px;min-width:150px}.topbar-profile-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#0f5d91;color:#fff;font-weight:800}.topbar-profile strong,.topbar-profile small{display:block;white-space:nowrap}.topbar-profile strong{color:#102033;font-size:14px;line-height:1.25}.topbar-profile small{color:#64748b;font-size:12px;margin-top:2px}.topbar-profile-actions{display:flex;align-items:center;gap:6px}.topbar-profile-actions button{border:1px solid #cbd7e7;background:#fff;color:#0f5d91;padding:7px 9px;border-radius:6px;font-size:12px;white-space:nowrap}.topbar-profile-actions button:hover{border-color:#0f5d91;background:#eef8ff}.profile-modal-panel{width:min(720px,94vw)}.profile-modal-form{padding-top:18px}.topbar h2,.section-heading h1{margin:4px 0 0;line-height:1.2}.logout-button,.link-button{border:1px solid #cbd7e7;background:#fff;color:#172033;padding:9px 13px;border-radius:6px}.page{padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.live-pill{color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd;padding:7px 10px;border-radius:999px;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.workflow-metrics,.danger-source-metrics,.safety-training-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.metric{padding:18px;border-left:4px solid #2563eb}.metric-critical{border-left-color:#dc2626}.metric-warning{border-left-color:#f59e0b}.metric-success{border-left-color:#16a34a}.dashboard-grid,.work-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-bottom:14px}.work-grid{grid-template-columns:380px minmax(0,1fr);align-items:start}.full-process-grid{grid-template-columns:420px minmax(0,1fr)}.panel{padding:18px;border-radius:8px}.safety-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.safety-module-card{text-align:left;color:inherit;cursor:pointer}.safety-module-card span,.safety-module-card strong,.safety-module-card em{display:block}.safety-module-card span{color:#2563eb;font-size:13px;font-weight:700;margin-bottom:10px}.safety-module-card strong{color:#172033;font-size:20px;margin-bottom:8px}.safety-module-card em{color:#64748b;font-style:normal;line-height:1.6}.safety-cycle-panel{margin-top:14px}.safety-progress{position:relative;overflow:hidden;width:120px;height:24px;border-radius:999px;background:#e2e8f0}.safety-progress span{display:block;height:100%;border-radius:inherit;background:#2563eb}.safety-progress strong{position:absolute;inset:0;display:grid;place-items:center;color:#0f172a;font-size:12px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-title h3{margin:0}.panel-title span{color:#64748b;font-size:13px}.trend-bars{height:190px;display:flex;align-items:end;gap:14px;padding:18px;background:linear-gradient(180deg,#edf6ff,#fff);border:1px solid #dbe7f2}.trend-bars span{flex:1;background:linear-gradient(180deg,#1d8bd0,#0f5d91);border-radius:4px 4px 0 0}.risk-lanes{display:grid;gap:12px}.risk-lanes div{display:grid;grid-template-columns:18px 1fr auto;gap:10px;align-items:center;padding:10px;background:#f8fafc;border:1px solid #e2e8f0}.lane-color{height:18px}.red{background:#dc2626}.orange{background:#f59e0b}.blue{background:#2563eb}.green{background:#16a34a}.table-wrap{min-width:0;overflow-x:auto}table{width:100%;min-width:760px;border-collapse:collapse}.workflow-table{min-width:1180px}th,td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}th{color:#475569;font-size:13px;background:#f8fafc}td small{display:block;color:#64748b;margin-top:5px}.tag{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700}.severity-major,.status-pending,.status-draft{color:#991b1b;background:#fee2e2}.severity-high,.status-rectifying,.status-submitted{color:#9a3412;background:#ffedd5}.severity-medium{color:#1d4ed8;background:#dbeafe}.severity-low,.status-closed,.status-verified{color:#166534;background:#dcfce7}.status-pendingVerification,.status-rectified{color:#1e40af;background:#dbeafe}.risk-major{color:#991b1b;background:#fee2e2}.risk-high{color:#9a3412;background:#ffedd5}.risk-medium{color:#1e40af;background:#dbeafe}.risk-low{color:#166534;background:#dcfce7}.source-status-pending{color:#991b1b;background:#fee2e2}.source-status-controlled{color:#166534;background:#dcfce7}.source-status-reviewing{color:#1e40af;background:#dbeafe}.source-status-retired{color:#475569;background:#e2e8f0}.drill-status-planned{color:#1e40af;background:#dbeafe}.drill-status-executing{color:#9a3412;background:#ffedd5}.drill-status-review{color:#6d28d9;background:#ede9fe}.drill-status-completed{color:#166534;background:#dcfce7}.drill-type-fire,.drill-type-gasLeak,.drill-type-confinedSpace,.drill-type-environmental{color:#172033;background:#e2e8f0}.hazard-form,.hazard-form label,.filters label{color:#172033}.hazard-form{display:grid;gap:14px}.hazard-list{min-width:0}.form-row,.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filters{grid-template-columns:150px 150px minmax(180px,1fr);margin-bottom:14px}.ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ledger-toolbar h3{margin:0 0 6px}.ledger-toolbar p{margin:0;color:#64748b;line-height:1.6}.ledger-toolbar button,.modal-actions button,.row-actions button,.icon-button{border:1px solid #cbd7e7;background:#fff;color:#172033;border-radius:6px;padding:9px 12px;font-weight:700}.ledger-toolbar button,.modal-actions button[type=submit]{border-color:#0f5d91;background:#0f5d91;color:#fff}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #cbd7e7;border-radius:6px;padding:9px 12px;color:#172033;background:#fff;font-weight:700;text-decoration:none;cursor:pointer}.system-user-import-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.system-user-import-button{position:relative;overflow:hidden}.system-user-import-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.filter-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;align-self:end}.filter-actions button{min-height:var(--control-height);padding:0 14px;border:1px solid #0f5d91;border-radius:6px;background:#0f5d91;color:#fff;font-weight:700}.filter-actions button.secondary{border-color:#cbd7e7;background:#fff;color:#172033}.ledger-filters{grid-template-columns:150px 150px minmax(180px,1fr) minmax(160px,1fr) minmax(220px,1.4fr) 140px;align-items:end}.hazard-selection-toolbar,.table-selection-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:12px 0 0;border:1px solid #cfe0f1;border-radius:6px;padding:8px 10px;background:#f7fbff}.hazard-selection-actions,.table-selection-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.hazard-selection-actions button,.table-selection-actions button{min-width:88px;min-height:38px;border:1px solid #0f5d91;border-radius:6px;padding:0 14px;background:#0f5d91;color:#fff;font-size:14px;font-weight:700;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.hazard-selection-actions button:hover,.table-selection-actions button:hover{border-color:#0a4f7d;background:#0a4f7d}.hazard-selection-actions button:focus-visible,.table-selection-actions button:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}.hazard-selection-actions button:active,.table-selection-actions button:active{transform:translateY(1px)}.hazard-selection-actions .danger,.table-selection-actions .danger{border-color:#dc2626;color:#fff;background:#dc2626}.hazard-selection-actions .danger:hover,.table-selection-actions .danger:hover{border-color:#b91c1c;background:#b91c1c}.hazard-selection-actions .danger:focus-visible,.table-selection-actions .danger:focus-visible{outline-color:#dc26263d}.hazard-selection-toolbar{display:flex;justify-content:flex-end}.hazard-selection-actions button{background:#0f5d91;color:#fff}.hazards-page .ledger-table tbody tr.is-selected td{background:#eaf6ff}.hazards-page .ledger-table tbody tr,.workflow-table tbody tr[data-table-row-select]{cursor:pointer}.hazards-page .ledger-table tbody tr.is-selected td,.workflow-table tbody tr.is-selected td{background:#eaf6ff}.table-select-cell{width:58px;min-width:58px;text-align:center}.table-select-cell input{width:16px;height:16px;accent-color:#0f5d91;cursor:pointer}.table-row-actions-hidden,.danger-source-table th:last-child,.danger-source-table td:last-child,.drill-table th:last-child,.drill-table td:last-child,.waste-storage-table th:last-child,.waste-storage-table td:last-child,.contractor-unit-table th:last-child,.contractor-unit-table td:last-child,.contractor-person-table th:last-child,.contractor-person-table td:last-child,.manager-duty-role-table th:last-child,.manager-duty-role-table td:last-child,.system-user-table th:last-child,.system-user-table td:last-child,.system-org-table th:last-child,.system-org-table td:last-child,.system-role-table th:last-child,.system-role-table td:last-child,.system-auth-table th:last-child,.system-auth-table td:last-child,.system-menu-table th:last-child,.system-menu-table td:last-child{display:none}.danger-source-filters{grid-template-columns:150px 150px minmax(180px,1fr) minmax(160px,1fr) minmax(240px,1.4fr) 140px;align-items:end}.ledger-table{min-width:2600px}.hazards-page .table-wrap{position:relative}.danger-source-table{min-width:1900px}.waste-storage-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.waste-storage-filters{grid-template-columns:150px 160px 150px minmax(240px,1.4fr) 140px;align-items:end}.waste-storage-table{min-width:1380px}.waste-movement-table{min-width:1760px}.waste-inspection-subtable{overflow:hidden}.waste-inspection-subtable .ledger-toolbar{align-items:flex-start}.waste-inspection-subtable .table-wrap{width:100%;border-top:1px solid #dce7f2}.waste-inspection-table{min-width:1180px;table-layout:fixed}.waste-inspection-table th,.waste-inspection-table td{min-width:0}.waste-inspection-table th:nth-child(1),.waste-inspection-table td:nth-child(1){width:170px}.waste-inspection-table th:nth-child(2),.waste-inspection-table td:nth-child(2){width:140px}.waste-inspection-table th:nth-child(3),.waste-inspection-table td:nth-child(3){width:92px}.waste-inspection-table th:nth-child(4),.waste-inspection-table td:nth-child(4),.waste-inspection-table th:nth-child(5),.waste-inspection-table td:nth-child(5){width:100px;white-space:nowrap}.waste-inspection-table th:nth-child(6),.waste-inspection-table td:nth-child(6){width:160px}.waste-inspection-table th:nth-child(8),.waste-inspection-table td:nth-child(8){width:132px}.waste-inspection-table td:nth-child(1) strong,.waste-inspection-table td:nth-child(1) small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.waste-inspection-table td:nth-child(7) .cell-text{max-width:100%}.waste-inspection-table .row-actions{flex-wrap:nowrap}.waste-storage-table th,.waste-storage-table td,.waste-movement-table th,.waste-movement-table td{min-width:108px;max-width:220px}.waste-storage-table th:first-child,.waste-storage-table td:first-child,.waste-storage-table th:nth-child(10),.waste-storage-table td:nth-child(10),.waste-movement-table th:nth-child(2),.waste-movement-table td:nth-child(2),.waste-movement-table th:nth-child(7),.waste-movement-table td:nth-child(7),.waste-movement-table th:nth-child(13),.waste-movement-table td:nth-child(13){min-width:180px}.waste-alert-normal{color:#166534;background:#dcfce7}.waste-alert-warning{color:#9a3412;background:#ffedd5}.waste-alert-exceeded,.waste-alert-negative{color:#991b1b;background:#fee2e2}.waste-category-solid{color:#1e40af;background:#dbeafe}.waste-category-hazardous{color:#7c2d12;background:#ffedd5}.movement-type-inbound{color:#166534;background:#dcfce7}.movement-type-outbound{color:#334155;background:#e2e8f0}.waste-detail-summary{border-bottom:1px solid #e2e8f0;background:#f8fafc}.waste-detail-summary .detail-grid{padding-bottom:14px}.waste-detail-summary .detail-grid div{background:#fff;border-color:#dce7f2}.drill-metrics,.system-management-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.system-filter-panel{margin-bottom:14px}.system-management-filters{grid-template-columns:140px minmax(180px,1fr) 140px 140px minmax(240px,1.4fr) 140px;margin-bottom:0;align-items:end}.system-users-filters{grid-template-columns:150px minmax(180px,1fr) minmax(260px,1.4fr) 140px;margin-bottom:0;align-items:end}.system-organizations-filters,.system-roles-filters{grid-template-columns:180px minmax(260px,1fr) 140px;margin-bottom:0;align-items:end}.system-user-table,.system-org-table{min-width:1420px}.system-organization-workspace{display:grid;grid-template-columns:minmax(320px,.34fr) minmax(0,.66fr);gap:16px;align-items:start}.system-organization-workspace>.panel,.system-menu-workspace>.panel{min-width:0}.system-org-tree-panel{position:sticky;top:18px}.system-menu-workspace{display:grid;grid-template-columns:minmax(340px,.36fr) minmax(0,.64fr);gap:16px;align-items:start}.system-menu-tree-panel{position:sticky;top:18px}.system-org-tree-wrap{max-height:640px;overflow:auto;padding:8px 4px 8px 0}.system-menu-tree-wrap{max-height:680px;overflow:auto;padding:8px 4px 8px 0}.ztree,.ztree ul{margin:0;padding:0;list-style:none}.ztree ul{position:relative;margin-left:18px}.ztree ul:before{position:absolute;top:0;bottom:10px;left:7px;border-left:1px dotted #94a3b8;content:""}.ztree li{position:relative;min-width:0}.ztree ul>li:before{position:absolute;top:16px;left:7px;width:12px;border-top:1px dotted #94a3b8;content:""}.tree-node{display:flex;align-items:center;min-height:30px;gap:6px;padding:3px 6px 3px calc(var(--tree-depth, 0) * 1px);border-radius:6px;color:#334155;font-size:13px;line-height:1.35;white-space:nowrap}.tree-node:hover{background:#eff6ff;color:#1d4ed8}.tree-node.is-dragging{opacity:.5}.tree-node.is-drop-target{outline:2px solid #2563eb;background:#dbeafe}.tree-switcher,.tree-node-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}.tree-switcher{width:14px;height:14px;border:1px solid #94a3b8;background:#fff;color:#475569;cursor:pointer;padding:0;display:inline-grid;place-items:center}.tree-switcher-open:before,.tree-switcher-closed:before{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transition:transform .18s ease}.tree-switcher-open:before{transform:rotate(45deg)}.tree-switcher-closed:before{transform:rotate(-45deg)}.tree-switcher-leaf{border-color:transparent;background:transparent;cursor:default}.tree-switcher-leaf:before{content:none}.tree-node-icon{width:16px;height:16px;border-radius:3px}.tree-node-folder{background:linear-gradient(#facc15 0 0) 3px 4px / 11px 9px no-repeat,linear-gradient(#fef08a 0 0) 1px 6px / 14px 9px no-repeat;border:1px solid #ca8a04}.tree-node-file{background:#e0f2fe;border:1px solid #38bdf8}.tree-node-title{overflow:hidden;min-width:0;text-overflow:ellipsis}.tree-node-code{flex:0 0 auto;padding:1px 5px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px}.tree-combobox-label,.person-picker-field,.tree-combobox{position:relative}.tree-combobox summary,.person-picker-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border:1px solid #cbd7e7;border-radius:6px;padding:8px 10px;color:#172033;font:inherit;background:#fff;cursor:pointer}.tree-combobox summary::-webkit-details-marker{display:none}.tree-combobox summary:after,.person-picker-button:after{content:"";width:8px;height:8px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:rotate(45deg)}.person-picker-button:after{transform:rotate(-45deg)}.tree-combobox[open] summary{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.tree-combobox-panel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;min-width:min(360px,calc(100vw - 48px));max-height:320px;overflow:auto;border:1px solid #cbd7e7;border-radius:6px;padding:8px;background:#fff;box-shadow:0 18px 34px #0f172a2e}.organization-tree-combobox-label{min-width:0}.organization-selector-tree .tree-node{border-radius:4px}.organization-selector-tree-select{flex:1;min-width:0;border:0;padding:0;color:inherit;font:inherit;text-align:left;background:transparent;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.organization-selector-tree-node:hover,.organization-selector-tree-node:has(.organization-selector-tree-select:focus-visible){color:#0f766e;background:#e0f2fe}.organization-selector-tree-select.is-selected{color:#0f766e;font-weight:700}.waste-manager-picker{display:grid;gap:12px}.person-picker-filters{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(140px,.8fr)) 140px;margin-bottom:0}.person-picker-organization-filter .tree-combobox-panel{min-width:280px}.person-picker-pagination{margin-top:0}.waste-manager-table{min-width:920px;table-layout:fixed}.waste-manager-table tr.is-selected{background:#e0f2fe}.waste-manager-table th:first-child,.waste-manager-table td:first-child{width:64px;text-align:center}.waste-manager-table th:nth-child(2),.waste-manager-table td:nth-child(2){width:300px;max-width:300px}.waste-manager-table th:nth-child(3),.waste-manager-table td:nth-child(3){width:92px}.waste-manager-table th:nth-child(4),.waste-manager-table td:nth-child(4){width:110px}.waste-manager-table th:nth-child(5),.waste-manager-table td:nth-child(5){width:72px}.waste-manager-table th:nth-child(6),.waste-manager-table td:nth-child(6){width:130px}.waste-manager-table th:nth-child(7),.waste-manager-table td:nth-child(7){width:86px}.person-picker-organization-cell{max-width:100%}.waste-manager-table input[type=checkbox]{width:18px;height:18px;accent-color:#2563eb}.waste-manager-table strong,.waste-manager-table small{display:block}.waste-manager-table small{margin-top:3px;color:#64748b}.system-menu-tree-node{min-height:34px;padding-right:4px;flex-wrap:wrap;white-space:normal}.system-menu-tree-order{color:#0f766e;background:#ccfbf1}.system-menu-tree-route{overflow:hidden;flex:0 0 calc(100% - 42px);min-width:0;max-width:none;margin-left:42px;color:#64748b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.system-menu-tree-edit{margin-left:auto;min-height:26px;padding:4px 8px;font-size:12px}.system-role-table{min-width:980px}.system-auth-table{min-width:1180px}.system-permission-package-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}.system-permission-package{display:grid;gap:8px;min-width:0;border:1px solid #dbe7f3;border-radius:6px;padding:10px;background:#f8fafc}.system-permission-package h3{margin:0;color:#172033;font-size:14px}.system-permission-package div{display:flex;flex-wrap:wrap;gap:6px}.permission-catalog{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid #e2e8f0;margin-top:14px}.system-permission-code{color:#334155;background:#f1f5f9}.system-role-permission-field,.system-organization-auth-field,.system-role-tree-field{display:grid;gap:10px}.system-role-permission-header,.system-organization-auth-header,.system-role-tree-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.system-role-permission-header>span,.system-organization-auth-header>span,.system-role-tree-header>span{color:#172033;font-weight:700}.system-role-permission-header small,.system-organization-auth-header small,.system-role-tree-header small,.field-hint{color:#64748b;font-size:12px}.field-hint{margin:0}.system-permission-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.system-permission-card{min-width:0;border:1px solid #dbe7f3;border-radius:6px;padding:10px;background:#fff}.system-permission-card legend{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 2px 6px;color:#172033;font-weight:700}.system-permission-module-toggle,.system-permission-option{display:flex;align-items:center;gap:8px}.system-permission-module-toggle{color:#475569;font-size:12px;font-weight:500}.system-permission-options{display:grid;gap:8px}.system-permission-option{min-width:0;border:1px solid #e2e8f0;border-radius:6px;padding:8px;background:#f8fafc}.system-permission-option input,.system-permission-module-toggle input,.system-role-check input,.organization-auth-check input{width:16px;height:16px;accent-color:#2563eb}.system-permission-option span{min-width:0}.system-permission-option strong,.system-permission-option small{display:block}.system-permission-option strong{color:#172033;font-size:13px}.system-permission-option small{overflow:hidden;margin-top:2px;color:#64748b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.system-role-tree-wrap,.system-organization-auth-tree-wrap{max-height:260px;overflow:auto;border:1px solid #cfe0f1;border-radius:4px;padding:8px 10px;background:linear-gradient(180deg,#fbfdff,#f8fbff);box-shadow:inset 0 1px #ffffffe6}.system-role-tree-wrap{max-height:230px}.system-role-tree-summary{cursor:default}.system-role-tree-node,.organization-auth-tree-node{min-height:24px;padding-top:2px;padding-bottom:2px;white-space:nowrap}.system-role-tree-node:hover,.organization-auth-tree-node:hover{color:#0f4f8a;background:#edf6ff}.system-role-tree-node.is-checked,.organization-auth-tree-node.is-checked{background:#edfdf7;color:#075985}.system-role-tree-node.is-checked{background:#42add8;color:#fff}.system-role-tree-node.is-checked .tree-node-code{background:#ffffff38;color:#fff}.system-role-check,.organization-auth-check{display:flex;align-items:center;gap:6px;min-width:0;margin:0;color:inherit;font:inherit;font-weight:650}.system-role-check span,.organization-auth-check span{overflow:hidden;min-width:0;text-overflow:ellipsis}.system-role-tree .tree-node-icon,.organization-auth-tree .tree-node-icon{width:14px;height:14px}.system-role-tree .tree-node-file{border-color:#38bdf8;background:#e0f2fe}.organization-auth-tree .tree-node-folder{background:linear-gradient(#facc15 0 0) 3px 3px / 9px 8px no-repeat,linear-gradient(#fef08a 0 0) 1px 5px / 12px 8px no-repeat}.system-role-tree .tree-node-code,.organization-auth-tree .tree-node-code{margin-left:4px;padding:1px 6px;background:#edf2f7;color:#4d6f98;font-size:11px}.system-role-tree .tree-switcher,.organization-auth-tree .tree-switcher{width:13px;height:13px;border-color:#a9bdd3}.system-role-tree-wrap::-webkit-scrollbar,.system-organization-auth-tree-wrap::-webkit-scrollbar{width:10px;height:10px}.system-role-tree-wrap::-webkit-scrollbar-track,.system-organization-auth-tree-wrap::-webkit-scrollbar-track{background:#eef6ff;border-radius:999px}.system-role-tree-wrap::-webkit-scrollbar-thumb,.system-organization-auth-tree-wrap::-webkit-scrollbar-thumb{border:2px solid #eef6ff;border-radius:999px;background:#93b4d4}.system-status-active{color:#166534;background:#dcfce7}.system-status-disabled{color:#475569;background:#e2e8f0}.system-status-pending{color:#92400e;background:#fef3c7}.system-status-approved{color:#166534;background:#dcfce7}.system-status-rejected{color:#991b1b;background:#fee2e2}.system-status-notSubmitted{color:#475569;background:#e2e8f0}.manager-duty-status-draft{color:#92400e;background:#fef3c7}.manager-duty-status-active{color:#166534;background:#dcfce7}.manager-duty-status-disabled{color:#475569;background:#e2e8f0}.system-status-locked{color:#991b1b;background:#fee2e2}.system-type-regular{color:#155e75;background:#cffafe}.system-type-contractor{color:#7c2d12;background:#ffedd5}.safety-status-completed,.safety-status-passed,.safety-status-published,.safety-status-multiple{color:#166534;background:#dcfce7}.safety-status-inProgress,.safety-status-scheduled,.safety-status-learning,.safety-status-single{color:#92400e;background:#fef3c7}.safety-status-planned,.safety-status-assigned,.safety-status-draft,.safety-status-pending,.safety-status-judge{color:#1e40af;background:#dbeafe}.safety-status-overdue,.safety-status-retake,.safety-status-failed,.safety-status-archived{color:#991b1b;background:#fee2e2}.system-type-company,.system-type-department,.system-type-team,.system-type-contractor{color:#172033;background:#e2e8f0}.drill-filters{grid-template-columns:150px 150px minmax(180px,1fr) minmax(260px,1.4fr) 140px;align-items:end}.drill-table{min-width:1760px}.safety-training-table{min-width:1180px}.safety-training-table th,.safety-training-table td{min-width:112px;max-width:220px}.safety-training-table .cell-text{max-width:100%}.drill-table th,.drill-table td{min-width:112px;max-width:210px}.drill-table th:nth-child(2),.drill-table td:nth-child(2),.drill-table th:nth-child(11),.drill-table td:nth-child(11),.drill-table th:nth-child(12),.drill-table td:nth-child(12),.drill-table th:nth-child(13),.drill-table td:nth-child(13),.drill-table th:nth-child(14),.drill-table td:nth-child(14){min-width:180px}.ledger-table th,.ledger-table td{min-width:112px;max-width:190px}.ledger-table .table-select-cell{width:64px;min-width:64px;max-width:64px;text-align:center}.table-select-cell input{width:16px;height:16px;accent-color:#0f5d91}.danger-source-table th,.danger-source-table td{min-width:108px;max-width:190px}.danger-source-table th:nth-child(1),.danger-source-table td:nth-child(1),.danger-source-table th:nth-child(6),.danger-source-table td:nth-child(6),.danger-source-table th:nth-child(14),.danger-source-table td:nth-child(14),.danger-source-table th:nth-child(17),.danger-source-table td:nth-child(17){min-width:180px}.ledger-table th:nth-child(2),.ledger-table td:nth-child(2),.ledger-table th:nth-child(8),.ledger-table td:nth-child(8),.ledger-table th:nth-child(14),.ledger-table td:nth-child(14),.ledger-table th:nth-child(18),.ledger-table td:nth-child(18),.ledger-table th:nth-child(23),.ledger-table td:nth-child(23){min-width:180px}.row-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.row-actions button{padding:7px 10px;font-size:13px}.row-actions .danger{border-color:#fecaca;color:#991b1b;background:#fff5f5}.cell-text{position:relative;display:inline-block;max-width:min(150px,100%);overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.cell-text-id{max-width:132px}.cell-text-title,.cell-text-description{max-width:min(220px,100%)}.cell-text:hover{z-index:6}.cell-text:hover:after{content:attr(data-tooltip);position:absolute;left:0;top:calc(100% + 8px);width:max-content;max-width:420px;padding:10px 12px;color:#172033;background:#fff;border:1px solid #cbd7e7;border-radius:6px;box-shadow:0 16px 38px #0f172a2e;line-height:1.6;white-space:normal}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;color:#475569}.ledger-pagination{margin-top:12px;border-top:1px solid #e2e8f0;padding:14px 0 0}.pagination-summary{flex:1 1 180px}.pagination-size-control{flex:0 0 auto}.pagination-bar label{display:inline-flex;align-items:center;gap:8px;color:#475569}.pagination-bar select{border:1px solid #cbd7e7;background:#fff;color:#172033;border-radius:6px;padding:8px 10px}.pagination-actions{display:inline-flex;align-items:center;gap:10px}.pagination-actions button{border:1px solid #cbd7e7;background:#fff;color:#172033;border-radius:6px;padding:8px 12px;font-weight:700}.pagination-actions button:disabled{cursor:not-allowed;opacity:.5}.empty-table{color:#64748b;text-align:center}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#0f172a94}.modal-panel{width:min(1080px,100%);max-height:min(86vh,900px);overflow:auto;background:#fff;border:1px solid #dce7f2;border-radius:8px;box-shadow:0 24px 80px #0f172a42}.modal-panel-large{width:min(1280px,96vw);min-width:min(760px,96vw);min-height:min(620px,86vh)}.modal-panel-system-compact{width:min(920px,96vw);min-width:min(620px,96vw)}.modal-panel-system-wide{width:min(1180px,96vw);min-width:min(760px,96vw)}.modal-panel-resizable{resize:both;overflow:auto}.modal-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:20px}.icon-button{width:36px;height:36px;padding:0;display:grid;place-items:center;font-size:22px;line-height:1}.hazard-modal-form{display:grid;gap:14px;padding:18px}.hazard-modal-form label,.detail-grid dt{color:#172033;font-size:13px}.hazard-modal-form label{display:grid;gap:8px}.hazard-modal-form input,.hazard-modal-form select,.hazard-modal-form textarea{width:100%;border:1px solid #cbd7e7;border-radius:6px;background:#fff;color:#172033;padding:10px 11px;outline:none}.hazard-modal-form textarea{min-height:86px;resize:vertical}.plant-zone-field{display:grid;grid-column:1 / -1;gap:7px}.plant-zone-field__controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.plant-zone-field__value{display:grid;min-width:0;min-height:44px;padding:11px 13px;gap:1px;align-content:center;color:#5e6d72;font-size:14px;font-weight:600;line-height:20px;background:#f7f9f8;border:1px solid #c8d2ce;border-radius:8px}.plant-zone-field__value small{color:#6b7c79;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.08em}.plant-zone-field__value span{overflow:hidden;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.plant-zone-field__value.is-selected{position:relative;padding-left:17px;color:#123f3b;font-weight:700;background:#eef7f4;border-color:#8bbdb2;box-shadow:inset 4px 0 #0b5f59}.plant-zone-picker-button{display:inline-flex;min-height:44px;padding:0 16px;gap:8px;align-items:center;justify-content:center;color:#fff;font-weight:700;background:#0b5f59;border:1px solid #0b5f59;border-radius:8px;box-shadow:0 5px 14px #0b5f5929}.plant-zone-picker-button svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.plant-zone-picker-button:hover{background:#084b47;border-color:#084b47}.plant-zone-picker-button:focus-visible,.plant-map-zone:focus-visible,.plant-map-confirm-button:focus-visible{outline:3px solid rgba(15,118,110,.24);outline-offset:2px}.modal-panel.modal-panel-plant-map{display:flex;flex-direction:column;width:min(1500px,98vw);min-width:min(900px,98vw);height:min(94dvh,1000px);max-height:min(94dvh,1000px);overflow:hidden;background:#f5f7f6;border-color:#aebdb7;border-radius:10px;box-shadow:0 28px 80px #0e20264d}.modal-panel-plant-map>.modal-header{position:relative;flex:0 0 auto;padding:14px 18px;background:#fbfcfb;border-bottom-color:#ccd6d2}.plant-map-picker{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:10px;padding:16px;overflow:hidden;background:#f5f7f6}.plant-map-picker__toolbar{display:grid;flex:0 0 auto;grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:14px 22px;align-items:stretch}.plant-map-picker__toolbar strong{color:#132a32;font-size:17px;letter-spacing:0}.plant-map-picker__toolbar p{max-width:68ch;margin:5px 0 0;color:#5c6b70;font-size:12px;line-height:1.5}.plant-map-picker__intro{display:grid;align-content:center;gap:7px;min-width:0}.plant-map-picker__intro h3{margin:0;color:#132a32;font-size:17px;line-height:1.3;letter-spacing:0}.plant-map-picker__eyebrow,.plant-map-picker__selection-kicker{color:#0b5f59;font-size:11px;font-weight:800;line-height:1.2;letter-spacing:.1em;text-transform:uppercase}.plant-map-picker__workflow{display:flex;flex-wrap:wrap;gap:7px 14px;align-items:center}.plant-map-picker__workflow>span{position:relative;display:inline-flex;min-height:30px;padding:5px 10px;align-items:center;color:#40555b;font-size:12px;font-weight:700;line-height:1.25;background:#edf2f0;border:1px solid #d0dad6;border-radius:6px}.plant-map-picker__workflow>span>i{display:inline-grid;width:18px;height:18px;margin-right:6px;place-items:center;color:#fff;font-size:10px;font-style:normal;font-weight:850;line-height:1;background:#54766a;border-radius:50%}.plant-map-picker__workflow>span+span:before{position:absolute;left:-11px;color:#789087;content:"\203a"}.plant-map-picker__selection{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;padding:11px 14px 11px 17px;align-content:center;color:#53666b;font-size:12px;background:#fbfcfb;border:1px solid #c4d0cb;border-radius:8px;box-shadow:0 4px 14px #142d330f}.plant-map-picker__selection:before{position:absolute;top:10px;bottom:10px;left:0;width:4px;background:#9aa9a4;border-radius:0 3px 3px 0;content:""}.plant-map-picker__selection>i{display:none}.plant-map-picker__selection.is-selected{background:#eef7f4;border-color:#8bbdb2;box-shadow:0 5px 16px #0b5f591a}.plant-map-picker__selection.is-selected:before{background:#0b5f59}.plant-map-picker__selection.is-previewing{background:#f7f9f8;border-color:#80958d;border-style:dashed;box-shadow:none}.plant-map-picker__selection.is-previewing:before{background:#475d63}.plant-map-picker__selection>span{color:#5f716e;font-size:11px;font-weight:700;line-height:1.2}.plant-map-picker__selection>.plant-map-picker__selection-kicker{display:inline-flex;gap:6px;align-items:center;color:#0b5f59;letter-spacing:.1em}.plant-map-picker__selection-kicker>i{width:7px;height:7px;background:#8b9b96;border-radius:50%}.plant-map-picker__selection.is-selected .plant-map-picker__selection-kicker>i{background:#0b5f59;box-shadow:0 0 0 3px #0b5f5921}.plant-map-picker__selection.is-previewing .plant-map-picker__selection-kicker>i{background:#475d63;box-shadow:none}.plant-map-picker__selection b,[data-plant-map-selection-name]{color:#12363a;font-size:15px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.plant-map-picker__selection small{color:#5b6d70;font-size:12px;line-height:1.4}.plant-map-picker__selection-meta{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.plant-map-selection-chip{display:inline-flex;min-height:24px;padding:3px 8px;align-items:center;color:#3e5658;font-size:12px;font-weight:700;line-height:1.2;background:#ffffffb8;border:1px solid #c4d3ce;border-radius:999px}[data-plant-map-selection-risk][data-risk]:before{width:7px;height:7px;margin-right:5px;background:#8b9b96;border:1px solid currentColor;border-radius:50%;content:""}[data-plant-map-selection-risk][data-risk=major]:before{background:#bf4544}[data-plant-map-selection-risk][data-risk=higher]:before{background:#e59145}[data-plant-map-selection-risk][data-risk=general]:before{background:#f4df84}[data-plant-map-selection-risk][data-risk=low]:before{background:#3176a6}.plant-map-meta-bar{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;min-height:42px;padding:5px 7px 5px 11px;background:#fbfcfb;border:1px solid #cbd5d1;border-radius:8px}.plant-map-legend{display:flex;flex:1 1 460px;flex-wrap:wrap;gap:8px 18px;align-items:center;min-height:32px;padding:5px 0;color:#506267;font-size:12px}.plant-map-legend>strong{margin-right:2px;color:#243d42;font-size:12px}.plant-map-legend__item{display:inline-flex;gap:6px;align-items:center}.plant-map-legend__swatch{width:14px;height:10px;border:1px solid rgba(19,42,50,.38);border-radius:2px}.plant-map-legend__swatch--risk-general{background:#f4df84}.plant-map-legend__swatch--risk-low{background:#3176a6}.plant-map-legend__swatch--risk-higher{background:#e59145}.plant-map-legend__swatch--risk-major{background:#bf4544}.plant-map-view-controls{display:inline-flex;flex:0 0 auto;align-items:stretch;min-height:34px;overflow:hidden;background:#fff;border:1px solid #b9c7c2;border-radius:6px}.plant-map-view-controls button,.plant-map-view-controls output{display:grid;min-width:40px;min-height:34px;margin:0;padding:0 9px;place-items:center;color:#314a4e;font-size:12px;font-weight:700;line-height:1;background:#fff;border:0;border-left:1px solid #d2dbd7;border-radius:0;box-shadow:none}.plant-map-view-controls button:first-child{display:inline-flex;min-width:104px;gap:6px;align-items:center;justify-content:center;border-left:0}.plant-map-view-controls button svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.plant-map-view-controls output{min-width:52px;color:#0b5f59;font-variant-numeric:tabular-nums;background:#eef4f2}.plant-map-view-controls button:hover:not(:disabled){color:#0b5f59;background:#e9f3f0}.plant-map-view-controls button:focus-visible{position:relative;z-index:1;outline:2px solid #0f766e;outline-offset:-2px}.plant-map-view-controls button:disabled{color:#96a39f;cursor:not-allowed;background:#f0f3f2}.plant-map-zone:active,.plant-map-view-controls button:active,.plant-zone-picker-button:active,.plant-map-picker__actions button:active{transform:none}.plant-map-viewport{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-color:#80958d #e7ecea;background:#dce3e0;border:1px solid #879b93;border-radius:8px;box-shadow:inset 0 0 0 1px #ffffff8f,inset 0 8px 22px #2a3e4214}.plant-map-stage{position:relative;width:var(--plant-map-stage-width, 100%);min-width:0;margin-inline:auto;aspect-ratio:2 / 1}.plant-map-canvas{position:absolute;isolation:isolate;inset:0 auto auto 0;width:var(--plant-map-canvas-width, 100%);aspect-ratio:2 / 1;overflow:hidden;background:#f7f9f8;transform:scale(var(--plant-map-scale, 1));transform-origin:0 0}.plant-map-canvas:before{position:absolute;z-index:0;inset:6.2% 0 0;background:linear-gradient(rgba(76,99,91,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(76,99,91,.045) 1px,transparent 1px),#e1e6e4;background-size:18px 18px;content:""}.plant-map-canvas__title{position:absolute;top:.7%;left:3.1%;z-index:12;display:flex;min-width:21%;min-height:4.8%;gap:8px;padding:4px 8px;align-items:center;color:#17363c;text-align:left;pointer-events:none;background:#fbfcfbf0;border:1px solid #9eb0a9;border-left:3px solid #0b5f59;border-radius:2px;box-shadow:0 3px 9px #142d331f}.plant-map-canvas__brand{display:none}.plant-map-canvas__heading{display:grid;gap:1px;min-width:0}.plant-map-canvas__heading strong{color:#17363c;font-size:11px;line-height:1.1;letter-spacing:.04em}.plant-map-canvas__heading small{color:#61736f;font-size:8px;font-weight:700;line-height:1.1;letter-spacing:.02em}.plant-map-canvas__plate{position:static;display:inline-flex;min-width:0;padding:3px 5px;align-items:center;color:#4b625f;font-size:7px;font-weight:800;line-height:1;letter-spacing:.07em;white-space:nowrap;background:#edf2f0;border:1px solid #bdcac5;border-radius:2px;box-shadow:none}.plant-map-lane{position:absolute;z-index:2;top:var(--plant-lane-top);left:var(--plant-lane-left);display:flex;width:var(--plant-lane-width);height:var(--plant-lane-height);align-items:center;justify-content:center;color:#243b3c;font-size:8px;line-height:1;pointer-events:none;background:#b8c8c1;border-top:1px solid #5e786c;border-bottom:1px solid #5e786c}.plant-map-lane:before,.plant-map-lane:after{position:absolute;right:0;left:0;z-index:1;height:1px;background:#5e6d68;content:""}.plant-map-lane:before{top:2px}.plant-map-lane:after{bottom:2px}.plant-map-lane__sleepers{position:absolute;z-index:0;inset:1px 0;display:grid;grid-template-columns:repeat(32,minmax(0,1fr));padding:0!important;background:transparent!important}.plant-map-lane__sleepers>i{width:2px;height:100%;justify-self:center;background:#687873}.plant-map-lane>span:last-child{position:relative;z-index:2;padding:1px 5px;color:#29423f;font-weight:700;background:#f7f9f8e6;border:1px solid rgba(94,120,108,.3);border-radius:2px}.plant-map-landmark{position:absolute;z-index:1;top:var(--plant-landmark-top);left:var(--plant-landmark-left);display:grid;width:var(--plant-landmark-width);height:var(--plant-landmark-height);place-items:center;color:#364b4d;font-size:10px;line-height:1.2;text-align:center;pointer-events:none}.plant-map-landmark--site{z-index:1;background:transparent;border:3px solid #2f6e56}.plant-map-landmark--production{z-index:1;align-items:start;justify-items:end;padding:4px 6px;color:#405a59;font-size:9px;font-weight:700;background:#d4d9d7;border:2px solid #527965}.plant-map-landmark--passage{z-index:3;color:#293532;font-weight:800;background:#f0dc70;border-top:2px solid #527965;border-right:2px solid #527965;border-bottom:2px solid #527965;border-left:2px solid #527965}.plant-map-landmark--bay{z-index:9;background:transparent;border:2px solid #3f755f}.plant-map-landmark--bay span{position:absolute;top:50%;left:21%;display:grid;width:32px;height:32px;place-items:center;color:#1f2c2e;font-size:14px;font-weight:800;background:#ead069;border:2px solid #40504e;border-radius:50%;transform:translate(-50%,-50%)}.plant-map-landmark--passage span{writing-mode:vertical-rl;font-size:12px;letter-spacing:.2em}.plant-map-landmark--passage:before,.plant-map-landmark--passage:after{position:absolute;left:50%;color:#243b43;font-size:22px;line-height:1;transform:translate(-50%)}.plant-map-landmark--passage:before{top:6%;content:"\2191"}.plant-map-landmark--passage:after{bottom:6%;content:"\2193"}.plant-map-landmark--gate{z-index:10;color:#234247;font-size:9px;font-weight:700;background:#f9fbfa;border:1px solid #5f8777;border-radius:2px}.plant-map-landmark--campus{z-index:1;align-items:start;justify-items:start;padding:6px 8px;color:#586a68;font-size:9px;font-weight:700;background:#d8dddb;border:2px solid #84958f}.plant-map-landmark--lawn{z-index:2;background:#6c9d75;border:2px solid #4f7e61;border-radius:14px}.plant-map-landmark--pond{z-index:3;color:#234c54;font-weight:700;background:#8bc8dc;border:2px solid #5a9eb7;border-radius:50%}.plant-map-landmark--north{z-index:10;align-content:start;color:#21383b;font-size:13px;font-weight:800}.plant-map-landmark--north:after{width:0;height:0;margin-top:3px;border-right:8px solid transparent;border-bottom:28px solid #172832;border-left:8px solid transparent;content:""}.plant-map-zone-cluster{position:absolute;z-index:4;inset:0;pointer-events:none}.plant-map-zone-cluster:has(.plant-map-zone:hover),.plant-map-zone-cluster:has(.plant-map-zone:focus-visible){z-index:8}.plant-map-zone-cluster.is-selected{z-index:7}.plant-map-zone-shape,.plant-map-zone{position:absolute;top:var(--plant-zone-top);left:var(--plant-zone-left);width:var(--plant-zone-width);height:var(--plant-zone-height)}.plant-map-zone-shape{--plant-zone-fill: #f4df84;--plant-zone-ink: #293536;--plant-zone-line: rgba(45, 74, 66, .46);z-index:0;display:grid;padding:3px 5px;place-items:center;overflow:hidden;color:var(--plant-zone-ink);text-align:center;pointer-events:none;background:var(--plant-zone-fill);border:1px solid var(--plant-zone-line);border-radius:2px;box-shadow:inset 0 1px #ffffff57;transition:filter .16s cubic-bezier(.22,1,.36,1),outline-color .16s cubic-bezier(.22,1,.36,1),box-shadow .16s cubic-bezier(.22,1,.36,1),opacity .16s cubic-bezier(.22,1,.36,1)}.plant-map-zone--risk-general{--plant-zone-fill: #f4df84;--plant-zone-ink: #293536}.plant-map-zone--risk-low{--plant-zone-fill: #3176a6;--plant-zone-ink: #ffffff}.plant-map-zone--risk-higher{--plant-zone-fill: #e59145;--plant-zone-ink: #2b241e}.plant-map-zone--risk-major{--plant-zone-fill: #bf4544;--plant-zone-ink: #ffffff}.plant-map-zone--inactive{border-style:dashed;opacity:.86}.plant-map-zone--equipment .plant-map-zone__label,.plant-map-zone--office .plant-map-zone__label{font-size:11.5px}.plant-map-zone--warehouse .plant-map-zone__label{letter-spacing:.04em}.plant-map-zone__label{max-width:100%;color:inherit;font-size:11px;font-weight:800;line-height:1.2;text-wrap:balance}.plant-map-zone__code{display:none;max-width:100%;overflow:hidden;color:inherit;font-size:10px;font-weight:850;line-height:1.1;letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis}.plant-map-zone-shape.is-compact{padding:2px 3px}.plant-map-zone-shape.is-compact .plant-map-zone__label{display:none}.plant-map-zone-shape.is-compact .plant-map-zone__code{display:block}.plant-map-zone-shape.is-label-hidden .plant-map-zone__label,.plant-map-zone-shape.is-label-hidden .plant-map-zone__code{display:none}.plant-map-zone{z-index:1;display:block;margin:0;padding:0;overflow:visible;color:transparent;cursor:pointer;pointer-events:auto;background:transparent;border:0;border-radius:0;outline:none;box-shadow:none;touch-action:manipulation}.plant-map-zone:hover,.plant-map-zone:focus-visible,.plant-map-zone.is-selected,.plant-map-zone-cluster:has(.plant-map-zone:hover) .plant-map-zone,.plant-map-zone-cluster:has(.plant-map-zone:focus-visible) .plant-map-zone{color:transparent;background:transparent;border:0;outline:none;box-shadow:none}.plant-map-zone-cluster:has(.plant-map-zone:hover) .plant-map-zone-shape,.plant-map-zone-cluster:has(.plant-map-zone:focus-visible) .plant-map-zone-shape{outline:2px solid #ffffff;outline-offset:-3px;box-shadow:0 0 0 3px #0f766e,0 7px 17px #14333233;filter:brightness(1.035) saturate(1.02)}.plant-map-zone-cluster.is-selected .plant-map-zone-shape{outline:2px solid #ffffff;outline-offset:-3px;box-shadow:0 0 0 4px #123d46,0 8px 18px #123d463d;filter:none}.plant-map-canvas:has(.plant-map-zone-cluster.is-selected) .plant-map-zone-cluster:not(.is-selected) .plant-map-zone-shape{opacity:.86;filter:saturate(.86)}.plant-map-canvas:has(.plant-map-zone-cluster.is-selected) .plant-map-zone-cluster:not(.is-selected):has(.plant-map-zone:hover) .plant-map-zone-shape,.plant-map-canvas:has(.plant-map-zone-cluster.is-selected) .plant-map-zone-cluster:not(.is-selected):has(.plant-map-zone:focus-visible) .plant-map-zone-shape{opacity:1}.plant-map-zone-cluster.is-selected .plant-map-zone-shape.is-primary:before{position:absolute;top:4px;left:4px;z-index:2;display:grid;width:20px;height:20px;place-items:center;color:#fff;font-size:12px;font-weight:900;line-height:1;background:#0b5f59;border:1px solid #ffffff;border-radius:50%;content:"\2713"}.plant-map-zone__tooltip{position:absolute;bottom:calc(100% + 7px);left:50%;z-index:20;display:grid;gap:2px;min-width:176px;max-width:240px;padding:9px 11px;color:#fff;text-align:left;pointer-events:none;visibility:hidden;background:#17363c;border:1px solid rgba(255,255,255,.14);border-radius:6px;box-shadow:0 9px 24px #0a1b1f42;opacity:0;transform:translate(-50%,4px);transition:opacity .14s ease,transform .14s cubic-bezier(.22,1,.36,1)}.plant-map-zone__tooltip>b{overflow:hidden;font-size:12px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}.plant-map-zone__tooltip>span{color:#d4e0dd;font-size:11px;line-height:1.35;white-space:nowrap}.plant-map-zone.is-tooltip-below .plant-map-zone__tooltip{top:calc(100% + 7px);bottom:auto;transform:translate(-50%,-4px)}.plant-map-zone:hover .plant-map-zone__tooltip,.plant-map-zone:focus-visible .plant-map-zone__tooltip{visibility:visible;opacity:1;transform:translate(-50%)}.plant-map-zone.is-tooltip-align-start .plant-map-zone__tooltip{right:auto;left:0;transform:translateY(4px)}.plant-map-zone.is-tooltip-align-end .plant-map-zone__tooltip{right:0;left:auto;transform:translateY(4px)}.plant-map-zone.is-tooltip-below.is-tooltip-align-start .plant-map-zone__tooltip,.plant-map-zone.is-tooltip-below.is-tooltip-align-end .plant-map-zone__tooltip{transform:translateY(-4px)}.plant-map-zone.is-tooltip-align-start:hover .plant-map-zone__tooltip,.plant-map-zone.is-tooltip-align-start:focus-visible .plant-map-zone__tooltip,.plant-map-zone.is-tooltip-align-end:hover .plant-map-zone__tooltip,.plant-map-zone.is-tooltip-align-end:focus-visible .plant-map-zone__tooltip{transform:translate(0)}.plant-map-zone__count{position:absolute;top:3px;right:3px;z-index:2;display:grid;min-width:17px;height:17px;padding:0 4px;place-items:center;color:#fff;font-size:9px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;background:#253f44;border:1px solid #ffffff;border-radius:999px}.modal-actions.plant-map-picker__actions{position:relative;z-index:20;flex:0 0 auto;margin-top:0;padding:10px 0 0;background:#f5f7f6;border-top:1px solid #ccd6d2}.plant-map-picker__actions button{min-height:44px;padding:0 18px}.plant-map-confirm-button{color:#fff!important;background:#0b5f59!important;border-color:#0b5f59!important;box-shadow:0 6px 16px #0b5f592e}.plant-map-confirm-button:hover:not(:disabled){background:#084b47!important;border-color:#084b47!important}.plant-map-confirm-button:disabled{cursor:not-allowed;color:#94a3b8!important;background:#e2e8f0!important;border-color:#cbd5e1!important}@media(prefers-reduced-motion:reduce){.plant-map-zone-shape,.plant-map-zone,.plant-map-zone__tooltip,.plant-map-picker__selection,.plant-zone-picker-button,.plant-map-view-controls button,.modal-actions.plant-map-picker__actions button{animation:none!important;transition:none!important}}@media(pointer:coarse){.modal-panel-plant-map>.modal-header .icon-button{min-width:44px;min-height:44px}.plant-map-view-controls{min-height:44px}.plant-map-view-controls button,.plant-map-view-controls output{min-width:44px;min-height:44px}.plant-zone-picker-button,.plant-map-picker__actions button{min-height:44px}}@media(max-width:980px){.plant-map-picker__toolbar{grid-template-columns:minmax(0,1fr)}.plant-map-picker__selection{width:100%}}@media(max-width:760px){.modal-backdrop:has(>.modal-panel-plant-map){padding:0;place-items:stretch}.modal-panel.modal-panel-plant-map{width:100vw;min-width:0;height:100dvh;max-height:100dvh;border:0;border-radius:0}.modal-panel-plant-map>.modal-header{padding:12px 14px}.plant-map-picker{gap:8px;padding:10px}.plant-map-picker__selection{width:100%;min-width:0}.plant-map-meta-bar{display:grid;align-items:stretch;padding:7px}.plant-map-view-controls{width:100%}.plant-map-view-controls button,.plant-map-view-controls output{flex:1 1 auto;min-height:44px}.plant-map-viewport{min-height:0}.modal-actions.plant-map-picker__actions{display:flex;flex-direction:row;gap:8px;align-items:stretch;padding-top:8px;padding-bottom:env(safe-area-inset-bottom,0)}.plant-map-picker__actions button{min-width:0;min-height:44px}.plant-map-picker__actions .secondary{flex:1 1 0}.plant-map-picker__actions .plant-map-confirm-button{flex:2 1 0}.plant-zone-field__controls{grid-template-columns:minmax(0,1fr)}.plant-zone-picker-button{width:100%}.plant-map-picker__workflow{gap:6px}.plant-map-picker__workflow>span{flex:1 1 auto;justify-content:center;padding-inline:7px}.plant-map-picker__workflow>span+span:before{content:none}.plant-map-canvas__title{min-width:25%;padding:3px 6px}.plant-map-canvas__plate{min-width:0;padding:3px 4px}}@media(max-height:720px)and (min-width:761px){.modal-panel.modal-panel-plant-map{height:96dvh;max-height:96dvh}.modal-panel-plant-map>.modal-header{padding-block:10px}.plant-map-picker{gap:7px;padding:10px 14px}.plant-map-picker__workflow>span{min-height:27px;padding-block:3px}.plant-map-picker__selection{padding-block:8px}}@media(max-width:760px)and (max-height:500px)and (orientation:landscape){.modal-panel-plant-map>.modal-header{min-height:48px;padding:8px 12px}.modal-panel-plant-map>.modal-header h2{font-size:18px}.plant-map-picker{gap:6px;padding:7px 10px}.plant-map-picker__toolbar{grid-template-columns:minmax(0,1fr) minmax(250px,.9fr);gap:8px}.plant-map-picker__eyebrow,.plant-map-picker__intro h3{display:none}.plant-map-picker__intro{gap:0}.plant-map-picker__workflow{flex-wrap:nowrap;gap:4px}.plant-map-picker__workflow>span{min-height:26px;padding:3px 5px;font-size:11px;white-space:nowrap}.plant-map-picker__workflow>span>i{width:16px;height:16px;margin-right:4px}.plant-map-picker__selection{gap:2px;padding:7px 10px 7px 14px}.plant-map-picker__selection b,[data-plant-map-selection-name]{font-size:13px}.plant-map-selection-chip{min-height:24px;padding:2px 6px;font-size:12px}.plant-map-meta-bar{display:flex;min-height:38px;padding:3px 5px}.plant-map-legend{display:none}.plant-map-view-controls{width:auto;margin-left:auto}.plant-map-view-controls button,.plant-map-view-controls output{min-height:44px}.modal-actions.plant-map-picker__actions{padding-top:6px}}@media(forced-colors:active){.plant-map-zone-shape,.plant-map-landmark,.plant-map-lane,.plant-map-canvas__plate{color:CanvasText;background:Canvas;border-color:CanvasText;forced-color-adjust:auto}.plant-map-zone-cluster:has(.plant-map-zone:hover) .plant-map-zone-shape,.plant-map-zone-cluster:has(.plant-map-zone:focus-visible) .plant-map-zone-shape,.plant-map-zone-cluster.is-selected .plant-map-zone-shape{outline:2px solid Highlight;box-shadow:0 0 0 4px Highlight}.plant-map-zone-cluster.is-selected .plant-map-zone-shape.is-primary:before,.plant-map-zone__count{color:HighlightText;background:Highlight;border-color:HighlightText}.plant-map-picker__selection.is-selected,.plant-map-selection-chip{border-color:Highlight!important}.plant-map-confirm-button{color:ButtonText!important;background:ButtonFace!important;border-color:Highlight!important;box-shadow:none}}.hazard-form-stage{display:grid;gap:14px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.hazard-image-upload-field{display:grid;gap:8px}.hazard-image-upload-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:12px;align-items:stretch}.hazard-photo-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.hazard-photo-preview{display:flex;align-items:center;gap:10px;min-height:74px;margin:0;padding:8px;border:1px solid #dbe6ef;border-radius:8px;background:#fff}.hazard-photo-preview img{width:96px;height:64px;object-fit:cover;border-radius:6px}.hazard-photo-preview-trigger{cursor:zoom-in}.hazard-photo-preview figcaption,.hazard-photo-empty,.hazard-photo-link{color:#475569;font-size:13px}.hazard-photo-preview figcaption{display:grid;gap:6px;min-width:0}.hazard-photo-remove{width:fit-content;min-height:26px;padding:3px 8px;border:1px solid #fecaca;border-radius:6px;background:#fff5f5;color:#b91c1c;font-size:12px;font-weight:800}.hazard-photo-remove:hover{background:#fee2e2}.hazard-photo-empty{margin:0;padding:10px 12px;border:1px dashed #cbd7e7;border-radius:8px;background:#fff}.hazard-photo-link{display:inline-flex;width:fit-content;align-items:center;color:#0f766e;font-weight:800}.hazard-photo-table-link{white-space:nowrap}.modal-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.modal-actions .secondary{background:#fff;color:#172033;border-color:#cbd7e7}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.detail-grid div{padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.detail-grid dt{margin-bottom:6px;color:#64748b}.detail-grid dd{margin:0;color:#172033;line-height:1.55}.detail-description{grid-column:1 / -1}.environment-photo-section{display:grid;gap:14px;padding:18px;border-bottom:1px solid #e2e8f0}.inspection-task-panel{display:grid;gap:14px;padding:18px;border-bottom:1px solid #e2e8f0;background:#f8fbff}.inspection-task-main{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.inspection-task-main p,.inspection-task-main h3,.inspection-task-main span,.inspection-report-summary{margin:0}.inspection-task-main p{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.inspection-task-main h3{color:#172033;font-size:18px}.inspection-task-main span,.inspection-report-summary{color:#475569;line-height:1.5}.inspection-task-chip{display:grid;gap:4px;min-width:136px;padding:10px 12px;border-radius:8px;border:1px solid #dce7f2;background:#fff}.inspection-task-chip span{width:fit-content;padding:3px 8px;border-radius:999px;color:#475569;font-size:12px;font-weight:800;background:#e2e8f0}.inspection-task-chip strong,.inspection-task-chip small{color:#172033}.inspection-task-chip small{color:#64748b}.inspection-task-in_progress span,.inspection-task-ready span{color:#9a3412;background:#ffedd5}.inspection-task-overdue span{color:#991b1b;background:#fee2e2}.inspection-task-completed span{color:#166534;background:#dcfce7}.inspection-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.inspection-report-grid div{padding:12px;border:1px solid #dce7f2;border-radius:8px;background:#fff}.inspection-report-grid strong,.inspection-report-grid span{display:block}.inspection-report-grid strong{color:#172033;font-size:22px}.inspection-report-grid span{color:#64748b;font-size:13px}.inspection-report-table-wrap{max-height:320px}.inspection-document{display:grid;gap:12px;padding:14px;border:1px solid #dce7f2;border-radius:8px;background:#fff}.inspection-document header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.inspection-document h4,.inspection-document p{margin:0}.inspection-document h4{color:#172033;font-size:16px}.inspection-document header span,.inspection-document p{color:#475569;line-height:1.5}.inspection-document details{border-top:1px solid #e2e8f0;padding-top:10px}.inspection-document summary{color:#1742a0;font-weight:800;cursor:pointer}.inspection-document pre{max-height:360px;overflow:auto;margin:10px 0 0;padding:12px;border-radius:8px;color:#172033;background:#f8fafc;white-space:pre-wrap}.inspection-template-grid{display:grid;gap:14px}.inspection-item-card{display:grid;gap:12px;padding:14px;border:1px solid #dce7f2;border-radius:8px;background:#fff}.inspection-item-header{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start}.inspection-item-header>span{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:#1742a0;font-weight:800;background:#eaf2ff}.inspection-item-header h4{margin:0 0 6px;color:#172033;font-size:15px}.inspection-item-header p{margin:0;color:#64748b;line-height:1.55}.inspection-item-card-legacy{border-style:dashed}.photo-upload-control{display:grid;gap:8px;color:#172033;font-size:13px}.file-upload{position:relative;min-width:0;max-width:100%;min-height:82px;overflow:hidden;padding:14px;border:1px dashed #7ba2c7;border-radius:8px;background:linear-gradient(180deg,#f8fbff,#eef5fb);cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.file-upload:hover,.file-upload:focus-within{border-color:#2563eb;box-shadow:0 10px 24px #2563eb1f;background:#f8fbff}.file-upload:before{content:"+";display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#fff;font-size:24px;line-height:1;background:#2563eb}.file-upload [data-file-upload-label]{display:block;min-width:0;color:#172033;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-upload__input,.photo-upload-control input{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;border:0;border-radius:6px;padding:0;color:#475569;background:transparent}.file-upload__input::file-selector-button{max-width:100%;margin:10px 10px 0 0;border:1px solid #cbd7e7;border-radius:6px;padding:8px 12px;color:#172033;font-weight:700;background:#fff;cursor:pointer;white-space:normal}.file-upload__input::file-selector-button:hover{border-color:#2563eb;color:#1742a0}.environment-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.environment-photo-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #dce7f2;border-radius:8px;background:#fff}.environment-photo-card img{width:112px;height:96px;object-fit:cover;border-radius:6px;border:1px solid #e2e8f0}.environment-photo-preview-trigger{cursor:zoom-in}.environment-photo-preview-trigger:hover{border-color:#2563eb}.image-preview-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f172ab8}.image-preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1120px,96vw);max-height:92vh;overflow:hidden;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fff;box-shadow:0 28px 88px #0f172a5c}.image-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e2e8f0}.image-preview-header h3{min-width:0;margin:0;overflow:hidden;color:#0f172a;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.image-preview-figure{display:grid;min-height:0;margin:0;padding:16px;background:#0f172a}.image-preview-figure img{align-self:center;justify-self:center;max-width:100%;max-height:calc(92vh - 86px);object-fit:contain;border-radius:4px}.environment-photo-card strong,.environment-photo-card small{display:block}.environment-photo-card small,.photo-empty,.photo-ai-result p{color:#64748b;font-size:13px}.photo-ai-result{display:grid;gap:5px;margin:8px 0}.photo-ai-result p{margin:0;line-height:1.45}.inspection-item-review{display:grid;gap:6px;margin-top:12px;padding:10px 12px;border:1px solid #d8e3ee;border-radius:8px;background:#f8fbfe}.inspection-item-review p{margin:0;color:#43556c;font-size:13px;line-height:1.55}.photo-ai-pill{width:fit-content;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.photo-ai-pending{color:#475569;background:#e2e8f0}.photo-ai-warning{color:#9a3412;background:#ffedd5}.photo-ai-danger{color:#991b1b;background:#fee2e2}.photo-ai-ok{color:#166534;background:#dcfce7}.waste-recognition-panel{display:grid;gap:12px;margin:12px 0;padding:14px;border:1px solid #dce7f2;border-radius:8px;background:#f8fafc}.waste-recognition-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.recognition-status{margin:0;color:#475569;font-size:13px;line-height:1.5}.hazard-form textarea{min-height:96px;resize:vertical}.workflow-strip,.workflow-status-grid{display:grid;gap:12px;margin-bottom:14px}.workflow-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.workflow-strip div,.status-card{background:#fff;border:1px solid #dce7f2;border-radius:8px;padding:14px}.workflow-strip div{position:relative;min-height:82px}.workflow-strip div:after{content:"";position:absolute;right:-7px;top:50%;width:12px;height:12px;border-top:2px solid #8eb9e8;border-right:2px solid #8eb9e8;transform:translateY(-50%) rotate(45deg);background:#eef3f8}.workflow-strip div:last-child:after{content:none}.workflow-strip strong,.status-card strong{display:block;color:#172033}.workflow-strip span,.status-card span{display:block;margin-top:6px;color:#64748b;font-size:13px}.workflow-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.status-card{border-left:4px solid #2563eb}.status-card.status-pending,.status-card.status-draft{border-left-color:#dc2626}.status-card.status-rectifying,.status-card.status-submitted{border-left-color:#f59e0b}.status-card.status-pendingVerification,.status-card.status-rectified{border-left-color:#2563eb}.status-card.status-closed,.status-card.status-verified{border-left-color:#16a34a}.status-card strong{font-size:28px}.workflow-action{display:grid;gap:8px;min-width:220px}.workflow-action label{display:grid;gap:6px;color:#172033;font-size:13px}.workflow-action textarea,.workflow-action input{width:100%;border:1px solid #cbd7e7;border-radius:6px;padding:8px;resize:vertical}.workflow-action textarea{min-height:68px}.workflow-action button{border:0;background:#0f5d91;color:#fff;border-radius:6px;padding:9px 12px;font-weight:700}@media(max-width:980px){.login-screen,.app-shell,.dashboard-grid,.work-grid,.full-process-grid{grid-template-columns:1fr}.login-visual{display:none}.sidebar{position:sticky;top:0;z-index:5;padding:14px;min-width:0;max-width:100vw;overflow:hidden}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid,.filters,.ledger-filters,.danger-source-filters,.waste-storage-filters,.system-management-filters,.system-users-filters,.system-organizations-filters,.system-roles-filters,.system-organization-workspace,.system-menu-workspace,.system-permission-checklist,.system-permission-package-grid,.modal-form-grid,.safety-module-grid,.detail-grid,.waste-detail-summary .detail-grid,.form-row,.workflow-metrics,.danger-source-metrics,.safety-training-metrics,.workflow-strip,.workflow-status-grid{grid-template-columns:1fr}.system-org-tree-panel,.system-menu-tree-panel{position:static}.ledger-toolbar,.modal-actions,.pagination-bar,.pagination-actions{align-items:stretch;flex-direction:column}.workflow-strip div:after{content:none}}button,.nav-item,.link-button,.logout-button,.ledger-toolbar button,.modal-actions button,.row-actions button,.icon-button,input,select,textarea,.status-select{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}button:hover{transform:translateY(-1px)}input:focus,select:focus,textarea:focus,.status-select:focus,.hazard-modal-form input:focus,.hazard-modal-form select:focus,.hazard-modal-form textarea:focus,.workflow-action textarea:focus,.workflow-action input:focus{border-color:var(--brand);box-shadow:var(--focus)}.login-screen{background:radial-gradient(circle at 80% 14%,rgba(45,212,191,.18),transparent 28%),linear-gradient(135deg,#0d1d2d,#102c3d 48%,#0b3f3c)}.login-panel{border-right-color:#cbd5e124}.brand-mark{border-color:#5eead49e;background:linear-gradient(145deg,#0f766e,#174e68);border-radius:10px;box-shadow:0 10px 28px #082f4942}.brand-lockup p,.topbar p,.section-heading p{color:var(--text-faint);font-weight:700}.login-form input,.login-form button,.hazard-form button,.workflow-action button,.ledger-toolbar button,.modal-actions button[type=submit]{border-radius:8px}.login-form button,.hazard-form button,.workflow-action button,.ledger-toolbar button,.modal-actions button[type=submit]{background:linear-gradient(135deg,var(--brand),var(--brand-strong));box-shadow:0 10px 22px #0f766e2e}.login-form button:hover,.hazard-form button:hover,.workflow-action button:hover,.ledger-toolbar button:hover,.modal-actions button[type=submit]:hover{background:linear-gradient(135deg,#10857c,#0f766e)}.radar-card{border-color:#5eead43d;border-radius:18px;background:radial-gradient(circle at 50% 48%,rgba(20,184,166,.28),transparent 34%),linear-gradient(145deg,#071826d6,#0d3846e6)}.login-metrics div,.metric,.panel{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-sm)}.app-shell{background:var(--bg)}.sidebar{background:linear-gradient(180deg,rgba(15,118,110,.16),transparent 34%),var(--nav);box-shadow:inset -1px 0 #cbd5e114}.sidebar-brand{border-bottom:1px solid rgba(203,213,225,.1);margin-bottom:14px}.sidebar-brand small{color:#94b8c9}.nav-list{gap:7px}.nav-item{border-radius:8px;color:#c7d5e4}.nav-item.is-active,.nav-item:hover{background:var(--nav-active);color:#fff;box-shadow:inset 3px 0 #5eead4}.nav-parent:after{color:#78c6c1}.nav-subitem{border-left-color:#5eead438}.workspace{background:linear-gradient(180deg,#ffffffa8,#fff0 230px),var(--bg)}.topbar{height:68px;background:#ffffffeb;border-bottom-color:var(--line);backdrop-filter:blur(10px)}.topbar h2,.section-heading h1{color:var(--text)}.page{padding:26px}.section-heading{padding-bottom:4px}.live-pill{color:var(--brand-strong);background:var(--brand-soft);border-color:#a7eadf;font-weight:700}.metric{position:relative;overflow:hidden;border-left-width:0;border-radius:8px}.metric:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--info)}.metric strong{color:var(--text);letter-spacing:0}.panel{border-radius:8px}.panel-title{border-bottom:1px solid var(--line);padding-bottom:12px}.panel-title h3,.ledger-toolbar h3{color:var(--text)}.trend-bars{border-color:var(--line);border-radius:8px;background:linear-gradient(180deg,#d9f5efb8,#ffffffeb),repeating-linear-gradient(0deg,transparent 0 37px,rgba(148,163,184,.16) 38px)}.trend-bars span{background:linear-gradient(180deg,#14b8a6,#0f766e)}.risk-lanes div,.workflow-strip div,.status-card,.waste-detail-summary .detail-grid div,.detail-grid div,.environment-photo-card,.waste-recognition-panel{border-color:var(--line);border-radius:8px;background:var(--surface-raised)}.logout-button,.link-button,.ledger-toolbar button,.modal-actions button,.row-actions button,.icon-button,.pagination-actions button{border-color:var(--line-strong);background:var(--surface);color:var(--text);border-radius:8px}.logout-button:hover,.link-button:hover,.modal-actions .secondary:hover,.row-actions button:hover,.icon-button:hover,.pagination-actions button:hover{border-color:var(--brand);color:var(--brand-strong);box-shadow:var(--focus)}.row-actions .danger:hover{border-color:#fca5a5;color:var(--critical);box-shadow:0 0 0 3px #dc26261a}.login-form input,.hazard-form input,.hazard-form select,.hazard-form textarea,.filters input,.filters select,.status-select,.hazard-modal-form input,.hazard-modal-form select,.hazard-modal-form textarea,.workflow-action textarea,.workflow-action input,.pagination-bar select{border-color:var(--line-strong);border-radius:8px;background:#fff;color:var(--text)}.login-form input::placeholder{color:#8ea0b4}.filters label,.hazard-form label,.hazard-modal-form label,.workflow-action label{color:#3e4c5d;font-weight:700}.table-wrap{border:1px solid var(--line);border-radius:8px;background:#fff}table{overflow:hidden}th{color:#506174;background:#f4f7fa;font-weight:700}td{color:var(--text)}tbody tr{transition:background-color .15s ease}tbody tr:hover{background:#f8fcfb}.tag{border:1px solid rgba(255,255,255,.4)}.severity-medium,.status-pendingVerification,.status-rectified,.risk-medium,.source-status-reviewing,.drill-status-planned,.safety-status-planned,.safety-status-assigned,.safety-status-draft,.safety-status-pending,.safety-status-judge,.waste-category-solid{color:#1e3a8a;background:#dbeafe}.severity-low,.status-closed,.status-verified,.risk-low,.source-status-controlled,.drill-status-completed,.waste-alert-normal,.movement-type-inbound,.system-status-active,.safety-status-completed,.safety-status-passed,.safety-status-published,.safety-status-multiple{color:#14532d;background:#dcfce7}.severity-major,.status-pending,.status-draft,.risk-major,.source-status-pending,.waste-alert-exceeded,.waste-alert-negative,.safety-status-overdue,.safety-status-retake,.safety-status-failed,.safety-status-archived{color:#8a1c1c;background:#fee2e2}.severity-high,.status-rectifying,.status-submitted,.risk-high,.drill-status-executing,.waste-alert-warning,.waste-category-hazardous,.safety-status-inProgress,.safety-status-scheduled,.safety-status-learning,.safety-status-single{color:#8a3d0f;background:#ffedd5}.modal-backdrop{background:linear-gradient(135deg,#081423b8,#0f766e3d),#0f172a85;backdrop-filter:blur(3px)}.modal-panel{border-color:var(--line);box-shadow:0 28px 80px #0f172a4d}.modal-header{background:#fffffff5;border-bottom-color:var(--line)}.file-upload{border-color:#9ccbc7;background:linear-gradient(180deg,#f9fefd,#edf8f5)}.file-upload:hover,.file-upload:focus-within{border-color:var(--brand);box-shadow:var(--focus)}.safety-progress span{background:linear-gradient(90deg,var(--brand),#22c55e)}.workflow-strip div:after{border-color:#63c5bc;background:var(--bg)}.status-card{border-left-width:0;position:relative;overflow:hidden}.status-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--info)}.status-card.status-pending:before{background:var(--critical)}.status-card.status-draft:before{background:var(--critical)}.status-card.status-rectifying:before{background:var(--warning)}.status-card.status-submitted:before{background:var(--warning)}.status-card.status-pendingVerification:before{background:var(--info)}.status-card.status-rectified:before{background:var(--info)}.status-card.status-closed:before{background:var(--success)}.status-card.status-verified:before{background:var(--success)}@media(max-width:980px){.page{padding:18px}.topbar{height:auto;min-height:64px;gap:12px;flex-wrap:wrap;padding:14px 18px}.sidebar-brand{padding-bottom:14px}.nav-list{display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;max-width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.nav-group,.nav-item:not(.nav-subitem){flex:0 0 160px}.nav-sublist{padding-left:0}.nav-subitem{border-left-width:0;box-shadow:inset 2px 0 #5eead438}.table-wrap{border-radius:8px}}::selection{color:#fff;background:var(--brand)}html{scrollbar-color:#9fb2c5 #edf3f8}body{background:linear-gradient(90deg,rgba(15,118,110,.045) 1px,transparent 1px) 0 0 / 48px 48px,linear-gradient(0deg,rgba(15,118,110,.035) 1px,transparent 1px) 0 0 / 48px 48px,linear-gradient(140deg,#0f766e14,#2563eb0a 42%,#f4f7fb00 70%),var(--bg)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:var(--brand);box-shadow:var(--focus)}button:disabled{cursor:not-allowed;transform:none;opacity:.58}.login-screen{background:linear-gradient(90deg,rgba(94,234,212,.08) 1px,transparent 1px) 0 0 / 54px 54px,linear-gradient(0deg,rgba(94,234,212,.06) 1px,transparent 1px) 0 0 / 54px 54px,linear-gradient(135deg,#091725,#10293a 48%,#083b38)}.login-panel{background:#0513202e;box-shadow:inset -1px 0 #ffffff14}.login-copy{max-width:34em}.app-shell{grid-template-columns:264px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;padding:24px 18px}.sidebar::-webkit-scrollbar,.table-wrap::-webkit-scrollbar,.modal-panel::-webkit-scrollbar{width:9px;height:9px}.sidebar::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb,.modal-panel::-webkit-scrollbar-thumb{background:#5f6f826b;border-radius:999px}.sidebar-brand{padding:2px 4px 20px}.sidebar-brand strong{color:#f3fbff;font-size:16px}.brand-mark{flex:0 0 auto;border-radius:9px}.nav-item{min-height:42px;border:1px solid transparent;font-weight:700}.nav-item:hover{border-color:#5eead433}.nav-item.is-active{background:linear-gradient(135deg,#2dd4bf2e,#2563eb1f);border-color:#5eead44d}.nav-subitem{min-height:38px;color:#b9ccdc;font-weight:600}.workspace{min-height:100vh}.topbar{position:sticky;top:0;z-index:12;height:70px;padding-inline:30px;box-shadow:0 10px 28px #12283c0d}.topbar h2{font-size:24px}.logout-button,.link-button,.ledger-toolbar button,.modal-actions button,.row-actions button,.pagination-actions button{min-height:38px}.page{max-width:1680px;margin:0 auto}.section-heading{min-height:74px;align-items:end}.section-heading h1{font-size:clamp(28px,3vw,38px)}.live-pill{min-height:34px;display:inline-flex;align-items:center}.metric-grid.dashboard-metrics{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.metric{min-height:96px;display:grid;align-content:center;gap:4px;background:linear-gradient(180deg,#fffffff5,#fafdfff5),var(--surface)}.metric:after{content:"";position:absolute;right:14px;top:14px;width:34px;height:34px;border:1px solid rgba(130,145,165,.16);border-radius:50%;background:linear-gradient(135deg,#0f766e14,#2563eb0f)}.metric strong{font-size:30px}.dashboard-grid,.work-grid{gap:16px}.panel{padding:20px;background:linear-gradient(180deg,#fffffffa,#fcfefffa),var(--surface)}.panel-title{min-height:42px;margin-bottom:14px}.panel-title h3,.ledger-toolbar h3{font-size:20px}.ledger-toolbar{align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--line)}.filters{padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#f8fbfc}.filters label{gap:7px;font-size:13px}.filters input,.filters select,.hazard-form input,.hazard-form select,.hazard-form textarea,.hazard-modal-form input,.hazard-modal-form select,.hazard-modal-form textarea,.status-select{min-height:var(--control-height)}.hazard-modal-form .organization-auth-check,.hazard-modal-form .system-role-check{display:inline-flex;align-items:center;gap:6px;min-width:0;margin:0;color:inherit;font:inherit;font-weight:650}.hazard-modal-form .organization-auth-check input[type=checkbox],.hazard-modal-form .system-role-check input[type=checkbox],.hazard-modal-form .system-permission-option input[type=checkbox],.hazard-modal-form .system-permission-module-toggle input[type=checkbox]{flex:0 0 auto;width:14px;height:14px;min-height:0;margin:0;padding:0;border-radius:2px;accent-color:#0f8f7f}.hazard-modal-form .organization-auth-tree-node{gap:5px;font-size:13px}.table-wrap{box-shadow:inset 0 1px #fffc}th{position:sticky;top:0;z-index:1;white-space:nowrap}th,td{padding:13px 12px}tbody tr:nth-child(2n){background:#f8fbfc8c}.tag{min-height:26px;line-height:1}.modal-panel{border-radius:10px}.modal-header{min-height:68px}.modal-header h2{font-size:22px}.modal-form-grid{gap:16px}.hazard-modal-form{padding:22px}.modal-actions{position:sticky;bottom:0;margin:8px -22px -22px;padding:14px 22px;background:#fffffff0;border-top:1px solid var(--line);backdrop-filter:blur(10px)}.tree-node,.system-menu-tree-node{border:1px solid transparent}.tree-node:hover,.system-menu-tree-node:hover{border-color:#c7e8e2}@media(max-width:1200px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.workflow-metrics,.danger-source-metrics,.safety-training-metrics,.drill-metrics,.system-management-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media(max-width:980px){body{background:var(--bg)}.app-shell{display:block}.sidebar{height:auto;max-height:164px;padding:12px 14px;border-bottom:1px solid rgba(203,213,225,.14)}.sidebar-brand{gap:10px;margin-bottom:10px;padding:0 0 10px}.brand-mark{width:38px;height:38px}.sidebar-brand strong{font-size:15px}.sidebar-brand small{font-size:12px}.nav-list{align-items:center;gap:8px}.nav-group{flex:0 0 auto;display:flex;align-items:center;gap:8px}.nav-sublist{display:flex;gap:8px}.nav-item,.nav-subitem,.nav-item:not(.nav-subitem){flex:0 0 auto;min-height:36px;padding:8px 12px;white-space:nowrap}.nav-parent:after{margin-left:8px}.workspace{min-height:auto}.topbar{position:static;padding:12px 16px;box-shadow:none}.topbar h2{font-size:22px}.page{max-width:none;padding:16px 14px 22px}.section-heading{min-height:0;align-items:start;gap:12px}.section-heading h1{font-size:28px}.metric{min-height:84px}.filters{padding:12px}.panel{padding:16px}.modal-backdrop{align-items:end;padding:10px}.modal-panel,.modal-panel-large,.modal-panel-system-compact,.modal-panel-system-wide{width:100%;min-width:0;max-height:92vh;border-radius:10px 10px 0 0}.image-preview-backdrop{align-items:end;padding:10px}.image-preview-panel{width:100%;max-height:94vh;border-radius:10px 10px 0 0}.image-preview-figure{padding:10px}.image-preview-figure img{max-height:calc(94vh - 76px)}.hazard-modal-form{padding:16px}.modal-actions{margin:8px -16px -16px;padding:12px 16px}}:root{--bg: #eef3f7;--bg-soft: #f5f8fb;--surface: #ffffff;--surface-raised: #f9fbfd;--line: #d6e0ea;--line-strong: #aebdca;--text: #122033;--text-muted: #526579;--text-faint: #718196;--brand: #0b756b;--brand-strong: #075e57;--brand-soft: #dff4f0;--nav: #122133;--nav-raised: #182b40;--nav-active: #e4f7f3;--info: #2463c7;--critical: #c92d2d;--warning: #bd6a16;--success: #16804a;--radius: 8px;--control-height: 40px;--shadow-sm: 0 1px 2px rgba(18, 32, 51, .08);--shadow-md: 0 4px 8px rgba(18, 32, 51, .08);--focus: 0 0 0 3px rgba(11, 117, 107, .18)}body{background:linear-gradient(180deg,#f6f9fb 0,#f6f9fb00 220px),var(--bg);color:var(--text);text-rendering:optimizeLegibility}button,.nav-item,.link-button,.logout-button,.ledger-toolbar button,.modal-actions button,.row-actions button,.icon-button,input,select,textarea,.status-select{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}button:hover{transform:none}button:active{transform:translateY(1px)}.app-shell{grid-template-columns:252px minmax(0,1fr);background:var(--bg)}.sidebar{background:var(--nav);box-shadow:inset -1px 0 #ffffff12}.sidebar-brand{border-bottom-color:#ffffff1a}.brand-mark{border-color:#64d7cb80;background:#0b756b;border-radius:8px;box-shadow:none}.nav-item{border:1px solid transparent;border-radius:8px;color:#c7d4e2}.nav-item:hover{background:#1b3148;border-color:#ffffff14;color:#fff}.nav-item.is-active{background:var(--nav-active);border-color:#bfe5dd;color:#063c38;box-shadow:none}.nav-subitem{border-left-width:0;color:#b8c8d8}.nav-parent:after{color:currentColor}.workspace{background:transparent}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:none}.topbar p,.section-heading p,.brand-lockup p{color:var(--text-faint);font-weight:700;text-transform:none}.topbar h2{font-size:23px;letter-spacing:0}.page{max-width:1600px;padding:24px}.section-heading{min-height:64px;align-items:end;margin-bottom:16px}.section-heading h1{font-size:32px;line-height:1.2;text-wrap:balance}.live-pill,.tag{border-radius:999px;border:1px solid transparent;font-weight:700}.live-pill{color:var(--brand-strong);background:var(--brand-soft);border-color:#b9e5dd}.metric-grid,.dashboard-grid,.work-grid{gap:14px}.metric,.panel,.login-metrics div{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm)}.metric{min-height:92px;padding:16px 18px;border-radius:var(--radius)}.metric:before{inset:0 0 auto;width:auto;height:3px;background:var(--info)}.metric:after{content:none}.metric strong{font-size:28px;line-height:1.12}.metric span,.login-metrics span,.panel-title span,.ledger-toolbar p,td small{color:var(--text-muted)}.metric-critical:before{background:var(--critical)}.metric-warning:before{background:var(--warning)}.metric-success:before{background:var(--success)}.panel{border-radius:var(--radius);padding:18px}.panel-title{min-height:38px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}.panel-title h3,.ledger-toolbar h3{font-size:19px}.trend-bars{border-color:var(--line);border-radius:var(--radius);background:#f7fafc}.trend-bars span{background:var(--brand)}.risk-lanes div,.workflow-strip div,.status-card,.waste-detail-summary .detail-grid div,.detail-grid div,.environment-photo-card,.waste-recognition-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-raised);box-shadow:none}.status-card:before{inset:0 0 auto;width:auto;height:3px}.workflow-strip div:after{border-color:#9fd8ce;background:var(--bg)}.filters{padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-raised)}.filters label,.hazard-form label,.hazard-modal-form label,.workflow-action label{color:#314154;font-weight:700}.login-form input,.hazard-form input,.hazard-form select,.hazard-form textarea,.filters input,.filters select,.status-select,.hazard-modal-form input,.hazard-modal-form select,.hazard-modal-form textarea,.workflow-action textarea,.workflow-action input,.pagination-bar select,.tree-combobox summary,.person-picker-button{min-height:var(--control-height);border-color:var(--line-strong);border-radius:var(--radius);background:#fff;color:var(--text)}input::placeholder,textarea::placeholder{color:#66798d}input:focus,select:focus,textarea:focus,.status-select:focus,.tree-combobox summary:focus,.person-picker-button:focus{border-color:var(--brand);box-shadow:var(--focus)}.login-form button,.hazard-form button,.workflow-action button,.ledger-toolbar button,.modal-actions button[type=submit]{border:1px solid var(--brand-strong);background:var(--brand);color:#fff;box-shadow:none}.login-form button:hover,.hazard-form button:hover,.workflow-action button:hover,.ledger-toolbar button:hover,.modal-actions button[type=submit]:hover{background:var(--brand-strong)}.logout-button,.link-button,.modal-actions button,.row-actions button,.icon-button,.pagination-actions button,.file-upload__input::file-selector-button{min-height:38px;border-color:var(--line-strong);background:#fff;color:var(--text);border-radius:var(--radius);box-shadow:none}.modal-actions .secondary:hover,.logout-button:hover,.link-button:hover,.row-actions button:hover,.icon-button:hover,.pagination-actions button:hover,.file-upload__input::file-selector-button:hover{border-color:var(--brand);background:#f3fbf9;color:var(--brand-strong);box-shadow:none}.row-actions .danger:hover{border-color:#e7a0a0;background:#fff5f5;color:var(--critical);box-shadow:none}.ledger-toolbar button,.row-actions button,.system-user-import-actions button,.system-user-import-actions .button-link,.system-menu-tree-edit{min-height:38px;border:1px solid var(--brand-strong);border-radius:var(--radius);padding:0 14px;background:var(--brand);color:#fff;font-size:14px;font-weight:700;line-height:1;box-shadow:none}.row-actions button{min-height:34px;padding:0 12px;font-size:13px}.ledger-toolbar button:hover,.row-actions button:hover,.system-user-import-actions button:hover,.system-user-import-actions .button-link:hover,.system-menu-tree-edit:hover{border-color:var(--brand-strong);background:var(--brand-strong);color:#fff;box-shadow:none}.ledger-toolbar button:focus-visible,.row-actions button:focus-visible,.system-user-import-actions button:focus-visible,.system-user-import-actions .button-link:focus-visible,.system-menu-tree-edit:focus-visible{outline:3px solid rgba(11,117,107,.22);outline-offset:2px}.ledger-toolbar button:active,.row-actions button:active,.system-user-import-actions button:active,.system-user-import-actions .button-link:active,.system-menu-tree-edit:active{transform:translateY(1px)}.row-actions .danger,.system-user-import-actions .danger{border-color:var(--critical);background:var(--critical);color:#fff}.row-actions .danger:hover,.system-user-import-actions .danger:hover{border-color:#a61f1f;background:#a61f1f;color:#fff}.row-actions button:disabled,.ledger-toolbar button:disabled,.system-user-import-actions button:disabled{border-color:var(--line-strong);background:#e8eef4;color:#64748b;cursor:not-allowed;transform:none}.table-selection-actions button,.ledger-toolbar button,.row-actions button,.system-user-import-actions button,.system-user-import-actions .button-link,.system-menu-tree-edit{border-color:#0f5d91;background:#0f5d91;color:#fff}.table-selection-actions button:hover,.ledger-toolbar button:hover,.row-actions button:hover,.system-user-import-actions button:hover,.system-user-import-actions .button-link:hover,.system-menu-tree-edit:hover{border-color:#0a4f7d;background:#0a4f7d;color:#fff}.table-selection-actions button:focus-visible,.ledger-toolbar button:focus-visible,.row-actions button:focus-visible,.system-user-import-actions button:focus-visible,.system-user-import-actions .button-link:focus-visible,.system-menu-tree-edit:focus-visible{outline-color:#2563eb38}.table-selection-actions .danger,.row-actions .danger,.system-user-import-actions .danger{border-color:#dc2626;background:#dc2626;color:#fff}.table-selection-actions .danger:hover,.row-actions .danger:hover,.system-user-import-actions .danger:hover{border-color:#b91c1c;background:#b91c1c;color:#fff}.table-selection-actions button:disabled,.ledger-toolbar button:disabled,.row-actions button:disabled,.system-user-import-actions button:disabled{border-color:var(--line-strong);background:#e8eef4;color:#64748b}.danger-source-page .ledger-toolbar>button[data-source-modal-type=create],.emergency-drills-page .ledger-toolbar>button[data-drill-modal-type=create],.waste-storage-page .ledger-toolbar>button[data-waste-modal-type=unit-create],.manager-duty-page .ledger-toolbar>button[data-manager-duty-modal-type=checklist-create],.manager-duty-page .ledger-toolbar>button[data-manager-duty-modal-type=role-create],.system-management-page .ledger-toolbar>button[data-system-modal-type],.system-user-import-actions button[data-system-modal-type=user-create]{display:none}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:none}table{font-size:14px}th{background:#f2f6f9;color:#3f5368;font-weight:700}th,td{padding:12px;border-bottom-color:#e1e8ef}tbody tr:nth-child(2n){background:#fafcfd}tbody tr:hover{background:#f1faf7}.empty-table,.photo-empty{color:var(--text-muted);background:#f8fbfd}.pagination-bar{color:var(--text-muted)}.modal-backdrop{background:#0d182694;backdrop-filter:blur(2px)}.modal-panel{border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-md)}.modal-header,.modal-actions{background:#fff;backdrop-filter:none}.modal-header{min-height:64px;border-bottom-color:var(--line)}.modal-header h2{font-size:21px}.hazard-modal-form{padding:20px}.modal-actions{margin:8px -20px -20px;padding:14px 20px;border-top:1px solid var(--line)}.file-upload{border-color:#9fcac3;background:#f4fbf9}.file-upload:before{background:var(--brand)}.manager-duty-evaluation-entry-table{table-layout:fixed;min-width:1420px}.manager-duty-evaluation-entry-table thead th{text-align:center}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(1),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(1){width:58px}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(2),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(2){width:72px;text-align:center;vertical-align:middle}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(3),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(3){width:300px}.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(3) .cell-text,.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(5) .cell-text{display:block;max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.7}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(4),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(4){width:92px;vertical-align:middle;text-align:center}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(5),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(5){width:260px}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(6),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(6){width:130px;vertical-align:middle;text-align:center}.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(6) input{max-width:108px;margin:0 auto;text-align:center}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(7),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(7){width:220px}.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(7) textarea{width:100%;min-height:100%;height:100%}.manager-duty-evaluation-entry-table.is-self-evaluation th:nth-child(8),.manager-duty-evaluation-entry-table.is-self-evaluation td:nth-child(8){width:320px}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(1),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(1){width:58px}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(2),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(2){width:300px}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(3),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(3),.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(5),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(5){width:100px;text-align:center;vertical-align:middle}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(4),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(4),.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(6),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(6),.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(9),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(9){width:220px}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(7),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(7){width:260px}.manager-duty-evaluation-entry-table.is-superior-evaluation th:nth-child(8),.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(8){width:130px;text-align:center;vertical-align:middle}.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(8) input{max-width:108px;margin:0 auto;text-align:center}.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(2) .cell-text,.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(4) .cell-text,.manager-duty-evaluation-entry-table.is-superior-evaluation td:nth-child(6) .cell-text{display:block;max-width:none;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;word-break:break-word;line-height:1.7}.manager-duty-attachment-upload:before{display:none}.manager-duty-attachment-upload{min-height:0;padding:12px 14px}.safety-progress{background:#dce6ef}.safety-progress span{background:var(--brand)}.tree-node:hover,.system-menu-tree-node:hover{border-color:#b9ded8;background:#eef8f5;color:var(--brand-strong)}.login-screen{min-height:100dvh;background:radial-gradient(circle at 70% 14%,rgba(20,184,166,.16),transparent 30%),linear-gradient(135deg,#081827,#11283c 52%,#0a3d39)}.login-panel{background:#05121f3d}.login-copy{color:#c3d2e2}.login-form input{border-color:#bbcfe257;background:#ffffff14;color:#fff}.login-form input::placeholder{color:#b4c4d5}.radar-card{border-color:#73dccf42;border-radius:10px;box-shadow:0 4px 8px #00000038}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(max-width:1200px){.app-shell{grid-template-columns:232px minmax(0,1fr)}.metric-grid,.workflow-metrics,.danger-source-metrics,.safety-training-metrics,.drill-metrics,.system-management-metrics,.manager-duty-metrics,.waste-storage-metrics{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))}}.manager-duty-template-grid{display:grid;gap:18px}.manager-duty-template-table th:nth-child(1),.manager-duty-template-table td:nth-child(1){width:58px;text-align:center}.manager-duty-template-table th:nth-child(3),.manager-duty-template-table td:nth-child(3){width:92px;text-align:center;white-space:nowrap}.manager-duty-member-panel{display:grid;gap:12px;padding:0 18px 18px}.manager-duty-month-picker{align-items:end}.manager-duty-monthly-tabs{display:inline-flex;gap:4px;margin:0 18px 14px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised)}.manager-duty-monthly-tabs button{min-width:96px;min-height:34px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font-weight:700}.manager-duty-monthly-tabs button.is-active,.manager-duty-monthly-tabs button[aria-selected=true]{background:var(--brand);color:#fff}.manager-duty-monthly-tabs button:focus-visible{outline:none;box-shadow:var(--focus)}.manager-duty-evaluation-source{display:grid;gap:12px;padding:0 18px 18px}.manager-duty-evaluation-source .panel-title{margin:0}.manager-duty-evaluation-source-table th:nth-child(5),.manager-duty-evaluation-source-table td:nth-child(5){width:88px;text-align:center;white-space:nowrap}.manager-duty-member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;max-height:300px;overflow:auto;padding:2px}.manager-duty-member-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;min-height:54px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.manager-duty-member-option input{margin-top:3px}.manager-duty-member-option span{display:grid;gap:4px;min-width:0}.manager-duty-member-option strong,.manager-duty-member-option em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manager-duty-member-option em{color:var(--text-muted);font-size:12px;font-style:normal}.manager-duty-member-empty{padding:18px}.manager-duty-checklist-assign-person-field{grid-column:1 / -1;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:12px}.manager-duty-checklist-assign-person-field textarea{min-height:100px;cursor:pointer;resize:none}.manager-duty-checklist-assign-person-field textarea[readonly]{background:#fff}.manager-duty-checklist-items-editor{display:grid;gap:12px;padding:0 18px 18px}.manager-duty-checklist-items-editor .panel-title{align-items:center;padding:0 0 12px;border-bottom:1px solid var(--line)}.manager-duty-checklist-items-editor .panel-title h3{font-size:18px}.manager-duty-checklist-items-edit-table input,.manager-duty-checklist-items-edit-table select,.manager-duty-checklist-items-edit-table textarea{width:100%;min-width:0}.manager-duty-checklist-items-editor button,.manager-duty-checklist-items-edit-table button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid var(--line-strong);border-radius:var(--radius);padding:0 12px;background:#fff;color:var(--text);font-size:13px;font-weight:700;line-height:1;white-space:nowrap;box-shadow:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.manager-duty-checklist-items-editor button:hover,.manager-duty-checklist-items-edit-table button:hover{border-color:var(--brand-strong);background:#eef8f5;color:var(--brand-strong)}.manager-duty-checklist-items-editor button:focus-visible,.manager-duty-checklist-items-edit-table button:focus-visible{outline:none;box-shadow:var(--focus)}.manager-duty-checklist-items-editor button:active,.manager-duty-checklist-items-edit-table button:active{transform:translateY(1px)}.manager-duty-child-table-wrap{overflow-x:auto}.manager-duty-checklist-child-table{table-layout:fixed;min-width:1080px}.manager-duty-checklist-child-table th:nth-child(1),.manager-duty-checklist-child-table td:nth-child(1){width:72px}.manager-duty-checklist-child-table th:nth-child(3),.manager-duty-checklist-child-table td:nth-child(3){width:96px;text-align:center}.manager-duty-checklist-child-table .cell-text{display:block;max-width:none;overflow:visible;text-overflow:clip;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.6}.manager-duty-checklist-child-table .cell-text:hover:after{content:none}.manager-duty-checklist-items-editor [data-manager-duty-checklist-item-add]{min-height:36px;border-color:#9fcac3;background:#f0faf7;color:var(--brand-strong)}.manager-duty-checklist-items-editor [data-manager-duty-checklist-item-add]:before{content:"+";display:inline-grid;place-items:center;width:16px;height:16px;margin-right:6px;border-radius:999px;background:var(--brand);color:#fff;font-size:13px;line-height:1}.table-wrap th,.table-wrap td,.workflow-table th,.workflow-table td,.safety-training-table th,.safety-training-table td{overflow-wrap:anywhere;word-break:break-word}.table-wrap :where(input,select,textarea,.cell-text),.workflow-table :where(input,select,textarea,.cell-text),.safety-training-table :where(input,select,textarea,.cell-text),.hazard-modal-form :where(input,select,textarea,.cell-text),.filters :where(input,select){max-width:100%;min-width:0;box-sizing:border-box}.system-user-table,.contractor-unit-table,.contractor-person-table,.manager-duty-monthly-table,.manager-duty-checklist-table,.manager-duty-assignment-table,.manager-duty-role-table,.system-menu-table{table-layout:fixed}.system-user-table{min-width:1760px}.system-user-table .cell-text,.contractor-unit-table .cell-text,.contractor-person-table .cell-text,.manager-duty-monthly-table .cell-text,.manager-duty-checklist-table .cell-text,.manager-duty-assignment-table .cell-text,.manager-duty-role-table .cell-text,.system-menu-table .cell-text{display:block;max-width:100%}.system-user-table .tag,.contractor-unit-table .tag,.contractor-person-table .tag,.manager-duty-monthly-table .tag,.manager-duty-checklist-table .tag,.manager-duty-assignment-table .tag,.manager-duty-role-table .tag,.system-menu-table .tag{white-space:nowrap}.system-user-table th:nth-child(2),.system-user-table td:nth-child(2){width:104px}.system-user-table th:nth-child(3),.system-user-table td:nth-child(3),.system-user-table th:nth-child(6),.system-user-table td:nth-child(6),.system-user-table th:nth-child(11),.system-user-table td:nth-child(11){width:90px}.system-user-table th:nth-child(4),.system-user-table td:nth-child(4){width:220px}.system-user-table th:nth-child(5),.system-user-table td:nth-child(5){width:320px}.system-user-table th:nth-child(7),.system-user-table td:nth-child(7){width:230px}.system-user-table th:nth-child(8),.system-user-table td:nth-child(8),.system-user-table th:nth-child(10),.system-user-table td:nth-child(10){width:180px}.system-user-table th:nth-child(9),.system-user-table td:nth-child(9){width:124px}.contractor-unit-table{min-width:1920px}.contractor-unit-table th:nth-child(2),.contractor-unit-table td:nth-child(2){width:220px}.contractor-unit-table th:nth-child(3),.contractor-unit-table td:nth-child(3){width:150px}.contractor-unit-table th:nth-child(4),.contractor-unit-table td:nth-child(4){width:170px}.contractor-unit-table th:nth-child(5),.contractor-unit-table td:nth-child(5){width:210px}.contractor-unit-table th:nth-child(6),.contractor-unit-table td:nth-child(6),.contractor-unit-table th:nth-child(7),.contractor-unit-table td:nth-child(7),.contractor-unit-table th:nth-child(8),.contractor-unit-table td:nth-child(8),.contractor-unit-table th:nth-child(9),.contractor-unit-table td:nth-child(9),.contractor-unit-table th:nth-child(10),.contractor-unit-table td:nth-child(10){width:130px}.contractor-license-field{grid-column:1 / -1}.contractor-license-link{color:var(--brand-strong);overflow-wrap:anywhere}.contractor-attachment-section{display:grid;gap:12px;margin:18px;padding:16px;background:#f8fbff;border:1px solid #d9e5f0;border-radius:10px}.contractor-attachment-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.contractor-attachment-heading h3,.contractor-attachment-heading p{margin:0}.contractor-attachment-heading p{margin-top:4px;color:#64748b;font-size:12px}.contractor-attachment-heading>span{flex:0 0 auto;padding:5px 9px;color:#075985;font-size:12px;font-weight:750;background:#e0f2fe;border-radius:999px}.contractor-attachment-table{min-width:1180px;table-layout:fixed}.contractor-attachment-table th:nth-child(1),.contractor-attachment-table td:nth-child(1){width:64px;text-align:center}.contractor-attachment-table th:nth-child(2),.contractor-attachment-table td:nth-child(2){width:180px}.contractor-attachment-table th:nth-child(3),.contractor-attachment-table td:nth-child(3){width:180px}.contractor-attachment-table th:nth-child(4),.contractor-attachment-table td:nth-child(4){width:90px;text-align:center}.contractor-attachment-table th:nth-child(5),.contractor-attachment-table td:nth-child(5){width:300px}.contractor-attachment-table th:nth-child(6),.contractor-attachment-table td:nth-child(6){width:280px}.contractor-attachment-cell{display:grid;gap:8px;align-items:start}.contractor-attachment-upload{width:fit-content}.contractor-recognition-panel{display:grid;gap:12px;padding:14px;background:#fff;border:1px solid #dbe7f0;border-left:4px solid #94a3b8;border-radius:8px}.contractor-recognition-passed{border-left-color:#0f8a78}.contractor-recognition-failed{border-left-color:#c2413b}.contractor-recognition-panel__heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.contractor-recognition-panel__heading h4,.contractor-recognition-panel__heading p,.contractor-credit-summary{margin:0}.contractor-recognition-panel__heading p,.contractor-credit-summary{margin-top:4px;color:#64748b;font-size:12px}.contractor-recognition-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.contractor-recognition-facts>div{display:grid;gap:5px;align-content:start;min-width:0;padding:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px}.contractor-recognition-facts span{color:#64748b;font-size:11px}.contractor-recognition-facts strong{overflow-wrap:anywhere}.contractor-credit-source{width:fit-content;color:var(--brand-strong);font-size:12px;font-weight:700}.contractor-attachment-recognition{display:grid;gap:6px;justify-items:start}.contractor-attachment-recognition small{color:#475569;line-height:1.5}.contractor-recognition-issues{color:#9f241f;font-size:12px}.contractor-recognition-issues summary{cursor:pointer;font-weight:700}.contractor-recognition-issues ul{display:grid;gap:4px;margin:8px 0 0;padding-left:18px;color:#7f1d1d}.contractor-attachment-table tr[hidden]{display:none}@media(max-width:880px){.contractor-recognition-facts{grid-template-columns:1fr}}.contractor-person-table{min-width:2160px}.contractor-person-table th:nth-child(2),.contractor-person-table td:nth-child(2),.contractor-person-table th:nth-child(3),.contractor-person-table td:nth-child(3),.contractor-person-table th:nth-child(16),.contractor-person-table td:nth-child(16){width:110px}.contractor-person-table th:nth-child(4),.contractor-person-table td:nth-child(4),.contractor-person-table th:nth-child(5),.contractor-person-table td:nth-child(5),.contractor-person-table th:nth-child(6),.contractor-person-table td:nth-child(6),.contractor-person-table th:nth-child(8),.contractor-person-table td:nth-child(8),.contractor-person-table th:nth-child(9),.contractor-person-table td:nth-child(9),.contractor-person-table th:nth-child(10),.contractor-person-table td:nth-child(10){width:140px}.contractor-person-table th:nth-child(7),.contractor-person-table td:nth-child(7){width:220px}.contractor-person-table th:nth-child(11),.contractor-person-table td:nth-child(11){width:260px}.contractor-person-table th:nth-child(12),.contractor-person-table td:nth-child(12),.contractor-person-table th:nth-child(13),.contractor-person-table td:nth-child(13),.contractor-person-table th:nth-child(14),.contractor-person-table td:nth-child(14),.contractor-person-table th:nth-child(15),.contractor-person-table td:nth-child(15){width:112px}.contractor-unit-picker-table{min-width:860px;table-layout:fixed}.contractor-unit-picker-table th:first-child,.contractor-unit-picker-table td:first-child{width:280px}.contractor-unit-picker-table th:last-child,.contractor-unit-picker-table td:last-child{width:100px}.contractor-approval-workflow{margin-top:20px;padding:18px;border:1px solid #d7e3ef;border-radius:12px;background:#f8fbff}.contractor-approval-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.contractor-approval-summary>div{display:grid;align-content:start;gap:8px;min-width:0;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.contractor-approval-summary small,.contractor-approval-summary p{margin:0;color:#64748b;overflow-wrap:anywhere}.contractor-approval-command-bar,.contractor-approval-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.contractor-approval-command-bar{justify-content:flex-end;margin-top:16px}.contractor-approval-actions{padding-left:14px;border-left:1px solid #cbd5e1}.contractor-modal-header-actions,.contractor-workflow-log-trigger{display:flex;align-items:center}.contractor-modal-header-actions{gap:10px}.contractor-business-reviewer-field .person-picker-button span{min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.contractor-workflow-log-trigger{gap:8px;min-height:36px;padding:7px 11px}.contractor-workflow-log-count{display:inline-grid;min-width:22px;height:22px;padding:0 6px;place-items:center;color:#fff;font-size:12px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;background:#0f766e;border-radius:999px}.contractor-workflow-drawer-layer{position:fixed;inset:0;z-index:40;display:grid;justify-items:end}.contractor-workflow-drawer-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;background:#0f172a61;border:0;border-radius:0;cursor:default;animation:contractor-workflow-scrim-in .16s ease-out both}.contractor-workflow-drawer-scrim:hover,.contractor-workflow-drawer-scrim:focus{background:#0f172a61;box-shadow:none}.contractor-workflow-drawer{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(720px,calc(100vw - 32px));height:100dvh;overflow:hidden;background:#f7fafc;border-left:1px solid #d7e3ef;box-shadow:-20px 0 60px #0f172a3d;animation:contractor-workflow-drawer-in .22s cubic-bezier(.22,1,.36,1) both}.contractor-workflow-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;background:#fff;border-bottom:1px solid #d7e3ef}.contractor-workflow-drawer-header p,.contractor-workflow-drawer-header h3,.contractor-workflow-drawer-header span{margin:0}.contractor-workflow-drawer-header p{margin-bottom:4px;color:#0f766e;font-size:12px;font-weight:800;letter-spacing:.12em}.contractor-workflow-drawer-header h3{color:#172033;font-size:22px}.contractor-workflow-drawer-header span{display:block;margin-top:6px;color:#64748b;font-size:13px}.contractor-workflow-drawer-body{min-height:0;padding:22px 24px 32px;overflow:auto}.contractor-workflow-timeline{display:grid;gap:0;margin:0;padding:0;list-style:none}.contractor-workflow-timeline-item{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;padding-bottom:18px}.contractor-workflow-timeline-item:not(:last-child):before{position:absolute;top:17px;bottom:-2px;left:7px;width:2px;content:"";background:#b9ddd8}.contractor-workflow-timeline-marker{position:relative;z-index:1;width:16px;height:16px;margin-top:17px;background:#fff;border:4px solid #0f766e;border-radius:50%;box-shadow:0 0 0 4px #e1f3f0}.contractor-workflow-timeline-item article{min-width:0;padding:16px 18px;background:#fff;border:1px solid #d7e3ef;border-radius:10px;box-shadow:0 8px 24px #0f172a0d}.contractor-workflow-timeline-item article>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:12px;border-bottom:1px solid #edf2f7}.contractor-workflow-timeline-item article>header>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.contractor-workflow-timeline-item article>header strong{color:#172033;font-size:15px}.contractor-workflow-timeline-item article>header span{padding:3px 8px;color:#0f766e;font-size:12px;font-weight:700;background:#e6f5f2;border-radius:999px}.contractor-workflow-timeline-item time{flex:0 0 auto;color:#64748b;font-size:12px;font-variant-numeric:tabular-nums}.contractor-workflow-timeline-item dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:14px 0 0}.contractor-workflow-timeline-item dl>div{min-width:0}.contractor-workflow-timeline-item dt,.contractor-workflow-timeline-item dd{margin:0}.contractor-workflow-timeline-item dt{margin-bottom:4px;color:#64748b;font-size:12px}.contractor-workflow-timeline-item dd{color:#334155;font-size:13px;overflow-wrap:anywhere}.contractor-workflow-timeline-item .contractor-workflow-comment{grid-column:1 / -1}.contractor-workflow-empty{display:grid;min-height:260px;padding:36px;place-content:center;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:12px}.contractor-workflow-empty strong{color:#334155}.contractor-workflow-empty p{max-width:420px;margin:8px 0 0;color:#64748b;line-height:1.7}@keyframes contractor-workflow-drawer-in{0%{opacity:.82;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes contractor-workflow-scrim-in{0%{opacity:0}to{opacity:1}}@media(max-width:900px){.contractor-approval-summary{grid-template-columns:1fr 1fr}}@media(max-width:620px){.contractor-approval-summary{grid-template-columns:1fr}.contractor-approval-command-bar{justify-content:stretch}.contractor-approval-actions{width:100%}.contractor-workflow-drawer{width:100vw;border-left:0}.contractor-workflow-drawer-header{padding:18px}.contractor-workflow-drawer-body{padding:18px 16px 28px}.contractor-workflow-timeline-item article>header,.contractor-workflow-timeline-item dl{grid-template-columns:1fr}.contractor-workflow-timeline-item article>header{display:grid;gap:8px}.contractor-workflow-timeline-item time{white-space:normal}.contractor-workflow-timeline-item .contractor-workflow-comment{grid-column:auto}}@media(prefers-reduced-motion:reduce){.contractor-workflow-drawer,.contractor-workflow-drawer-scrim{animation:none}}.manager-duty-monthly-table{min-width:1420px}.manager-duty-monthly-table th:nth-child(2),.manager-duty-monthly-table td:nth-child(2),.manager-duty-monthly-table th:nth-child(6),.manager-duty-monthly-table td:nth-child(6),.manager-duty-monthly-table th:nth-child(7),.manager-duty-monthly-table td:nth-child(7),.manager-duty-monthly-table th:nth-child(10),.manager-duty-monthly-table td:nth-child(10){width:100px}.manager-duty-monthly-table th:nth-child(3),.manager-duty-monthly-table td:nth-child(3),.manager-duty-monthly-table th:nth-child(5),.manager-duty-monthly-table td:nth-child(5),.manager-duty-monthly-table th:nth-child(9),.manager-duty-monthly-table td:nth-child(9){width:190px}.manager-duty-monthly-table th:nth-child(4),.manager-duty-monthly-table td:nth-child(4),.manager-duty-monthly-table th:nth-child(8),.manager-duty-monthly-table td:nth-child(8){width:130px}.manager-duty-checklist-table{min-width:920px}.manager-duty-checklist-table th:nth-child(2),.manager-duty-checklist-table td:nth-child(2),.manager-duty-checklist-table th:nth-child(5),.manager-duty-checklist-table td:nth-child(5){width:120px}.manager-duty-checklist-table th:nth-child(3),.manager-duty-checklist-table td:nth-child(3){width:180px}.manager-duty-assignment-table{min-width:1280px}.manager-duty-assignment-table th:nth-child(2),.manager-duty-assignment-table td:nth-child(2),.manager-duty-assignment-table th:nth-child(7),.manager-duty-assignment-table td:nth-child(7),.manager-duty-assignment-table th:nth-child(8),.manager-duty-assignment-table td:nth-child(8){width:120px}.manager-duty-assignment-table th:nth-child(3),.manager-duty-assignment-table td:nth-child(3),.manager-duty-assignment-table th:nth-child(4),.manager-duty-assignment-table td:nth-child(4),.manager-duty-assignment-table th:nth-child(5),.manager-duty-assignment-table td:nth-child(5){width:170px}.manager-duty-role-table{min-width:1180px}.manager-duty-role-table th:nth-child(2),.manager-duty-role-table td:nth-child(2),.manager-duty-role-table th:nth-child(5),.manager-duty-role-table td:nth-child(5){width:140px}.manager-duty-role-table th:nth-child(3),.manager-duty-role-table td:nth-child(3),.manager-duty-role-table th:nth-child(4),.manager-duty-role-table td:nth-child(4){width:260px}.system-menu-table{min-width:1180px}.system-menu-table th:nth-child(2),.system-menu-table td:nth-child(2),.system-menu-table th:nth-child(4),.system-menu-table td:nth-child(4),.system-menu-table th:nth-child(6),.system-menu-table td:nth-child(6),.system-menu-table th:nth-child(8),.system-menu-table td:nth-child(8){width:96px}.system-menu-table th:nth-child(3),.system-menu-table td:nth-child(3),.system-menu-table th:nth-child(5),.system-menu-table td:nth-child(5){width:170px}.system-menu-table th:nth-child(7),.system-menu-table td:nth-child(7){width:220px}.table-wrap textarea,.workflow-table textarea,.hazard-modal-form textarea{overflow-wrap:anywhere;word-break:break-word}.manager-duty-checklist-items-edit-table [data-manager-duty-checklist-item-delete]{min-width:64px;border-color:#f1b6b6;background:#fff7f7;color:#b91c1c}.manager-duty-checklist-items-edit-table [data-manager-duty-checklist-item-delete]:hover{border-color:#dc2626;background:#fee2e2;color:#991b1b}.manager-duty-checklist-items-edit-table [data-manager-duty-checklist-item-delete]:focus-visible{box-shadow:0 0 0 3px #dc26262e}.manager-duty-checklist-items-edit-table th:nth-child(1),.manager-duty-checklist-items-edit-table td:nth-child(1){width:70px}.manager-duty-checklist-items-edit-table th:nth-child(3),.manager-duty-checklist-items-edit-table td:nth-child(3),.manager-duty-checklist-items-edit-table th:nth-child(4),.manager-duty-checklist-items-edit-table td:nth-child(4){width:92px}.manager-duty-checklist-items-edit-table th:last-child,.manager-duty-checklist-items-edit-table td:last-child{width:92px;text-align:center}@media(max-width:980px){.login-screen{display:block}.login-panel{min-width:0;min-height:100dvh;width:100%;padding:28px;border-right:0}.login-form,.login-copy{width:100%;max-width:340px}.app-shell{display:block}.sidebar{height:auto;max-height:170px;padding:12px 14px}.nav-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.nav-group,.nav-item:not(.nav-subitem){flex:0 0 auto}.nav-sublist{display:flex;gap:8px;padding-left:0}.nav-item,.nav-subitem,.nav-item:not(.nav-subitem){min-height:36px;padding:8px 12px;white-space:nowrap}.topbar{position:static;height:auto;min-height:62px;flex-wrap:wrap;gap:12px;padding:12px 16px}.topbar-actions,.topbar-profile{width:100%;flex-wrap:wrap}.topbar-profile{justify-content:space-between}.page{padding:16px 14px 22px}.section-heading{min-height:0;align-items:flex-start;gap:10px}.section-heading h1{font-size:27px}.ledger-toolbar,.hazard-selection-toolbar,.pagination-bar,.pagination-actions,.modal-actions{align-items:stretch}.hazard-selection-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.hazard-selection-actions button{width:100%;min-width:0}.modal-panel,.modal-panel-large,.modal-panel-system-compact,.modal-panel-system-wide{width:100%;min-width:0;max-height:92vh;border-radius:10px 10px 0 0}.hazard-modal-form{padding:16px}.modal-actions{margin:8px -16px -16px;padding:12px 16px}}.login-screen{position:relative;min-height:100dvh;display:grid;grid-template-columns:1fr;align-items:center;justify-items:start;padding:clamp(24px,6vw,72px);background:linear-gradient(90deg,#041623c7,#04162361 34%,#0416231a 62%,#04162338),image-set(url(/assets/login-cover-b53c88e0b7.webp) type("image/webp"),url(/assets/login-cover-d8c9b13f55.png) type("image/png")) center / cover no-repeat,#0b2f4a;color:#f4fbff;overflow:hidden}.login-panel{position:relative;z-index:2;width:min(100%,390px);min-width:0;display:flex;flex-direction:column;justify-content:center;padding:30px;border:1px solid rgba(219,235,245,.32);border-radius:8px;background:#051926ad;box-shadow:0 18px 48px #05121f47;backdrop-filter:blur(12px) saturate(130%)}.login-panel:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(180deg,#ffffff1f,#ffffff08)}.login-panel>*{position:relative;z-index:1}.brand-lockup{align-items:center}.brand-mark{width:48px;height:48px;border-radius:8px;border:0;background:#f05a28;color:#fff;box-shadow:none;font-size:22px}.brand-lockup p{color:#9cc9e8}.brand-lockup h1{margin-top:3px;color:#fff;font-size:24px;line-height:1.22}.login-title{margin:34px 0 22px;color:#fff;font-size:30px;line-height:1.2;letter-spacing:0}.login-form{width:100%;gap:14px}.login-form label{color:#e9f4fb}.login-form input{height:44px;border-color:#e2eff780;background:#ffffffdb;color:#132033}.login-form input::placeholder{color:#52677a}.login-form input:hover{border-color:#e7f1f7ad}.login-form button{min-height:44px;border-radius:8px;background:#f05a28;color:#fff;box-shadow:none}.login-form button:hover{background:#d94e22}.login-hint{margin:14px 0 0;color:#9fb8cb}.login-visual{display:none}.login-cover-frame{position:relative;overflow:hidden;width:min(100%,1040px);aspect-ratio:16 / 9;border:1px solid rgba(126,151,170,.42);border-radius:8px;background:#dfeaf1;box-shadow:0 18px 42px #1330432e}.login-cover-frame img{width:100%;height:100%;display:block;object-fit:cover}.login-cover-caption{position:absolute;left:18px;right:18px;bottom:18px;display:flex;align-items:end;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:8px;background:#072032c7;color:#fff}.login-cover-caption span{color:#b8d8ec;font-size:13px}.login-cover-caption strong{max-width:22em;font-size:18px;line-height:1.35;text-align:right}.login-metrics{position:relative;z-index:1;width:min(100%,1040px);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:0}.login-metrics div{min-height:86px;padding:16px 18px;border-radius:8px;border:1px solid #d5e1eb;background:#ffffffeb;box-shadow:none;color:#172033}.login-metrics strong{color:#0c5f9c;font-size:28px;line-height:1.1}.login-metrics span{margin-top:6px;color:#4e6072}.radar-card,.radar-rings,.signal{display:none}@media(max-width:1180px){.login-screen{background-position:center}.login-cover-caption{align-items:start;flex-direction:column}.login-cover-caption strong{text-align:left}}@media(max-width:980px){.login-screen{display:grid;grid-template-columns:1fr;justify-items:center;padding:24px}.login-panel{min-height:auto;padding:24px;border-right:1px solid rgba(219,235,245,.32)}.login-title{font-size:28px}.login-metrics{grid-template-columns:1fr}}@media(max-width:640px){.login-screen{align-items:end;padding:18px;background-position:52% center}.brand-lockup h1{font-size:21px}.login-panel{padding:20px;background:#051926bd}.login-title{margin:28px 0 18px}}.login-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;align-items:stretch}.login-form .login-captcha-code{display:block;width:104px;height:46px;min-width:104px;border:1px solid rgba(148,184,220,.36);background:#eef7fb;padding:0;border-radius:6px;cursor:pointer;object-fit:cover;user-select:none}.login-form .login-captcha-code:focus-visible{outline:2px solid #9ed8ff;outline-offset:2px}.quiz-admin-table{table-layout:fixed;min-width:1180px}.quiz-admin-table th:nth-child(1),.quiz-admin-table td:nth-child(1){width:210px}.quiz-admin-table th:nth-child(2),.quiz-admin-table td:nth-child(2){width:92px}.quiz-admin-table th:nth-child(4),.quiz-admin-table td:nth-child(4),.quiz-admin-table th:nth-child(5),.quiz-admin-table td:nth-child(5),.quiz-admin-table th:nth-child(6),.quiz-admin-table td:nth-child(6),.quiz-admin-table th:nth-child(7),.quiz-admin-table td:nth-child(7){width:86px}.quiz-admin-table th:nth-child(9),.quiz-admin-table td:nth-child(9){width:260px}.quiz-admin-form textarea[name=questionsJson]{min-height:320px;font-family:Consolas,Courier New,monospace;line-height:1.5}.quiz-contest-modal .modal-header{margin-bottom:16px}.quiz-import-panel,.quiz-manual-panel,.quiz-question-editor{display:grid;gap:12px;padding:14px;border:1px solid rgba(130,151,170,.32);border-radius:8px;background:#f8fbfde0}.quiz-import-panel h3,.quiz-manual-panel h3{margin:0 0 4px}.quiz-import-panel p,.quiz-manual-panel p{margin:0;color:#64748b}.quiz-import-actions{display:flex;flex-wrap:wrap;gap:10px}.quiz-template-file input{display:none}.quiz-question-editor-list{display:grid;gap:12px}.quiz-question-editor-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.quiz-question-editor textarea[name=questionStem],.quiz-question-editor textarea[name=questionOptions],.quiz-question-editor textarea[name=questionExplanation],.quiz-import-panel textarea{min-height:92px}.dashboard-todo-actions{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.dashboard-todo-actions .link-button+.link-button{color:var(--brand)}
