.buyer-base {border-top:1px solid #dce2e7;margin-top:24px;padding-top:20px;min-width:0}
.buyer-base-heading,.buyer-base-actions {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.buyer-base-heading h3 {font-size:18px;margin:0;letter-spacing:0}.buyer-base-actions button {display:inline-flex;align-items:center;gap:7px;min-height:38px;white-space:normal}
.buyer-base svg,.buyer-dialog svg {width:17px;height:17px;flex-shrink:0}
.buyer-base-filters {display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}
.buyer-base-filters label {display:grid;gap:5px;font-size:13px;min-width:180px;max-width:100%;flex:1 1 200px}
.buyer-base-filters input,.buyer-base-filters select,.buyer-form input:not([type=checkbox]) {width:100%;min-width:0;min-height:42px;border:1px solid #aeb9c2;border-radius:6px;padding:9px;background:#fff;color:#20272d;font-size:14px;box-sizing:border-box}
.buyer-table-scroll {max-height:600px;overflow:auto;border:1px solid #dce2e7;border-radius:6px;overscroll-behavior:contain}
.buyer-table-scroll table {min-width:840px;width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.buyer-table-scroll th {position:sticky;top:0;background:#f2f5f7;z-index:1}
.buyer-table-scroll th,.buyer-table-scroll td {padding:12px;border-bottom:1px solid #e3e8eb;vertical-align:top;max-width:360px;overflow-wrap:anywhere}
.buyer-table-scroll small,.buyer-records span {display:block;color:#59636e;margin-top:4px}.buyer-table-scroll summary {cursor:pointer;color:#145b81;min-width:120px}
.buyer-inline-check {display:flex;align-items:center;gap:8px;min-width:120px}.buyer-inline-check input {width:18px;height:18px;flex-shrink:0}
.buyer-records {padding-left:18px;min-width:210px}.buyer-records li {padding:8px 0;border-bottom:1px solid #e3e8eb}.buyer-records button {margin-top:6px}
.buyer-dialog {width:min(650px,calc(100% - 24px));max-height:90dvh;overflow:auto;background:#fff;color:#20272d;border:1px solid #cbd3da;border-radius:8px;padding:20px;box-sizing:border-box}
.buyer-dialog::backdrop {background:rgb(0 0 0 / 45%)}.buyer-dialog * {box-sizing:border-box;letter-spacing:0}.buyer-dialog h2 {font-size:20px;margin:0;line-height:1.3}
.buyer-dialog>.buyer-base-heading {flex-wrap:nowrap;align-items:flex-start}.buyer-dialog>.buyer-base-heading h2 {flex:1;min-width:0}.buyer-dialog>.buyer-base-heading button {flex:0 0 36px;width:36px;height:36px}
.buyer-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.buyer-form>label:not(.buyer-check) {display:grid;gap:6px;min-width:0;font-size:13px}
.buyer-wide,.buyer-check {grid-column:1/-1}.buyer-dialog .buyer-check {display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-size:13px;margin:8px 0}.buyer-check input {width:18px;height:18px;flex:0 0 18px;margin:2px 0}
.buyer-dialog button {min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:normal}.buyer-dialog dl {display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px;font-size:14px}.buyer-dialog dd {margin:0;overflow-wrap:anywhere}.buyer-dialog dt {color:#59636e}.buyer-dialog p {font-size:13px;line-height:1.5}
.buyer-base [role=status],.buyer-dialog [role=status] {font-size:13px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:540px){.buyer-form {grid-template-columns:minmax(0,1fr)}.buyer-base-actions {justify-content:flex-start}.buyer-dialog {padding:16px}.buyer-dialog dl {grid-template-columns:100px minmax(0,1fr)}}
