/* 3D chrome of add-source applied to edit-source + SP phụ / Data khách */
.skyland-edit-overlay.skyland-source-form-3d,
#custSpPhuModal.skyland-source-form-3d {
  background: rgba(16, 24, 28, 0.36);
  backdrop-filter: blur(10px);
}
.skyland-edit-overlay.skyland-source-form-3d .skyland-edit-panel,
#custSpPhuModal.skyland-source-form-3d .skyland-modal-content {
  width: min(720px, calc(100vw - 24px));
  max-height: 92dvh;
  border-radius: 16px;
  border: 1px solid #e7ecee;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.14), 0 2px 0 rgba(255, 255, 255, 0.7) inset;
}
.skyland-edit-overlay.skyland-source-form-3d .skyland-edit-head,
#custSpPhuModal.skyland-source-form-3d .skyland-modal-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #eef1f2;
}
.skyland-edit-overlay.skyland-source-form-3d .skyland-edit-head b,
#custSpPhuModal.skyland-source-form-3d .skyland-modal-header h3 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #102428;
}
.skyland-edit-overlay.skyland-source-form-3d .skyland-edit-field,
#custSpPhuModal.skyland-source-form-3d .skyland-add-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #3d4c50;
}
.skyland-edit-overlay.skyland-source-form-3d input,
.skyland-edit-overlay.skyland-source-form-3d select,
.skyland-edit-overlay.skyland-source-form-3d textarea,
#custSpPhuModal.skyland-source-form-3d .skyland-add-input,
#custSpPhuModal.skyland-source-form-3d .skyland-add-select,
#custSpPhuModal.skyland-source-form-3d textarea.skyland-add-input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d7dfe1;
  border-radius: 11px;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.06);
}
.skyland-edit-overlay.skyland-source-form-3d input:focus,
.skyland-edit-overlay.skyland-source-form-3d select:focus,
.skyland-edit-overlay.skyland-source-form-3d textarea:focus,
#custSpPhuModal.skyland-source-form-3d .skyland-add-input:focus,
#custSpPhuModal.skyland-source-form-3d .skyland-add-select:focus {
  border-color: #0d7a86;
  box-shadow: 0 0 0 3px rgba(13, 122, 134, 0.12);
  outline: none;
}
.skyland-spphu-row {
  border: 1px solid #e7ecee;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
  box-shadow: 0 12px 28px rgba(15, 43, 60, 0.08);
}
.skyland-spphu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skyland-spphu-grid > * {
  flex: 1 1 160px;
}
.skyland-spphu-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.skyland-spphu-prices[hidden],
.skyland-spphu-prices [hidden] {
  display: none !important;
}
.skyland-spphu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
#custSpPhuModal.skyland-source-form-3d .skyland-add-submit,
.skyland-edit-overlay.skyland-source-form-3d .skyland-edit-save,
#custSpPhuSaveBtn {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #0d7a86;
  color: #fff;
  font-weight: 750;
  box-shadow: 0 14px 28px rgba(13, 122, 134, 0.28);
}
.is-pf-locked,
input.is-pf-locked,
select.is-pf-locked {
  background: #f3f6f6 !important;
  color: #64748b !important;
  cursor: not-allowed;
}
#skylandAddSave.skyland-add-submit,
#skylandEditSave.skyland-add-submit,
#custSpPhuSaveBtn {
  background: #0d7a86;
  color: #fff;
}
.skyland-priority-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.skyland-priority-picks label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid #d5e3e6;
  border-radius: 999px;
  background: #fff;
  color: #17363b;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
  cursor: pointer;
}
.skyland-priority-picks input {
  width: 13px;
  height: 13px;
  margin: 0;
  flex: 0 0 auto;
}
.skyland-priority-picks label:has(input:checked) {
  border-color: #0d7a86;
  background: #e7f6f8;
  color: #0b4f57;
}
#skylandAddPanel.is-project .skyland-add-priority {
  display: none !important;
}
@media (max-width: 720px) {
  .skyland-priority-picks label {
    font-size: 11px;
    padding: 2px 7px;
  }
}
#dataCustTable .cust-add-source-btn,
#dataCustTable .cust-kho-link-btn {
  min-height: 32px;
  border-radius: 10px;
  border: 1px solid #d7dfe1;
  background: #fff;
  box-shadow: 0 8px 16px rgba(16, 24, 32, 0.06);
  font-weight: 700;
  cursor: pointer;
}
