/* R196: scoped HR employee popup & compact registry. No transaction styles changed. */
.hr184-workspace .hr184-page-head{margin:0 0 10px!important;padding:2px 0!important;gap:10px!important;min-height:47px!important}
.hr184-workspace .hr184-title-icon{width:42px!important;height:42px!important;border-radius:10px!important}
.hr184-workspace .hr184-page-head h1{font-size:21px!important;margin:0!important;line-height:1.2!important}
.hr184-workspace .hr184-page-head p{font-size:11px!important;margin:2px 0 0!important}
.hr184-workspace .hr184-overview{display:block!important;margin:0 0 12px!important;padding:0!important}
.hr184-workspace .hr184-summary-strip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;min-height:62px!important;border:1px solid #dcebe4!important;border-radius:10px!important;padding:4px 8px!important;background:#fff!important;box-shadow:none!important}
.hr184-workspace .hr184-summary-item{min-height:50px!important;padding:4px 16px!important;margin:0!important;gap:11px!important;display:flex!important;align-items:center!important;border-right:1px solid #dcebe4!important;box-shadow:none!important}
.hr184-workspace .hr184-summary-item:last-child{border-right:0!important}
.hr184-workspace .hr184-metric-icon{width:33px!important;height:33px!important;min-width:33px!important;border-radius:9px!important}
.hr184-workspace .hr184-metric-icon svg{width:20px!important;height:20px!important}
.hr184-workspace .hr184-summary-item label{font-size:11px!important;line-height:1.25!important}
.hr184-workspace .hr184-summary-item strong{font-size:21px!important;line-height:1.15!important}
.hr184-workspace .hr184-summary-item strong small{font-size:11px!important}
.hr184-workspace .hr184-summary-item>div>small{display:none!important}
.hr184-workspace .hr184-note{display:none!important}
.hr184-workspace .hr184-registry-panel{padding:10px 12px!important;min-height:0!important}
.hr184-workspace .hr184-panel-title{margin-bottom:7px!important;min-height:35px!important;padding:0 2px!important}
.hr184-workspace .hr184-filters{gap:7px!important;margin-bottom:8px!important;padding:0!important}
.hr184-workspace .hr184-table th,.hr184-workspace .hr184-table td{padding-top:6px!important;padding-bottom:6px!important;line-height:1.2!important}
.hr184-workspace .hr-pagination{padding:8px 4px!important}
.hr184-workspace .hr185-employee-row-actions{display:flex;align-items:center;gap:4px}
.hr184-workspace .hr-hub-row-menu>div{min-width:175px;z-index:22}

.r196-employee-dialog{position:fixed;inset:0;margin:auto;width:min(1090px,calc(100vw - 36px));max-width:calc(100vw - 36px);height:min(92vh,980px);max-height:92vh;border:0;border-radius:17px;box-shadow:0 25px 75px #001f144f;padding:0;background:#fff;color:#123b27;overflow:hidden;z-index:5000;font-family:inherit}
.r196-employee-dialog::backdrop{background:rgba(0,23,15,.49);backdrop-filter:blur(2px)}
.r196-employee-form{height:100%;display:flex;flex-direction:column;min-height:0}
.r196-modal-head{flex:0 0 auto;min-height:67px;display:flex;align-items:center;gap:13px;padding:11px 22px;background:linear-gradient(105deg,#008d51,#00613f);color:white}
.r196-hero-icon{display:flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:11px;background:#ffffff20}
.r196-hero-icon svg{height:29px;width:29px}
.r196-modal-head h2{font-size:22px;line-height:1.22;font-weight:800;margin:0;color:#fff}
.r196-modal-head p{font-size:12px;color:#e8fff1;margin:3px 0 0}
.r196-close{border:0;background:#ffffff1a;color:#fff;display:flex;align-items:center;justify-content:center;margin-left:auto;width:35px;height:35px;border-radius:9px;cursor:pointer}
.r196-close svg{height:19px;width:19px}
.r196-scroll{flex:1;overflow-y:auto;min-height:0;scrollbar-width:thin;padding:13px 19px;display:flex;flex-direction:column;gap:10px}
.r196-card{border:1px solid #cfe5d6;border-radius:13px;overflow:hidden;flex-shrink:0;background:#fff}
.r196-card-head{height:30px;background:#dcf4e4;display:flex;align-items:center;gap:9px;padding:4px 14px;color:#075f3b}
.r196-card-head svg{width:18px;height:18px}
.r196-card-head strong{font-size:14px;font-weight:800}
.r196-card-body{padding:10px 14px 11px}
.r196-personal{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px}
.r196-photo{border:1.5px dashed #b4d3bf;border-radius:10px;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#f7fcf9;gap:5px;cursor:pointer}
.r196-photo>svg{height:55px;width:55px;color:#b7c5bd}
.r196-photo span{font-weight:700;font-size:12px}.r196-photo small{font-size:10px;color:#668476}
.r196-photo input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.r196-grid{display:grid;gap:8px 13px;min-width:0}
.r196-personal-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.r196-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.r196-work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.r196-bank-grid,.r196-emergency-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.r196-field{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0}
.r196-field span{font-size:11px;font-weight:700;color:#174530;white-space:normal;line-height:1.2}
.r196-field em{color:#d12727;font-style:normal}
.r196-field input,.r196-field select,.r196-field textarea{width:100%;min-width:0;height:32px;border:1px solid #c5d9ce;border-radius:6px;padding:5px 9px;font:inherit;font-size:12px;color:#243b2d;background:white;box-sizing:border-box}
.r196-field textarea{height:49px;resize:vertical;line-height:1.35}
.r196-field :is(input,select,textarea):focus{outline:2px solid #84cda3;outline-offset:1px}
.r196-inline-check{grid-column:1/-1;display:flex;gap:6px;align-items:center;font-size:11px;color:#397455}
.r196-inline-check input{accent-color:#008b53}
.r196-work-hint{font-size:10px;color:#4d8165;padding-top:7px}
.r196-error{background:#fff1ed;color:#ab3023;padding:9px 17px;font-size:12px;border-top:1px solid #f3c4bd}
.r196-modal-footer{height:60px;flex:0 0 60px;display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:10px 19px;box-sizing:border-box;border-top:1px solid #dbe7df;background:#fff}
.r196-modal-footer>span{display:flex;align-items:center;gap:7px;margin-right:auto;color:#317b56;font-size:11px}
.r196-modal-footer>span svg{width:17px;height:17px}
.r196-modal-footer button{height:36px;border-radius:8px;font-size:12px;font-weight:700;padding:0 20px;cursor:pointer}
.r196-cancel{background:#fff;border:1px solid #bbd2c5;color:#335a43}
.r196-submit{background:#008b54;color:white;border:1px solid #008b54;display:flex;gap:8px;align-items:center}
.r196-submit svg{width:17px;height:17px}
.r196-submit:disabled{opacity:.5;cursor:wait}
.r196-login-note{font-size:12px;color:#48715d;background:#eff9f3;border:1px solid #d0ead8;padding:10px;border-radius:8px}
.r196-login-new{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.r196-login-new .hr-field{min-width:0}
@media(max-width:900px){.r196-employee-dialog{width:calc(100vw - 14px);max-width:calc(100vw - 14px);height:94vh;max-height:94vh}.r196-personal{grid-template-columns:100px 1fr;gap:9px}.r196-personal-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.r196-grid{gap:7px}.r196-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr184-workspace .hr184-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.r196-personal{grid-template-columns:1fr}.r196-photo{height:100px;min-height:100px}.r196-personal-fields,.r196-work-grid,.r196-contact-grid,.r196-bank-grid,.r196-emergency-grid{grid-template-columns:1fr}.r196-modal-head h2{font-size:18px}.r196-modal-footer>span{display:none}.hr184-workspace .hr184-summary-item{padding:2px 4px!important;gap:4px!important}.hr184-workspace .hr184-summary-item label{font-size:9px!important}.hr184-workspace .hr184-summary-item strong{font-size:15px!important}}

.hr184-workspace .hr185-employee-row-actions .hr185-calendar-action {
  flex: 0 0 33px;
}
.hr-employee-access-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .5rem 1rem;
  margin: 0;
}
.hr-employee-access-summary dt { font-weight: 600; }
.hr-employee-access-summary dd { margin: 0; overflow-wrap: anywhere; }

.hr184-workspace .hr184-filters {
  --hr-filter-control-height: 44px;
  align-items: flex-end;
}
.hr184-workspace .hr184-filters > label {
  margin-block: 0;
}
.hr184-workspace .hr184-filters .hr184-search,
.hr184-workspace .hr184-filters select,
.hr184-workspace .hr184-filters > button {
  box-sizing: border-box;
  height: var(--hr-filter-control-height);
  min-height: var(--hr-filter-control-height);
  margin-block: 0;
}
.hr184-workspace .hr184-filters > button {
  align-self: flex-end;
  flex-shrink: 0;
}

.hr176-org-dialog.hr-org-single-dialog {
  width: min(720px, calc(100vw - 24px));
}
.hr-org-single-dialog .hr176-org-columns {
  grid-template-columns: minmax(0, 1fr);
}

.hr-hub-edit-dialog.hr-account-dialog {
  inset: 0;
  margin: auto;
  width: min(650px, calc(100vw - 24px));
  height: fit-content;
  max-height: calc(100dvh - 24px);
  border-radius: 18px;
  background: #fff;
  color: #163327;
  box-shadow: 0 20px 68px #07392750;
}
.hr-account-dialog .hr-dialog-inner {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: calc(100dvh - 24px);
  border-radius: inherit;
}
.hr-account-dialog .hr-dialog-inner > header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: #08784f;
  color: white;
  padding: 16px 20px;
}
.hr-account-dialog header h2 { color: inherit; margin: 0; }
.hr-account-dialog header p { margin: 4px 0 0; font-size: 13px; color: #e2f8ee; }
.hr-account-dialog header .hr-x { margin-inline-start: auto; flex-shrink: 0; }
.hr-account-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff20;
}
.hr-account-icon svg, .hr-account-empty > svg { width: 22px; height: 22px; }
.hr-account-dialog .hr-dialog-body { min-height: 0; padding: 20px; }
.hr-account-dialog .hr-dialog-inner > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 20px; }
.hr-account-dialog .hr-dialog-inner > footer .primary { background: #08784f; border-color: #08784f; color: white; }
.hr-account-mfa { color: #466456; margin-inline-end: auto; align-self: center; }
.hr-account-status, .hr-account-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hr-account-status, .hr-account-empty {
  padding: 14px;
  border: 1px solid #d7eadf;
  border-radius: 10px;
  background: #f3faf6;
}
.hr-account-status span { display: block; font-size: 13px; margin-top: 3px; }
.hr-account-status b, .hr-account-section-title span { font-size: 12px; color: #156347; background: #e5f3eb; border-radius: 20px; padding: 4px 9px; }
.hr-account-empty { text-align: center; }
.hr-account-empty h3, .hr-account-section-title h3 { margin: 0; }
.hr-account-empty p { margin: 6px 0 0; }
.hr-account-dialog .hr-employee-access-summary { margin: 12px 0; padding: 14px; border: 1px solid #d7eadf; border-radius: 10px; }
.hr-account-dialog .r196-login-new { margin-top: 12px; }
@media (max-width: 550px) {
  .hr-account-dialog .r196-login-new { grid-template-columns: minmax(0, 1fr); }
  .hr-account-dialog .hr-employee-access-summary { grid-template-columns: minmax(0, 1fr); }
}
