.seller-listings-panel{grid-column:1/-1;min-width:0}
.seller-listings-panel>.member-request{min-width:0}
.seller-documents{margin-top:24px;min-width:0;background:#fff;border:1px solid #cbd5cd;border-radius:8px;overflow:hidden}
.seller-doc-heading{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#f7f9f7;border-bottom:1px solid #cbd5cd}
.seller-doc-heading h3{font-size:20px;margin:0 0 6px}
.seller-doc-heading p{margin:0;font-size:13px;color:#58675e}
.seller-doc-totals{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.seller-doc-totals>span{background:#e8eee9;color:#33533f;border-radius:4px;padding:6px 8px;white-space:nowrap}
.seller-doc-scroll{overflow-x:auto;max-width:100%;scrollbar-gutter:stable;overscroll-behavior-x:contain}
.seller-doc-scroll:focus-visible{outline:2px solid #387a52;outline-offset:-2px}
.seller-doc-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1110px;font-size:13px;text-align:left}
.seller-doc-table th,.seller-doc-table td{padding:13px 12px;border-right:1px solid #dce3dd;border-bottom:1px solid #dce3dd;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.seller-doc-table tr:last-child>*{border-bottom:0}
.seller-doc-table tr>:last-child{border-right:0}
.seller-doc-table thead th{background:#e9efea;color:#354c3d;font-size:12px;font-weight:700}
.seller-doc-table thead th:nth-child(1){width:42px}
.seller-doc-table thead th:nth-child(2){width:180px}
.seller-doc-table thead th:nth-child(3){width:188px}
.seller-doc-table thead th:nth-child(4){width:175px}
.seller-doc-table thead th:nth-child(5){width:132px}
.seller-doc-table thead th:nth-child(6){width:230px}
.seller-doc-table thead th:nth-child(7){width:145px}
.seller-doc-table tbody th{font-weight:600;background:#fbfcfb;color:#283a2e;line-height:1.6}
.seller-doc-table .seller-doc-number{background:#f0f4f0;color:#53675b;text-align:center;font-weight:600}
.seller-doc-table tbody tr:hover td{background:#f8fbf8}
.seller-doc-subtitle{display:block;margin-bottom:7px;font-weight:500;font-size:12px}
.seller-doc-file{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.seller-doc-file a{font-weight:600;color:#21653e;text-decoration:underline;text-underline-offset:3px}
.seller-doc-file span{width:100%;font-size:11px;color:#637269}
.seller-doc-date{display:block;margin-top:6px;font-size:11px;color:#64736b}
.seller-doc-empty{color:#718077;font-size:12px}
.seller-doc-badge{display:inline-block;padding:5px 8px;line-height:1.45;border-radius:4px;font-size:11px;font-weight:600;max-width:100%}
.doc-missing{color:#705741;background:#f2ece5}.doc-pending{color:#705e12;background:#f8f2d4}.doc-approved{color:#20613b;background:#e4f2e8}.doc-needs_fix{color:#9d3737;background:#fbe8e8}.doc-not_applicable{color:#536174;background:#eaf0f6}
.seller-doc-optional{display:flex;align-items:flex-start;gap:6px;margin-top:12px;font-size:11px;line-height:1.5}
.seller-doc-optional input{width:14px;height:14px;flex:0 0 14px;margin:2px 0 0}
.seller-doc-original{color:#20613b;font-weight:600}
.seller-doc-table textarea{display:block;min-height:68px;width:100%;resize:vertical;padding:8px;border:1px solid #d0dad2;border-radius:4px;font:inherit;background:#fff;color:#293e31}
.seller-doc-table textarea:focus{outline:2px solid #57936c;outline-offset:0}
.seller-doc-table textarea::placeholder{color:#6f7d74}
.seller-doc-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-start}
.seller-doc-actions button{padding:6px 8px;font-size:11px;white-space:nowrap;border-radius:4px;margin:0}
.seller-doc-review-note,.seller-doc-note-text{font-size:12px;line-height:1.55;white-space:pre-wrap;margin:8px 0 0}
.seller-doc-review-note{color:#8c3c31}
.seller-doc-row-result{display:block;font-size:12px;line-height:1.4;margin-top:6px;color:#39523f}
.seller-doc-feedback:empty{display:none}.seller-doc-feedback{padding:12px 20px;color:#285d3c;font-size:13px;background:#f4f8f5}
.seller-doc-guidance{font-size:12px!important;line-height:1.65;color:#69756d;background:transparent;font-weight:400;padding:12px 20px}
.seller-doc-guidance p{font-size:12px;line-height:1.65;margin:4px 0!important;color:inherit}
.seller-doc-dialog{width:min(1240px,96vw);max-height:90dvh;overflow-y:auto}
.seller-doc-preview{margin:16px 0;border:1px solid #d7dfd9;background:#f6f8f6;padding:12px;max-height:52vh;overflow:auto}
.seller-doc-preview img{max-width:100%;max-height:45vh;object-fit:contain;display:block;margin:auto}
.seller-doc-preview iframe{display:block;width:100%;height:44vh;border:0;background:white}
.seller-doc-preview p{font-size:12px;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:620px){.seller-doc-heading{padding:14px;align-items:flex-start}.seller-doc-guidance{padding:12px 14px}.seller-doc-dialog{padding:24px 14px}.seller-doc-table{min-width:1110px}.seller-doc-heading h3{font-size:18px}}

.seller-doc-option-help{display:block;margin-top:7px;color:#69756d;font-size:11px;line-height:1.6;font-weight:400;letter-spacing:0}

.transfer-section{border:0;padding:0;min-width:0}.seller-doc-view-link{font-weight:600;color:#21653e;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:13px}.seller-doc-optional{display:block}.seller-doc-optional select{margin-top:5px;width:100%;font-size:11px;padding:5px;white-space:normal}.seller-doc-guidance{border-top:0}.transfer-reviewed .seller-doc-option-help{margin-left:20px}

.transfer-section.seller-documents{border:1px solid #cbd5cd;border-radius:8px;padding:0;margin:24px 0}

.buyer-document-card{grid-column:1/-1;min-width:0}
.buyer-documents .seller-doc-heading{background:#f4f8fb}
.buyer-documents .seller-doc-table thead th{background:#e8f0f6;color:#304d62}
.buyer-doc-selection{display:block;margin:6px 0 10px;font-size:11px}
.buyer-doc-selection select{width:100%;font-size:11px;padding:6px;white-space:normal}
.buyer-doc-group-progress{display:block;margin-top:10px;font-size:11px;color:#42667e;font-weight:500}
.buyer-doc-add{margin-top:10px;font-size:11px!important}

/* Keep document operations visible inside the seller page's scrollable table. */
.seller-documents:not(.buyer-documents) .seller-doc-table thead th:last-child{width:170px;position:sticky;right:0;z-index:2;box-shadow:-3px 0 5px #263c3012}
.seller-documents:not(.buyer-documents) .seller-doc-table tbody td:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #263c3012;z-index:1}
.seller-doc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.seller-doc-actions button{min-height:36px;white-space:normal}
.seller-doc-actions [data-doc-review]{grid-column:1/-1;grid-row:1}
.seller-doc-actions [data-doc-save]{grid-column:1/-1}
.seller-doc-actions button:disabled{opacity:.45;cursor:not-allowed}
.seller-doc-history{padding:14px 20px;border-top:1px solid #dce3dd}
.seller-doc-history summary{cursor:pointer;font-weight:600}
.seller-doc-history article{padding:12px 0;border-bottom:1px solid #dce3dd}
.seller-doc-history p{font-size:13px;margin:6px 0;white-space:pre-wrap}
