/* PolarOne Staff & Engineers — aligned with the shared internal page design */
body.polarone-ui-page .po-app-content .po-staff-page{
  box-sizing:border-box;
  width:100%;
  max-width:1500px;
  margin:0 auto;
  padding:30px 28px 80px;
}
body.polarone-ui-page .po-app-content .po-staff-page *{box-sizing:border-box}

body.polarone-ui-page .po-app-content .po-staff-hero{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  min-height:0!important;
  margin:0 0 24px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.polarone-ui-page .po-app-content .po-staff-hero>div{min-width:0}
body.polarone-ui-page .po-app-content .po-staff-hero .po-eyebrow{
  display:block!important;
  margin:0 0 9px!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  color:#0874e8!important;
}
body.polarone-ui-page .po-app-content .po-staff-hero h1{
  margin:0 0 10px!important;
  color:#0b2148!important;
  font-size:42px!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
body.polarone-ui-page .po-app-content .po-staff-hero p{
  max-width:820px!important;
  margin:0!important;
  color:#607493!important;
  font-size:17px!important;
  line-height:1.55!important;
}
body.polarone-ui-page .po-app-content .po-staff-hero>.po-button{
  flex:0 0 auto!important;
  min-height:54px!important;
  padding:15px 22px!important;
  border-radius:14px!important;
  white-space:nowrap!important;
}

body.polarone-ui-page .po-app-content .po-staff-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  margin:0 0 24px!important;
  padding:0!important;
}
body.polarone-ui-page .po-app-content .po-staff-stats article{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  min-width:0!important;
  min-height:136px!important;
  margin:0!important;
  padding:22px 24px!important;
  border:1px solid #d8e3ef!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(15,47,83,.06)!important;
  overflow:hidden!important;
}
body.polarone-ui-page .po-app-content .po-staff-stats span{
  display:block!important;
  margin:0!important;
  color:#607493!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.35!important;
}
body.polarone-ui-page .po-app-content .po-staff-stats strong{
  display:block!important;
  margin:12px 0 8px!important;
  color:#082653!important;
  font-size:36px!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
}
body.polarone-ui-page .po-app-content .po-staff-stats small{
  display:block!important;
  margin:0!important;
  color:#7a8da6!important;
  font-size:13px!important;
  line-height:1.4!important;
}

body.polarone-ui-page .po-app-content .po-staff-panel{
  margin:0!important;
  padding:28px!important;
  border:1px solid #d8e3ef!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,47,83,.06)!important;
  overflow:hidden!important;
}
body.polarone-ui-page .po-app-content .po-staff-panel-head{
  display:grid!important;
  grid-template-columns:minmax(240px,.55fr) minmax(320px,1.45fr)!important;
  align-items:center!important;
  gap:28px!important;
  margin:0 0 22px!important;
  padding:0 0 22px!important;
  border-bottom:1px solid #e2eaf4!important;
}
body.polarone-ui-page .po-app-content .po-staff-panel-head h2{
  margin:0 0 7px!important;
  color:#0b2148!important;
  font-size:30px!important;
  line-height:1.15!important;
}
body.polarone-ui-page .po-app-content .po-staff-panel-head p{
  margin:0!important;
  color:#667b98!important;
  font-size:16px!important;
  line-height:1.5!important;
}
body.polarone-ui-page .po-app-content .po-staff-panel-head input{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:54px!important;
  margin:0!important;
  padding:0 17px!important;
  border:1px solid #ccd9e8!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#102c53!important;
  font:inherit!important;
  box-shadow:none!important;
}
body.polarone-ui-page .po-app-content .po-staff-panel-head input:focus{
  border-color:#2b8cf0!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(43,140,240,.12)!important;
}

.po-staff-list{display:grid;gap:14px}.po-staff-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #dce6f2;border-radius:18px;padding:18px;background:#fbfdff}.po-staff-avatar{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:#eaf4ff;color:#0878ec;font-size:24px;font-weight:800}.po-staff-title{display:flex;justify-content:space-between;gap:12px}.po-staff-title h3{margin:0 0 3px;font-size:20px}.po-staff-title p{margin:0;color:#667b98}.po-staff-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 0}.po-staff-card dt{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#8091a8}.po-staff-card dd{margin:3px 0 0;color:#17365f}.po-status{font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px}.po-status.is-active{background:#e8f8ef;color:#17864d}.po-status.is-inactive{background:#f1f3f6;color:#667085}.po-staff-empty{text-align:center;padding:54px 20px;background:#f7faff;border:1px dashed #bfd2e8;border-radius:20px}.po-staff-empty span{font-size:42px;color:#0878ec}.po-staff-empty h3{font-size:24px;margin:10px 0}.po-staff-empty p{color:#667b98;margin:0 0 20px}.po-staff-notice{background:#eaf9f0;color:#167845;border:1px solid #bce5cc;padding:14px 18px;border-radius:14px;margin-bottom:20px}

.po-staff-dialog{width:min(900px,calc(100vw - 32px));max-height:90vh;border:0;border-radius:24px;padding:0;box-shadow:0 30px 90px rgba(4,31,70,.25)}.po-staff-dialog::backdrop{background:rgba(5,25,51,.55)}.po-staff-dialog form{padding:28px}.po-dialog-head{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #e1e9f3;padding-bottom:18px;margin-bottom:22px}.po-dialog-head h2{margin:5px 0;font-size:30px}.po-dialog-head p{margin:0;color:#677b98}.po-dialog-head>button{border:0;background:#eef4fb;width:42px;height:42px;border-radius:12px;font-size:26px}.po-form-grid,.po-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.po-staff-dialog label{display:grid;gap:8px;font-weight:700;color:#122f58;margin-bottom:18px}.po-staff-dialog input:not([type=checkbox]),.po-staff-dialog select,.po-staff-dialog textarea{box-sizing:border-box;width:100%;border:1px solid #cbd8e8;border-radius:13px;background:#fff;padding:13px 15px;font:inherit;color:#102c53}.po-staff-dialog fieldset{border:1px solid #dce6f1;border-radius:16px;padding:18px;margin:0 0 18px}.po-staff-dialog legend{font-weight:800;padding:0 8px}.po-days{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}.po-days label{display:flex;align-items:center;gap:7px;border:1px solid #d4e0ee;border-radius:10px;padding:9px 12px;margin:0;background:#f8fbff}.po-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px!important}.po-dialog-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e1e9f3;padding-top:20px}.po-status-field[hidden]{display:none}.po-staff-dialog input[type=time]{padding:12px 14px}.po-staff-dialog input[type=checkbox]{width:18px;height:18px}.po-app-nav a[href*="staff-management"] .po-app-nav-icon{font-size:16px}

@media(max-width:1000px){
  body.polarone-ui-page .po-app-content .po-staff-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.polarone-ui-page .po-app-content .po-staff-panel-head{grid-template-columns:1fr!important;gap:18px!important}
  .po-staff-card{grid-template-columns:48px minmax(0,1fr)}.po-staff-card>.po-button{grid-column:2;justify-self:start}.po-staff-card dl{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  body.polarone-ui-page .po-app-content .po-staff-page{padding:22px 16px 60px}
  body.polarone-ui-page .po-app-content .po-staff-hero{align-items:stretch!important;flex-direction:column!important}
  body.polarone-ui-page .po-app-content .po-staff-hero h1{font-size:34px!important;line-height:1.1!important}
  body.polarone-ui-page .po-app-content .po-staff-hero>.po-button{width:100%!important;justify-content:center!important}
  body.polarone-ui-page .po-app-content .po-staff-stats{gap:10px!important}
  body.polarone-ui-page .po-app-content .po-staff-stats article{min-height:120px!important;padding:18px!important}
  body.polarone-ui-page .po-app-content .po-staff-panel{padding:19px!important}
  .po-staff-card{grid-template-columns:44px minmax(0,1fr);padding:14px}.po-staff-avatar{width:44px;height:44px}.po-staff-card dl,.po-form-grid,.po-time-grid{grid-template-columns:1fr}.po-staff-dialog form{padding:20px}.po-days{display:grid;grid-template-columns:repeat(2,1fr)}.po-dialog-actions{flex-direction:column-reverse}.po-dialog-actions .po-button{width:100%}
}
@media(max-width:480px){
  body.polarone-ui-page .po-app-content .po-staff-stats{grid-template-columns:1fr!important}
}
