/* D28 Owner employees only; source roles, access, rates and commands remain native. */
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #surface-title {font:700 28px/1.25 'Plus Jakarta Sans Catalog',sans-serif;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .v2-hr {font:400 14px/22px 'Plus Jakarta Sans Catalog',sans-serif;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .v2-hr :is(input,select,textarea) {font:400 16px/24px 'Plus Jakarta Sans Catalog',sans-serif;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .v2-hr :is(button,.button) {font-family:'Plus Jakarta Sans Catalog',sans-serif;font-weight:600;min-height:44px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .v2-hr :is(h3,h4,.native-person-link strong) {font-family:'Plus Jakarta Sans Catalog',sans-serif;font-weight:700;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-workspace {padding:0;margin:0;gap:24px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-toolbar {padding:20px;gap:16px;grid-template-columns:minmax(200px,1.3fr) minmax(150px,1fr) minmax(180px,1fr) auto;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-toolbar label {font-size:14px;line-height:22px;font-weight:500;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-total {font-size:12px;line-height:18px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table tbody th {position:static;top:auto;text-transform:none;letter-spacing:normal;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table :is(th,td) {font-size:14px;line-height:22px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table .native-status {font-size:14px;line-height:20px;font-weight:500;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table .native-person-link strong {font-size:16px;line-height:24px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table .native-person-link small {font-size:12px;line-height:18px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table .v2-hr-rate-warning {font-size:14px;line-height:22px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog {font-family:'Plus Jakarta Sans Catalog',sans-serif;font-size:14px;line-height:22px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog h3 {font:700 22px/30px 'Plus Jakarta Sans Catalog',sans-serif;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-employee-heading {padding:12px 36px 20px 0;gap:16px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-boundary-note {font-size:14px;line-height:22px;color:#626762;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-detail-tabs {gap:4px;margin:16px 0;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-detail-tabs button {font-size:14px;min-width:0;padding:10px 8px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-form {gap:16px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-form label {font-size:14px;line-height:22px;}
body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .v2-hr-employee-menu .feather {flex:none;width:20px;height:20px;}
@media(min-width:1100px) {
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog {width:400px;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .v2-hr:has(#native-employee-dialog[open]) #native-staff-panel {padding-right:420px;}
}
@media(max-width:700px) {
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #surface-title {font-size:22px;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-workspace {gap:20px;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-toolbar {padding:0;gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table tbody {gap:16px;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table .v2-hr-mobile-field-label {font-size:14px;line-height:22px;flex-basis:44%;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table tbody td:last-child>.button {font-size:14px;right:12px;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog {inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;padding:20px 16px 24px;}
}

/* Keep native table headers in the same row and native guarded close within reach. */
@media(min-width:701px) {
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table thead th {display:table-cell;vertical-align:middle;white-space:nowrap;text-transform:none;letter-spacing:normal;font-weight:500;}
}
@media(max-width:700px) {
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .v2-hr-employee-back {position:absolute;top:12px;left:16px;right:auto;display:grid;place-items:center;width:44px;height:44px;z-index:5;}
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) #native-employee-dialog .native-employee-heading {padding-top:56px;padding-right:0;}
}

@media(min-width:701px) {
 body.surface-dashboard:has([data-v2-destination="D28"][aria-current="page"]) .native-team-table td:last-child>.button {white-space:nowrap;}
}
