/* Noble Steed v61.11 — bright people workspace. No role/hidden overrides. */
#staffCenterSection .wf-v6111 {
  --ink:#352d48; --muted:#776f86; --line:#eae5f2; --purple:#7652d5;
  --purple2:#9374e9; --teal:#19876c; --rose:#ab4664;
  display:grid; gap:22px; width:100%; min-width:0; color:var(--ink);
  font:400 14px/1.7 inherit; isolation:isolate;
}
#staffCenterSection .wf-v6111 *, .wf-modal[data-workforce-context] * { box-sizing:border-box; }
#staffCenterSection .wf-v6111 :is(section,article,div,form,nav) { min-width:0; }
#staffCenterSection .wf-v6111 :is(h2,h3,h4,p) { overflow-wrap:anywhere; }
#staffCenterSection .wf-v6111 .wf-hero {
  display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,.85fr);
  gap:28px; padding:30px 32px; align-items:center;
  border:1px solid #e7dff5; border-radius:27px;
  background:linear-gradient(115deg,#fff 0%,#fbf9ff 58%,#f0fcf8 100%);
  box-shadow:0 14px 45px -28px #73549840;
}
#staffCenterSection .wf-v6111 .wf-hero:before { width:330px; height:330px; left:-155px; top:-210px; background:#eae0ff70; }
#staffCenterSection .wf-v6111 .wf-hero:after { width:185px; height:185px; right:44%; bottom:-155px; border:26px solid #c8f0e94d; }
#staffCenterSection .wf-v6111 .wf-eyebrow { margin:0 0 12px; font-size:10px; line-height:1.7; color:#847198; letter-spacing:.13em; }
#staffCenterSection .wf-v6111 .wf-hero h2 { margin:0; max-width:none; font-size:clamp(25px,2.5vw,34px); line-height:1.4; color:#382c4c; letter-spacing:-.03em; }
#staffCenterSection .wf-v6111 .wf-hero p:not(.wf-eyebrow) { max-width:650px; margin:10px 0 0; font-size:13px; color:#7f738c; line-height:1.95; }
#staffCenterSection .wf-v6111 .wf-hero-actions { align-content:center; justify-content:flex-start; gap:10px; }
#staffCenterSection .wf-v6111 .wf-live { min-height:46px; padding:10px 14px; font-size:12px; white-space:normal; border-radius:14px; }
#staffCenterSection .wf-v6111 .wf-live.off { background:#fff9ee; color:#9c6b26; border-color:#efe3c9; }
#staffCenterSection .wf-v6111 .wf-button, .wf-modal[data-workforce-context] .wf-button {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; max-width:100%; padding:10px 15px; border:1px solid #e5deee;
  border-radius:12px; color:#6e5b82; background:#fff; font-family:inherit;
  font-size:12px; font-weight:800; line-height:1.65; text-align:center;
  white-space:normal; overflow-wrap:anywhere; box-shadow:none; cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#staffCenterSection .wf-v6111 .wf-button:hover, .wf-modal[data-workforce-context] .wf-button:hover { transform:none; border-color:#d1bee9; background:#fbf8ff; box-shadow:0 5px 16px #7652d50b; }
