/* Shared spreadsheet density for operational tables, including record lists and dialogs. */
.data-sheet-scroll{max-width:100%;max-height:64vh;overflow:auto;overscroll-behavior:contain;border:1px solid #c7d7e0;border-radius:5px;isolation:isolate;background:#fff}
.data-sheet-table{width:100%;min-width:680px;border-collapse:separate!important;border-spacing:0;table-layout:auto;margin:0!important}
.data-sheet-table>thead{position:sticky;top:0;z-index:3}
.data-sheet-table>thead>tr>th{background:#eaf1f5;color:#254c60;font-weight:650;white-space:nowrap;border-top:0;box-shadow:0 1px 0 #b9ccd7}
.data-sheet-table th,.data-sheet-table td{padding:6px 9px!important;border-right:1px solid #dce5eb!important;border-bottom:1px solid #dce5eb!important;font-size:12px!important;line-height:1.4;vertical-align:middle!important;text-align:left;white-space:nowrap}
.data-sheet-table th:last-child,.data-sheet-table td:last-child{border-right:0!important}
.data-sheet-table>tbody>tr:last-child>td{border-bottom:0!important}
.data-sheet-table>tbody>tr:hover{outline:1px solid #7db5c5;outline-offset:-1px}
.data-sheet-table .record-cell{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:390px;word-break:normal}
.data-sheet-table .record-number{text-align:right;width:38px;font-variant-numeric:tabular-nums;background:#f0f5f8}
.data-sheet-table td .btn{display:inline-flex;align-items:center;justify-content:center;min-height:28px!important;padding:4px 8px!important;margin:1px 4px 1px 0;font-size:11px!important;line-height:1.25;white-space:nowrap;word-break:normal;border-radius:4px}
.data-sheet-table th>button{min-height:25px!important;font:inherit;white-space:nowrap}
.data-sheet-table td .sub,.data-sheet-table td small{font-size:11px;line-height:1.35;white-space:nowrap}
.data-sheet-table td p{margin:2px 0}.data-sheet-table td .pill,.data-sheet-table td .badge{white-space:nowrap}
.record-sheet .record-toolbar{padding:9px 12px;gap:10px}.record-sheet .record-toolbar input,.record-sheet .record-toolbar select{min-height:33px;padding:6px 9px;border-radius:4px}.record-sheet .record-toolbar label{gap:3px}.record-sheet .record-toolbar>span{font-size:11px}.record-sheet .record-footer{padding:8px 12px;font-size:11px}.record-sheet .record-footer .btn{min-height:29px;padding:4px 9px;font-size:11px}.record-sheet>.record-toolbar{border-bottom:1px solid #c7d7e0}.record-sheet .data-sheet-scroll{border-radius:0;border-left:0;border-right:0}.record-sheet{border-radius:7px}
.modalbody .data-sheet-scroll{max-height:45vh}.data-sheet-scroll:focus-visible{outline:2px solid #138799;outline-offset:-2px}
@media(max-width:700px){.data-sheet-scroll{max-height:68vh}.data-sheet-table th,.data-sheet-table td{padding:6px 8px!important}.record-sheet .record-toolbar{padding:9px}.record-sheet .record-toolbar label:first-child{min-width:150px}.record-sheet .record-toolbar>span{flex-basis:auto}}
@media print{.data-sheet-scroll{overflow:visible;max-height:none;border:0}.data-sheet-table{min-width:0!important;border-collapse:collapse!important}.data-sheet-table>thead{position:static}.data-sheet-table th,.data-sheet-table td{white-space:normal}.data-sheet-table .record-cell{white-space:normal;overflow:visible;max-width:none}}

.data-sheet-table tr[hidden]{display:none!important}.native-sheet-controls{padding:9px 12px;background:#f4f8fa;border:1px solid #c7d7e0;border-bottom:0;border-radius:5px 5px 0 0}.native-sheet-controls input,.native-sheet-controls select{min-height:32px!important;padding:5px 8px!important}.native-sheet-footer{border:1px solid #c7d7e0;border-top:0;background:white;border-radius:0 0 5px 5px;padding:8px 12px}.native-sheet-footer>div{display:flex;align-items:center;gap:8px}.native-sheet-footer .btn{min-height:29px;font-size:11px}.data-sheet-table th>[data-native-sheet-sort]{border:0;background:transparent;color:inherit;font-weight:650;padding:0;cursor:pointer}@media print{.native-sheet-controls,.native-sheet-footer{display:none!important}.data-sheet-table tr[hidden]{display:table-row!important}}
