.follow-up-work-orders { margin:24px 0; padding-top:20px; border-top:1px solid #d6e0e5; min-width:0; }
.associated-work-order-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.receipt-conformity-dialog .associated-work-order-heading h3 { margin:4px 0 8px; font-size:18px; }
.receipt-conformity-dialog .associated-work-order-heading .section-kicker { color:#056a73; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.associated-work-order-heading > button { flex:none; }
.associated-work-order-list,.associated-work-order-candidates { display:grid; gap:16px; list-style:none; padding:0; margin:16px 0; }
.associated-work-order-record { border:1px solid #d6e0e5; border-radius:8px; padding:16px; min-width:0; }
.associated-work-order-record > header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.associated-work-order-target { min-width:0; }
.associated-work-order-target > :is(strong,span) { display:block; font-size:14px; line-height:1.6; }
.associated-work-order-state { flex:none; color:#056a73; background:#edf6f6; padding:4px 8px; border-radius:4px; font-size:12px; }
.is-retracted .associated-work-order-state { color:#536c7c; background:#f1f4f6; }
.receipt-conformity-dialog .associated-work-order-meta,.receipt-conformity-dialog .associated-work-order-caption { font-size:12px; color:#536c7c; line-height:1.6; }
.associated-work-order-note { white-space:pre-wrap; overflow-wrap:anywhere; }
.associated-work-order-retraction { margin-top:16px; padding:12px 16px; border-left:3px solid #657985; background:#f4f7f9; }
.associated-work-order-retraction h5 { margin:0 0 8px; font-size:13px; }
.associated-work-order-boundary,.associated-work-order-uncertain { padding:12px 16px; border-left:3px solid #078b91; background:#f4f7f9; }
.associated-work-order-uncertain { border-left-color:#b87916; }
.associated-work-order-editor { padding:16px; background:#f8fafb; border:1px solid #d6e0e5; border-radius:8px; margin-top:16px; }
.associated-work-order-editor h4 { margin:0 0 12px; font-size:16px; }
.associated-work-order-editor fieldset { display:grid; gap:16px; }
.associated-work-order-search { display:flex; align-items:flex-end; gap:12px; margin:16px 0; }
.associated-work-order-search label { flex:1; }
.associated-work-order-candidates > li { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px; background:#fff; border:1px solid #d6e0e5; border-radius:6px; }
.associated-work-order-candidates > li > div { min-width:0; }
.associated-work-order-candidates :is(strong,span) { display:block; line-height:1.6; }
.associated-work-order-candidates button { flex:none; }
.associated-work-order-actions,.associated-work-order-pagination,.associated-work-order-pagination > div { display:flex; gap:8px; flex-wrap:wrap; }
.associated-work-order-pagination { justify-content:space-between; align-items:center; padding-top:12px; margin-top:16px; border-top:1px solid #d6e0e5; }
.follow-up-work-orders :is(button,input,select) { min-height:42px; }
.follow-up-work-orders select { box-sizing:border-box; width:100%; min-width:0; border:1px solid #b9cbd7; border-radius:6px; padding:10px 12px; color:#122330; background:#fff; font:inherit; font-size:14px; }
.follow-up-work-orders :is(button,input,select,textarea):focus-visible { outline:3px solid #078b91; outline-offset:2px; }
.receipt-conformity-dialog .follow-up-work-orders .form-status.error { color:#a1322b; }
.associated-work-order-empty { padding:20px; background:#f4f7f9; border:1px solid #d6e0e5; border-radius:6px; }
.associated-work-order-navigation { display:flex; align-items:flex-start; flex-direction:column; gap:8px; margin-top:16px; }
.associated-work-order-navigation small { color:#456275; font-size:13px; line-height:1.5; }
@media(max-width:600px) {
  .associated-work-order-heading,.associated-work-order-record > header,.associated-work-order-search,.associated-work-order-candidates > li { flex-direction:column; align-items:stretch; }
  .associated-work-order-state { align-self:flex-start; }
  .associated-work-order-editor { padding:12px; }
  .associated-work-order-actions > button,.associated-work-order-pagination > div,.associated-work-order-pagination button { flex:1 1 100%; }
}
