[hidden]{display:none!important}.identity-strip{display:flex;gap:25px;flex-wrap:wrap;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px}.readout{padding:11px 14px;background:#edf3ff;border:1px solid #dce7ff;color:#255ed9;border-radius:6px;font-weight:650}.upload-zone{padding:28px;border:2px dashed #b8cce9;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:10px;background:#f8fbff;cursor:pointer}.upload-zone:focus,.upload-zone.dragging{border-color:#255ed9;background:#eaf2ff}.upload-zone input{max-width:320px;font-size:12px}.payment-image{padding:10px;align-items:flex-start;flex-direction:column}.image-button{border:0;padding:0;display:flex;flex-direction:column;gap:8px;white-space:normal;font-size:11px;font-weight:400;max-width:170px;text-align:left}.attachment .image-button img{width:160px;height:110px;object-fit:contain;background:#f0f3f8}.image-viewer{width:100%;height:auto;max-height:72vh;object-fit:contain}.modal:has(.image-viewer){width:min(1100px,96vw)}.spaced{margin-top:20px}.review-confirm{margin:22px 0}.legacy-details{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}details summary{cursor:pointer;color:#255ed9;font-size:13px;padding:10px 0}details .kv{margin-top:20px}.result-label{padding:13px 22px;font-size:12px;color:var(--muted);border-bottom:1px solid #edf0f5}.clickable-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.clickable-stats .stat{display:block;text-align:left;font-weight:400;min-width:0}.clickable-stats .stat-label,.clickable-stats .stat-number{display:block}.clickable-stats .selected{border-color:#7399e9;background:#f1f6ff}.clickable-stats .selected .stat-number{color:#255ed9}.stat .stat-number{overflow-wrap:anywhere}.sidebar nav a{font-size:13px}.sidebar nav a .nav-icon{flex-shrink:0}.table-sub{line-height:1.7}
@media(max-width:1000px){.clickable-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-strip{gap:10px;flex-direction:column}.stat-number{font-size:23px}}@media(max-width:760px){.clickable-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-strip{padding:15px}.upload-zone{padding:20px 12px;text-align:center}.upload-zone strong{font-size:12px}.stat-number{font-size:21px}.image-button{max-width:130px}.attachment .image-button img{width:125px;height:90px}.statistics-form .filters{flex-direction:column}}

/* Third-round single-field searchable issuer picker. */
.card:has(.issuer-combo){overflow:visible}
.issuer-combo{position:relative}
.combo-options{position:absolute;top:78px;left:0;right:0;z-index:40;max-height:320px;overflow:auto;border:1px solid #cbd5df;background:#fff;border-radius:10px;box-shadow:0 12px 32px #17345025}
.combo-options[hidden]{display:none}
.combo-options button{display:block;width:100%;border:0;border-radius:0;text-align:left;white-space:normal;padding:12px 14px;font-weight:400}
.combo-options button:hover,.combo-options button.active{background:#e9f5f2;color:#135b4e}
.combo-options small{float:right;margin-left:8px}.combo-empty{padding:16px;color:#6b7789}
.clickable-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

tfoot{background:#eef4fc;border-top:2px solid #bfd0e8}tfoot th{padding:16px;vertical-align:top}tfoot small{display:block;color:#5b6c85;font-weight:400;margin-top:6px}.totals-hint{padding:0 18px 16px;color:#617086;font-size:13px}.required-missing{color:#b42318!important;font-weight:650}.before-cleanup{white-space:pre-wrap;background:#fff4dc}#buyer-cleanup-feedback{display:block;margin-top:12px;color:#526c8d}

/* Customer lookup and finance note additions only. */
.customer-input-wrap{position:relative;min-width:0}.customer-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:45;max-height:300px;overflow:auto;border:1px solid #c6d7ea;border-radius:9px;background:#fff;box-shadow:0 12px 30px #17345025}.customer-options[hidden],.customer-reference-status [hidden]{display:none!important}.customer-options button{display:block;width:100%;border:0;border-radius:0;padding:11px 13px;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.customer-options button:hover,.customer-options button.active{background:#edf4ff}.customer-options strong,.customer-options small{display:block}.customer-options strong{font-weight:600}.customer-empty{padding:14px;color:#64758a;font-size:12px;line-height:1.8}.customer-reference-status{margin-top:14px;display:grid;gap:10px}.customer-reference-status .check{flex-wrap:wrap}.customer-reference-status .check small{flex-basis:100%;padding-left:27px}.customer-pagination{padding:16px 20px;display:flex;align-items:center;justify-content:flex-end;gap:14px}.invoice-note{margin:22px 0;padding:20px;border:1px solid #d4e1f2;background:#f7faff;border-radius:9px}.invoice-note h3{margin-bottom:8px}.invoice-note p{font-size:12px;margin-bottom:14px}.invoice-note textarea{min-height:96px;background:#fff}.invoice-note-counter{font-size:12px;color:#61728a;margin:8px 0 12px}.invoice-note-value{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}
@media(max-width:760px){.invoice-note{padding:15px}.customer-pagination{padding:14px;justify-content:center;gap:10px}}
