/* Employee and user management V1; intentionally isolated from approved app styles. */
.orox-access-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-block:6px 14px}
.orox-access-filters label{display:grid;gap:5px;min-width:140px;flex:1 1 160px;font-size:.82rem;color:var(--text-muted,var(--muted,#96a4b8))}
.orox-access-filters input,.orox-access-filters select{min-width:0;width:100%;height:38px;border:1px solid var(--border,#354458);border-radius:10px;background:var(--surface,#152234);color:inherit;padding:5px 9px}
.orox-employee-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px;align-items:stretch}
.orox-employee-card{min-width:0;display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid var(--border,#354458);border-radius:16px;background:var(--surface,#142238)}
.orox-employee-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;min-width:0}
.orox-employee-card-meta{font-size:.91rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.orox-employee-card-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--text-muted,var(--muted,#96a4b8));font-size:.83rem}
.orox-employee-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-block-start:auto}
.orox-employee-card-actions .btn{min-height:34px}
.employee-onboarding h4{font-size:1rem;margin:15px 0 9px}
.employee-onboarding-advanced{margin-top:12px;border-top:1px solid var(--border,#354458);padding-top:10px}
.employee-onboarding-advanced summary{cursor:pointer;font-weight:650;padding:6px 0}
.employee-onboarding [hidden],.orox-employee-card[hidden],.settings-mobile-view tr[hidden]{display:none!important}
@media(max-width:600px){.orox-access-filters{gap:8px}.orox-access-filters label{min-width:calc(50% - 5px);flex-basis:calc(50% - 5px);font-size:.77rem}.orox-access-filters input,.orox-access-filters select{height:36px}.orox-employee-list{grid-template-columns:minmax(0,1fr);gap:9px}.orox-employee-card{padding:11px;border-radius:13px}}


/* Smart Employees V1: compact, readable, and isolated from other modules. */
.orox-employee-summary{margin-block:0 12px}
.orox-employee-summary .module-summary-block{margin:0}
.orox-employee-catalog-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:6px 0 12px}
.orox-employee-catalog-tools b{font-size:1rem}
.orox-department-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:9px;margin-bottom:13px}
.orox-department-list[hidden]{display:none!important}
.orox-department-card{min-width:0;min-height:60px;text-align:start;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border,#354458);border-radius:12px;background:var(--surface,#142238);color:inherit;padding:11px;cursor:pointer}
.orox-department-card:hover,.orox-department-card:focus-visible{border-color:var(--primary,#2979ff)}
.orox-department-card span:first-child{display:grid;gap:4px;min-width:0}
.orox-department-card b{font-size:.87rem;overflow-wrap:anywhere}
.orox-department-card small{font-size:.76rem;color:var(--text-muted,var(--muted,#96a4b8));line-height:1.5;overflow-wrap:anywhere}
.orox-department-card .badge{white-space:nowrap}
.orox-employee-card .orox-employee-card-actions{gap:6px}
.orox-employee-review{padding:12px;border:1px solid var(--border,#354458);border-radius:12px;background:var(--surface,#142238);margin-block:12px 4px}
.orox-employee-review b{font-size:.88rem}
.orox-employee-review p{margin:6px 0 0;font-size:.81rem;line-height:1.6;overflow-wrap:anywhere}
.orox-employee-role-hint{margin:5px 0 11px;display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:.82rem}
.orox-access-warning{color:var(--warning,#c98932)}
.orox-employee-success{display:grid;gap:9px;margin:12px 0;padding:13px;border:1px solid var(--border,#354458);border-radius:12px;background:var(--surface,#142238)}
.orox-employee-success b{font-size:1rem}
.orox-employee-success p{margin:0;font-size:.85rem}
.orox-employee-success .action-row{display:flex;flex-wrap:wrap;gap:8px}
.employee-onboarding .form-grid{align-items:start}
.employee-onboarding .form-grid>*{min-width:0}
.employee-onboarding [data-employee-account-new]>.form-grid{margin-top:8px}
.employee-onboarding [data-employee-account-existing]{margin-top:8px}
@media(max-width:600px){
  .orox-employee-catalog-tools{gap:6px}
  .orox-employee-summary{margin-bottom:8px}
  .orox-department-list{grid-template-columns:minmax(0,1fr)}
  .orox-employee-role-hint{font-size:.78rem}
  .orox-employee-review{padding:10px}
  .orox-employee-success .btn{flex:1 1 150px}
  .employee-onboarding .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .employee-onboarding .form-grid .full{grid-column:1/-1}
  .employee-onboarding .form-field{min-width:0}
}
