.received-pos-page{min-width:0}.received-pos-page .panel{min-width:0}.rpo-title-actions,.rpo-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.rpo-title-actions{margin:16px 0}.rpo-filters{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.rpo-filters label{min-width:220px;flex:1;max-width:560px}.rpo-stage-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.rpo-stage-tabs button{white-space:normal;max-width:100%;font-size:.87rem}.rpo-stage-tabs button[aria-pressed=false]{background:#fff;border:1px solid #c6ced6;color:#253648}.rpo-stage-tabs strong{margin-left:4px}.rpo-summary{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-bottom:12px}.rpo-summary span,.rpo-note{color:#58636f}.rpo-table-wrap{max-width:100%;overflow:auto}.received-pos-page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.9rem}.received-pos-page th,.received-pos-page td{text-align:left;vertical-align:top;padding:12px 9px;overflow-wrap:anywhere;border-bottom:1px solid #dfe5eb}.received-pos-page td p{white-space:pre-wrap;margin:5px 0}.received-pos-page td small{display:block;color:#58636f;margin-top:6px}.received-pos-page th:nth-child(2),.received-pos-page th:nth-child(5){width:22%}.rpo-stage{display:inline-block;padding:5px 8px;border-radius:6px;background:#edf2f6;color:#243344;font-size:.82rem}.rpo-needs-booking,.rpo-needs-information{background:#fff1d6;color:#815112}.rpo-in-progress{background:#e6f2fa;color:#145274}.rpo-completed{background:#e6f3e9;color:#28643b}.rpo-cancelled{background:#eff0f2;color:#5b616a}.rpo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rpo-fields .field{min-width:0}.rpo-fields input,.rpo-fields select,.rpo-fields textarea{max-width:100%;width:100%;box-sizing:border-box}.rpo-fields textarea{min-height:95px}.rpo-fields .field:has(textarea){grid-column:1/-1}.rpo-detail dl,.rpo-comparison{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,3fr);gap:10px 18px}.rpo-detail dt,.rpo-comparison dt{font-weight:600}.rpo-detail dd,.rpo-comparison dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.rpo-detail .rpo-actions{margin-top:20px}#rpo-error button{margin-top:8px;white-space:normal}#rpo-reconcile{scroll-margin-top:100px}.received-pos-page button,.received-pos-page .button{white-space:normal;max-width:100%}
@media(max-width:700px){.rpo-fields{grid-template-columns:1fr}.rpo-detail dl,.rpo-comparison{grid-template-columns:1fr;gap:5px}.rpo-detail dd,.rpo-comparison dd{margin-bottom:12px}.received-pos-page table,.received-pos-page tbody,.received-pos-page tr,.received-pos-page td{display:block;width:auto}.received-pos-page thead{display:none}.received-pos-page tr{border:1px solid #dce2e8;border-radius:7px;padding:8px;margin-bottom:12px}.received-pos-page td{border:0;padding:7px 4px}.received-pos-page td:before{content:attr(data-label);display:block;color:#58636f;font-weight:600;font-size:.76rem;margin-bottom:5px}.rpo-filters label{min-width:0;width:100%;max-width:none}.rpo-filters{display:block}.rpo-summary{display:block}.rpo-summary span{display:block;margin-top:5px}}
