.nm-theme .pw-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.nm-theme .pw-hero {
  min-height: 220px;
}
.pw-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #eaf1fb;
  color: #536e94;
  border: 1px solid #dae4f4;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.65;
  margin: 18px 0;
}
.pw-note > .nm-icon {
  margin-top: 2px;
  flex: none;
}
.pw-message:empty {
  display: none;
}
.pw-message {
  font-size: 13px;
  color: #b54b42;
  background: #fff0ed;
  border-radius: 9px;
  padding: 15px;
}
.pw-booking {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  background: white;
  padding: 20px;
  color: #344c70;
}
.pw-booking:hover {
  background: #f7faff;
}
.pw-booking > span:not(.nm-tag):not(.pw-booking-icon) {
  flex: 1;
  min-width: 0;
}
.pw-booking b {
  display: block;
  font-size: 13px;
}
.pw-booking small {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  color: #8496b0;
  margin-top: 5px;
}
.pw-booking > .nm-icon {
  width: 15px;
  height: 15px;
  color: #97a9c4;
}
.pw-booking-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  background: #eff4fc;
  border-radius: 9px;
  color: #6d8cb6;
}
.pw-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.pw-form-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #dfe7f2;
  border-radius: 13px;
  padding: 22px;
  box-shadow: 0 4px 20px #16233e04;
  min-width: 0;
}
.pw-form-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #6686b7;
}
.pw-form-top > span {
  font-size: 10px;
  color: #93a1b5;
}
.pw-form-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 18px 0;
  color: #284361;
  min-height: 46px;
}
.pw-form-card > .btn {
  justify-content: space-between;
  font-size: 12px;
}
.pw-form-card > small {
  font-size: 11px;
  color: #8597b1;
  line-height: 1.6;
  margin: 12px 0 20px;
}
.pw-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #edf1f7;
  margin-top: auto;
  padding-top: 15px;
}
.pw-status .nm-tag {
  align-self: flex-start;
  font-size: 10px;
}
.pw-local-record {
  border: 0;
  padding: 5px 0;
  background: none;
  color: #6d89b2;
  text-align: left;
  font-size: 11px;
  min-height: 32px;
}
.pw-link-missing,
.pw-link-error {
  font-size: 12px;
  line-height: 1.6;
  color: #8d9bb0;
  padding: 15px 0;
  margin: 0 0 15px;
}
.pw-link-error {
  color: #b56c57;
}
.pw-source-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.pw-history {
  margin-top: 24px;
}
.pw-history small {
  display: block;
  color: #8495ab;
  margin-top: 5px;
}
.pw-job-entry {
  margin-bottom: 20px;
}
.pw-job-entry .nm-panel-head > .btn {
  background: #2e5ce6;
  color: white;
  padding: 12px 16px;
  font-size: 12px;
  min-height: 42px;
}
.pw-job-entry .nm-panel-head > .btn .nm-icon {
  display: block;
}
.nm-theme #pwSearch {
  max-width: 210px;
  font-size: 12px;
}
.pw-hub-grid .nm-panel-head {
  flex-wrap: wrap;
  gap: 14px;
}
.pw-hub-grid .nm-panel-foot {
  line-height: 1.65;
}
@media (max-width: 1120px) {
  .nm-theme .pw-hub-grid {
    grid-template-columns: 1fr;
  }
  .pw-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .pw-form-grid {
    grid-template-columns: 1fr;
  }
  .pw-form-card {
    padding: 22px;
  }
  .pw-form-card h3 {
    min-height: 0;
    font-size: 19px;
  }
  .pw-form-card > .btn {
    min-height: 48px;
    font-size: 14px;
  }
  .pw-form-card > small {
    font-size: 12px;
  }
  .pw-note {
    font-size: 12px;
    padding: 16px;
  }
  .pw-booking {
    flex-wrap: wrap;
    padding: 19px 16px;
  }
  .pw-booking b {
    font-size: 14px;
  }
  .pw-booking small {
    font-size: 12px;
  }
  .pw-booking .nm-tag {
    font-size: 10px;
  }
  .pw-status .nm-tag {
    font-size: 12px;
  }
  .pw-local-record {
    font-size: 13px;
    min-height: 44px;
  }
  .pw-form-top > span {
    font-size: 12px;
  }
  .pw-source-actions .btn {
    min-height: 44px;
  }
  .pw-job-entry .nm-panel-head {
    flex-wrap: wrap;
  }
  .nm-theme #pwSearch {
    max-width: 100%;
    width: 100%;
  }
}
