.hq-report-heading {
  margin-bottom: 18px;
}
.hq-report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.hq-report-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 52, 91, 0.04);
}
.hq-report-panel-head {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid #e1e9f3;
  background: linear-gradient(145deg, #fff, #f6faff);
}
.hq-report-panel-head > div:first-child > span {
  color: #1267d6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.hq-report-panel-head h2 {
  margin: 5px 0 6px;
  color: #102f55;
  font-size: 20px;
}
.hq-report-panel-head p {
  margin: 0;
  color: #72839a;
  font-size: 12px;
  line-height: 1.5;
}
.hq-report-panel-head .actions {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.hq-report-panel-head .actions button {
  padding: 9px 13px;
  font-size: 12px;
}
.hq-report-table {
  overflow-x: auto;
}
.hq-report-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.hq-report-table th,
.hq-report-table td {
  padding: 13px 6px;
  border-bottom: 1px solid #e2eaf4;
  text-align: center;
  vertical-align: middle;
  font-size: 11px;
  word-break: keep-all;
}
.hq-report-table th {
  background: #edf3fa;
  color: #18395f;
  font-weight: 800;
  white-space: nowrap;
}
.hq-report-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}
.hq-report-table tbody tr:hover,
.hq-report-table tbody tr.selected {
  background: #eef6ff;
}
.hq-report-table th:nth-child(1) {
  width: 46px;
}
.hq-report-table th:nth-child(2) {
  text-align: left;
}
.hq-report-table th:nth-child(3) {
  width: 76px;
}
.hq-report-table th:nth-child(4) {
  width: 58px;
}
.hq-report-table th:nth-child(5) {
  width: 68px;
  text-align: left;
}
.hq-report-table th:nth-child(6) {
  width: 62px;
}
.hq-report-table td:nth-child(2),
.hq-report-table td:nth-child(5) {
  text-align: left;
}
.hq-report-type-link {
  padding: 0;
  border: 0;
  background: none;
  color: #12365f;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.hq-report-type-link:hover {
  color: #1267d6;
  text-decoration: underline;
}
.hq-report-note {
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #586d86;
}
.hq-report-empty {
  height: 180px !important;
  color: #72849b !important;
  text-align: center !important;
  line-height: 1.8;
}
.hq-report-modal-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e8f0;
}
.hq-report-modal-head p {
  margin: 0 0 7px;
  color: #1267d6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hq-report-modal-head h2 {
  margin: 0 0 8px;
  color: #102d51;
}
.hq-report-modal-head span {
  color: #708096;
  font-size: 13px;
}
.hq-report-form {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}
.hq-report-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hq-report-form-grid label {
  display: grid;
  gap: 8px;
  color: #18395f;
  font-size: 13px;
  font-weight: 800;
}
.hq-report-form-grid label.wide {
  grid-column: 1/-1;
}
.hq-report-form input,
.hq-report-form select,
.hq-report-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cad8e9;
  border-radius: 9px;
  background: #fff;
  color: #142d4d;
  font: inherit;
}
.hq-report-form input,
.hq-report-form select {
  height: 44px;
  padding: 0 13px;
}
.hq-report-form textarea {
  padding: 12px 13px;
  line-height: 1.55;
  resize: vertical;
}
.hq-report-form input[readonly] {
  background: #f3f6fa;
  color: #64758a;
}
.hq-report-upload {
  padding: 17px;
  border: 1px dashed #b8cbe1;
  border-radius: 13px;
  background: #f8fbff;
}
.hq-report-upload.attached {
  border-style: solid;
  border-color: #65a1eb;
}
.hq-report-upload > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hq-report-upload > header > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.hq-report-upload header b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e9f0f8;
  color: #7890aa;
  font-size: 12px;
}
.hq-report-upload.attached header b {
  background: #e4f7ef;
  color: #09875b;
}
.hq-report-upload header span {
  display: grid;
  gap: 2px;
  color: #18395f;
  font-size: 13px;
}
.hq-report-upload header small,
.hq-report-upload header em {
  color: #72839a;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.hq-report-upload > label {
  display: block;
  margin: 14px 0 9px;
}
.hq-report-upload > label input {
  display: none;
}
.hq-report-upload > label span {
  display: block;
  padding: 11px;
  border: 1px solid #c8d8eb;
  border-radius: 9px;
  background: #fff;
  color: #1267d6;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.hq-report-upload > p {
  margin: 0;
  min-height: 18px;
  color: #5d7088;
  font-size: 12px;
  word-break: break-all;
}
.hq-report-upload > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.hq-report-upload button {
  padding: 7px 11px;
  font-size: 12px;
}
.hq-report-approval {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  background: #fff;
}
.hq-report-approval > b {
  color: #18395f;
  font-size: 13px;
}
@media (max-width: 780px) {
  .hq-report-split {
    grid-template-columns: 1fr;
  }
  .hq-report-form-grid {
    grid-template-columns: 1fr;
  }
  .hq-report-form-grid label.wide {
    grid-column: auto;
  }
}
