/* Scoped TRN register layout uses the main application's table and action styles. */
.trn-mismatches .trn-mismatch-hero{border:1px solid #c5dce7;border-radius:15px;background:linear-gradient(110deg,#fff,#f0f9f9);margin-bottom:16px;padding:20px}.trn-mismatch-hero .page-head{margin:0}.trn-mismatch-filters{display:flex;align-items:end;gap:8px;flex-wrap:nowrap}.trn-mismatch-filters label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:600;color:#24475e}.trn-mismatch-filters label:first-child{flex:1}.trn-mismatch-filters label:not(:first-child){width:150px}.trn-mismatch-filters input,.trn-mismatch-filters select{width:100%;min-width:0;height:42px;padding:8px 10px;border:1px solid #c5d7e7;border-radius:8px;background:white;color:#173b63;font:inherit}.trn-mismatch-filters button{height:42px;white-space:nowrap}.trn-record-count{padding:10px;white-space:nowrap;font-size:13px;color:#245779;background:#eef5ff;border:1px solid #bed7f5;border-radius:8px}.trn-mismatch-table .table-scroll{max-height:65vh;overflow:auto;scrollbar-gutter:auto}.trn-mismatch-table .data-table{min-width:1550px;table-layout:fixed}.trn-mismatch-table th,.trn-mismatch-table td{vertical-align:top;overflow-wrap:anywhere}.trn-mismatch-table th:first-child,.trn-mismatch-table td:first-child{width:42px}.trn-mismatch-table th:nth-child(2),.trn-mismatch-table td:nth-child(2){width:60px}.trn-mismatch-table th:nth-child(4),.trn-mismatch-table td:nth-child(4){width:250px}.trn-mismatch-table th:nth-child(n+6):nth-child(-n+7),.trn-mismatch-table td:nth-child(n+6):nth-child(-n+7){width:137px;white-space:nowrap}.trn-mismatch-table th:last-child,.trn-mismatch-table td:last-child{position:sticky;right:0;width:70px;text-align:center;background:#fff;z-index:2}.trn-mismatch-table th:last-child{background:#eff4f9;z-index:4}.trn-mismatch-dialog{width:min(1200px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #b5cedf;border-radius:14px;color:#173b63;background:white;box-shadow:0 20px 65px #15334b44}.trn-mismatch-dialog::backdrop{background:#16334366}.trn-mismatch-dialog header,.trn-mismatch-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:white}.trn-mismatch-dialog header{border-bottom:1px solid #c9dbe8}.trn-mismatch-dialog header h2{font-size:20px;margin:0}.trn-mismatch-dialog footer{justify-content:flex-end;border-top:1px solid #c9dbe8}.trn-dialog-body{padding:16px 20px;max-height:65vh;overflow:auto}.trn-source-scroll{overflow:auto}.trn-source-scroll table{min-width:1150px}.trn-mismatch-dialog [data-trn-error]{color:#a32232;background:#fff3f4;padding:12px;border:1px solid #e9b4bb;border-radius:8px}.trn-mismatch-dialog button{cursor:pointer}.trn-mismatch-dialog .danger{background:#b52638;color:white;border:1px solid #a32132;border-radius:8px;padding:10px 16px}@media(max-width:900px){.trn-mismatch-filters{flex-wrap:wrap}.trn-mismatch-filters label:first-child{flex-basis:100%}.trn-mismatch-filters label:not(:first-child){flex:1;width:auto}.trn-mismatch-hero .page-head{gap:16px;flex-wrap:wrap}.trn-mismatches .trn-mismatch-hero{padding:16px}}@media(max-width:580px){.trn-mismatch-filters button{flex:1}.trn-record-count{font-size:12px}.trn-mismatch-dialog header,.trn-mismatch-dialog footer{padding:13px}.trn-dialog-body{padding:12px}.trn-mismatch-dialog header h2{font-size:18px}}

/* Keep inherited register minimums from expanding identifier columns or hiding Actions. */
body .trn-mismatch-table .table-scroll .data-table{width:100%!important;min-width:1550px!important;table-layout:fixed!important}body .trn-mismatch-table .data-table th,body .trn-mismatch-table .data-table td{width:auto!important;min-width:0!important;max-width:none;white-space:normal}body .trn-mismatch-table .data-table thead th{z-index:2!important}body .trn-mismatch-table .data-table th:last-child{z-index:5!important}body .trn-mismatch-table .data-table td:last-child{z-index:3!important}body .trn-mismatch-table .data-table td:nth-child(n+6):nth-child(-n+7){white-space:nowrap}@media(max-width:900px){.trn-mismatch-filters label:not(:first-child){flex:1 1 calc(50% - 8px);width:auto}}

body .trn-mismatch-table .data-table th:last-child{white-space:nowrap!important}

.trn-edit-records{display:grid;gap:18px}.trn-edit-records fieldset{min-width:0;padding:16px;border:1px solid #bcd3e6;border-radius:10px}.trn-edit-records legend{font-weight:700;padding:0 6px}.trn-edit-records fieldset>p{margin:0 0 12px;font-size:13px}.trn-edit-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.trn-edit-grid label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:600}.trn-edit-grid input,.trn-edit-grid textarea{width:100%;min-width:0;padding:10px;border:1px solid #bcd0e5;border-radius:8px;color:#173b63;background:#fff;font:inherit}.trn-edit-grid .trn-edit-remarks{grid-column:1/-1}.trn-edit-grid textarea{resize:vertical}.trn-edit-grid :focus-visible{outline:3px solid #25abb8;outline-offset:2px}.trn-edit-records fieldset:disabled{opacity:.8}@media(max-width:800px){.trn-edit-grid{grid-template-columns:1fr 1fr}}@media(max-width:500px){.trn-edit-grid{grid-template-columns:1fr}.trn-edit-records fieldset{padding:12px}}
