.swms-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:50;padding:1rem}.swms-modal{background:white;border-radius:.75rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);max-height:90vh;display:flex;flex-direction:column;width:100%;max-width:32rem}.swms-modal-lg{max-width:48rem}.swms-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.swms-modal-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.swms-modal-close{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:transparent;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;transition:background .15s,color .15s}.swms-modal-close:hover{background:#f1f5f9;color:#334155}.swms-modal-body{padding:1.5rem;overflow-y:auto;flex:1}.swms-modal-search{display:flex;align-items:center;gap:.5rem;padding:.625rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem;margin-bottom:1rem}.swms-modal-search-input{flex:1;border:none;background:transparent;font-size:.875rem;color:#1e293b;outline:none}.swms-modal-search-input::placeholder{color:#94a3b8}.swms-modal-list{display:flex;flex-direction:column;gap:.5rem;max-height:20rem;overflow-y:auto;margin-bottom:1rem}.swms-modal-empty{text-align:center;padding:2rem;color:#64748b}.swms-modal-list-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem;cursor:pointer;transition:background .15s,border-color .15s}.swms-modal-list-item:hover{background:#eff6ff;border-color:#bfdbfe}.swms-modal-list-item-content{display:flex;flex-direction:column;gap:.25rem}.swms-modal-list-item-content strong{font-weight:600;color:#1e293b;font-size:.875rem}.swms-modal-list-item-detail{font-size:.75rem;color:#64748b}.swms-modal-list-item-risk{display:flex;align-items:center;gap:.5rem}.swms-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #f1f5f9;margin-top:1rem}.swms-modal-form{display:flex;flex-direction:column;gap:1.25rem}.swms-modal-field{display:flex;flex-direction:column;gap:.375rem}.swms-modal-label{font-size:.8125rem;font-weight:600;color:#374151}.swms-modal-input{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.875rem;color:#1e293b;transition:border-color .15s,box-shadow .15s}.swms-modal-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-modal-input::placeholder{color:#94a3b8}.swms-modal-textarea{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.875rem;color:#1e293b;resize:vertical;min-height:4rem;transition:border-color .15s,box-shadow .15s}.swms-modal-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-modal-textarea::placeholder{color:#94a3b8}.swms-modal-select{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.875rem;color:#1e293b;background:white;cursor:pointer;transition:border-color .15s,box-shadow .15s}.swms-modal-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-modal-hint{font-size:.75rem;color:#64748b;margin-top:.25rem}.swms-modal-sm{max-width:28rem}.swms-modal-sm .swms-modal-body{padding:1.75rem 2rem}.swms-modal-sm .swms-modal-footer{padding:1rem 2rem 1.5rem}.swms-modal-subtitle{font-size:.8125rem;color:#64748b;margin-top:.25rem}.swms-modal-notes-toggle{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;color:#64748b;font-size:.8125rem;cursor:pointer;border:none;background:none;transition:color .15s}.swms-modal-notes-toggle:hover{color:#3b82f6}.swms-modal-notes-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem}.swms-modal-notes-collapse{display:flex;align-items:center;justify-content:center;padding:.25rem;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:.25rem;transition:color .15s,background .15s}.swms-modal-notes-collapse:hover{color:#64748b;background:#f1f5f9}.swms-modal-notes-textarea{background:#fafbfc;border:1px dashed #e2e8f0!important;min-height:3rem!important}.swms-required{color:#ef4444;margin-left:.125rem}.swms-add-step-between{display:flex;justify-content:center;padding:.5rem 0;opacity:0;transition:opacity .15s ease}.swms-add-step-between:focus-within,.swms-work-steps:hover .swms-add-step-between{opacity:1}.swms-add-step-between-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;color:#64748b;background:transparent;border:1px dashed #cbd5e1;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.swms-add-step-between-btn:hover{color:#3b82f6;border-color:#3b82f6;background:#eff6ff}.swms-add-step-between-btn:focus{outline:none;color:#3b82f6;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.375rem;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.swms-btn-primary{background:#3b82f6;color:white;border:1px solid #3b82f6}.swms-btn-primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.swms-btn-primary:disabled{background:#94a3b8;border-color:#94a3b8;cursor:not-allowed}.swms-btn-secondary{background:white;color:#374151;border:1px solid #e2e8f0}.swms-btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.qual-chip-type{font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;padding:.125rem .375rem;border-radius:.25rem;background:#f1f5f9;color:#64748b;white-space:nowrap}.hazard-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;z-index:100;padding:2rem 1rem;overflow-y:auto;animation:hazard-overlay-in .2s ease-out}@keyframes hazard-overlay-in{0%{opacity:0}to{opacity:1}}.hazard-modal{background:#ffffff;border-radius:.875rem;width:95vw;max-width:72rem;min-height:80vh;max-height:90vh;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 25px 50px -12px rgba(0,0,0,.25),0 0 80px -20px rgba(245,158,11,.15);display:flex;flex-direction:column;animation:hazard-modal-in .25s ease-out}@keyframes hazard-modal-in{0%{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.hazard-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fefefe,#fafafa)}.hazard-modal-title-area{display:flex;align-items:center;gap:.75rem}.hazard-modal-icon{width:2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;border-radius:.5rem;color:#b45309}.hazard-modal-title{font-size:1.125rem;font-weight:700;color:#0f172a;letter-spacing:-.01em;margin:0}.hazard-modal-subtitle{font-size:.75rem;color:#64748b;margin:0;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hazard-back-btn{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;color:#64748b;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease;margin-right:.25rem}.hazard-back-btn:hover{background:#f1f5f9;color:#0f172a}.hazard-header-right{display:flex;align-items:center;gap:.75rem}.hazard-step-indicator{font-size:.75rem;font-weight:500;color:#94a3b8;background:#f1f5f9;padding:.25rem .625rem;border-radius:9999px}.hazard-modal-close{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;color:#94a3b8;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.hazard-modal-close:hover{background:#f1f5f9;color:#475569}.hazard-modal-tabs{display:flex;gap:.25rem;padding:.75rem 1.5rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.hazard-modal-tab{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.8125rem;font-weight:500;color:#64748b;background:transparent;border:1px solid transparent;border-radius:.5rem;cursor:pointer;transition:all .15s ease}.hazard-modal-tab:hover{color:#475569;background:#f1f5f9}.hazard-modal-tab.active{color:#0f172a;background:#ffffff;border-color:#e2e8f0;box-shadow:0 1px 2px rgba(0,0,0,.05)}.hazard-modal-tab svg{flex-shrink:0}.hazard-tab-count{font-size:.6875rem;font-weight:600;color:#f59e0b;background:#fef3c7;padding:.125rem .5rem;border-radius:9999px;min-width:1.25rem;text-align:center}.hazard-modal-body{flex:1;overflow-y:auto}.hazard-template-section{flex:1;display:flex;flex-direction:column;padding:1.25rem 1.5rem;overflow:hidden}.hazard-search-wrapper{position:relative;margin-bottom:1rem}.hazard-search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);width:1.125rem;height:1.125rem;color:#94a3b8;pointer-events:none}.hazard-search-input{width:100%;padding:.625rem 2.5rem .625rem 2.75rem;font-size:.875rem;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;outline:none;transition:all .15s ease}.hazard-search-input::placeholder{color:#94a3b8}.hazard-search-input:focus{background:#ffffff;border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.1)}.hazard-search-clear{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;color:#94a3b8;background:transparent;border:none;border-radius:.25rem;cursor:pointer;transition:all .15s ease}.hazard-search-clear:hover{color:#64748b;background:#e2e8f0}.hazard-template-list{display:flex;flex-direction:column;gap:.375rem;flex:1;overflow-y:auto;padding-right:.25rem}.hazard-template-list::-webkit-scrollbar{width:6px}.hazard-template-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.hazard-template-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.hazard-template-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.hazard-template-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 1rem;text-align:center}.hazard-empty-icon{color:#cbd5e1;margin-bottom:.75rem}.hazard-template-empty p{font-size:.875rem;color:#64748b;margin:0}.hazard-empty-action{margin-top:.75rem;font-size:.8125rem;font-weight:500;color:#f59e0b;background:transparent;border:none;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.hazard-empty-action:hover{color:#d97706}.hazard-template-option{display:flex;align-items:center;gap:.625rem;width:100%;padding:.5rem .75rem;text-align:left;background:#ffffff;border:1px solid #e2e8f0;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.hazard-template-option:hover{border-color:#cbd5e1;background:#fafafa}.hazard-template-option.hazard-template-selected,.hazard-template-option.selected{border-color:#f59e0b;background:#fffbeb;box-shadow:0 0 0 3px rgba(245,158,11,.1)}.hazard-option-radio{width:1.125rem;height:1.125rem;flex-shrink:0;margin-top:.125rem;border:2px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.hazard-template-option:hover .hazard-option-radio{border-color:#94a3b8}.hazard-template-option.hazard-template-selected .hazard-option-radio,.hazard-template-option.selected .hazard-option-radio{border-color:#f59e0b;background:#f59e0b}.hazard-radio-inner{width:0;height:0;background:#ffffff;border-radius:50%;transition:all .15s ease}.hazard-template-option.hazard-template-selected .hazard-radio-inner,.hazard-template-option.selected .hazard-radio-inner{width:.375rem;height:.375rem}.hazard-option-content{flex:1;min-width:0}.hazard-option-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.25rem}.hazard-option-name{font-size:.875rem;font-weight:600;color:#0f172a}.hazard-option-risks{display:flex;align-items:center;gap:.375rem;flex-shrink:0}.hazard-risk-arrow{font-size:.75rem;color:#94a3b8;font-family:var(--font-mono,monospace)}.hazard-option-harm{font-size:.75rem;color:#64748b;margin:0;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hazard-option-chevron{flex-shrink:0;color:#cbd5e1;transition:all .15s ease}.hazard-template-option:hover .hazard-option-chevron{color:#64748b;transform:translateX(2px)}.hazard-custom-section{flex-shrink:0;padding:.75rem 1.5rem 1.25rem;border-top:1px solid #e2e8f0;background:#fafafa}.hazard-custom-btn{display:flex;align-items:center;gap:.875rem;width:100%;padding:1rem;background:#ffffff;border:1px dashed #cbd5e1;border-radius:.5rem;cursor:pointer;transition:all .15s ease;text-align:left}.hazard-custom-btn:hover{border-color:#94a3b8;border-style:solid;background:#fafafa}.hazard-custom-btn:hover .hazard-option-chevron{color:#64748b;transform:translateX(2px)}.hazard-custom-icon{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:.5rem;color:#64748b;flex-shrink:0;transition:all .15s ease}.hazard-custom-btn:hover .hazard-custom-icon{background:#e2e8f0;color:#475569}.hazard-custom-text{flex:1;display:flex;flex-direction:column;gap:.125rem}.hazard-custom-title{font-size:.875rem;font-weight:600;color:#0f172a}.hazard-custom-desc{font-size:.75rem;color:#64748b}.hazard-form-section{padding:1.25rem 1.5rem}.hazard-form-section.with-divider{border-top:1px solid #e2e8f0;background:linear-gradient(180deg,#fafafa,#ffffff 2rem)}.hazard-form-header{display:flex;align-items:baseline;gap:.5rem;margin-bottom:1.25rem}.hazard-form-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#0f172a}.hazard-form-hint{font-size:.75rem;color:#94a3b8}.hazard-form-grid{display:flex;flex-direction:column;gap:1.25rem}.hazard-form-field{display:flex;flex-direction:column;gap:.375rem}.hazard-field-full{width:100%}.hazard-field-label{font-size:.8125rem;font-weight:500;color:#374151}.hazard-required:after{content:" *";color:#ef4444}.hazard-field-input,.hazard-field-select,.hazard-field-textarea{width:100%;padding:.5rem .75rem;font-size:.875rem;color:#0f172a;background:#ffffff;border:1px solid #d1d5db;border-radius:.375rem;outline:none;transition:all .15s ease}.hazard-field-input::placeholder,.hazard-field-textarea::placeholder{color:#9ca3af}.hazard-field-input:focus,.hazard-field-select:focus,.hazard-field-textarea:focus{border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.1)}.hazard-field-textarea{resize:vertical;min-height:4rem}.hazard-field-controls{font-family:var(--font-mono,ui-monospace,monospace);font-size:.8125rem;line-height:1.6}.hazard-field-hint{font-size:.75rem;color:#94a3b8;margin-top:.25rem}.hazard-risk-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem}.hazard-risk-residual{background:#f0fdf4;border-color:#bbf7d0}.hazard-risk-header{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.875rem}.hazard-risk-title{font-size:.8125rem;font-weight:600;color:#0f172a}.hazard-risk-subtitle{font-size:.75rem;color:#64748b}.hazard-risk-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end}@media (max-width:640px){.hazard-risk-fields{grid-template-columns:1fr 1fr}.hazard-risk-result{grid-column:span 2;justify-self:start}}.hazard-risk-result{display:flex;align-items:center;gap:.5rem;padding-bottom:.5rem}.hazard-risk-equals{font-size:1rem;font-weight:500;color:#94a3b8}.hazard-risk-pending{font-size:.875rem;color:#cbd5e1;font-weight:500}.hazard-modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 .875rem .875rem}.hazard-btn-cancel{padding:.5rem 1rem;font-size:.875rem;font-weight:500;color:#64748b;background:#ffffff;border:1px solid #e2e8f0;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.hazard-btn-cancel:hover{color:#475569;background:#f8fafc;border-color:#cbd5e1}.hazard-btn-add{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#f59e0b,#d97706);border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.15)}.hazard-btn-add:hover:not(:disabled){background:linear-gradient(180deg,#fbbf24,#f59e0b);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.15)}.hazard-btn-add:disabled{opacity:.5;cursor:not-allowed}.hazard-btn-save{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#10b981,#059669);border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.15)}.hazard-btn-save:hover:not(:disabled){background:linear-gradient(180deg,#34d399,#10b981);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.15)}.hazard-btn-save:disabled{opacity:.5;cursor:not-allowed}.hazard-btn-continue{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#f59e0b,#d97706);border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.15)}.hazard-btn-continue:hover{background:linear-gradient(180deg,#fbbf24,#f59e0b);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.15)}@keyframes confirm-delete-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes confirm-delete-dialog-in{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.confirm-delete-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.75);backdrop-filter:blur(4px);z-index:200;animation:confirm-delete-overlay-in .15s ease-out}.confirm-delete-dialog{position:relative;width:100%;max-width:24rem;background:#ffffff;border-radius:.75rem;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 25px 50px -12px rgba(0,0,0,.4),0 0 60px -15px rgba(220,38,38,.2);animation:confirm-delete-dialog-in .2s ease-out}.confirm-delete-stripe{height:4px;background:linear-gradient(90deg,#b91c1c,#dc2626,#ef4444)}.confirm-delete-close{position:absolute;top:.75rem;right:.75rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:#94a3b8;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.confirm-delete-close:hover{color:#64748b;background:#f1f5f9}.confirm-delete-content{padding:2rem 1.5rem 1.5rem;text-align:center}.confirm-delete-icon-wrapper{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;margin:0 auto 1.25rem;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-radius:50%;box-shadow:0 0 0 6px rgba(254,226,226,.5),0 0 20px -5px rgba(239,68,68,.3)}.confirm-delete-icon{width:2rem;height:2rem;color:#dc2626}.confirm-delete-title{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0 0 1rem;letter-spacing:-.01em}.confirm-delete-message{font-size:.9375rem;line-height:1.6;color:#475569}.confirm-delete-item{margin:0 0 .5rem}.confirm-delete-item-name{display:block;margin-top:.375rem;font-weight:600;color:#0f172a;font-size:1rem}.confirm-delete-description{margin:0 0 .75rem;color:#64748b}.confirm-delete-warning{margin:1rem 0 0;padding-top:1rem;border-top:1px solid #f1f5f9;font-size:.8125rem;font-weight:500;color:#dc2626}.confirm-delete-footer{display:flex;gap:.75rem;padding:1rem 1.5rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0}.confirm-delete-btn-cancel{flex:1;display:flex;align-items:center;justify-content:center;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#475569;background:#ffffff;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:all .15s ease}.confirm-delete-btn-cancel:hover{background:#f9fafb;border-color:#9ca3af}.confirm-delete-btn-cancel:focus{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.2)}.confirm-delete-btn-delete{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#ef4444,#dc2626);border:none;border-radius:.5rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.1)}.confirm-delete-btn-delete:hover{background:linear-gradient(180deg,#f87171,#ef4444);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.1)}.confirm-delete-btn-delete:focus{outline:none;box-shadow:0 0 0 3px rgba(239,68,68,.3),0 1px 2px rgba(0,0,0,.1)}@keyframes format-dialog-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes format-dialog-in{0%{opacity:0;transform:scale(.92) translateY(-16px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes format-dialog-glow-pulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}@keyframes format-dialog-sparkle{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.format-dialog-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.7);backdrop-filter:blur(6px);z-index:200;animation:format-dialog-overlay-in .2s ease-out}.format-dialog{position:relative;width:100%;max-width:26rem;background:linear-gradient(180deg,#ffffff,#f8fafc);border-radius:1rem;overflow:hidden;box-shadow:0 0 0 1px rgba(16,185,129,.1),0 25px 60px -12px rgba(0,0,0,.35),0 0 80px -20px rgba(16,185,129,.25);animation:format-dialog-in .25s cubic-bezier(.34,1.56,.64,1)}.format-dialog-stripe{height:4px;background:linear-gradient(90deg,#059669,#10b981,#34d399,#10b981,#059669);background-size:200% 100%;animation:shimmer 3s ease-in-out infinite}@keyframes shimmer{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.format-dialog-close{position:absolute;top:.875rem;right:.875rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:#94a3b8;background:transparent;border:none;border-radius:.5rem;cursor:pointer;transition:all .15s ease;z-index:1}.format-dialog-close:hover{color:#64748b;background:#f1f5f9}.format-dialog-content{padding:2.25rem 2rem 1.5rem;text-align:center}.format-dialog-icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;width:4.5rem;height:4.5rem;margin:0 auto 1.5rem;background:linear-gradient(145deg,#ecfdf5,#d1fae5);border-radius:1rem;box-shadow:0 0 0 6px rgba(209,250,229,.5),0 8px 24px -8px rgba(16,185,129,.4)}.format-dialog-icon-glow{position:absolute;inset:-8px;background:radial-gradient(circle,rgba(16,185,129,.2) 0,transparent 70%);border-radius:1.25rem;animation:format-dialog-glow-pulse 2.5s ease-in-out infinite;pointer-events:none}.format-dialog-icon{width:2.25rem;height:2.25rem;color:#059669;filter:drop-shadow(0 2px 4px rgba(5,150,105,.3))}.format-dialog-title{font-size:1.375rem;font-weight:700;color:#0f172a;margin:0 0 .875rem;letter-spacing:-.02em}.format-dialog-message{font-size:.9375rem;line-height:1.65;color:#64748b}.format-dialog-message p{margin:0 0 .75rem}.format-dialog-message p:last-child{margin-bottom:0}.format-dialog-hint{color:#475569;font-weight:500;font-size:.875rem}.format-dialog-options{display:flex;flex-direction:column;gap:.75rem;padding:0 1.5rem 1.75rem}.format-dialog-btn-pdf{display:flex;align-items:center;gap:.875rem;width:100%;padding:1rem 1.25rem;font-size:.9375rem;font-weight:600;color:#ffffff;background:linear-gradient(135deg,#059669,#10b981 50%,#059669);background-size:200% 200%;border:none;border-radius:.75rem;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px -2px rgba(5,150,105,.4),0 2px 4px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.15);text-align:left}.format-dialog-btn-pdf:hover{background-position:100% 100%;transform:translateY(-1px);box-shadow:0 6px 16px -2px rgba(5,150,105,.5),0 3px 6px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.15)}.format-dialog-btn-pdf:focus{outline:none;box-shadow:0 0 0 3px rgba(16,185,129,.35),0 4px 12px -2px rgba(5,150,105,.4)}.format-dialog-btn-pdf:active{transform:translateY(0)}.format-dialog-btn-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:rgba(255,255,255,.2);border-radius:.5rem;flex-shrink:0}.format-dialog-btn-content{display:flex;flex-direction:column;gap:.125rem}.format-dialog-btn-label{font-weight:600}.format-dialog-btn-badge{font-size:.6875rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:rgba(255,255,255,.85)}.format-dialog-btn-word{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:.875rem 1rem;font-size:.875rem;font-weight:500;color:#64748b;background:transparent;border:1px solid #e2e8f0;border-radius:.625rem;cursor:pointer;transition:all .15s ease}.format-dialog-btn-word:hover{color:#475569;background:#f8fafc;border-color:#cbd5e1}.format-dialog-btn-word:focus{outline:none;box-shadow:0 0 0 3px rgba(100,116,139,.15)}.hrcw-groups{display:flex;flex-direction:column;gap:1.5rem}.hrcw-group{border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden}.hrcw-group-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.hrcw-group-name{font-size:.9375rem;font-weight:600;color:#0f172a;margin:0}.hrcw-group-count{font-size:.75rem;color:#64748b;background:#e2e8f0;padding:.125rem .5rem;border-radius:9999px}.hrcw-category-list{display:flex;flex-direction:column}.hrcw-category{padding:1rem;border-bottom:1px solid #f1f5f9}.hrcw-category:last-child{border-bottom:none}.hrcw-category-name{font-size:.875rem;font-weight:600;color:#0f172a;margin-bottom:.25rem}.hrcw-category-desc{font-size:.8125rem;color:#64748b;line-height:1.5}.hrcw-category-examples{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;margin-top:.625rem}.hrcw-examples-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-right:.25rem}.hrcw-example-tag{font-size:.75rem;color:#475569;background:#f1f5f9;padding:.125rem .5rem;border-radius:.25rem}.hrcw-group-falls .hrcw-group-header{background:linear-gradient(90deg,#fef3c7,#f8fafc);border-left:3px solid #f59e0b}.hrcw-group-structural .hrcw-group-header{background:linear-gradient(90deg,#e0e7ff,#f8fafc);border-left:3px solid #6366f1}.hrcw-group-hazardous .hrcw-group-header{background:linear-gradient(90deg,#fee2e2,#f8fafc);border-left:3px solid #ef4444}.hrcw-group-confined .hrcw-group-header{background:linear-gradient(90deg,#fce7f3,#f8fafc);border-left:3px solid #ec4899}.hrcw-group-utilities .hrcw-group-header{background:linear-gradient(90deg,#dbeafe,#f8fafc);border-left:3px solid #3b82f6}.hrcw-group-traffic .hrcw-group-header{background:linear-gradient(90deg,#ffedd5,#f8fafc);border-left:3px solid #f97316}.hrcw-group-environmental .hrcw-group-header{background:linear-gradient(90deg,#d1fae5,#f8fafc);border-left:3px solid #10b981}.hrcw-checklist{display:flex;flex-direction:column;gap:1rem}.hrcw-checklist-item{display:flex;gap:1rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.hrcw-checklist-number{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f59e0b,#d97706);color:white;font-size:.875rem;font-weight:700;border-radius:50%;flex-shrink:0}.hrcw-checklist-content{flex:1}.hrcw-checklist-question{font-size:.9375rem;font-weight:600;color:#0f172a;margin-bottom:.25rem}.hrcw-checklist-note{font-size:.8125rem;color:#64748b;line-height:1.5}.hrcw-consequences{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (max-width:767px){.hrcw-consequences{grid-template-columns:1fr}}.hrcw-consequence{padding:1.25rem;border-radius:.5rem;border:1px solid #e2e8f0}.hrcw-consequence-fines{background:linear-gradient(135deg,#fef2f2,#fff);border-color:#fecaca}.hrcw-consequence-stoppage{background:linear-gradient(135deg,#fefce8,#fff);border-color:#fef08a}.hrcw-consequence-insurance{background:linear-gradient(135deg,#eff6ff,#fff);border-color:#bfdbfe}.hrcw-consequence-prosecution{background:linear-gradient(135deg,#faf5ff,#fff);border-color:#e9d5ff}.hrcw-consequence-title{font-size:.9375rem;font-weight:700;color:#0f172a;margin-bottom:.5rem}.hrcw-consequence-desc{font-size:.8125rem;color:#475569;line-height:1.5}.hrcw-consequence-details{display:flex;gap:1.5rem;margin-top:.5rem}.hrcw-fine-amount{display:flex;flex-direction:column}.hrcw-fine-value{font-size:1.25rem;font-weight:700;color:#dc2626}.hrcw-fine-label{font-size:.75rem;color:#64748b}.consultation-reasons{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (max-width:767px){.consultation-reasons{grid-template-columns:1fr}}.consultation-reason{padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.consultation-reason-title{font-size:.9375rem;font-weight:600;color:#0f172a;margin-bottom:.375rem}.consultation-reason-desc{font-size:.8125rem;color:#64748b;line-height:1.5}.consultation-steps{display:flex;flex-direction:column;gap:0;position:relative}.consultation-step{display:flex;gap:1rem;padding:1rem 0;position:relative}.consultation-step:not(:last-child):after{content:"";position:absolute;left:1rem;top:3.5rem;bottom:0;width:2px;background:#e2e8f0}.consultation-step-number{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#10b981,#059669);color:white;font-size:.875rem;font-weight:700;border-radius:50%;flex-shrink:0;position:relative;z-index:1}.consultation-step-content{flex:1;padding-top:.25rem}.consultation-step-title{font-size:.9375rem;font-weight:600;color:#0f172a;margin-bottom:.25rem}.consultation-step-desc{font-size:.8125rem;color:#64748b;line-height:1.5}.consultation-triggers{display:flex;flex-direction:column;gap:.5rem}.consultation-trigger{padding:.875rem 1rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0;border-left:3px solid #10b981}.consultation-trigger-text{font-size:.875rem;font-weight:600;color:#0f172a}.consultation-trigger-desc{font-size:.8125rem;color:#64748b;margin-top:.125rem}.consultation-methods{display:flex;flex-direction:column;gap:1rem}.consultation-method{padding:1.25rem;background:#ffffff;border:1px solid #e2e8f0;border-radius:.5rem}.consultation-method-header{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.consultation-method-name{font-size:1rem;font-weight:700;color:#0f172a;margin:0}.consultation-method-when{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.125rem .5rem;border-radius:.25rem;white-space:nowrap}.consultation-method-desc{font-size:.875rem;color:#475569;line-height:1.5;margin:0 0 .875rem}.consultation-method-tips{padding-top:.75rem;border-top:1px dashed #e2e8f0}.consultation-tips-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;display:block;margin-bottom:.375rem}.consultation-tips-list{margin:0;padding-left:1.25rem;font-size:.8125rem;color:#64748b;line-height:1.6}.consultation-tips-list li{margin-bottom:.125rem}.consultation-record-fields{display:flex;flex-direction:column;gap:.75rem}.consultation-record-field{display:flex;gap:1rem;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem}.consultation-record-label{font-size:.875rem;font-weight:600;color:#0f172a;min-width:10rem;flex-shrink:0}.consultation-record-desc{font-size:.8125rem;color:#64748b}@media (max-width:639px){.consultation-record-field{flex-direction:column;gap:.25rem}.consultation-record-label{min-width:unset}}@keyframes publish-dialog-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes publish-dialog-in{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.publish-dialog-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.75);backdrop-filter:blur(4px);z-index:200;animation:publish-dialog-overlay-in .15s ease-out}.publish-dialog{position:relative;width:100%;max-width:32rem;background:#ffffff;border-radius:.75rem;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 25px 50px -12px rgba(0,0,0,.4),0 0 60px -15px rgba(59,130,246,.2);animation:publish-dialog-in .2s ease-out}.publish-dialog-stripe{height:4px;background:linear-gradient(90deg,#1d4ed8,#3b82f6,#60a5fa)}.publish-dialog-close{position:absolute;top:.75rem;right:.75rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:#94a3b8;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.publish-dialog-close:hover{color:#64748b;background:#f1f5f9}.publish-dialog-close:disabled{opacity:.5;cursor:not-allowed}.publish-dialog-content{padding:2rem 1.5rem 1.5rem}.publish-dialog-icon-wrapper{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;margin:0 auto 1.25rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:50%;box-shadow:0 0 0 6px rgba(219,234,254,.5),0 0 20px -5px rgba(59,130,246,.3)}.publish-dialog-icon{width:2rem;height:2rem;color:#2563eb}.publish-dialog-title{font-size:1.125rem;font-weight:700;color:#0f172a;margin:0 0 1.25rem;text-align:center;letter-spacing:-.01em}.publish-dialog-checkboxes{display:flex;flex-direction:column;gap:.875rem;margin-bottom:1.5rem}.publish-dialog-checkbox{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;cursor:pointer;transition:all .15s ease}.publish-dialog-checkbox:hover{background:#f1f5f9;border-color:#cbd5e1}.publish-dialog-checkbox:has(input:checked){background:#eff6ff;border-color:#93c5fd}.publish-dialog-checkbox input[type=checkbox]{flex-shrink:0;width:1.125rem;height:1.125rem;margin-top:.125rem;accent-color:#3b82f6;cursor:pointer}.publish-dialog-checkbox-label{font-size:.875rem;line-height:1.5;color:#334155}.publish-dialog-recommendation{padding:1rem;background:linear-gradient(135deg,#fefce8,#fef9c3);border:1px solid #fde047;border-radius:.5rem;text-align:center}.publish-dialog-recommendation p{font-size:.8125rem;color:#713f12;margin:0 0 .5rem;line-height:1.5}.publish-dialog-link{display:inline-flex;align-items:center;gap:.375rem;font-size:.8125rem;font-weight:600;color:#a16207;text-decoration:none;transition:color .15s ease}.publish-dialog-link:hover{color:#854d0e;text-decoration:underline}.publish-dialog-footer{display:flex;gap:.75rem;padding:1rem 1.5rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0}.publish-dialog-btn-cancel{flex:1;display:flex;align-items:center;justify-content:center;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#475569;background:#ffffff;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:all .15s ease}.publish-dialog-btn-cancel:hover{background:#f9fafb;border-color:#9ca3af}.publish-dialog-btn-cancel:focus{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.2)}.publish-dialog-btn-cancel:disabled{opacity:.5;cursor:not-allowed}.publish-dialog-btn-publish{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#3b82f6,#2563eb);border:none;border-radius:.5rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.1)}.publish-dialog-btn-publish:hover:not(:disabled){background:linear-gradient(180deg,#60a5fa,#3b82f6);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.1)}.publish-dialog-btn-publish:focus{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.3),0 1px 2px rgba(0,0,0,.1)}.publish-dialog-btn-publish:disabled{opacity:.5;cursor:not-allowed}@keyframes unpublish-dialog-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes unpublish-dialog-in{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.unpublish-dialog-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.75);backdrop-filter:blur(4px);z-index:200;animation:unpublish-dialog-overlay-in .15s ease-out}.unpublish-dialog{position:relative;width:100%;max-width:24rem;background:#ffffff;border-radius:.75rem;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 25px 50px -12px rgba(0,0,0,.4),0 0 60px -15px rgba(245,158,11,.2);animation:unpublish-dialog-in .2s ease-out}.unpublish-dialog-stripe{height:4px;background:linear-gradient(90deg,#d97706,#f59e0b,#fbbf24)}.unpublish-dialog-close{position:absolute;top:.75rem;right:.75rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:#94a3b8;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.unpublish-dialog-close:hover{color:#64748b;background:#f1f5f9}.unpublish-dialog-close:disabled{opacity:.5;cursor:not-allowed}.unpublish-dialog-content{padding:2rem 1.5rem 1.5rem;text-align:center}.unpublish-dialog-icon-wrapper{display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;margin:0 auto 1.25rem;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-radius:50%;box-shadow:0 0 0 6px rgba(254,243,199,.5),0 0 20px -5px rgba(245,158,11,.3)}.unpublish-dialog-icon{width:2rem;height:2rem;color:#d97706}.unpublish-dialog-title{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0 0 1rem;letter-spacing:-.01em}.unpublish-dialog-message{font-size:.9375rem;line-height:1.6;color:#475569}.unpublish-dialog-message p{margin:0}.unpublish-dialog-footer{display:flex;gap:.75rem;padding:1rem 1.5rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0}.unpublish-dialog-btn-cancel{flex:1;display:flex;align-items:center;justify-content:center;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#475569;background:#ffffff;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:all .15s ease}.unpublish-dialog-btn-cancel:hover{background:#f9fafb;border-color:#9ca3af}.unpublish-dialog-btn-cancel:focus{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.2)}.unpublish-dialog-btn-cancel:disabled{opacity:.5;cursor:not-allowed}.unpublish-dialog-btn-confirm{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:600;color:#ffffff;background:linear-gradient(180deg,#f59e0b,#d97706);border:none;border-radius:.5rem;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.1)}.unpublish-dialog-btn-confirm:hover:not(:disabled){background:linear-gradient(180deg,#fbbf24,#f59e0b);box-shadow:0 2px 4px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.1)}.unpublish-dialog-btn-confirm:focus{outline:none;box-shadow:0 0 0 3px rgba(245,158,11,.3),0 1px 2px rgba(0,0,0,.1)}.swms-btn-disabled,.unpublish-dialog-btn-confirm:disabled{opacity:.5;cursor:not-allowed}.swms-btn-disabled:hover{background:inherit}.swms-wizard-steps{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.swms-wizard-step{display:flex;align-items:center;gap:.5rem;opacity:.5;transition:opacity .15s ease}.swms-wizard-step-active{opacity:1}.swms-wizard-step-complete{opacity:.75}.swms-wizard-step-number{width:1.5rem;height:1.5rem;border-radius:50%;background:#e2e8f0;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.swms-wizard-step-active .swms-wizard-step-number{background:#3b82f6;color:white}.swms-wizard-step-complete .swms-wizard-step-number{background:#10b981;color:white}.swms-wizard-step-label{font-size:.8125rem;font-weight:500;color:#64748b}.swms-wizard-step-active .swms-wizard-step-label{color:#1e293b}.swms-control-measures-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.swms-control-measure-item{display:flex;gap:.5rem;align-items:flex-start}.swms-control-measure-type{width:140px;flex-shrink:0;padding:.5rem .625rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.8125rem;color:#1e293b;background:white;cursor:pointer}.swms-control-measure-type:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-control-measure-text{flex:1;padding:.5rem .625rem;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.8125rem;color:#1e293b}.swms-control-measure-text:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.swms-control-measure-text::placeholder{color:#94a3b8}.swms-control-measure-remove{display:flex;align-items:center;justify-content:center;padding:.5rem;color:#94a3b8;background:transparent;border:none;border-radius:.375rem;cursor:pointer;transition:background .15s,color .15s}.swms-control-measure-remove:hover{background:#fef2f2;color:#ef4444}.swms-control-measure-add{display:flex;align-items:center;gap:.375rem;padding:.5rem .75rem;color:#3b82f6;background:transparent;border:1px dashed #bfdbfe;border-radius:.375rem;font-size:.8125rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s;align-self:flex-start}.swms-control-measure-add:hover{background:#eff6ff;border-color:#3b82f6}.swms-control-badge{display:inline-block;padding:.125rem .375rem;border-radius:.25rem;font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;flex-shrink:0}.swms-control-badge-elimination{background:#dcfce7;color:#166534}.swms-control-badge-substitution{background:#d1fae5;color:#047857}.swms-control-badge-isolation{background:#dbeafe;color:#1e40af}.swms-control-badge-engineering{background:#e0e7ff;color:#4338ca}.swms-control-badge-administrative{background:#fef3c7;color:#b45309}.swms-control-badge-ppe{background:#fce7f3;color:#be185d}.swms-controls-list{display:flex;flex-direction:column;gap:.5rem}.swms-control-item{display:flex;align-items:flex-start;gap:.5rem}.swms-control-text{font-size:.8125rem;color:#374151;line-height:1.4}.swms-controls-summary{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0}.swms-control-summary-item{display:flex;align-items:flex-start;gap:.5rem}.swms-control-summary-text{font-size:.8125rem;color:#374151;line-height:1.4}.swms-risk-comparison{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:.5rem;border:1px solid #e2e8f0;margin-top:1rem}.swms-risk-comparison-item{display:flex;flex-direction:column;align-items:center;gap:.375rem}.swms-risk-comparison-label{font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em;color:#64748b}.swms-risk-comparison-arrow{font-size:1.25rem;color:#94a3b8}.swms-modal-tabs{display:flex;gap:0;margin-bottom:1rem;border-bottom:1px solid #e2e8f0}.swms-modal-tab{flex:1;padding:.75rem 1rem;font-size:.875rem;font-weight:500;color:#64748b;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:color .15s,border-color .15s}.swms-modal-tab:hover{color:#334155}.swms-modal-tab-active{color:#2563eb;border-bottom-color:#2563eb}.swms-modal-content{padding:1.5rem}.swms-modal-content p{margin:0 0 1rem;color:#475569;font-size:.9375rem;line-height:1.6}.swms-modal-content ul{margin:0 0 1rem;padding-left:1.25rem;list-style:disc}.swms-modal-content li{margin:.375rem 0;color:#334155;font-size:.875rem}.swms-modal-content li strong{color:#1e293b;font-weight:500}.swms-modal-note{font-size:.8125rem;color:#64748b;font-style:italic;margin-top:.5rem}.swms-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 .75rem .75rem}.swms-modal-btn{padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.375rem;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.swms-modal-btn-cancel{background:white;border:1px solid #e2e8f0;color:#64748b}.swms-modal-btn-cancel:hover{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.swms-modal-btn-confirm{background:#2563eb;border:1px solid #2563eb;color:white}.swms-modal-btn-confirm:hover{background:#1d4ed8;border-color:#1d4ed8}.risk-matrix{display:grid;grid-template-columns:9rem repeat(5,1fr);gap:2px;background:#e2e8f0;border-radius:.5rem;overflow:hidden;font-size:.8125rem}@media (max-width:640px){.risk-matrix{grid-template-columns:6rem repeat(5,1fr);font-size:.6875rem}}.risk-matrix-corner{background:#0f172a;padding:.75rem;display:flex;align-items:center;justify-content:center}.risk-matrix-corner-text{font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;text-align:center;line-height:1.3}.risk-matrix-header{background:#0f172a;color:#f8fafc;font-weight:600;text-align:center;padding:.75rem .25rem;display:flex;flex-direction:column;gap:.125rem}.risk-matrix-header-code{font-size:1rem;font-family:var(--font-mono)}.risk-matrix-header-text{font-size:.625rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.025em}@media (max-width:640px){.risk-matrix-header-text{display:none}}.risk-matrix-row-label{background:#0f172a;color:#f8fafc;font-weight:600;padding:.75rem;display:flex;align-items:center;gap:.5rem}.risk-matrix-row-code{font-size:1rem;font-family:var(--font-mono);min-width:1.25rem}.risk-matrix-row-text{font-size:.6875rem;color:#94a3b8}@media (max-width:640px){.risk-matrix-row-text{display:none}}.risk-matrix-cell{display:flex;align-items:center;justify-content:center;padding:1rem .5rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;cursor:default;transition:all .15s ease}.risk-matrix-cell:hover{filter:brightness(.95)}.risk-matrix-cell-low{background:#dcfce7;color:#15803d}.risk-matrix-cell-medium{background:#fef3c7;color:#b45309}.risk-matrix-cell-high{background:#fee2e2;color:#dc2626}.risk-matrix-cell-critical{background:#fecaca;color:#991b1b}.risk-matrix-container{display:flex;flex-direction:column;gap:.75rem;width:100%}.risk-matrix-select{display:grid;grid-template-columns:minmax(5.5rem,6.5rem) repeat(5,minmax(3rem,1fr));gap:1px;background:#334155;border-radius:.5rem;overflow:hidden;font-size:.6875rem;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06)}.risk-matrix-select-corner{display:flex;align-items:center;justify-content:center;background:#1e293b;padding:.5rem .375rem}.risk-matrix-corner-content{display:flex;flex-direction:column;align-items:center;gap:.125rem;text-align:center}.risk-matrix-corner-consequence,.risk-matrix-corner-likelihood{font-size:.5625rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.risk-matrix-corner-divider{font-size:.625rem;color:#475569;line-height:1}.risk-matrix-select-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.125rem;background:#1e293b;padding:.5rem .25rem;text-align:center}.risk-matrix-header-code{font-size:.875rem;font-weight:700;color:#f8fafc;line-height:1}.risk-matrix-header-label{font-size:.5625rem;font-weight:500;color:#94a3b8;text-transform:uppercase;letter-spacing:.025em;line-height:1.2}.risk-matrix-select-row-label{display:flex;align-items:center;gap:.375rem;background:#1e293b;padding:.5rem}.risk-matrix-row-code{font-size:.875rem;font-weight:700;color:#f8fafc;min-width:.875rem}.risk-matrix-row-label{font-size:.625rem;font-weight:500;color:#cbd5e1;line-height:1.2}.risk-matrix-select-cell{position:relative;display:flex;align-items:center;justify-content:center;padding:.625rem .25rem;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.025em;border:2px solid transparent;cursor:pointer;transition:all .15s ease;outline:none}.risk-matrix-select-cell:hover:not(:disabled){filter:brightness(.9);transform:scale(1.02)}.risk-matrix-select-cell:focus-visible{box-shadow:inset 0 0 0 2px #0f172a;z-index:1}.risk-matrix-select-cell-selected{border-color:#0f172a;box-shadow:0 0 0 3px #f59e0b,0 4px 12px rgba(0,0,0,.25),inset 0 0 0 1px rgba(0,0,0,.15);z-index:10;transform:scale(1.12);animation:risk-cell-select .2s ease-out}@keyframes risk-cell-select{0%{transform:scale(1);box-shadow:0 0 0 0 #f59e0b}50%{transform:scale(1.18)}to{transform:scale(1.12);box-shadow:0 0 0 3px #f59e0b,0 4px 12px rgba(0,0,0,.25),inset 0 0 0 1px rgba(0,0,0,.15)}}.risk-matrix-check{position:absolute;top:-4px;right:-4px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;background:#f59e0b;border:2px solid #ffffff;border-radius:50%;color:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,.2);animation:risk-check-pop .25s ease-out .1s both}@keyframes risk-check-pop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.risk-matrix-select-cell-low{background:#dcfce7;color:#166534}.risk-matrix-select-cell-medium{background:#fef3c7;color:#92400e}.risk-matrix-select-cell-high{background:#fecaca;color:#b91c1c}.risk-matrix-select-cell-critical{background:#991b1b;color:#fef2f2}.risk-matrix-disabled{opacity:.5;pointer-events:none}.risk-matrix-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem;min-height:4.5rem;transition:all .2s ease}.risk-matrix-summary-active{background:#ffffff;border-color:#cbd5e1;box-shadow:0 1px 3px rgba(0,0,0,.05)}.risk-matrix-summary-empty{display:flex;align-items:center;justify-content:center;gap:.5rem;color:#94a3b8;font-size:.75rem;font-style:italic;padding:.5rem 0}.risk-matrix-summary-empty-icon{display:flex;opacity:.6}.risk-matrix-summary-selection{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.risk-matrix-summary-factor{flex:1;display:flex;flex-direction:column;gap:.125rem}.risk-matrix-summary-factor-label{font-size:.625rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.risk-matrix-summary-factor-value{display:flex;align-items:center;gap:.375rem;font-size:.8125rem;font-weight:600;color:#0f172a}.risk-matrix-summary-code{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;background:#1e293b;color:#f8fafc;font-size:.6875rem;font-weight:700;border-radius:.25rem}.risk-matrix-summary-factor-desc{font-size:.6875rem;color:#64748b;line-height:1.4}.risk-matrix-summary-operator{display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:300;color:#94a3b8;padding-top:1rem}.risk-matrix-summary-result{display:flex;flex-direction:column;gap:.25rem;padding:.625rem;border-radius:.375rem;background:#f1f5f9}.risk-matrix-summary-result-label{font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;opacity:.8}.risk-matrix-summary-result-value{font-size:.9375rem;font-weight:700;letter-spacing:-.01em}.risk-matrix-summary-result-desc{font-size:.6875rem;line-height:1.4;opacity:.9}.risk-matrix-summary-result-low{background:#dcfce7;color:#166534}.risk-matrix-summary-result-medium{background:#fef3c7;color:#92400e}.risk-matrix-summary-result-high{background:#fecaca;color:#b91c1c}.risk-matrix-summary-result-critical{background:#991b1b;color:#fef2f2}.hazard-risk-matrix-layout{display:block}.hazard-risk-matrix-result{display:none}@media (max-width:640px){.risk-matrix-select{grid-template-columns:minmax(4rem,5rem) repeat(5,minmax(2.25rem,1fr))}.risk-matrix-header-label,.risk-matrix-row-label{display:none}.risk-matrix-summary-selection{flex-direction:column;gap:.5rem}.risk-matrix-summary-operator{display:none}}.help-page{max-width:56rem}.help-page .dashboard-card{margin-bottom:1.5rem}.help-page .dashboard-card:last-child{margin-bottom:0}.help-doc-header{margin-bottom:2rem}.help-doc-title{font-size:1.75rem;font-weight:700;color:#0f172a;letter-spacing:-.025em;margin-bottom:.5rem}.help-doc-description{font-size:1rem;color:#64748b;line-height:1.6;max-width:40rem}.help-resources{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin-bottom:.75rem}.help-resources-label{font-size:.8125rem;color:#64748b}.help-resources-label:after{content:":"}.help-resources-link{display:inline-flex;align-items:center;gap:.25rem;font-size:.8125rem;font-weight:500;color:#2563eb;text-decoration:none;transition:color .15s ease}.help-resources-link:hover{color:#1d4ed8;text-decoration:underline}.help-resources-link svg{width:.75rem;height:.75rem;opacity:.6}.help-resources-separator{color:#cbd5e1;font-size:.75rem}.help-toc{padding:1.25rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:2rem}.help-toc-title{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.075em;color:#64748b;margin-bottom:.75rem}.help-toc-list{display:grid;gap:.375rem}@media (min-width:640px){.help-toc-list{grid-template-columns:repeat(2,1fr);gap:.5rem 1.5rem}}.help-toc-item{display:flex;align-items:baseline;gap:.625rem;text-decoration:none;color:#0f172a;font-size:.875rem;padding:.25rem 0;transition:color .15s ease}.help-toc-item:hover{color:#f59e0b}.help-toc-number{font-family:var(--font-mono);font-size:.75rem;font-weight:600;color:#94a3b8;min-width:1.25rem}.help-toc-item:hover .help-toc-number{color:#f59e0b}.help-toc-text{font-weight:500}.help-numbered-section{scroll-margin-top:2rem}.help-numbered-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.help-section-number{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#0f172a;color:#f59e0b;font-family:var(--font-mono);font-size:.875rem;font-weight:700;border-radius:.375rem;flex-shrink:0}.help-section-title-text{font-size:1.125rem;font-weight:600;color:#0f172a}.help-intro{font-size:1rem;color:#475569;line-height:1.7;margin-bottom:.5rem}.help-section{margin-bottom:2rem}.help-section:last-child{margin-bottom:0}.help-section-title{font-size:1.125rem;font-weight:600;color:#0f172a;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.help-section-title-icon{width:1.25rem;height:1.25rem;color:#f59e0b}.help-definition-list{display:flex;flex-direction:column;gap:.5rem}.help-definition-item{display:flex;gap:1rem;padding:.875rem 1rem;background:#f8fafc;border-radius:.5rem;border-left:3px solid #0f172a}.help-definition-code{font-family:var(--font-mono);font-weight:700;font-size:1rem;color:#0f172a;min-width:1.5rem}.help-definition-content{flex:1;min-width:0}.help-definition-term{font-weight:600;color:#0f172a}.help-definition-desc{font-size:.875rem;color:#64748b;margin-top:.125rem}.help-risk-levels{display:grid;gap:.75rem}@media (min-width:640px){.help-risk-levels{grid-template-columns:repeat(2,1fr)}}.help-risk-card{padding:1rem;border-radius:.5rem;border-left:4px solid}.help-risk-card-low{background:#f0fdf4;border-left-color:#22c55e}.help-risk-card-medium{background:#fffbeb;border-left-color:#f59e0b}.help-risk-card-high{background:#fef2f2;border-left-color:#ef4444}.help-risk-card-critical{background:#fef2f2;border-left-color:#991b1b}.help-risk-card-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.help-risk-card-title{font-weight:600;font-size:.9375rem}.help-risk-card-desc{font-size:.8125rem;color:#475569;line-height:1.5}.help-risk-card-action{font-size:.75rem;color:#64748b;margin-top:.5rem;font-style:italic}.help-hierarchy{display:flex;flex-direction:column;gap:.5rem}.help-hierarchy-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:#f8fafc;border-radius:.5rem;position:relative}.help-hierarchy-item:before{content:"";position:absolute;left:2.25rem;top:100%;width:2px;height:.5rem;background:#cbd5e1}.help-hierarchy-item:last-child:before{display:none}.help-hierarchy-level{font-family:var(--font-mono);font-weight:700;font-size:.875rem;color:white;background:#0f172a;padding:.375rem .75rem;border-radius:.375rem;min-width:2rem;text-align:center;flex-shrink:0}.help-hierarchy-level-highest{background:#15803d}.help-hierarchy-level-high{background:#0d9488}.help-hierarchy-level-medium{background:#b45309}.help-hierarchy-level-lowest{background:#64748b}.help-hierarchy-content{flex:1;min-width:0}.help-hierarchy-name{font-weight:600;color:#0f172a}.help-hierarchy-desc{font-size:.8125rem;color:#64748b;margin-top:.125rem}.help-hierarchy-example{font-size:.75rem;color:#94a3b8;margin-top:.375rem;font-style:italic}.help-external-links{display:grid;gap:.75rem}.help-external-link{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;text-decoration:none;color:#0f172a;transition:all .15s ease}.help-external-link:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateX(4px)}.help-external-link-icon{width:2.5rem;height:2.5rem;background:#0f172a;color:#f59e0b;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.help-external-link-icon svg{width:1.25rem;height:1.25rem}.help-external-link-content{flex:1;min-width:0}.help-external-link-title{font-weight:600;color:#0f172a}.help-external-link-desc{font-size:.8125rem;color:#64748b;margin-top:.125rem}.help-external-link-arrow{width:1.25rem;height:1.25rem;color:#94a3b8;flex-shrink:0}.help-callout{padding:1rem 1.25rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;margin-bottom:1.5rem}.help-callout-title{font-weight:600;color:#1e40af;font-size:.875rem;margin-bottom:.375rem}.help-callout-text{font-size:.875rem;color:#1e3a8a;line-height:1.6}.help-example{background:linear-gradient(135deg,#fefce8,#fef9c3);border:1px solid #fde047;border-radius:.5rem;padding:1.5rem}.help-example-label{display:inline-block;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#a16207;background:#fef08a;padding:.25rem .5rem;border-radius:.25rem;margin-bottom:.75rem}.help-example-title{font-size:1rem;font-weight:600;color:#0f172a;margin-bottom:1rem}.help-example-scenario{font-size:.875rem;color:#475569;margin-bottom:1.25rem;line-height:1.6}.help-example-flow{display:grid;gap:1rem}@media (min-width:768px){.help-example-flow{grid-template-columns:1fr auto 1fr;align-items:stretch}}.help-example-box{background:white;border-radius:.5rem;padding:1rem;border:1px solid #e2e8f0}.help-example-box-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #f1f5f9}.help-example-box-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.help-example-row{display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;padding:.375rem 0}.help-example-row-label{color:#64748b}.help-example-row-value{font-weight:600;color:#0f172a;font-family:var(--font-mono)}.help-example-arrow{display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:1.5rem;padding:.5rem}@media (max-width:767px){.help-example-arrow{transform:rotate(90deg)}}.help-example-controls{margin-top:1.25rem;padding-top:1rem;border-top:1px dashed #fde047}.help-example-controls-title{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#a16207;margin-bottom:.5rem}.help-example-controls-list{display:flex;flex-wrap:wrap;gap:.5rem}.help-example-control-tag{font-size:.75rem;color:#0f172a;background:white;padding:.25rem .625rem;border-radius:.25rem;border:1px solid #e2e8f0}