.ce-record-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:12px 0}.ce-record-toolbar>label:first-child{flex:1;min-width:220px}.ce-record-toolbar label{display:grid;gap:6px;font-size:13px;font-weight:600}.ce-record-toolbar p{margin:8px auto 8px 0;color:#526c7f;font-size:13px}.ce-record-toolbar input,.ce-record-toolbar select,.ce-record-filters input{box-sizing:border-box;padding:7px 9px;border:1px solid #cbdbe6;border-radius:6px;background:#fff;color:#203c50;font:inherit;min-width:0}.ce-record-scroll{overflow:auto;max-height:65vh;border:1px solid #d7e2ea;border-radius:9px;background:#fff}.ce-record-table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px}.ce-record-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ce-record-table thead{position:sticky;top:0;z-index:2;background:#eaf2f8}.ce-record-table th,.ce-record-table td{padding:8px 10px;border-bottom:1px solid #dce6ed;border-right:1px solid #e7edf2;vertical-align:middle;line-height:1.4}.ce-record-table th{font-weight:650;white-space:nowrap}.ce-record-table th button{border:0;background:none;padding:2px 0;color:#294d64;font:inherit;white-space:nowrap}.ce-record-table td button{padding:5px 8px;font-size:12px;white-space:nowrap}.ce-record-table tbody tr:nth-child(even){background:#f7fafc}.ce-record-table tbody tr:hover{background:#eef6fc}.ce-record-table .ce-record-name{border:0;background:none;text-align:left;color:#12628e;padding:0;font-weight:650;white-space:normal;min-width:140px}.ce-record-table .ce-record-actions{display:flex;gap:5px}.ce-record-filters th{padding:5px 8px 8px}.ce-record-filters input{width:100%;min-width:90px;font-size:12px;font-weight:400}.ce-record-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:13px}.ce-record-pagination button{padding:7px 11px}.ce-record-pagination [data-record-clear]{margin-left:auto}.ce-staff-heading{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}.ce-staff-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.ce-staff-tabs [aria-current=page]{background:#154764;color:#fff;border-color:#154764}.ce-staff-filters{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.ce-staff-filters label{display:grid;gap:6px;min-width:180px}.ce-staff-assignment-list{max-height:50vh;overflow:auto}.ce-staff-import{margin-top:18px}.ce-staff-facts{display:grid;grid-template-columns:minmax(130px,200px) 1fr;gap:12px 20px}.ce-staff-facts dt{color:#587284}.ce-staff-facts dd{margin:0;overflow-wrap:anywhere}@media(max-width:650px){.ce-record-toolbar>label:first-child{min-width:100%}.ce-record-scroll{max-height:70vh}.ce-staff-filters label{width:100%}.ce-staff-facts{grid-template-columns:1fr;gap:5px}.ce-staff-facts dd{margin-bottom:12px}}

.access .ce-record-filters input{padding:6px 8px;font-size:12px}.access .ce-record-toolbar select{padding:6px 9px;font-size:13px}.ce-record-toolbar{margin:8px 0}

.ce-record-table td:first-child{min-width:0}
.ce-record-table .ce-record-number{width:106px;min-width:106px;max-width:106px;overflow-wrap:anywhere}
.ce-record-table .ce-record-number input{width:84px;min-width:0;max-width:84px}
.ce-staff-tabs button,.company-tabs button,.ce-object-tabs button{background:#fff;color:#153d59;border:1px solid #adc2d2;border-radius:8px;padding:10px 14px;font-weight:600}
.ce-staff-tabs button:hover,.company-tabs button:hover,.ce-object-tabs button:hover{background:#eaf3f9;color:#153d59}
.ce-staff-tabs button[aria-current=page],.company-tabs button[aria-selected=true],.ce-object-tabs button[aria-current=page]{background:#154764;color:#fff;border-color:#154764}
.ce-staff-tabs button:focus-visible,.company-tabs button:focus-visible,.ce-object-tabs button:focus-visible{outline:3px solid #247aad;outline-offset:3px}

.ce-record-table .ce-record-assigned{width:110px;min-width:110px;max-width:110px;text-align:center}.ce-record-table .ce-record-assigned input[type=search]{width:84px;min-width:0}.ce-record-table .ce-record-assigned input[type=checkbox]{width:18px;height:18px;accent-color:#154764}

.ce-assignment{min-width:0}.ce-assignment .ce-record-table{min-width:850px}.ce-assignment .ce-record-table td:nth-child(3),.ce-assignment .ce-record-table td:nth-child(5){min-width:200px}.ce-assignment input[type=checkbox]{width:22px;height:22px;min-width:22px;cursor:pointer}.acc-editor, .acc-editor fieldset{min-width:0}
/* Shared data-list presentation: readable on tablets, horizontally scrollable. */
.ce-record-table{font-family:inherit;font-size:14px;color:#203c50;table-layout:auto}
.ce-record-table th,.ce-record-table td{min-width:120px;max-width:320px;overflow-wrap:break-word;padding:10px 12px}
.ce-record-table td small{display:block;color:#536d7d;font-size:12px;margin-top:5px}
.ce-record-table details{margin:0;max-width:300px}.ce-record-table summary{white-space:nowrap;cursor:pointer}
.ce-record-table .ce-record-quantity{min-width:82px;width:90px;font-variant-numeric:tabular-nums;text-align:right}
.ce-record-table .ce-record-contact{min-width:210px;overflow-wrap:anywhere}
.ce-record-table .ce-record-action-cell{min-width:170px;width:190px}
.ce-record-table .ce-record-action-cell button{display:block;margin:4px 0;white-space:nowrap;font-family:inherit}
.ce-record-table .directory-actions{display:block}.ce-record-table input,.ce-record-table select{font-family:inherit}
.ce-record-scroll:focus-visible{outline:3px solid #247aad;outline-offset:2px}
#companies,#directoryResults,#customerCards,#userList{min-width:0;max-width:100%}

.ce-record-table .ce-record-text{min-width:180px}.ce-record-table th.ce-record-number button{white-space:normal;text-align:left;line-height:1.3}
.ce-assignment-options{padding:12px 14px;margin:8px 0 16px;background:#eef5fa;border:1px solid #cfdeea;border-radius:9px}.ce-assignment-options label{display:flex;align-items:center;gap:10px}.ce-assignment-options p{font-size:13px;margin:7px 0 12px}.ce-assignment-options button{margin:0 8px 5px 0}

.ce-record-table th .ce-select-all{display:block;white-space:nowrap;border:1px solid #adc2d2;border-radius:7px;background:white;padding:8px 10px;margin:0 0 9px;color:#153d59;font:inherit}.ce-record-table th .ce-select-all[aria-pressed=true]{background:#154764;color:white;border-color:#154764}

#companies .ce-record-table .ce-company-status{width:88px;min-width:88px;max-width:88px}#companies .ce-record-table .ce-company-count{width:86px;min-width:86px;max-width:86px;padding-left:7px;padding-right:7px}#companies .ce-company-status input,#companies .ce-company-count input{box-sizing:border-box;width:100%;min-width:0;max-width:100%}#companies .ce-company-count th,#companies th.ce-company-count{white-space:normal}#companies th.ce-company-count button{white-space:normal;line-height:1.25}#companies td.ce-company-count{text-align:right;font-variant-numeric:tabular-nums}

#customers.ce-customer-detail>.ce-master-heading,#customers.ce-customer-detail>#customerCount,
#customerCount:empty,#ceObjectCount:empty{display:none}
main:has(>.page:not([hidden],.ce-customer-detail)>.ce-master-heading)>.intro{display:none}
.ce-master-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 12px}
.ce-master-heading h1{margin:0;font-size:clamp(22px,3vw,28px)}
.ce-master-heading button{margin-left:auto}
#customerCards .ce-record-table,#ceObjectList .ce-record-table{min-width:0;width:100%;table-layout:auto}
#customerCards .ce-record-table th,#customerCards .ce-record-table td,#ceObjectList .ce-record-table th,#ceObjectList .ce-record-table td{min-width:0;max-width:260px;white-space:normal;overflow-wrap:anywhere}
#customerCards .ce-record-filters input,#ceObjectList .ce-record-filters input{min-width:0;width:100%}
:is(#customerCards,#ceObjectList,[data-staff-list]) .ce-record-table .ce-record-name{display:inline-flex;align-items:center;min-width:0;min-height:30px;font-size:inherit;overflow-wrap:anywhere}
#customerCards .ce-record-table :is(th,td),#ceObjectList .ce-record-table :is(th,td){padding:5px 8px}


[data-staff-list] .ce-record-table{table-layout:fixed}
[data-staff-list] .ce-record-table :is(th,td){padding:5px 8px;min-width:0;max-width:none}
[data-staff-list] .ce-record-table th button{white-space:normal;text-align:left}
[data-staff-list] .ce-record-table .ce-staff-state{width:108px}

/* The first columns stay aligned across the three master lists. The address
   or assigned objects take the remaining space. */
.ce-master-list[data-customers-table]{--ce-master-min-width:1050px}
.ce-master-list#ceObjectList{--ce-master-min-width:1240px}
.ce-master-list[data-staff-list]{--ce-master-min-width:770px}
.ce-master-list>.ce-record-scroll{max-height:max(260px,calc(100dvh - 145px))}
#customerCards .ce-master-list .ce-record-table,.ce-master-list#ceObjectList .ce-record-table,.ce-master-list[data-staff-list] .ce-record-table{
 width:100%;
 min-width:var(--ce-master-min-width);
 table-layout:fixed;
}
.ce-master-list .ce-record-table th[data-record-heading]{box-sizing:border-box}
.ce-master-list .ce-record-table .ce-cell-value{max-width:none}
.ce-record-filters select,.ce-master-list .ce-record-filters input,[data-staff-list] .ce-record-filters input{
 box-sizing:border-box;width:100%;min-width:0;padding:7px 5px;border:1px solid #cbdbe6;border-radius:6px;background:#fff;color:#203c50;font:inherit;font-size:12px
}
.ce-master-list .ce-record-table th[data-record-heading="number"]{width:72px}
.ce-master-list .ce-record-table th[data-record-heading]:is([data-record-heading="name"],[data-record-heading="lastName"]){width:144px}
.ce-master-list .ce-record-table th[data-record-heading="contact"]{width:clamp(128px,9vw,200px)}
.ce-master-list .ce-record-table th[data-record-heading="company"]{width:clamp(122px,9vw,200px)}
.ce-master-list .ce-record-table th[data-record-heading="status"]{width:108px}
.ce-master-list .ce-record-table th[data-record-heading="email"]{width:clamp(148px,11vw,250px)}
.ce-master-list .ce-record-table th[data-record-heading="phone"]{width:104px}
.ce-master-list .ce-record-table th[data-record-heading="customer"]{width:clamp(132px,10vw,210px)}
.ce-master-list .ce-record-table th[data-record-heading="objectType"]{width:106px}
.ce-master-list .ce-record-table th[data-record-heading="projects"]{width:clamp(110px,9vw,190px)}
.ce-master-list .ce-record-table th[data-record-heading="workplaces"]{width:101px}
.ce-master-list[data-staff-list] .ce-record-table th[data-record-heading="workplaces"]{width:clamp(185px,24vw,410px)}
.ce-master-list .ce-record-table th[data-record-heading="rooms"],[data-customers-table] .ce-record-table th[data-record-heading="objects"]{width:64px}
