  /* ---------- Incident Report form ---------- */
  #incidentReportModal select,
  #incidentReportModal textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 16px; font-family: inherit; background: #fff; outline: none; box-sizing: border-box;
  }
  #incidentReportModal select:focus,
  #incidentReportModal textarea:focus { border-color: var(--navy); }
  #incidentReportModal textarea { resize: vertical; }
  .ir-section-title {
    font-size: 13px; font-weight: 700; color: var(--navy);
    margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--sky-light);
  }
  .ir-section-title:first-of-type { margin-top: 0; }
  .ir-hint { font-weight: 400; color: var(--muted); font-size: 12px; }
  .ir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ir-grid .field { margin-bottom: 14px; }
  .ir-grid .field.full { grid-column: 1 / -1; }
  .ir-sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ir-sig-grid .full { grid-column: 1 / -1; }
  .ir-sig { background: var(--sky-light); border-radius: 10px; padding: 12px 14px 10px; }
  .ir-sig label { margin: 0 0 8px; font-size: 11.5px; color: var(--navy); font-weight: 700; letter-spacing: 0; }
  .ir-sig input {
    width: 100%; border: none; border-bottom: 1.5px solid var(--sky); background: transparent;
    padding: 4px 2px 7px; font-size: 16px; font-style: italic; color: var(--text); outline: none; box-sizing: border-box;
  }
  .ir-sig input:focus { border-bottom-color: var(--navy); }
  @media (max-width: 480px) {
    .ir-grid, .ir-sig-grid { grid-template-columns: 1fr; }
  }
  a.res-link { color: var(--navy); font-weight: 600; text-decoration: none; }
  a.res-link:hover { text-decoration: underline; }
  .dropzone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 14px;
  }
  .dropzone:hover, .dropzone.drag-over { border-color: var(--navy); background: #f7f9fd; }
  .upload-status { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
  .upload-status.ok { color: var(--green); }
  .upload-status.err { color: var(--red); }
  .pagination { display: flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 12.5px; }
  .pagination button { padding: 5px 12px; border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; font-size: 12.5px; }
  .pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
  .pagination span { color: var(--muted); }
  .stepper { display: flex; align-items: flex-start; overflow-x: auto; padding: 20px 4px 8px; gap: 0; }
  .step { display: flex; flex-direction: column; align-items: center; min-width: 110px; flex-shrink: 0; cursor: pointer; animation: fadeSlideIn 0.35s ease-out backwards; }
  .step-circle {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: #fff; background: var(--border); flex-shrink: 0;
    transition: transform .18s ease, box-shadow .18s ease;
    animation: stepPop .45s cubic-bezier(.34,1.56,.64,1) both;
  }
  .step:hover .step-circle { transform: scale(1.12); box-shadow: 0 6px 16px rgba(0,21,152,0.25); }
  .step-circle.cleared { background: var(--green); animation: stepPop .45s cubic-bezier(.34,1.56,.64,1) both, checkGlow 1.4s ease-out .45s; }
  .step-circle.not-cleared { background: #cfd6e4; color: var(--muted); position: relative; }
  .step-circle.not-cleared::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #cfd6e4;
    animation: stepPulse 2.2s ease-out infinite;
  }
  .step-line {
    flex: 1; height: 3px; background: var(--border); margin-top: 26px; min-width: 24px;
    position: relative; overflow: hidden;
  }
  .step-line.cleared::after {
    content: ''; position: absolute; inset: 0; background: var(--green);
    animation: lineFill .5s ease-out .3s both;
  }
  .step-label { font-size: 11.5px; font-weight: 600; text-align: center; margin-top: 8px; max-width: 110px; line-height: 1.3; }
  .step-meta { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 3px; max-width: 110px; }
  .step-row { display: flex; align-items: center; width: 100%; }
  .step-detail {
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease;
    font-size: 11.5px; background: var(--sky-light); border-radius: 8px; padding: 0 10px; margin-top: 0; text-align: left;
  }
  .step-detail.open { max-height: 120px; opacity: 1; padding: 8px 10px; margin-top: 8px; }
  .clearance-progress-track { height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 6px; }
  .clearance-progress-fill { height: 100%; background: var(--green); border-radius: 999px; width: 0; transition: width 1s cubic-bezier(.22,1,.36,1); }
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(16,26,61,0.55); display: flex; align-items: center; justify-content: center;
    padding: 24px; z-index: 200;
  }
  .modal-card {
    background: var(--card); border-radius: 14px; width: 100%; max-width: 720px; max-height: 85vh; overflow-y: auto;
    padding: 24px 26px; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  }
  .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
  .modal-header h2 { margin: 0; }
  @keyframes stepPop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes checkGlow { 0% { box-shadow: 0 0 0 0 rgba(28,138,84,0.5); } 100% { box-shadow: 0 0 0 14px rgba(28,138,84,0); } }
  @keyframes stepPulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
  @keyframes lineFill { from { transform: translateX(-100%); } to { transform: translateX(0); } }

