.global-search{position:relative;width:100%}.search-input-container{position:relative;display:flex;align-items:center;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem 1rem;transition:border-color .2s,box-shadow .2s}.search-input-container:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-icon{color:#9ca3af;margin-right:.5rem;flex-shrink:0}.search-input{flex:1;border:none;background:none;outline:none;font-size:.875rem;color:#374151}.search-input::placeholder{color:#9ca3af}.search-spinner{margin-left:.5rem}.spinner{width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.search-results{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;max-height:400px;overflow-y:auto;z-index:1000}.search-result-item{display:flex;align-items:flex-start;padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid #f3f4f6;transition:background-color .15s}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background-color:#f9fafb}.result-icon{font-size:1.25rem;margin-right:.75rem;flex-shrink:0}.result-content{flex:1;min-width:0}.result-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.result-title{font-size:.875rem;font-weight:500;color:#374151}.result-type{font-size:.75rem;color:#6b7280;background-color:#f3f4f6;padding:.125rem .5rem;border-radius:4px;text-transform:capitalize}.result-description{font-size:.75rem;color:#6b7280;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.search-no-results{padding:1.5rem;text-align:center;color:#6b7280;font-size:.875rem}@media (max-width: 768px){.search-results{max-height:300px}}.jha-wizard-page{background:var(--surface-base, #f7f9fc);min-height:100vh;display:flex;flex-direction:column;color:#1b1f3b;padding-top:56px}@media (min-width: 769px){.jha-wizard-page{padding-top:64px}}.jha-wizard{display:flex;flex-direction:column;flex:1;width:100%;max-width:1200px;margin:0 auto;padding:0 1rem 2rem;box-sizing:border-box}.jha-wizard-header{background:#fff;padding:1.5rem 1rem;border-bottom:1px solid rgba(23,32,42,.08);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;align-self:stretch;margin:0 -1rem}.jha-wizard-title-block{display:flex;align-items:center;gap:1.5rem}.jha-back-button{display:flex;align-items:center;gap:.5rem;background:transparent;border:none;color:#5560ff;font-weight:600;cursor:pointer;padding:.5rem 0}.jha-back-button:hover{text-decoration:underline}.jha-progress{min-width:220px}.jha-progress-bar{background:#5560ff1f;border-radius:999px;height:8px;overflow:hidden;margin-bottom:.35rem}.jha-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#5560ff,#00a3ff);transition:width .3s ease}.jha-progress-label{font-size:.85rem;color:#1b1f3b99}.jha-alert{margin:1rem 0;padding:1rem 1.25rem;border-radius:.75rem;background:#eafaf1;color:#1a7f43;display:flex;justify-content:space-between;align-items:center;gap:1rem}.jha-alert.error{background:#ffe9e7;color:#c62828}.jha-alert button{background:transparent;border:none;color:inherit;cursor:pointer;font-size:1rem}.jha-wizard-body{flex:1;padding:2rem 0;overflow-y:auto}.jha-step-container{width:100%;margin:0 0 3rem;display:flex;flex-direction:column;gap:1.75rem}.jha-section{background:#fff;border-radius:1rem;box-shadow:0 12px 32px #1c243714;padding:1.75rem;display:flex;flex-direction:column;gap:1.25rem}.jha-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.jha-section-header h2,.jha-section-header h3{margin:0}.jha-section-header p{margin:0;color:#1b1f3b99}.jha-grid{display:grid;gap:1.25rem}.jha-grid.two-column{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.jha-grid.three-column{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.jha-field{display:flex;flex-direction:column;gap:.5rem}.jha-label{font-weight:600;font-size:.95rem;color:#1b1f3be6;display:flex;align-items:center;gap:.5rem}.jha-field input,.jha-field textarea,.jha-field select{border:1px solid rgba(27,31,59,.12);border-radius:.75rem;padding:.75rem .9rem;font-size:.95rem;background:#fffffff2;transition:border-color .2s,box-shadow .2s}.jha-field input:focus,.jha-field textarea:focus,.jha-field select:focus{border-color:#5560ff;box-shadow:0 0 0 3px #5560ff26;outline:none}.jha-inline-button{border:none;background:none;color:#5560ff;font-size:.85rem;cursor:pointer;padding:0}.jha-inline-button:hover{text-decoration:underline}.jha-error{font-size:.8rem;color:#c62828}.jha-assistant-banner{background:linear-gradient(90deg,#5560ff1a,#5560ff05);border:1px solid rgba(85,96,255,.16);border-radius:.9rem;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.jha-assistant-banner.secondary{background:linear-gradient(90deg,#00a3ff1a,#00a3ff05);border-color:#00a3ff29}.jha-assistant-banner strong{display:block;margin-bottom:.25rem;color:#1b1f3b}.jha-assistant-actions{display:flex;gap:.75rem}.jha-button{border-radius:.75rem;border:none;padding:.75rem 1.5rem;font-weight:600;font-size:.95rem;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.jha-button.primary{background:linear-gradient(90deg,#5560ff,#00a3ff);color:#fff;box-shadow:0 12px 24px #5560ff40}.jha-button.primary:disabled{background:#5560ff66;box-shadow:none;cursor:not-allowed}.jha-button.secondary{background:#5560ff1f;color:#304ffe}.jha-button.ghost{background:#1b1f3b0f;color:#1b1f3bcc}.jha-button:hover:not(:disabled){transform:translateY(-1px)}.jha-suggestion-list{margin:.75rem 0 0;padding-left:1.2rem;color:#1b1f3bbf}.jha-empty-state{margin:0;color:#1b1f3b80;font-style:italic}.jha-repeatable-row{align-items:center}.jha-inline-field-group{display:flex;align-items:center;gap:.75rem}.jha-icon-button{border:none;background:#1b1f3b14;color:#1b1f3bcc;border-radius:.65rem;width:34px;height:34px;cursor:pointer;font-size:1rem}.jha-icon-button:hover{background:#1b1f3b29}.jha-upload-control input[type=file]{display:none}.jha-attachment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.jha-attachment-list li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .9rem;background:#1b1f3b0d;border-radius:.65rem}.jha-assistant-note{font-size:.9rem;margin-top:.5rem;color:#1b1f3bb3}.jha-step-card{border:1px solid rgba(27,31,59,.08);border-radius:1rem;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem;background:#fffffff5}.jha-step-header{display:flex;align-items:center;justify-content:space-between}.jha-step-actions{display:flex;gap:.5rem}.jha-suggestion-panel{border:1px dashed rgba(85,96,255,.3);border-radius:.85rem;padding:.9rem;background:#5560ff0d}.jha-suggestion-panel ul{list-style:none;padding:0;margin:.6rem 0 0;display:flex;flex-direction:column;gap:.6rem}.jha-suggestion-panel li{display:flex;justify-content:space-between;align-items:center;gap:.75rem;font-size:.9rem}.jha-hazard-card{border:1px solid rgba(27,31,59,.08);border-radius:.9rem;padding:1.25rem;display:flex;flex-direction:column;gap:1rem;background:#1b1f3b05}.jha-hazard-header{display:flex;align-items:center;justify-content:space-between}.jha-hazard-actions{display:flex;gap:.5rem}.jha-risk-score{display:flex;flex-direction:column;justify-content:flex-end;font-weight:600}.jha-risk-value{font-size:1.15rem;color:#c62828}.jha-controls-list{display:flex;flex-direction:column;gap:.75rem}.jha-control-row{display:grid;grid-template-columns:1.5fr .8fr 40px;gap:.75rem;align-items:center}.jha-summary-card{border:1px solid rgba(27,31,59,.08);border-radius:1rem;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem;background:#fffffff5}.jha-summary-header{display:flex;justify-content:space-between;align-items:flex-start}.jha-summary-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:0}.jha-summary-list dt{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:#1b1f3b73}.jha-summary-list dd{margin:.25rem 0 0;font-weight:600;color:#1b1f3bd9}.jha-summary-subsection{display:flex;flex-direction:column;gap:.6rem}.jha-summary-subsection h4,.jha-summary-subsection h5{margin:0}.jha-summary-subsection ul{margin:0;padding-left:1.2rem}.jha-summary-hazard{border-top:1px solid rgba(27,31,59,.1);padding-top:1rem;display:flex;flex-direction:column;gap:.75rem}.jha-summary-hazard-header{display:flex;justify-content:space-between;align-items:center}.jha-summary-risk{font-weight:600;color:#c62828}.jha-summary-tag{background:#5560ff1f;color:#304ffe;border-radius:.65rem;padding:.35rem .75rem;font-size:.8rem;font-weight:600}.jha-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer}.jha-wizard-footer{background:#fff;padding:1.5rem 0;border-top:1px solid rgba(23,32,42,.08)}.jha-footer-actions{display:flex;justify-content:flex-end;gap:1rem}.jha-footer-error{margin-top:.75rem;color:#c62828;text-align:right;font-weight:600}@media (max-width: 768px){.jha-wizard-header{flex-direction:column;align-items:flex-start}.jha-progress{width:100%}.jha-wizard-body,.jha-alert{margin:1rem 0;padding:1.25rem .75rem}.jha-wizard-footer{padding:1.25rem .75rem}.jha-footer-actions{flex-direction:column-reverse;align-items:stretch}}@media (max-width: 640px){.jha-wizard{padding:0 .5rem 1.5rem}.jha-wizard-header{padding:1.25rem .5rem;margin:0 -.5rem}.jha-section{padding:1.25rem}.jha-grid.two-column,.jha-grid.three-column{grid-template-columns:1fr}.jha-control-row{grid-template-columns:1fr;gap:.75rem}.jha-control-row button{width:auto;justify-self:flex-start}}
