/* ---------------------------------------------------------------------------
 * INV00002_P01.xfdl 변환본 — 설문 응답지 보기 모달 (1000x).
 * Modal #A 47 + *표시 카테고리 9번째 + 삭제 액션*.
 * --------------------------------------------------------------------------- */

#inv-survey-detail-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(0, 0, 0, 0.45);
  align-items: center; justify-content: center;
  font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
}
#inv-survey-detail-modal.is-open { display: flex; }
#inv-survey-detail-modal .layer-wrap {
  width: 1000px; background: #ffffff; border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex; flex-direction: column; overflow: hidden;
}
#inv-survey-detail-modal .layer-header {
  display: flex; align-items: center; padding: 12px 16px;
  border-bottom: 2px solid #2c4368; background: #2c4368; color: #ffffff;
}
#inv-survey-detail-modal .layer-title { flex: 1; font-size: 14px; font-weight: 600; margin: 0; }
#inv-survey-detail-modal .layer-close {
  background: transparent; border: 0; color: #ffffff; font-size: 20px; cursor: pointer; line-height: 1;
}
#inv-survey-detail-modal .layer-content {
  padding: 14px 16px;
}
#inv-survey-detail-modal .meta-row {
  display: grid; grid-template-columns: 90px 1fr 90px 1fr; gap: 6px 10px;
  font-size: 12px; align-items: center;
  margin-bottom: 10px;
}
#inv-survey-detail-modal .meta-row label { color: #344b6e; font-weight: 600; }
#inv-survey-detail-modal .meta-row input {
  padding: 4px 6px; font-size: 12px;
  border: 1px solid #c8d3e0; border-radius: 3px;
  background: #f0f3f7;
}
#inv-survey-detail-modal #inv-survey-detail-modal-grid {
  width: 100%; height: 380px;
  border: 1px solid #d8e3f0; border-radius: 4px;
}
#inv-survey-detail-modal .layer-footer {
  display: flex; justify-content: flex-end;
  padding: 10px 16px; border-top: 1px solid #e1e5eb; background: #f7f8fa;
  gap: 6px;
}
#inv-survey-detail-modal .btn {
  min-width: 80px; padding: 6px 12px; border-radius: 3px;
  font-size: 12px; cursor: pointer;
  border: 1px solid #c8d3e0; background: #ffffff; color: #344b6e;
}
#inv-survey-detail-modal .btn.danger { background: #c2452f; color: #ffffff; border-color: #c2452f; }
#inv-survey-detail-modal .btn.danger:hover { background: #9b3624; }