#staffCenterSection .wf-v6111 .wf-button.primary, .wf-modal[data-workforce-context] .wf-button.primary { color:#fff; border-color:#7c56dc; background:linear-gradient(135deg,#7652d5,#9470e8); box-shadow:0 6px 15px #7952d51b; }
#staffCenterSection .wf-v6111 .wf-button.success, .wf-modal[data-workforce-context] .wf-button.success { color:#fff; border-color:#239576; background:linear-gradient(135deg,#23866c,#38aa8a); }
#staffCenterSection .wf-v6111 .wf-button.soft, .wf-modal[data-workforce-context] .wf-button.soft { color:#7656b9; border-color:#e5daf9; background:#f7f3ff; }
#staffCenterSection .wf-v6111 .wf-button.danger, .wf-modal[data-workforce-context] .wf-button.danger { color:#a84865; border-color:#f0d5df; background:#fff4f7; }
#staffCenterSection .wf-v6111 .wf-button.warn, .wf-modal[data-workforce-context] .wf-button.warn { color:#956b2e; border-color:#f0dfbd; background:#fff9ee; }
#staffCenterSection .wf-v6111 .wf-button.rose, .wf-modal[data-workforce-context] .wf-button.rose { color:#fff; border-color:#af5772; background:#af5772; }
#staffCenterSection .wf-v6111 .wf-button.mini, .wf-modal[data-workforce-context] .wf-button.mini { min-height:44px; padding:9px 12px; font-size:12px; }
#staffCenterSection .wf-v6111 .wf-button:disabled, .wf-modal[data-workforce-context] .wf-button:disabled { opacity:.56; cursor:not-allowed; box-shadow:none; }
#staffCenterSection .wf-v6111 :is(button,input,select,textarea,a):focus-visible, .wf-modal[data-workforce-context] :is(button,input,select,textarea,a):focus-visible { outline:3px solid #ad92e9; outline-offset:3px; }
#staffCenterSection .wf-v6111 .wf-metrics { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
#staffCenterSection .wf-v6111 .wf-metrics:has(> :nth-child(5):last-child) { grid-template-columns:repeat(5,minmax(0,1fr)); }
#staffCenterSection .wf-v6111 .wf-metric { min-height:112px; padding:19px 17px; border-color:#eae5f1; border-radius:19px; box-shadow:0 10px 22px -19px #51416630; }
#staffCenterSection .wf-v6111 .wf-metric b { position:relative; z-index:1; color:#443453; font-size:clamp(20px,1.8vw,27px); line-height:1.45; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
#staffCenterSection .wf-v6111 .wf-metric span { position:relative; z-index:1; color:#80748e; margin-top:7px; font-size:12px; line-height:1.7; }
#staffCenterSection .wf-v6111 .wf-metric:after { width:60px; height:60px; left:-19px; bottom:-25px; opacity:.8; }
#staffCenterSection .wf-v6111 .wf-tabs { position:relative; top:auto; gap:7px; padding:7px; border:1px solid #e7e0ef; border-radius:18px; box-shadow:0 9px 22px -18px #56416f40; background:#fff; overscroll-behavior-inline:contain; scrollbar-width:thin; scrollbar-color:#d3c1ee transparent; }
#staffCenterSection .wf-v6111 .wf-tab { flex:0 0 auto; min-height:46px; padding:10px 16px; border-radius:12px; font-size:12px; color:#81738e; }
#staffCenterSection .wf-v6111 .wf-tab.active { color:#7049c4; background:linear-gradient(120deg,#f0e9ff,#edfaf6); box-shadow:inset 0 0 0 1px #e1d4f6; }
#staffCenterSection .wf-v6111 .wf-tab-count { min-width:22px; height:22px; font-size:11px; background:#f0ebf7; }
#staffCenterSection .wf-v6111 .wf-tab.active .wf-tab-count { background:#875fd9; }
#staffCenterSection .wf-v6111 .wf-page { gap:20px; }
#staffCenterSection .wf-v6111 .wf-grid { grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr); gap:20px; }
#staffCenterSection .wf-v6111 .wf-grid.equal { grid-template-columns:repeat(2,minmax(0,1fr)); }
#staffCenterSection .wf-v6111 .wf-card { padding:24px; border:1px solid #e9e3f0; border-radius:23px; background:#fff; box-shadow:0 14px 30px -25px #54416b32; }
#staffCenterSection .wf-v6111 .wf-card.tinted { background:linear-gradient(135deg,#fff,#fbf9ff); }
#staffCenterSection .wf-v6111 .wf-card-head { gap:16px; margin-bottom:20px; }
#staffCenterSection .wf-v6111 .wf-card-head > div { flex:1 1 auto; min-width:0; }
#staffCenterSection .wf-v6111 .wf-card-head h3 { color:#453251; font-size:18px; line-height:1.6; }
#staffCenterSection .wf-v6111 .wf-card-head p { font-size:12px; color:#86788f; line-height:1.9; }
#staffCenterSection .wf-v6111 .wf-chip, .wf-modal[data-workforce-context] .wf-chip { flex:0 1 auto; max-width:100%; padding:6px 10px; color:#79629f; background:#f3eefb; font-size:11px; line-height:1.7; white-space:normal; overflow-wrap:anywhere; text-align:center; }
#staffCenterSection .wf-v6111 .wf-chip.green, .wf-modal[data-workforce-context] .wf-chip.green { color:#22795f; background:#ecf9f2; }
#staffCenterSection .wf-v6111 .wf-chip.orange { color:#a77936; background:#fff6e7; }
#staffCenterSection .wf-v6111 .wf-chip.red { color:#a9516d; background:#fdf0f5; }
#staffCenterSection .wf-v6111 .wf-chip.gray { color:#887c94; background:#f4f1f7; }
#staffCenterSection .wf-v6111 .wf-attendance { grid-template-columns:136px minmax(0,1fr); gap:24px; }
#staffCenterSection .wf-v6111 .wf-clock { width:136px; height:136px; background:conic-gradient(#9570e4 0 72%,#eee8f7 72%); }
#staffCenterSection .wf-v6111 .wf-clock b { color:#6d4f9c; font-size:23px; }
#staffCenterSection .wf-v6111 .wf-clock span { font-size:12px; }
#staffCenterSection .wf-v6111 .wf-attendance-info h4 { font-size:16px; line-height:1.7; color:#5c486e; }
#staffCenterSection .wf-v6111 .wf-attendance-info p { font-size:12px; color:#8a7a95; line-height:1.9; }
#staffCenterSection .wf-v6111 .wf-actions { gap:9px; }
#staffCenterSection .wf-v6111 .wf-mini-stats { gap:10px; margin-top:19px; }
#staffCenterSection .wf-v6111 .wf-mini-stat { padding:12px 10px; border:1px solid #f0eaf5; background:#fcfaff; }
#staffCenterSection .wf-v6111 .wf-mini-stat b { color:#695277; font-size:15px; }
#staffCenterSection .wf-v6111 .wf-mini-stat span { font-size:11px; line-height:1.7; }
#staffCenterSection .wf-v6111 .wf-next-shift { padding:21px; margin-bottom:17px; color:#6b4d8c; border:1px solid #e3d7f5; background:linear-gradient(120deg,#f4edff,#f1faf7); }
#staffCenterSection .wf-v6111 .wf-next-shift h4 { font-size:22px; color:#715094; }
#staffCenterSection .wf-v6111 .wf-next-shift small, #staffCenterSection .wf-v6111 .wf-next-shift p { color:#8c789e; font-size:12px; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-next-shift:after { border-color:#d4c1ec30; }
#staffCenterSection .wf-v6111 .wf-list { gap:12px; }
#staffCenterSection .wf-v6111 .wf-row { gap:12px; padding:14px; border-color:#ede7f3; background:#fff; border-radius:15px; }
#staffCenterSection .wf-v6111 .wf-row-copy { flex:1 1 auto; }
#staffCenterSection .wf-v6111 .wf-row-copy b { font-size:13px; color:#614c70; white-space:normal; overflow-wrap:anywhere; }
#staffCenterSection .wf-v6111 .wf-row-copy span { font-size:12px; line-height:1.8; color:#8b7a96; }
#staffCenterSection .wf-v6111 .wf-icon { flex:0 0 auto; width:40px; height:40px; background:#f2ebff; color:#9470cc; border-radius:12px; }
#staffCenterSection .wf-v6111 .wf-icon.teal { color:#41957d; background:#eaf9f3; }
#staffCenterSection .wf-v6111 .wf-icon.rose { color:#b87088; background:#fdf0f5; }
#staffCenterSection .wf-v6111 .wf-empty { grid-column:1/-1; padding:34px 22px; color:#97869f; border-color:#e4d9f0; background:linear-gradient(140deg,#fdfbff,#f9fdfa); font-size:13px; line-height:1.9; }
#staffCenterSection .wf-v6111 .wf-empty strong { color:#735c87; font-size:15px; margin-bottom:8px; }
#staffCenterSection .wf-v6111 .wf-notice, #staffCenterSection .wf-v6111 .wf-error { font-size:13px; line-height:1.9; border:1px solid #d6eee0; background:#f0fbf5; color:#407e65; }
#staffCenterSection .wf-v6111 .wf-error { color:#ad6178; border-color:#f0d8e2; background:#fff6f9; }
#staffCenterSection .wf-v6111 .wf-directory-filters { display:grid; grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(170px,.7fr)); gap:14px; padding:18px; border:1px solid #eee7f4; border-radius:17px; background:#fcfaff; }
#staffCenterSection .wf-v6111 .wf-field, .wf-modal[data-workforce-context] .wf-field { display:grid; gap:8px; align-content:start; min-width:0; }
#staffCenterSection .wf-v6111 .wf-field label, .wf-modal[data-workforce-context] .wf-field label { color:#7f6a8d; font-size:12px; font-weight:800; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-field :is(input,select,textarea), .wf-modal[data-workforce-context] .wf-field :is(input,select,textarea) { min-height:46px; width:100%; max-width:100%; min-width:0; padding:11px 13px; border:1px solid #e7deef; border-radius:12px; color:#665073; background:#fff; font:inherit; font-size:13px; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-field input::placeholder, .wf-modal[data-workforce-context] .wf-field input::placeholder { color:#aa9bb6; opacity:1; }
#staffCenterSection .wf-v6111 .wf-directory-count { margin:15px 2px; color:#97859f; font-size:12px; }
#staffCenterSection .wf-v6111 .wf-team { grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
#staffCenterSection .wf-v6111 .wf-person { padding:20px; border-color:#eae2f2; border-radius:20px; box-shadow:0 8px 25px -20px #6d4f973d; }
#staffCenterSection .wf-v6111 .wf-person:before { height:3px; background:linear-gradient(90deg,#d3c1ee,#c8eee0); }
#staffCenterSection .wf-v6111 .wf-person-top { gap:12px; align-items:center; }
#staffCenterSection .wf-v6111 .wf-person-top > div:not(.wf-avatar) { min-width:0; }
#staffCenterSection .wf-v6111 .wf-avatar { width:48px; height:48px; border:1px solid #e7dff2; border-radius:15px; color:#8c6fb1; background:linear-gradient(135deg,#f3ecff,#e8f8f1); font-size:17px; }
#staffCenterSection .wf-v6111 .wf-person h4 { color:#685175; font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
#staffCenterSection .wf-v6111 .wf-person p { color:#9c89a6; font-size:12px; line-height:1.7; }
#staffCenterSection .wf-v6111 .wf-person-state { flex:0 0 auto; width:8px; height:8px; background:#d4cbdc; }
#staffCenterSection .wf-v6111 .wf-person-state.on { background:#66b19b; box-shadow:0 0 0 5px #5eb69e15; }
#staffCenterSection .wf-v6111 .wf-person-badges { display:flex; flex-wrap:wrap; gap:7px; margin-top:17px; }
#staffCenterSection .wf-v6111 .wf-progress { height:5px; margin:19px 0 8px; background:#f2edf7; }
#staffCenterSection .wf-v6111 .wf-progress i { background:linear-gradient(90deg,#b499e1,#85c8b4); }
#staffCenterSection .wf-v6111 .wf-progress-label { color:#a08bae; font-size:11px; }
#staffCenterSection .wf-v6111 .wf-person-meta { gap:9px; margin:17px 0; }
#staffCenterSection .wf-v6111 .wf-person-meta > div { padding:12px; border:1px solid #f2edf7; border-radius:12px; background:#fcfaff; }
#staffCenterSection .wf-v6111 .wf-person-meta b { color:#8c719b; font-size:12px; font-weight:700; line-height:1.7; overflow-wrap:anywhere; }
#staffCenterSection .wf-v6111 .wf-person-meta span { margin-top:4px; color:#a391ae; font-size:11px; line-height:1.7; }
#staffCenterSection .wf-v6111 .wf-person-actions { gap:8px; }
#staffCenterSection .wf-v6111 .wf-person-actions .wf-button { flex:1 1 100px; padding-inline:8px; }
#staffCenterSection .wf-v6111 .wf-table-wrap, .wf-modal[data-workforce-context] .wf-table-wrap { width:100%; max-width:100%; overflow:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; border:1px solid #e9e0f1; border-radius:16px; }
#staffCenterSection .wf-v6111 .wf-table, .wf-modal[data-workforce-context] .wf-table { width:100%; min-width:690px; border-collapse:collapse; }
#staffCenterSection .wf-v6111 .wf-table th, .wf-modal[data-workforce-context] .wf-table th { padding:15px 17px; background:#faf6ff; color:#957eaa; font-size:12px; line-height:1.8; text-align:start; }
#staffCenterSection .wf-v6111 .wf-table td, .wf-modal[data-workforce-context] .wf-table td { padding:15px 17px; color:#8b739c; font-size:12px; line-height:1.8; border-color:#f0e9f6; }
#staffCenterSection .wf-v6111 .wf-name { gap:10px; }
#staffCenterSection .wf-v6111 .wf-name .wf-avatar { width:36px; height:36px; border-radius:12px; font-size:12px; }
#staffCenterSection .wf-v6111 .wf-amount.credit, .wf-modal[data-workforce-context] .wf-amount.credit { color:#4d9780; }
#staffCenterSection .wf-v6111 .wf-amount.debit, .wf-modal[data-workforce-context] .wf-amount.debit { color:#b66e88; }
#staffCenterSection .wf-v6111 .wf-date-strip { gap:10px; margin-top:6px; padding-bottom:8px; overscroll-behavior-inline:contain; }
#staffCenterSection .wf-v6111 .wf-day { flex:1 0 100px; min-width:100px; padding:14px 9px; border:1px solid #e9e1f2; border-radius:16px; background:#fdfbff; }
#staffCenterSection .wf-v6111 .wf-day b { color:#9a83ad; font-size:13px; }
#staffCenterSection .wf-v6111 .wf-day > span { margin-top:6px; color:#ad97ba; font-size:12px; }
#staffCenterSection .wf-v6111 .wf-day.today { border-color:#d3bce9; background:#f5edff; }
#staffCenterSection .wf-v6111 .wf-day .wf-chip { margin-top:8px; font-size:10px; }
#staffCenterSection .wf-v6111 .wf-shifts { gap:12px; margin-top:17px; }
#staffCenterSection .wf-v6111 .wf-shift { grid-template-columns:135px minmax(0,1fr) auto; gap:16px; padding:17px; border-color:#eae1f3; border-radius:17px; }
#staffCenterSection .wf-v6111 .wf-shift-time { color:#9873be; font-size:13px; }
#staffCenterSection .wf-v6111 .wf-shift strong { color:#9678aa; font-size:13px; }
#staffCenterSection .wf-v6111 .wf-shift p { color:#b09cbd; font-size:12px; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-request-grid { gap:17px; }
#staffCenterSection .wf-v6111 .wf-request { padding:20px; border-color:#eae0f3; border-radius:18px; }
#staffCenterSection .wf-v6111 .wf-request h4 { color:#9474a9; font-size:14px; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-request p { color:#b29abd; font-size:12px; line-height:1.9; }
#staffCenterSection .wf-v6111 .wf-request-meta { gap:8px; margin-top:16px; }
#staffCenterSection .wf-v6111 .wf-request-actions { gap:9px; margin-top:17px; padding-top:16px; }
#staffCenterSection .wf-v6111 .wf-policy { padding:23px; border-radius:20px; border-color:#deeee7; background:linear-gradient(110deg,#f2fbf7,#fff); }
#staffCenterSection .wf-v6111 .wf-policy h4 { color:#7b9c8c; font-size:15px; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-policy p { color:#9fb6aa; font-size:12px; line-height:1.9; }
#staffCenterSection .wf-v6111 .wf-wallet-cards, .wf-modal[data-workforce-context] .wf-wallet-cards { gap:12px; }
#staffCenterSection .wf-v6111 .wf-wallet, .wf-modal[data-workforce-context] .wf-wallet { min-width:0; padding:18px; border-color:#e9dff1; border-radius:16px; }
#staffCenterSection .wf-v6111 .wf-wallet b, .wf-modal[data-workforce-context] .wf-wallet b { font-size:18px; color:#a082b3; line-height:1.8; overflow-wrap:anywhere; }
#staffCenterSection .wf-v6111 .wf-wallet span, .wf-modal[data-workforce-context] .wf-wallet span { font-size:12px; color:#b89bc8; line-height:1.8; }
#staffCenterSection .wf-v6111 .wf-wallet.main, .wf-modal[data-workforce-context] .wf-wallet.main { background:linear-gradient(120deg,#f5edff,#eefaf6); border-color:#decbed; color:#9673af; }
#staffCenterSection .wf-v6111 .wf-wallet.main b, .wf-modal[data-workforce-context] .wf-wallet.main b { color:#9673af; }
#staffCenterSection .wf-v6111 .wf-wallet.main span, .wf-modal[data-workforce-context] .wf-wallet.main span { color:#aa8cbd; }
#staffCenterSection .wf-v6111 .wf-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:20px; }
#staffCenterSection .wf-v6111 .wf-shortcuts .wf-button { display:flex; flex-direction:column; align-items:flex-start; text-align:start; padding:19px; min-height:102px; font-size:14px; }
#staffCenterSection .wf-v6111 .wf-shortcuts small { color:#ab97bd; font-size:12px; font-weight:400; }
/* Existing owner invitation IDs/listeners are retained inside the unified panel. */
#staffCenterSection .wf-v6111 #teamSection { width:100%; min-width:0; max-width:none; padding:25px!important; border:1px solid #e8dff2!important; border-radius:23px!important; background:#fff!important; box-shadow:0 14px 30px -25px #54416b32!important; }
#staffCenterSection .wf-v6111 #teamSection .section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:22px; }
#staffCenterSection .wf-v6111 #teamSection .section-title h2 { margin:0; color:#80638e; font-size:20px; line-height:1.7; }
#staffCenterSection .wf-v6111 #teamSection .stable-team-guide { margin:0 0 24px; padding:21px; border:1px solid #e5d7f5; border-radius:20px; background:linear-gradient(120deg,#fcf9ff,#f5fcf9); }
#staffCenterSection .wf-v6111 #teamSection .stable-team-guide-head { gap:17px; margin-bottom:18px; }
#staffCenterSection .wf-v6111 #teamSection .stable-team-guide-head h3 { font-size:16px; color:#8d6da2; line-height:1.7; }
#staffCenterSection .wf-v6111 #teamSection .stable-team-guide-head p { max-width:780px; font-size:12px; color:#ae95bf; line-height:1.9; }
#staffCenterSection .wf-v6111 #teamSection .stable-team-server-note { padding:8px 11px; font-size:11px; white-space:normal; line-height:1.8; color:#85ac98; background:#edf9f2; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-card { min-height:158px; padding:16px; border:1px solid #e9ddf3; border-radius:15px; background:#fff; text-align:start; font-family:inherit; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-card:hover { transform:none; box-shadow:0 6px 15px #9c7ac311; border-color:#c7a7e3; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-card.selected { border-color:#ac87d7; box-shadow:inset 0 0 0 1px #ac87d7; background:#f8f2ff; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-icon { width:36px; height:36px; border-radius:11px; color:#b18ecb; background:#f6eefc; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-card h4 { margin-top:10px; color:#9976af; font-size:12px; line-height:1.8; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-card p { margin-top:6px; color:#bda3cd; font-size:11px; line-height:1.8; -webkit-line-clamp:3; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-detail { gap:13px; margin-top:17px; padding:18px; border-color:#e8daf4; border-radius:15px; background:#fff; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-detail-icon { width:38px; height:38px; color:#ac8bc4; background:#f7f0fc; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-detail h4 { color:#a887b9; font-size:14px; line-height:1.8; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-detail p { color:#c0a6cf; font-size:12px; line-height:1.9; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-capabilities { gap:8px; margin-top:12px; }
#staffCenterSection .wf-v6111 #teamSection .stable-role-capabilities span { padding:6px 9px; color:#bda3ce; background:#f8f3fc; font-size:11px; line-height:1.8; }
#staffCenterSection .wf-v6111 #inviteTeamForm { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding:22px; border:1px solid #e9ddf3; border-radius:18px; background:#fefcff; }
#staffCenterSection .wf-v6111 #inviteTeamForm .field { margin:0; min-width:0; }
#staffCenterSection .wf-v6111 #inviteTeamForm .field:has(#teamRole) { grid-column:1/-1; }
#staffCenterSection .wf-v6111 #inviteTeamForm label { display:block; margin-bottom:8px; color:#ae8bc1; font-size:12px; line-height:1.8; }
#staffCenterSection .wf-v6111 #inviteTeamForm :is(input,select) { width:100%; min-width:0; min-height:48px; border:1px solid #e7d7f2!important; border-radius:12px!important; padding:11px 13px; color:#ae88c4!important; background:#fff!important; font-family:inherit; font-size:13px; box-shadow:none!important; }
#staffCenterSection .wf-v6111 #inviteTeamForm .hint { display:block; margin-top:9px; color:#c2a8d1; font-size:12px; line-height:1.8; }
#staffCenterSection .wf-v6111 #inviteTeamForm .btn { justify-self:start; min-height:46px; padding:11px 20px; border:1px solid #a97fd3!important; border-radius:12px; color:#fff!important; background:linear-gradient(120deg,#a279cc,#b38ed9)!important; font-size:13px; line-height:1.8; box-shadow:none!important; }
#staffCenterSection .wf-v6111 #inviteResult { margin:15px 0; max-width:100%; overflow-wrap:anywhere; font-size:12px; line-height:1.9; }
#staffCenterSection .wf-v6111 #teamTable { max-width:100%; width:100%; overflow:auto; border:1px solid #e7d8f2; border-radius:16px; scrollbar-width:thin; }
#staffCenterSection .wf-v6111 #teamTable table { width:100%; min-width:640px; border-collapse:collapse; }
#staffCenterSection .wf-v6111 #teamTable :is(th,td) { padding:16px; text-align:start; border-color:#f1e8f7; font-size:12px; color:#ba9acf; }
#staffCenterSection .wf-v6111 #teamTable th { color:#b18dc8; background:#fbf6ff; }
#staffCenterSection .wf-v6111 #teamTable .btn { min-height:44px; padding:9px 13px; border:1px solid #e0caed!important; border-radius:11px; color:#b38ecb!important; background:#f9f2ff!important; box-shadow:none!important; font-family:inherit; font-size:12px; }
/* Only workforce-owned overlays; other portal dialogs are not changed. */
.wf-modal[data-workforce-context] { --ink:#6e517f; --muted:#a78bb9; --line:#e8d9f1; padding:24px; background:#61506d66; backdrop-filter:blur(7px); color:var(--ink); font:400 14px/1.7 inherit; }
.wf-modal[data-workforce-context] .wf-modal-box { width:min(800px,100%); max-width:100%; max-height:calc(100dvh - 48px); overscroll-behavior:contain; border:1px solid #e5d2f0; border-radius:24px; box-shadow:0 28px 90px #51416130; background:#fff; }
.wf-modal[data-workforce-context] .wf-modal-box.map-wide { width:min(1060px,100%); }
.wf-modal[data-workforce-context] .wf-modal-head { padding:23px 25px; background:linear-gradient(110deg,#fff,#fbf7ff); border-color:#ede0f5; }
.wf-modal[data-workforce-context] .wf-modal-head h3 { color:#a381b6; font-size:19px; line-height:1.6; }
.wf-modal[data-workforce-context] .wf-modal-head p { color:#b89dcb; font-size:12px; line-height:1.9; }
.wf-modal[data-workforce-context] .wf-close { display:grid; place-items:center; flex:0 0 auto; width:44px; height:44px; min-width:44px; border-color:#e7d7f2; color:#bea2d0; background:#fff; border-radius:12px; cursor:pointer; }
.wf-modal[data-workforce-context] .wf-modal-body { padding:25px; }
.wf-modal[data-workforce-context] .wf-form { gap:18px; }
.wf-modal[data-workforce-context] .wf-field label { color:#b291c6; }
.wf-modal[data-workforce-context] .wf-field :is(input,select,textarea) { color:#b38ec8; border-color:#e7d6f2; background:#fff; }
.wf-modal[data-workforce-context] .wf-field textarea { min-height:112px; }
.wf-modal[data-workforce-context] .wf-field :is(input,select,textarea):focus { border-color:#c1a2de; box-shadow:0 0 0 3px #b694d91a; }
.wf-modal[data-workforce-context] .wf-form-note { padding:14px 16px; border:1px solid #f0dfc8; border-radius:13px; color:#b59a76; background:#fff9f0; font-size:12px; line-height:1.9; }
.wf-modal[data-workforce-context] .wf-form-message { min-height:20px; color:#bb87a0; font-size:12px; line-height:1.9; }
.wf-modal[data-workforce-context] .wf-modal-actions { grid-column:1/-1; gap:10px; flex-wrap:wrap; margin-top:5px; padding-top:20px; border-color:#eee2f6; }
.wf-modal[data-workforce-context] .wf-map-toolbar { gap:9px; }
.wf-modal[data-workforce-context] .wf-map-status { color:#b38ace; background:#f6edff; padding:10px 13px; font-size:12px; }
.wf-modal[data-workforce-context] .wf-map-status.ready { color:#8fbaa4; background:#effaf4; }
.wf-modal[data-workforce-context] .wf-map-help { color:#a4b2c8; background:#f6f9fe; padding:14px; font-size:12px; line-height:1.9; }
.wf-modal[data-workforce-context] .wf-geofence-map { border-color:#dfc9ed; border-radius:17px; }
@media (max-width:1390px) {
  #staffCenterSection .wf-v6111 .wf-hero { grid-template-columns:minmax(0,1fr); gap:21px; }
  #staffCenterSection .wf-v6111 .wf-hero-actions { justify-content:flex-start; }
  #staffCenterSection .wf-v6111 .wf-team { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 .wf-metrics, #staffCenterSection .wf-v6111 .wf-metrics:has(> :nth-child(5):last-child) { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 .wf-attendance { grid-template-columns:114px minmax(0,1fr); gap:18px; }
  #staffCenterSection .wf-v6111 .wf-clock { width:114px; height:114px; }
  #staffCenterSection .wf-v6111 .wf-mini-stats { grid-template-columns:1fr; gap:7px; }
  #staffCenterSection .wf-v6111 .wf-mini-stat { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  #staffCenterSection .wf-v6111 .wf-mini-stat span { margin:0; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:1391px) {
  #staffCenterSection .wf-v6111 .wf-hero-actions .wf-live { flex-basis:100%; justify-content:flex-start; }
}
@media (max-width:1100px) {
  #staffCenterSection .wf-v6111 .wf-grid, #staffCenterSection .wf-v6111 .wf-grid.equal { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-directory-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 .wf-directory-filters > :first-child { grid-column:1/-1; }
  #staffCenterSection .wf-v6111 .wf-attendance { grid-template-columns:142px minmax(0,1fr); }
  #staffCenterSection .wf-v6111 .wf-clock { width:136px; height:136px; }
  #staffCenterSection .wf-v6111 .wf-mini-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 .wf-mini-stat { display:block; }
  #staffCenterSection .wf-v6111 .wf-mini-stat span { margin-top:5px; }
  #staffCenterSection .wf-v6111 .wf-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  #staffCenterSection .wf-v6111 { gap:16px; }
  #staffCenterSection .wf-v6111 .wf-hero { padding:24px; border-radius:22px; }
  #staffCenterSection .wf-v6111 .wf-hero h2 { font-size:26px; }
  #staffCenterSection .wf-v6111 .wf-hero-actions { display:flex; align-items:stretch; }
  #staffCenterSection .wf-v6111 .wf-hero-actions .wf-live { flex-basis:100%; }
  #staffCenterSection .wf-v6111 .wf-hero-actions .wf-button { flex:1 1 150px; }
  #staffCenterSection .wf-v6111 .wf-card, #staffCenterSection .wf-v6111 #teamSection { padding:20px!important; border-radius:20px; }
  #staffCenterSection .wf-v6111 .wf-card-head { flex-wrap:wrap; gap:12px; }
  #staffCenterSection .wf-v6111 .wf-card-head > div { flex-basis:100%; }
  #staffCenterSection .wf-v6111 .wf-team { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-request-grid { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-wallet-cards, .wf-modal[data-workforce-context] .wf-wallet-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 .wf-policy { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-shift { grid-template-columns:1fr; gap:10px; }
  #staffCenterSection .wf-v6111 .wf-shift .wf-row-side { justify-content:flex-start; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #staffCenterSection .wf-v6111 #teamSection .stable-team-guide-head { flex-wrap:wrap; }
  #staffCenterSection .wf-v6111 #inviteTeamForm { grid-template-columns:1fr; padding:17px; }
  #staffCenterSection .wf-v6111 #inviteTeamForm .field:has(#teamRole) { grid-column:auto; }
  .wf-modal[data-workforce-context] { padding:12px; }
  .wf-modal[data-workforce-context] .wf-modal-box { max-height:calc(100dvh - 24px); border-radius:21px; }
  .wf-modal[data-workforce-context] .wf-modal-head, .wf-modal[data-workforce-context] .wf-modal-body { padding:20px; }
}
@media (max-width:500px) {
  #staffCenterSection .wf-v6111 { gap:14px; font-size:13px; }
  #staffCenterSection .wf-v6111 .wf-hero { padding:21px 18px; gap:20px; }
  #staffCenterSection .wf-v6111 .wf-hero h2 { font-size:24px; line-height:1.5; }
  #staffCenterSection .wf-v6111 .wf-eyebrow { font-size:8px; letter-spacing:.08em; }
  #staffCenterSection .wf-v6111 .wf-hero p:not(.wf-eyebrow) { font-size:12px; }
  #staffCenterSection .wf-v6111 .wf-hero-actions .wf-button { flex-basis:100%; }
  #staffCenterSection .wf-v6111 .wf-metrics, #staffCenterSection .wf-v6111 .wf-metrics:has(> :nth-child(5):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #staffCenterSection .wf-v6111 .wf-metric { min-height:104px; padding:15px 13px; border-radius:16px; }
  #staffCenterSection .wf-v6111 .wf-metric b { font-size:23px; }
  #staffCenterSection .wf-v6111 .wf-metric span { font-size:11px; }
  #staffCenterSection .wf-v6111 .wf-tabs { gap:4px; padding:5px; border-radius:15px; }
  #staffCenterSection .wf-v6111 .wf-tab { padding:10px 13px; min-height:46px; font-size:12px; }
  #staffCenterSection .wf-v6111 .wf-card, #staffCenterSection .wf-v6111 #teamSection { padding:17px!important; }
  #staffCenterSection .wf-v6111 .wf-card-head h3 { font-size:17px; }
  #staffCenterSection .wf-v6111 .wf-attendance { grid-template-columns:1fr; gap:21px; }
  #staffCenterSection .wf-v6111 .wf-clock { margin:0 auto; width:124px; height:124px; }
  #staffCenterSection .wf-v6111 .wf-mini-stats { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-mini-stat { display:flex; align-items:center; justify-content:space-between; }
  #staffCenterSection .wf-v6111 .wf-mini-stat span { margin:0; }
  #staffCenterSection .wf-v6111 .wf-directory-filters { grid-template-columns:1fr; padding:14px; }
  #staffCenterSection .wf-v6111 .wf-directory-filters > :first-child { grid-column:auto; }
  #staffCenterSection .wf-v6111 .wf-person { padding:17px; }
  #staffCenterSection .wf-v6111 .wf-person-meta { gap:8px; }
  #staffCenterSection .wf-v6111 .wf-person-meta > div { padding:11px; }
  #staffCenterSection .wf-v6111 .wf-row { flex-wrap:wrap; align-items:flex-start; }
  #staffCenterSection .wf-v6111 .wf-row-copy { flex-basis:calc(100% - 55px); }
  #staffCenterSection .wf-v6111 .wf-row-side { width:100%; justify-content:flex-start; }
  #staffCenterSection .wf-v6111 .wf-wallet-cards, .wf-modal[data-workforce-context] .wf-wallet-cards { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-shortcuts { grid-template-columns:1fr; }
  #staffCenterSection .wf-v6111 .wf-shortcuts .wf-button { min-height:90px; }
  #staffCenterSection .wf-v6111 #teamSection .stable-team-guide { padding:16px; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-grid { grid-template-columns:1fr; gap:10px; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-card { min-height:0; padding:16px; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-card p { display:block; -webkit-line-clamp:unset; }
  #staffCenterSection .wf-v6111 #teamSection .stable-role-detail { grid-template-columns:1fr; padding:16px; }
  #staffCenterSection .wf-v6111 #teamSection .section-title { flex-wrap:wrap; }
  #staffCenterSection .wf-v6111 #inviteTeamForm { padding:14px; }
  #staffCenterSection .wf-v6111 #inviteTeamForm .btn { width:100%; }
  .wf-modal[data-workforce-context] { padding:7px; }
  .wf-modal[data-workforce-context] .wf-modal-box { max-height:calc(100dvh - 14px); border-radius:18px; }
  .wf-modal[data-workforce-context] .wf-modal-head, .wf-modal[data-workforce-context] .wf-modal-body { padding:17px; }
  .wf-modal[data-workforce-context] .wf-modal-head h3 { font-size:17px; }
  .wf-modal[data-workforce-context] .wf-form { grid-template-columns:1fr; gap:15px; }
  .wf-modal[data-workforce-context] .wf-field.wide { grid-column:auto; }
  .wf-modal[data-workforce-context] .wf-modal-actions .wf-button { flex:1 1 100%; }
  .wf-modal[data-workforce-context] .wf-map-toolbar .wf-button { flex:1 1 115px; width:auto; }
  .wf-modal[data-workforce-context] .wf-geofence-map { min-height:280px; height:52dvh; }
}
@media (prefers-reduced-motion:reduce) {
  #staffCenterSection .wf-v6111 *, .wf-modal[data-workforce-context] * { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}
