.inherit-notice {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cfe1f8;
  background: #edf5ff;
  border-radius: 9px;
  padding: 14px 17px;
  margin: -7px 0 15px;
}
.inherit-notice b {
  color: #1769e0;
  font-size: 11px;
  white-space: nowrap;
}
.inherit-notice span {
  font-size: 10px;
  color: #687d96;
}
.inherit-notice.linked {
  border-color: #bfe8df;
  background: #edfaf7;
}
.inherit-notice.linked b {
  color: #168b73;
}
.input-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
}
.input-section.wide {
  padding: 0;
  overflow: hidden;
}
.input-section.wide .input-section-title {
  padding: 17px 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.input-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.input-section-title > b {
  font-size: 13px;
}
.input-section-title > span {
  font-size: 9px;
  color: #8794a5;
  background: #f2f5f8;
  padding: 5px 8px;
  border-radius: 14px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.field-grid label,
.block-label {
  font-size: 10px;
  font-weight: 700;
  color: #4c5a6c;
}
.field-grid input,
.field-grid select,
.block-label textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
  margin-top: 7px;
  outline: 0;
  font-size: 11px;
}
.field-grid input:focus,
.block-label textarea:focus,
.risk-input-table input:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 2px #1769e014;
}
.date-pair {
  display: flex;
  align-items: center;
  gap: 6px;
}
.date-pair input {
  flex: 1;
}
.date-pair i {
  font-style: normal;
  color: #9aa5b3;
  margin-top: 6px;
}
.mini-btn {
  border: 1px solid #dce3ec;
  background: #fff;
  color: #506174;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.risk-table-wrap {
  overflow-x: auto;
}
.risk-input-table {
  min-width: 1450px;
}
.risk-input-table th {
  white-space: nowrap;
  text-align: center;
  padding: 11px 8px;
}
.risk-input-table th:first-child {
  width: 42px;
}
.risk-input-table td {
  padding: 5px;
}
.risk-input-table td:first-child {
  text-align: center;
  color: #8996a6;
}
.risk-input-table input {
  width: 100%;
  min-width: 100px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px;
  padding: 8px;
  font-size: 10px;
}
.risk-input-table td:nth-last-child(2) input {
  min-width: 210px;
}
.row-remove {
  border: 0;
  background: #fff0f0;
  color: #d75454;
  border-radius: 5px;
  width: 26px;
  height: 26px;
  cursor: pointer;
}
.permit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}
.permit-grid label {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font-size: 10px;
}
.permit-grid input {
  vertical-align: middle;
  margin-right: 6px;
}
.block-label {
  display: block;
  margin-top: 12px;
}
.block-label textarea {
  min-height: 72px;
  resize: vertical;
}
.signature-row {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 16px;
}
.signature-row > span {
  font-size: 10px;
  font-weight: 700;
  margin-right: 5px;
}
.signature-row button {
  border: 1px solid #cfe4dc;
  background: #edf9f5;
  color: #168b73;
  border-radius: 18px;
  padding: 6px 10px;
  font-size: 9px;
}
@media (max-width: 900px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .permit-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
  .inherit-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .signature-row {
    flex-wrap: wrap;
  }
}
