.detail-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 0 12px 0 14px;
  border-bottom: 1px solid #d8d8d8;
  background: #fbfbfb;
}

.detail-check-head h2 {
  flex: 1 1 auto;
  min-width: 0;
  min-height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-check-head > div {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.detail-check-head .detail-status-chip {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 30px;
  padding: 4px 8px;
  white-space: nowrap;
}

.detail-check-head .detail-status-chip small {
  display: none;
}

.detail-check-head .detail-status-chip strong {
  white-space: nowrap;
}

.detail-check-head .detail-status-chip strong {
  font-size: 12px;
}

.detail-card-edit {
  min-height: 30px;
  border-color: #5fa72f;
  background: #70b53a;
  color: #fff;
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
}

.detail-card-edit:hover {
  border-color: #54972a;
  background: #65aa34;
}

.detail-card-edit .fa-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  font-size: 13px;
}

.detail-check-body {
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.detail-check-body table {
  width: 100%;
  margin: 0;
}

.detail-check-action {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

.detail-check-action .detail-delivery-button {
  width: 100%;
  min-height: 38px;
}

.detail-status-row .detail-status-chip {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}

.detail-sheet-line:empty {
  display: none;
}

.detail-urgency-select {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 3px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.detail-urgency-select.high {
  background: #ef3838;
}

.detail-urgency-select.standard {
  background: #75af3b;
}

.detail-urgency-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #fff;
}

.detail-urgency-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.detail-urgency-select strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.detail-urgency-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.detail-urgency-select.is-readonly select {
  display: none;
}

.detail-condition-select {
  position: relative;
  display: block;
  width: 100%;
}

.detail-condition-select .condition-chip {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  justify-content: flex-start;
}

.detail-condition-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

@media (max-width: 520px) {
  .detail-check-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }
}
