.production-forms-dialog {
  box-sizing: border-box;
  width: min(1080px, calc(100vw - 32px));
  max-width: 100%;
  max-height: 90dvh;
  padding: 0;
  border: 1px solid #dce2eb;
  border-radius: 18px;
  background: #f7f9fc;
  color: #253046;
  box-shadow: 0 24px 90px #16253b40;
  overflow: auto;
  font:
    14px/1.6 system-ui,
    -apple-system,
    "PingFang SC",
    sans-serif;
}
.production-forms-dialog::backdrop {
  background: #18223680;
}
.production-forms-dialog * {
  box-sizing: border-box;
  min-width: 0;
}
.production-forms-dialog :is(p, dd, td, dt, h2, h3, h4, small) {
  overflow-wrap: anywhere;
}
.pf-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: white;
  border-bottom: 1px solid #e4e9f0;
}
.pf-header h2 {
  margin: 2px 0;
  font-size: 22px;
}
.pf-header small,
.pf-muted,
.pf-field > small,
.pf-source {
  color: #65738a;
}
.production-forms-dialog button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #ccd6e4;
  border-radius: 8px;
  padding: 8px 12px;
  color: #334969;
  background: white;
  white-space: normal;
}
.production-forms-dialog button:hover {
  background: #edf3ff;
}
.production-forms-dialog button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.production-forms-dialog :focus-visible {
  outline: 3px solid #739ceb;
  outline-offset: 2px;
}
.pf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px;
  background: white;
}
.pf-tabs strong {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}
.pf-tabs [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pf-tabs button {
  font-size: 13px;
  padding: 7px 10px;
}
.pf-tabs button[aria-selected="true"] {
  background: #eaf1ff;
  color: #1f55b5;
  border-color: #8fb0ef;
}
.pf-toolbar {
  padding: 16px 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-notice,
.pf-scope {
  margin: 12px 24px;
  color: #53627b;
}
.pf-notice[role="alert"] {
  color: #9c422d;
  background: #fff0e7;
  padding: 12px;
  border-radius: 8px;
}
.pf-content {
  padding: 0 24px 20px;
}
.pf-content h3 {
  font-size: 17px;
}
.pf-field {
  padding: 16px;
  margin: 12px 0;
  background: white;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
}
.pf-field h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.pf-field > small {
  display: block;
  margin-bottom: 12px;
}
.pf-table-scroll {
  width: 100%;
  max-height: 360px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
}
.pf-table-scroll table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  min-width: 360px;
}
.pf-table-scroll :is(th, td) {
  text-align: left;
  vertical-align: top;
  padding: 10px;
  border-bottom: 1px solid #e6ebf2;
  min-width: 120px;
  max-width: 360px;
}
.pf-table-scroll th {
  background: #f1f5fb;
  position: sticky;
  top: 0;
  z-index: 1;
}
.pf-properties {
  margin: 0;
  display: grid;
  gap: 8px;
}
.pf-properties > div {
  display: grid;
  grid-template-columns: minmax(70px, 150px) minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid #eef1f6;
  padding: 5px 0;
}
.pf-properties dt {
  color: #65738a;
}
.pf-properties dd {
  margin: 0;
  white-space: pre-wrap;
}
.pf-list {
  max-height: 360px;
  overflow: auto;
  padding-left: 22px;
}
.pf-source {
  font-size: 12px;
  margin-top: 12px;
}
.pf-source summary {
  cursor: pointer;
}
.pf-editor {
  margin: 0 24px 20px;
  padding: 18px;
  border: 1px solid #d9e4f5;
  background: #f0f5fd;
  border-radius: 12px;
}
.pf-editor h3 {
  margin: 0 0 8px;
}
.pf-editor label {
  display: block;
  margin: 10px 0;
}
.pf-editor :is(input, textarea, select) {
  display: block;
  width: 100%;
  font: inherit;
  padding: 9px;
  border-radius: 7px;
  border: 1px solid #bccae0;
  background: #fff;
  color: #253046;
  margin-top: 5px;
}
.pf-editor textarea {
  resize: vertical;
}
.pf-editor button[type="submit"],
.pf-editor [data-form-action] {
  background: #2d63c8;
  color: white;
  border-color: #2d63c8;
}
.pf-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
@media (max-width: 600px) {
  .production-forms-dialog {
    width: calc(100vw - 16px);
    max-height: 94dvh;
    border-radius: 12px;
  }
  .pf-header,
  .pf-tabs {
    padding: 14px;
  }
  .pf-toolbar {
    padding: 14px 14px 0;
  }
  .pf-content {
    padding: 0 12px 12px;
  }
  .pf-notice,
  .pf-scope {
    margin: 12px;
  }
  .pf-editor {
    margin: 0 12px 14px;
    padding: 12px;
  }
  .pf-field {
    padding: 12px;
  }
  .pf-input-grid {
    grid-template-columns: 1fr;
  }
  .pf-header h2 {
    font-size: 18px;
  }
  .pf-properties > div {
    grid-template-columns: minmax(60px, 90px) minmax(0, 1fr);
  }
}

.pf-record-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-record-choices button {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}


.pf-eyebrow{display:block;margin-bottom:4px;color:#5972b8;font-size:11px;font-weight:800;letter-spacing:.06em}.feedback-workspace,.delivery-workspace{margin:0 24px 20px;padding:18px;border:1px solid #d9e4f5;border-radius:12px;background:#f8faff}.feedback-workspace header,.delivery-workspace header{margin-bottom:14px}.feedback-workspace h3,.delivery-workspace h3{margin:0 0 5px}.feedback-workspace header p,.delivery-workspace header p{margin:0;color:#66738c;font-size:12px}.feedback-workspace-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feedback-workspace-grid>section,.delivery-section{padding:14px;border:1px solid #dfe7f4;border-radius:10px;background:#fff}.feedback-workspace h4,.delivery-workspace h4{margin:0 0 10px}.feedback-workspace label,.delivery-workspace label{display:block;margin:9px 0}.feedback-workspace textarea,.delivery-workspace input,.delivery-workspace select{display:block;width:100%;margin-top:5px;padding:9px;border:1px solid #bccae0;border-radius:7px;font:inherit}.feedback-workspace button,.delivery-workspace button,.delivery-workspace .pf-button{display:inline-flex;margin:6px 6px 0 0;padding:8px 11px;border:1px solid #2d63c8;border-radius:7px;background:#2d63c8;color:#fff;font:inherit;text-decoration:none}.feedback-workspace button:disabled,.delivery-workspace button:disabled{border-color:#cbd3df;background:#eef1f5;color:#7e8999;cursor:not-allowed}.delivery-section+.delivery-section{margin-top:12px}.delivery-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.delivery-facts div{padding:9px;border-radius:8px;background:#f5f7fb}.delivery-facts dt{color:#7a879b;font-size:11px}.delivery-facts dd{margin:2px 0 0;font-weight:700}.delivery-callout{padding:10px;border-radius:8px;background:#fff6dd;color:#765810}@media(max-width:760px){.feedback-workspace,.delivery-workspace{margin:0 12px 14px;padding:12px}.feedback-workspace-grid,.delivery-facts{grid-template-columns:1fr}}
