/* Keep all workspace record tables aligned without changing input alignment. */
#main table th,#main table td,
dialog table th,dialog table td{ text-align:center;vertical-align:middle; }
#main table td :is(.person,.person-cell,.member-cell,.product-cell,.attendance-record-actions),
dialog table td :is(.person,.person-cell,.member-cell,.product-cell){justify-content:center;text-align:center}
#main table td :is(.person,.person-cell,.member-cell,.product-cell)>div,
dialog table td :is(.person,.person-cell,.member-cell,.product-cell)>div{text-align:center}
#main table td .text-link,dialog table td .text-link{text-align:center}
#main .workspace-groups table td:last-child .button{margin:3px}
#people-table .member-list-photo{width:70px;min-width:70px}
#people-table .member-list-avatar{display:inline-grid;place-items:center;width:42px;height:42px;margin:auto;overflow:hidden}
#people-table .member-list-avatar .employee-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}
#people-table .member-list-avatar .icon{width:22px;height:22px}
#people-table .member-list-contact{min-width:120px;white-space:nowrap}
#people-table .member-list-email{min-width:200px;white-space:nowrap}
.workspace-settings .workspace-setting-add,
.workspace-settings [data-action="store-add"],
.workspace-settings [data-action="pattern-add"]{min-height:38px;padding:9px 14px;font-size:12px}
.workspace-settings .workspace-setting-edit{min-height:30px}
.dashboard-layout-entry{display:flex;align-items:center;justify-content:space-between;gap:18px}
.dashboard-layout-dialog{width:min(800px,calc(100vw - 32px));max-width:800px;overflow:auto}
.dashboard-layout-dialog .dialog-head{gap:16px}
.dashboard-layout-dialog .form-actions{position:sticky;bottom:-27px;background:white;padding:18px 0 6px;flex-wrap:wrap;border-top:1px solid var(--border);z-index:1}
.dashboard-layout-dialog .form-error:empty,#company-week-form .form-error:empty{display:none}
.company-week-note{margin-top:14px}
#company-week-form>.field{max-width:350px}
.attendance-management-metrics .attendance-weekly-average-note{display:block;font-size:10px;line-height:1.7;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}
#main table td .attendance-record-location{display:block;color:#456ca9;font-size:10px;line-height:1.5;margin-top:4px}
#main table td.group-address{min-width:160px;max-width:300px;overflow-wrap:anywhere;white-space:normal}
@media(max-width:650px){
 .dashboard-layout-entry{align-items:flex-start;flex-direction:column;gap:14px}
 .dashboard-layout-dialog{padding:18px}
 .dashboard-layout-dialog .dialog-head h2{font-size:17px}
 .dashboard-layout-dialog .form-actions{bottom:-18px;padding-bottom:0}
 .dashboard-layout-dialog .form-actions .button{flex:1;min-height:40px}
 .dashboard-layout-dialog .form-actions [data-layout-reset]{flex-basis:100%}
}
