/* Shared platform table appearance. Screen-only: printed reports retain their layout.
   Presentation only; editable rows, selection, sorting and paging keep their handlers. */
@media screen {
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only){--platform-table-inset:16px;--platform-table-border:#cfdbe8;--platform-table-accent:#2563eb}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable){
 width:100%;border-collapse:separate!important;border-spacing:0!important;
 background:#fff!important;color:#28384e;font-family:inherit;text-align:start;
}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) thead tr:first-child th{
 padding:12px 10px!important;background:linear-gradient(180deg,#edf3f9,#e6eef7)!important;
 color:#32445b!important;border-bottom:2px solid #bfcddd!important;
 font-size:11px!important;font-weight:900!important;letter-spacing:0!important;
 text-transform:none!important;line-height:1.4!important;
}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) :is(th,td){border-inline-start:0!important;border-inline-end:1px solid #e7edf4!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) :is(th,td):last-child{border-inline-end:0!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) td{padding:11px 10px!important;color:#28384e!important;border-bottom:1px solid #e3eaf2!important;font-size:12.1px!important;line-height:1.5!important;vertical-align:middle}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) tbody tr:nth-child(even)>td{background:#fbfcfe!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) tbody tr:hover>td{background:#f1f6fc!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) tbody tr:is(.row-selected,.selected)>td{background:#eaf2ff!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) :is(.module-column-filter-row,.module-table-filter-row,.facility-column-filter-row,.filter-row) th{padding:10px!important;background:#f1f6fc!important;border-bottom:2px solid #bfcddd!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) :is(.module-column-filter-row,.module-table-filter-row,.facility-column-filter-row,.filter-row) :is(input:not([type=checkbox]),select){
 box-sizing:border-box;width:100%;min-height:40px!important;border:1px solid #cfdbe8!important;border-radius:11px!important;
 background:#fff!important;color:#28384e!important;padding:8px 10px!important;font-family:inherit;font-size:12px!important;
}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) :is(input,select,button):focus-visible{outline:2px solid #93b6ef;outline-offset:2px}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(table,table#dataTable) .module-empty-row td{height:200px!important;padding:24px!important;text-align:center!important;background:#fbfdff!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.table-wrap,.table-scroll-outer){
 border:1.5px solid var(--platform-table-border)!important;border-radius:15px!important;background:#fff!important;
 margin:var(--platform-table-inset)!important;width:calc(100% - 2 * var(--platform-table-inset));max-width:calc(100% - 2 * var(--platform-table-inset));
 box-sizing:border-box;overflow:auto!important;box-shadow:0 5px 13px rgba(31,49,75,.028)!important;
}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) .module-table-toolbar + .table-wrap{margin-block-start:0!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.module-table-toolbar,.facility-table-toolbar,.hr96-toolbar,#tableWrapper .toolbar){display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:var(--platform-table-inset)!important;background:#fff!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.module-table-toolbar,.facility-table-toolbar,.hr96-toolbar,#tableWrapper .toolbar) :is(input,.btn,.cb,summary){min-height:40px!important;border:1px solid #cfdbe8!important;border-radius:12px!important;background:#fff!important;color:#40516a!important;font-family:inherit;font-size:12px!important;box-sizing:border-box}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.module-table-pagination,.facility-table-pagination,.facility-pagination,.pagination-bar){padding:0 var(--platform-table-inset) var(--platform-table-inset)!important;gap:12px;background:#fff!important;color:#657991!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.facility-page-button,.page-btn){min-width:36px!important;min-height:36px!important;border:1px solid #d7e3ef!important;border-radius:11px!important;background:#fff!important;color:#40516a!important;font:inherit}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.facility-page-button,.page-btn).active{background:var(--platform-table-accent)!important;border-color:var(--platform-table-accent)!important;color:#fff!important}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.facility-page-button,.page-btn):disabled{opacity:.45;cursor:default}
/* Already padded table bodies must not accumulate the CRM-specific inset. */
#appRoot #screen-crm.c117 [data-crm-table],#appRoot #screen-crm.c117 .c-body:has(> .table-wrap){padding:0}
}
@media screen and (max-width:650px){
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only){--platform-table-inset:10px}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) .module-table-toolbar>input{min-width:0!important;flex-basis:100%;width:100%}
:is(#appRoot,#tableWrapper,dialog,.workspace-content-only) :is(.module-table-pagination,.facility-table-pagination,.facility-pagination){grid-template-columns:1fr;flex-wrap:wrap}
}
