.staffpulse-pro{max-width:980px;margin:20px auto;font-family:Inter,Segoe UI,Arial,sans-serif;color:#0f172a}.staffpulse-pro .sp-card,.sp-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 6px 20px rgba(15,23,42,.06)}.sp-main{max-width:720px;margin-left:auto!important;margin-right:auto!important}.sp-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.sp-head h3{margin:0;font-size:22px}.sp-head p{margin:5px 0 0;color:#64748b}.sp-head span{text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;font-size:12px}.sp-avatar{width:54px;height:54px;border-radius:14px;background:#0f766e;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px}.sp-status{margin-left:auto;border-radius:999px;padding:10px 16px}.sp-clocked_in{background:#dcfce7;color:#166534}.sp-on_break{background:#ffedd5;color:#c2410c}.sp-clocked_out,.sp-missing_clock_out{background:#fee2e2;color:#991b1b}.sp-counter{margin:16px auto;text-align:center;background:#0f172a;color:#fff;border-radius:16px;padding:18px;max-width:620px}.sp-counter small{display:block;text-transform:uppercase;letter-spacing:.14em;color:#cbd5e1;font-weight:800;font-size:12px}.sp-counter strong{font-size:42px;display:block;line-height:1.1}.sp-counter em{color:#cbd5e1;font-style:normal}.sp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sp-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:13px;padding:12px}.sp-grid span{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:6px}.sp-grid b{font-size:15px}.sp-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}.sp-btn{border:0;border-radius:12px;padding:12px 22px;font-weight:800;text-transform:uppercase;cursor:pointer}.sp-btn.green{background:#16a34a;color:#fff}.sp-btn.orange{background:#f97316;color:#fff}.sp-btn.red{background:#dc2626;color:#fff}.sp-note textarea,.sp-explanation textarea{width:100%;min-height:80px;border:1px solid #cbd5e1;border-radius:12px;padding:10px}.sp-feedback.error{color:#b91c1c}.sp-table-wrap{overflow-x:auto}.sp-table{width:100%;border-collapse:collapse}.sp-table th,.sp-table td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left}.sp-table th{text-transform:uppercase;font-size:11px;color:#64748b}.sp-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:9999;display:flex;align-items:center;justify-content:center}.sp-modal[hidden]{display:none}.sp-modal>div{background:#fff;max-width:440px;width:90%;border-radius:16px;padding:20px;position:relative}.sp-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:24px}.sp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sp-cards div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px}.sp-cards strong{display:block;font-size:24px}.sp-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap}@media(max-width:760px){.sp-grid,.sp-cards{grid-template-columns:1fr}.sp-counter strong{font-size:32px}.sp-status{margin-left:0}.staffpulse-pro{max-width:100%}}

.sp-map-preview{display:block;max-width:160px;height:auto;border-radius:8px;margin-top:6px;border:1px solid #e5e7eb}

/* WPChef Tracker Pro 2.1 admin/manager UX */
.staffpulse-pro .sp-settings-grid,
.staffpulse-pro .sp-two-col,
.staffpulse-pro .sp-location-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.55fr) minmax(280px, .9fr);
  gap:18px;
  align-items:start;
}
.staffpulse-pro .sp-form-main h2,
.staffpulse-pro .sp-card h2{margin-top:0}
.staffpulse-pro .sp-field{margin:0 0 16px}
.staffpulse-pro .sp-field label,
.staffpulse-pro .sp-filter label,
.staffpulse-pro .sp-create-user-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#0f172a}
.staffpulse-pro .sp-field input:not([type=checkbox]):not([type=radio]),
.staffpulse-pro .sp-field select,
.staffpulse-pro .sp-field textarea,
.staffpulse-pro .sp-filter input,
.staffpulse-pro .sp-filter select,
.staffpulse-pro .sp-create-user-form input,
.staffpulse-pro .sp-create-user-form select{border:1px solid #cbd5e1;border-radius:10px;padding:9px 11px;min-height:40px;max-width:100%;box-sizing:border-box}
.staffpulse-pro .sp-field p,.staffpulse-pro .description{color:#64748b;margin:6px 0 0;font-size:13px;line-height:1.45}
.staffpulse-pro .sp-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:12px}
.staffpulse-pro .sp-check{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;font-weight:600!important}
.staffpulse-pro .sp-help-panel{background:#f8fafc;border-style:dashed}
.staffpulse-pro .sp-help-panel ol{margin-left:18px}
.staffpulse-pro .sp-map-side{min-height:360px}
.staffpulse-pro .sp-map-canvas{min-height:320px;border:1px solid #dbe3ef;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.staffpulse-pro .sp-map-canvas iframe{width:100%;height:320px;border:0;display:block}
.staffpulse-pro .sp-map-canvas p{padding:12px;color:#475569}
.staffpulse-pro .sp-shift-form .sp-field label:first-child{font-weight:800}
.staffpulse-pro .sp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px;border-bottom:1px solid #e5e7eb;padding-bottom:10px}
.staffpulse-pro .sp-tabs button{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer;color:#334155}
.staffpulse-pro .sp-tabs button.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
.staffpulse-pro .sp-tab-panel{display:none}
.staffpulse-pro .sp-tab-panel.active{display:block}
.staffpulse-pro .sp-report-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.staffpulse-pro .sp-report-cards div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.staffpulse-pro .sp-report-cards span{display:block;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-size:11px;font-weight:800;margin-bottom:8px}
.staffpulse-pro .sp-report-cards strong{font-size:24px;color:#0f172a}
.staffpulse-pro .sp-pro-attendance-table td{vertical-align:middle}
.staffpulse-pro .sp-pill{display:inline-block;background:#eef2ff;color:#3730a3;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;margin-top:6px}
.staffpulse-pro .sp-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.staffpulse-pro .sp-dot.green{background:#22c55e}.staffpulse-pro .sp-dot.red{background:#ef4444}
.staffpulse-pro .sp-flag{display:inline-block;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:999px;padding:4px 10px;font-weight:700;font-size:12px;max-width:220px}
.staffpulse-pro .sp-mini-note,.staffpulse-pro .sp-loc-card{border:1px solid #e5e7eb;background:#f8fafc;border-radius:12px;padding:8px 10px;margin:5px 0;color:#334155}
.staffpulse-pro .sp-mini-note strong,.staffpulse-pro .sp-loc-card strong{color:#0f172a}
.staffpulse-pro .sp-create-user-form .sp-field-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.staffpulse-pro .sp-table-wide{overflow:auto}
@media(max-width:900px){.staffpulse-pro .sp-settings-grid,.staffpulse-pro .sp-two-col,.staffpulse-pro .sp-location-layout,.staffpulse-pro .sp-field-row,.staffpulse-pro .sp-create-user-form .sp-field-row,.staffpulse-pro .sp-report-cards{grid-template-columns:1fr}.staffpulse-pro .sp-map-side{min-height:260px}.staffpulse-pro .sp-map-canvas iframe{height:260px}}

/* WPChef Tracker Pro 2.2 polish */
.staffpulse-pro{max-width:none;width:min(1500px, calc(100% - 32px));}
.staffpulse-pro.sp-employee{width:100%;max-width:none;}
.staffpulse-pro.sp-employee .sp-main{max-width:620px;margin-left:auto!important;margin-right:auto!important;}
.staffpulse-pro.sp-employee .sp-history{max-width:1180px;margin-left:auto;margin-right:auto;}
.staffpulse-pro .sp-card{box-sizing:border-box;}
.staffpulse-pro .sp-settings-grid{padding:22px;gap:24px;}
.staffpulse-pro .sp-form-main{padding:4px 4px 10px;}
.staffpulse-pro .sp-field{padding-bottom:8px;}
.staffpulse-pro .sp-field>label:first-child{margin-bottom:8px;display:block;}
.staffpulse-pro .sp-field input:not([type=checkbox]):not([type=radio]),
.staffpulse-pro .sp-field select,
.staffpulse-pro .sp-field textarea{width:100%;}
.staffpulse-pro .sp-help-panel{padding:20px;border:1px dashed #94a3b8;background:#f8fafc;}
.staffpulse-pro .sp-radio-inline{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:8px 0 4px;}
.staffpulse-pro .sp-radio-inline label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:7px;font-weight:700!important;margin:0;}
.staffpulse-pro .sp-radio-row{align-items:stretch;}
.staffpulse-pro .sp-table-wide{width:100%;max-width:100%;overflow-x:auto;padding:18px;}
.staffpulse-pro .sp-pro-attendance-table{min-width:1120px;table-layout:auto;}
.staffpulse-pro .sp-pro-attendance-table th,.staffpulse-pro .sp-pro-attendance-table td{padding:13px 12px;vertical-align:middle;}
.staffpulse-pro .sp-pro-attendance-table th{font-weight:800;color:#334155;}
.staffpulse-pro .sp-filter{width:100%;max-width:100%;padding:16px;gap:14px;}
.staffpulse-pro .sp-filter label{min-width:150px;}
.staffpulse-pro .sp-clock-card{padding:18px;}
.staffpulse-pro .sp-clock-head{gap:12px;}
.staffpulse-pro .sp-clock-head .sp-avatar{width:48px;height:48px;font-size:19px;border-radius:14px;}
.staffpulse-pro .sp-person h3{font-size:20px;line-height:1.15;}
.staffpulse-pro .sp-person p{font-size:13px;}
.staffpulse-pro .sp-status{font-size:12px;padding:8px 13px;}
.staffpulse-pro .sp-counter-compact{max-width:500px;padding:17px 18px;border-radius:16px;}
.staffpulse-pro .sp-counter-compact strong{font-size:38px;letter-spacing:-.04em;}
.staffpulse-pro .sp-counter-compact em{font-size:12px;font-weight:700;}
.staffpulse-pro .sp-clock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;}
.staffpulse-pro .sp-clock-summary>div{border:1px solid #e5e7eb;background:#f8fafc;border-radius:14px;padding:12px;}
.staffpulse-pro .sp-clock-summary span{display:block;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-size:11px;font-weight:800;margin-bottom:6px;}
.staffpulse-pro .sp-clock-summary b{font-size:14px;}
.staffpulse-pro .sp-clock-summary .sp-flag-box{grid-column:1/-1;border-color:#fed7aa;background:#fff7ed;}
.staffpulse-pro .sp-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));}
.staffpulse-pro .sp-grid-compact div{padding:11px 12px;}
.staffpulse-pro .sp-actions-wide .sp-btn{flex:1 1 160px;}
.staffpulse-pro .sp-btn.gray{background:#e5e7eb;color:#111827;}
.staffpulse-pro .sp-clock-modal{position:fixed;inset:0;background:rgba(15,23,42,.52);z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px;}
.staffpulse-pro .sp-clock-modal[hidden]{display:none;}
.staffpulse-pro .sp-clock-modal-box{background:#fff;border-radius:18px;max-width:470px;width:100%;padding:22px;box-shadow:0 24px 70px rgba(15,23,42,.28);position:relative;}
.staffpulse-pro .sp-clock-modal-box h3{margin:0 36px 8px 0;font-size:20px;}
.staffpulse-pro .sp-clock-modal-box p{color:#475569;margin:0 0 12px;line-height:1.45;}
.staffpulse-pro .sp-clock-modal-box textarea{width:100%;min-height:110px;border:1px solid #cbd5e1;border-radius:12px;padding:12px;box-sizing:border-box;}
.staffpulse-pro .sp-modal-x{position:absolute;top:12px;right:14px;border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;}
.staffpulse-pro .sp-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;}
.staffpulse-pro .sp-tab-panel{display:none!important;}
.staffpulse-pro .sp-tab-panel.active{display:block!important;}
.staffpulse-pro .sp-tabs button{transition:.15s ease;}
.staffpulse-pro .sp-tabs button:hover{transform:translateY(-1px);}
@media(max-width:900px){.staffpulse-pro{width:calc(100% - 20px)}.staffpulse-pro .sp-settings-grid{padding:16px}.staffpulse-pro .sp-clock-summary,.staffpulse-pro .sp-grid-compact{grid-template-columns:1fr}.staffpulse-pro .sp-counter-compact strong{font-size:32px}.staffpulse-pro .sp-modal-actions{flex-direction:column}.staffpulse-pro .sp-modal-actions .sp-btn{width:100%;}}

.staffpulse-pro .sp-approve-btn,
.wp-admin .staffpulse-pro .sp-approve-btn{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;box-shadow:none!important;}
.staffpulse-pro .sp-reject-btn,
.wp-admin .staffpulse-pro .sp-reject-btn{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;box-shadow:none!important;}
.staffpulse-pro .sp-approve-btn:hover{background:#15803d!important;border-color:#15803d!important;}
.staffpulse-pro .sp-reject-btn:hover{background:#b91c1c!important;border-color:#b91c1c!important;}

/* v2.3.14 refinements */
.staffpulse-pro .sp-note-popup-btn{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:6px 8px;cursor:pointer;font-size:14px;line-height:1;margin:2px}
.staffpulse-pro .sp-note-popup-btn.disabled{opacity:.45}
.staffpulse-pro .sp-icon-button{font-size:14px;min-width:34px;text-align:center}
.staffpulse-pro .sp-action-icons .button{margin:2px}
.staffpulse-pro .sp-inbox-box-tabs{display:flex;gap:8px;margin:12px 0 14px}
.staffpulse-pro .sp-inbox-box-tabs a{padding:9px 16px;border:1px solid #cbd5e1;border-radius:999px;text-decoration:none;font-weight:800;background:#fff}
.staffpulse-pro .sp-inbox-box-tabs a.active{background:#ff6b2c;border-color:#ff6b2c;color:#fff}
.staffpulse-pro .sp-inbox-admin-summary{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.staffpulse-pro .sp-inbox-card.is-unread{border-color:#ff6b2c;background:#fff7ed}
.staffpulse-pro .sp-modal.is-open{display:flex!important}
.staffpulse-pro .sp-modal{display:none;position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.52);align-items:center;justify-content:center;padding:20px}
.staffpulse-pro .sp-modal-box{background:#fff;width:min(980px,96vw);max-height:90vh;overflow:auto;border-radius:18px;padding:22px;position:relative}
.staffpulse-pro .sp-modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:26px;cursor:pointer}

/* v2.3.16 frontend isolation and full-width fixes */
body .staffpulse-pro,
body .staffpulse-pro *{box-sizing:border-box;}
body .staffpulse-pro{font-family:Inter,Arial,sans-serif;color:#0f172a;line-height:1.45;}
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro .wrap.staffpulse-pro{width:min(1600px,calc(100vw - 48px))!important;max-width:none!important;margin-left:calc(50% - 50vw + 24px)!important;margin-right:auto!important;padding:0!important;}
body .staffpulse-pro .wrap{max-width:none!important;}
body .staffpulse-pro .sp-card,
body .staffpulse-pro .sp-mobile-admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 12px 34px rgba(15,23,42,.06);}
body .staffpulse-pro .sp-table-wide{width:100%!important;max-width:100%!important;overflow-x:auto!important;padding:18px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;}
body .staffpulse-pro table.sp-pro-attendance-table,
body .staffpulse-pro .sp-table,
body .staffpulse-pro .widefat{width:100%!important;min-width:1180px;border-collapse:separate;border-spacing:0;}
body .staffpulse-pro .sp-ref-table{min-width:920px;}
body .staffpulse-pro .sp-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.58);padding:22px;}
body .staffpulse-pro .sp-modal.is-open{display:flex!important;}
body .staffpulse-pro .sp-modal-box{width:min(1180px,96vw)!important;max-width:96vw!important;max-height:88vh!important;overflow:auto!important;border-radius:20px;background:#fff;padding:28px;box-shadow:0 30px 90px rgba(15,23,42,.32);}
body .staffpulse-pro .sp-gps-table-wrap{width:100%;max-width:100%;overflow-x:auto;margin-top:14px;border:1px solid #e5e7eb;border-radius:12px;}
body .staffpulse-pro .sp-gps-track-table{min-width:850px;width:100%;}
body .staffpulse-pro .sp-gps-track-table th,
body .staffpulse-pro .sp-gps-track-table td{white-space:normal;vertical-align:top;padding:10px 12px;}
body .staffpulse-pro .sp-loc-card{max-width:280px;overflow-wrap:anywhere;}
body .staffpulse-pro .sp-note-grid{display:grid;grid-template-columns:repeat(2,minmax(34px,1fr));gap:6px;max-width:90px;}
body .staffpulse-pro .sp-note-popup-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:32px;border:1px solid #cbd5e1;background:#fff;border-radius:999px;cursor:pointer;}
body .staffpulse-pro .sp-action-icons{white-space:nowrap;}
body .staffpulse-pro .sp-inbox-card{width:100%;}
body .staffpulse-pro .sp-inbox-list{width:100%;}
body .staffpulse-pro .sp-bell-widget{display:inline-flex;align-items:center;position:relative;margin:0 0 14px;}
body .staffpulse-pro .sp-bell-link,
.sp-menu-bell-link{display:inline-flex;align-items:center;gap:4px;text-decoration:none!important;position:relative;}
.sp-menu-bell-count, body .staffpulse-pro [data-sp-bell-count]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;}
body .staffpulse-pro .sp-bell-slide{position:fixed;right:22px;top:76px;z-index:1000000;background:#111827;color:#fff;padding:12px 16px;border-radius:14px;box-shadow:0 20px 50px rgba(15,23,42,.3);}
@media(max-width:900px){body .staffpulse-pro.sp-front-admin-section,body .staffpulse-pro .wrap.staffpulse-pro{width:calc(100vw - 20px)!important;margin-left:calc(50% - 50vw + 10px)!important;}body .staffpulse-pro .sp-modal-box{padding:18px;}body .staffpulse-pro table.sp-pro-attendance-table,body .staffpulse-pro .sp-table,body .staffpulse-pro .widefat{min-width:980px;}}

/* v2.3.17 frontend shortcode layout repair */
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro .wrap.staffpulse-pro{
  width:min(1600px, calc(100vw - 48px)) !important;
  max-width:1600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  padding:0 !important;
}
body .staffpulse-pro.sp-front-inbox-section{
  display:block !important;
  min-height:360px;
}
body .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card,
body .staffpulse-pro.sp-front-admin-section .sp-mobile-admin-card{
  width:100% !important;
  max-width:100% !important;
  padding:24px !important;
}
body .staffpulse-pro .sp-inbox-toolbar,
body .staffpulse-pro .sp-inbox-filters{
  display:flex !important;
  align-items:flex-end !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
body .staffpulse-pro .sp-inbox-card{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:18px 20px !important;
}
body .staffpulse-pro .sp-inbox-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
body .staffpulse-pro .sp-inbox-box-tabs{
  display:flex !important;
  gap:8px !important;
}
@media(max-width: 780px){
  body .staffpulse-pro.sp-front-admin-section,
  body .staffpulse-pro .wrap.staffpulse-pro{
    width:calc(100vw - 20px) !important;
  }
  body .staffpulse-pro .sp-inbox-card{align-items:flex-start !important; flex-direction:column !important;}
}

/* v2.3.19 UI independence + frontend width + polished controls */
.staffpulse-pro,
.staffpulse-pro *{box-sizing:border-box;}
.staffpulse-pro{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;line-height:1.45;}
body .staffpulse-pro.sp-front-admin-section{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1680px, calc(100vw - 40px))!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
body .staffpulse-pro.sp-front-admin-section > .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section .wrap.staffpulse-pro{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:block!important;
}
body .staffpulse-pro .sp-card,
body .staffpulse-pro .sp-mobile-admin-card{
  background:#fff!important;border:1px solid #e5e7eb!important;border-radius:20px!important;box-shadow:0 14px 45px rgba(15,23,42,.08)!important;
}
body .staffpulse-pro button,
body .staffpulse-pro .button,
body .staffpulse-pro input[type=submit]{
  border-radius:10px!important;font-weight:800!important;min-height:38px!important;padding:8px 14px!important;line-height:1.2!important;box-shadow:none!important;text-decoration:none!important;
}
body .staffpulse-pro .button-primary,
body .staffpulse-pro button.button-primary{background:#3157e7!important;border-color:#3157e7!important;color:#fff!important;}
body .staffpulse-pro .sp-table,
body .staffpulse-pro table.widefat,
body .staffpulse-pro .sp-pro-attendance-table{border:0!important;box-shadow:none!important;width:100%!important;}
body .staffpulse-pro .sp-table th,body .staffpulse-pro .sp-table td,
body .staffpulse-pro table.widefat th,body .staffpulse-pro table.widefat td,
body .staffpulse-pro .sp-pro-attendance-table th,body .staffpulse-pro .sp-pro-attendance-table td{border-left:0!important;border-right:0!important;}
body .staffpulse-pro .sp-table-wide{width:100%!important;max-width:100%!important;overflow-x:auto!important;}
body .staffpulse-pro .sp-note-popup-btn.disabled,
body .staffpulse-pro .sp-note-popup-btn[aria-disabled="true"]{filter:grayscale(1);opacity:.38;cursor:not-allowed;background:#f3f4f6!important;color:#6b7280!important;}
body .staffpulse-pro .sp-note-modal-box{max-width:560px!important;}
body .staffpulse-pro .sp-note-modal-content{white-space:pre-wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:14px;font-weight:700;color:#334155;}
body .staffpulse-pro .sp-inbox-card{border:1px solid #e5e7eb!important;border-radius:18px!important;background:#fff!important;margin:12px 0!important;}
body .staffpulse-pro .sp-inbox-card.is-unread{border-color:#ff6b2c!important;background:#fff8f4!important;}
body .staffpulse-pro .sp-inbox-box-tabs a{display:inline-flex!important;align-items:center;justify-content:center;padding:10px 18px!important;border-radius:999px!important;border:1px solid #d1d5db!important;text-decoration:none!important;font-weight:900!important;margin-right:8px!important;}
body .staffpulse-pro .sp-inbox-box-tabs a.active{background:#ff6b2c!important;color:#fff!important;border-color:#ff6b2c!important;}
body .staffpulse-pro .sp-modal.is-open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;}
body .staffpulse-pro .sp-modal-box{max-height:90vh!important;overflow:auto!important;}
body .staffpulse-pro .sp-location-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:28px;}
body .staffpulse-pro .sp-map-canvas{min-height:340px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden;}
body .staffpulse-pro .sp-map-canvas iframe{width:100%;height:340px;border:0;display:block;}
body .staffpulse-pro .sp-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
body .staffpulse-pro .sp-add-button{margin-left:auto!important;background:#ff6b2c!important;border-color:#ff6b2c!important;color:#fff!important;}
body .staffpulse-pro .sp-muted{color:#64748b;font-weight:700;}
@media(max-width:900px){body .staffpulse-pro.sp-front-admin-section{width:calc(100vw - 18px)!important;}body .staffpulse-pro .sp-location-layout{grid-template-columns:1fr;}body .staffpulse-pro .sp-mobile-admin-card{padding:16px!important;}}


/* v2.3.20 frontend inbox, modal and control fixes */
body .staffpulse-pro.sp-front-admin-section:not(.sp-front-inbox-section){
  width:min(1600px, calc(100vw - 48px)) !important;
  max-width:1600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
body .staffpulse-pro.sp-front-inbox-section{
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:min(1600px, calc(100vw - 48px)) !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-front-inbox-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:0 !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card{
  width:100% !important;
  max-width:none !important;
  padding:24px !important;
  display:block !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-toolbar{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:16px !important;
  flex-wrap:wrap !important;
  width:100% !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-filters{
  display:flex !important;
  align-items:flex-end !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-card{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:18px !important;
  width:100% !important;
  padding:18px 20px !important;
}
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-box-tabs,
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-meta,
body .staffpulse-pro.sp-front-inbox-section .sp-inbox-admin-summary{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}
body .staffpulse-pro .sp-bell-widget{display:none !important;}
body .staffpulse-pro .sp-modal,
body .staffpulse-pro .sp-clock-modal{
  align-items:flex-start !important;
  justify-content:center !important;
  padding:64px 22px 28px !important;
  overflow-y:auto !important;
}
body .staffpulse-pro .sp-modal-box,
body .staffpulse-pro .sp-clock-modal-box{
  margin:0 auto !important;
  max-height:calc(100vh - 96px) !important;
  overflow:auto !important;
}
body .staffpulse-pro .sp-disconnect-btn{
  background:#dc2626 !important;
  border-color:#dc2626 !important;
  color:#fff !important;
}
body .staffpulse-pro .sp-disconnect-btn:hover{background:#b91c1c !important;border-color:#b91c1c !important;color:#fff !important;}
body .staffpulse-pro .sp-action-icons{display:flex;gap:8px;align-items:center;white-space:nowrap;}
body .staffpulse-pro .sp-icon-button,
body .staffpulse-pro .sp-action-icons .button.sp-icon-button{
  width:42px !important;
  height:38px !important;
  min-width:42px !important;
  min-height:38px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:10px !important;
  font-size:18px !important;
  line-height:1 !important;
  font-family:Arial,sans-serif !important;
  text-decoration:none !important;
}
body .staffpulse-pro .sp-approve-btn{background:#16a34a !important;border-color:#16a34a !important;color:#fff !important;}
body .staffpulse-pro .sp-reject-btn{background:#dc2626 !important;border-color:#dc2626 !important;color:#fff !important;}
@media(max-width:780px){
  body .staffpulse-pro.sp-front-inbox-section{width:calc(100vw - 20px) !important;}
  body .staffpulse-pro.sp-front-inbox-section .sp-inbox-card{grid-template-columns:1fr !important;align-items:flex-start !important;}
}

/* v2.3.21 frontend Inbox hardening and theme-isolation fixes */
body .entry-content .staffpulse-pro.sp-front-inbox-section,
body #main-content .entry-content .staffpulse-pro.sp-front-inbox-section {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #101827 !important;
  line-height: 1.45 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section * {
  box-sizing: border-box !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section h1,
body .entry-content .staffpulse-pro.sp-front-inbox-section h2,
body .entry-content .staffpulse-pro.sp-front-inbox-section h3,
body .entry-content .staffpulse-pro.sp-front-inbox-section p {
  line-height: 1.35 !important;
  padding: 0 !important;
  margin-top: 0 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section h1 {
  font-size: 30px !important;
  font-weight: 800 !important;
  margin: 0 0 16px !important;
  color: #111827 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section h2 {
  font-size: 26px !important;
  font-weight: 900 !important;
  margin: 0 0 10px !important;
  color: #111827 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section h3 {
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 0 0 7px !important;
  color: #111827 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section p {
  font-size: 14px !important;
  color: #475569 !important;
  margin: 0 0 12px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card,
body #main-content .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.08) !important;
  padding: 28px !important;
  min-height: 0 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 18px !important;
  margin-bottom: 16px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-admin-summary {
  margin: 14px 0 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-box-tabs {
  margin: 12px 0 16px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-box-tabs a {
  min-width: 88px !important;
  text-align: center !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-toolbar {
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  padding: 16px !important;
  margin: 0 0 20px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-filters label {
  display: block !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section input[type="text"],
body .entry-content .staffpulse-pro.sp-front-inbox-section input[type="search"],
body .entry-content .staffpulse-pro.sp-front-inbox-section select,
body .entry-content .staffpulse-pro.sp-front-inbox-section textarea {
  height: 42px !important;
  min-width: 160px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111827 !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section textarea {
  height: auto !important;
  min-height: 110px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-btn,
body .entry-content .staffpulse-pro.sp-front-inbox-section .button,
body .entry-content .staffpulse-pro.sp-front-inbox-section button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: .18s ease !important;
  box-shadow: none !important;
  line-height: 1.1 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-btn-primary,
body .entry-content .staffpulse-pro.sp-front-inbox-section .button-primary {
  background: #3157e7 !important;
  border: 1px solid #3157e7 !important;
  color: #fff !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-btn-outline,
body .entry-content .staffpulse-pro.sp-front-inbox-section .button:not(.button-primary) {
  background: #fff !important;
  border: 1px solid #3157e7 !important;
  color: #3157e7 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-list {
  display: grid !important;
  gap: 14px !important;
  margin-top: 10px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 20px rgba(15,23,42,.04) !important;
  margin: 0 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-card.is-unread {
  border-color: #ff6b2c !important;
  background: #fff7f1 !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #312e81 !important;
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-pill-specific { color:#c2410c !important; background:#fff7ed !important; border-color:#fed7aa !important; }
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-pill-general { color:#1d4ed8 !important; background:#eff6ff !important; border-color:#bfdbfe !important; }
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-pill-open { color:#047857 !important; background:#ecfdf5 !important; border-color:#a7f3d0 !important; }
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-pill-completed { color:#475569 !important; background:#f1f5f9 !important; border-color:#cbd5e1 !important; }
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  background: rgba(15,23,42,.64) !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-modal-box {
  width: min(980px, calc(100vw - 36px)) !important;
  background: #fff !important;
  color: #111827 !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 35px 100px rgba(0,0,0,.28) !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-modal-close {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #111827 !important;
  font-size: 28px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-locked,
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-thread,
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-recipient-picker {
  border-radius: 14px !important;
}
body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-user-list {
  min-height: 82px !important;
}
@media(max-width:780px){
  body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card{padding:18px!important;}
  body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-toolbar{display:block!important;}
  body .entry-content .staffpulse-pro.sp-front-inbox-section .sp-inbox-filters{display:grid!important;grid-template-columns:1fr!important;}
  body .entry-content .staffpulse-pro.sp-front-inbox-section input[type="text"],
  body .entry-content .staffpulse-pro.sp-front-inbox-section input[type="search"],
  body .entry-content .staffpulse-pro.sp-front-inbox-section select{width:100%!important;}
}


/* v2.3.22 domain/licensing/branding UI polish */
body .staffpulse-pro .sp-table,
body .staffpulse-pro table.widefat,
body .staffpulse-pro .sp-pro-attendance-table{border:none!important;border-collapse:separate!important;border-spacing:0!important;background:transparent!important;}
body .staffpulse-pro .sp-card.sp-table-wide,
body .staffpulse-pro .sp-table-wide{border:none!important;box-shadow:none!important;background:transparent!important;}
body .staffpulse-pro .sp-btn,
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro .button.button-primary{background:#3157e7!important;border:1px solid #3157e7!important;color:#fff!important;border-radius:14px!important;font-weight:900!important;box-shadow:0 8px 0 rgba(17,17,17,.18)!important;}
body .staffpulse-pro .button:not(.button-primary):not(.sp-disconnect-btn),
body .staffpulse-pro .sp-edit-button{background:#fff!important;color:#111827!important;border:2px solid #111827!important;border-radius:12px!important;font-weight:900!important;}
body .staffpulse-pro .sp-delete-button{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button{float:right!important;margin-left:auto!important;}
body .staffpulse-pro .sp-pro-attendance-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;border:0!important;box-shadow:none!important;}
body .staffpulse-pro .sp-tracker + .sp-card,
body .staffpulse-pro .sp-front-clock-panel + .sp-card{width:min(1600px,calc(100vw - 48px))!important;max-width:none!important;margin-left:50%!important;transform:translateX(-50%)!important;border:none!important;}
body .staffpulse-pro .sp-password-manual-wrap{margin-top:10px;}
body .staffpulse-pro .sp-create-user-form:has(input[name="password_mode"][value="manual"]:checked) .sp-password-manual-wrap{display:block!important;}
body .staffpulse-pro .sp-icon-button{font-size:0!important;}
body .staffpulse-pro .sp-approve-btn:before{content:"✓";font-size:18px!important;}
body .staffpulse-pro .sp-reject-btn:before{content:"×";font-size:20px!important;}


/* v2.3.23 WPChef orange/black Office-style UI refresh */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section {
  --sp-orange:#ff6b2c;
  --sp-orange-dark:#e95517;
  --sp-black:#111111;
  --sp-charcoal:#1f2937;
  --sp-muted:#6b7280;
  --sp-line:#e5e7eb;
  --sp-soft:#f7f8fa;
  --sp-card:#ffffff;
  color:#111827!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  box-sizing:border-box!important;
}
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section {
  width:min(1600px,calc(100vw - 48px))!important;
  max-width:1600px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:28px!important;
  background:#f3f4f6!important;
  border-radius:0!important;
}
body .staffpulse-pro *, body .staffpulse-pro *:before, body .staffpulse-pro *:after{box-sizing:border-box!important;}
body .staffpulse-pro h1{font-size:34px!important;line-height:1.15!important;font-weight:800!important;color:var(--sp-black)!important;margin:0 0 22px!important;letter-spacing:-.02em!important;}
body .staffpulse-pro h2, body .staffpulse-pro h3, body .staffpulse-pro h4{color:var(--sp-black)!important;font-weight:800!important;letter-spacing:-.01em!important;}
body .staffpulse-pro .description, body .staffpulse-pro p.description{color:var(--sp-muted)!important;font-size:14px!important;}
body .staffpulse-pro .sp-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 22px!important;padding:0!important;border:0!important;}
body .staffpulse-pro .sp-card,
body .staffpulse-pro .sp-mobile-admin-card,
body .staffpulse-pro .sp-main,
body .staffpulse-pro .sp-history,
body .staffpulse-pro .sp-filter,
body .staffpulse-pro .sp-report-cards>div,
body .staffpulse-pro .sp-inbox-card {
  background:var(--sp-card)!important;
  border:1px solid rgba(17,17,17,.08)!important;
  border-radius:22px!important;
  box-shadow:0 18px 45px rgba(17,17,17,.06)!important;
}
body .staffpulse-pro .sp-card{padding:24px!important;}
body .staffpulse-pro input[type=text], body .staffpulse-pro input[type=email], body .staffpulse-pro input[type=password], body .staffpulse-pro input[type=search], body .staffpulse-pro input[type=url], body .staffpulse-pro input[type=number], body .staffpulse-pro input[type=date], body .staffpulse-pro input[type=time], body .staffpulse-pro select, body .staffpulse-pro textarea{
  border:1px solid #d5dbe5!important;
  border-radius:14px!important;
  min-height:46px!important;
  padding:10px 14px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
  font-size:15px!important;
}
body .staffpulse-pro input:focus, body .staffpulse-pro select:focus, body .staffpulse-pro textarea:focus{outline:0!important;border-color:var(--sp-orange)!important;box-shadow:0 0 0 4px rgba(255,107,44,.14)!important;}
body .staffpulse-pro .button,
body .staffpulse-pro button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro a.button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:10px 18px!important;
  border-radius:999px!important;
  border:1px solid var(--sp-line)!important;
  background:#fff!important;
  color:var(--sp-charcoal)!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 2px 0 rgba(17,17,17,.12)!important;
  cursor:pointer!important;
}
body .staffpulse-pro .button-primary,
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro .sp-btn-primary,
body .staffpulse-pro .sp-btn.green,
body .staffpulse-pro .sp-create-user-form .button-primary {
  background:var(--sp-orange)!important;
  border-color:var(--sp-orange)!important;
  color:#fff!important;
}
body .staffpulse-pro .button-primary:hover,
body .staffpulse-pro .sp-add-button:hover,
body .staffpulse-pro .sp-btn-primary:hover {background:var(--sp-orange-dark)!important;border-color:var(--sp-orange-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-edit-button,
body .staffpulse-pro .sp-open-modal,
body .staffpulse-pro [data-sp-open-modal],
body .staffpulse-pro .sp-btn-outline {background:#fff!important;color:var(--sp-black)!important;border:1px solid #111!important;}
body .staffpulse-pro .sp-delete-button,
body .staffpulse-pro .sp-disconnect-btn,
body .staffpulse-pro .sp-btn.red {background:#ef4444!important;border-color:#ef4444!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button{margin-left:auto!important;float:none!important;box-shadow:0 10px 24px rgba(255,107,44,.24)!important;}
body .staffpulse-pro .widefat,
body .staffpulse-pro table,
body .staffpulse-pro .sp-pro-attendance-table {
  width:100%!important;
  border:0!important;
  border-collapse:separate!important;
  border-spacing:0 10px!important;
  background:transparent!important;
}
body .staffpulse-pro .widefat thead th,
body .staffpulse-pro table thead th,
body .staffpulse-pro .sp-pro-attendance-table thead th {
  border:0!important;
  background:transparent!important;
  color:#667085!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  font-size:12px!important;
  font-weight:900!important;
  padding:10px 14px!important;
}
body .staffpulse-pro .widefat tbody tr,
body .staffpulse-pro table tbody tr,
body .staffpulse-pro .sp-pro-attendance-table tbody tr {
  background:#fff!important;
  box-shadow:0 10px 30px rgba(17,17,17,.04)!important;
}
body .staffpulse-pro .widefat tbody td,
body .staffpulse-pro table tbody td,
body .staffpulse-pro .sp-pro-attendance-table tbody td {
  border-top:1px solid #eef0f3!important;
  border-bottom:1px solid #eef0f3!important;
  padding:18px 14px!important;
  vertical-align:middle!important;
  background:#fff!important;
}
body .staffpulse-pro .widefat tbody td:first-child,
body .staffpulse-pro table tbody td:first-child{border-left:1px solid #eef0f3!important;border-radius:18px 0 0 18px!important;}
body .staffpulse-pro .widefat tbody td:last-child,
body .staffpulse-pro table tbody td:last-child{border-right:1px solid #eef0f3!important;border-radius:0 18px 18px 0!important;}
body .staffpulse-pro .sp-pill,
body .staffpulse-pro .sp-badge,
body .staffpulse-pro .sp-status {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important;font-weight:900!important;background:#fff7ed!important;color:#c2410c!important;border:1px solid #fed7aa!important;
}
body .staffpulse-pro .sp-note-icons{display:grid!important;grid-template-columns:repeat(2,40px)!important;gap:9px!important;justify-content:center!important;}
body .staffpulse-pro .sp-note-btn,
body .staffpulse-pro .sp-icon-button {width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:999px!important;padding:0!important;border:1px solid #dde3ea!important;background:#fff!important;color:#111827!important;font-size:16px!important;box-shadow:none!important;}
body .staffpulse-pro .sp-note-btn[disabled], body .staffpulse-pro .sp-note-btn.is-disabled{opacity:.38!important;filter:grayscale(1)!important;pointer-events:none!important;background:#f3f4f6!important;color:#9ca3af!important;}
body .staffpulse-pro .sp-approve-btn, body .staffpulse-pro .sp-reject-btn, body .staffpulse-pro .sp-disapprove-btn{border-radius:12px!important;width:auto!important;min-width:44px!important;height:40px!important;padding:0 12px!important;font-size:0!important;box-shadow:none!important;}
body .staffpulse-pro .sp-approve-btn{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;}
body .staffpulse-pro .sp-reject-btn, body .staffpulse-pro .sp-disapprove-btn{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;}
body .staffpulse-pro .sp-approve-btn:before{content:"Approve"!important;font-size:13px!important;line-height:1!important;}
body .staffpulse-pro .sp-reject-btn:before{content:"Deny"!important;font-size:13px!important;line-height:1!important;}
body .staffpulse-pro .sp-disapprove-btn:before{content:"Deny"!important;font-size:13px!important;line-height:1!important;}
body .staffpulse-pro .sp-modal, body .staffpulse-pro .sp-clock-modal{z-index:1000000!important;background:rgba(17,24,39,.68)!important;}
body .staffpulse-pro .sp-modal-box, body .staffpulse-pro .sp-clock-modal-box{border-radius:28px!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 35px 100px rgba(0,0,0,.28)!important;}
body .staffpulse-pro .sp-table-wide{width:100%!important;max-width:100%!important;overflow-x:auto!important;}
@media(max-width:782px){body .wrap.staffpulse-pro,body .staffpulse-pro.sp-front-admin-section,body .staffpulse-pro.sp-front-inbox-section{width:calc(100vw - 20px)!important;padding:18px!important;}body .staffpulse-pro .widefat{min-width:900px!important;}}

/* v2.3.24 Velzon-inspired clean UI refresh: no gradients, no heavy shadows */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section{
  --sp-primary:#ff6b2c;
  --sp-primary-soft:#fff3ed;
  --sp-primary-border:#ffd7c7;
  --sp-dark:#111827;
  --sp-text:#1f2937;
  --sp-muted:#6b7280;
  --sp-line:#e9ebef;
  --sp-line-dark:#dfe3ea;
  --sp-bg:#f3f5f9;
  --sp-card:#ffffff;
  --sp-success:#10b981;
  --sp-success-soft:#ecfdf5;
  --sp-danger:#ef4444;
  --sp-danger-soft:#fef2f2;
  --sp-info:#299cdb;
  --sp-info-soft:#eff8ff;
  --sp-warning:#f7b84b;
  --sp-warning-soft:#fff7e6;
  background:var(--sp-bg)!important;
  color:var(--sp-text)!important;
  font-family:Inter,"Nunito",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  letter-spacing:0!important;
}
body .staffpulse-pro *{letter-spacing:0!important;}
body .staffpulse-pro .sp-card,
body .staffpulse-pro .sp-mobile-admin-card,
body .staffpulse-pro .sp-main,
body .staffpulse-pro .sp-history,
body .staffpulse-pro .sp-report-cards>div,
body .staffpulse-pro .sp-inbox-card,
body .staffpulse-pro .sp-filter{
  border:1px solid var(--sp-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro h1{font-size:28px!important;font-weight:700!important;color:var(--sp-dark)!important;margin-bottom:18px!important;}
body .staffpulse-pro h2{font-size:22px!important;font-weight:700!important;color:var(--sp-dark)!important;}
body .staffpulse-pro h3{font-size:18px!important;font-weight:700!important;color:var(--sp-dark)!important;}
body .staffpulse-pro .description,
body .staffpulse-pro p.description,
body .staffpulse-pro .sp-muted{color:var(--sp-muted)!important;font-weight:500!important;}
body .staffpulse-pro input[type=text],
body .staffpulse-pro input[type=email],
body .staffpulse-pro input[type=password],
body .staffpulse-pro input[type=search],
body .staffpulse-pro input[type=url],
body .staffpulse-pro input[type=number],
body .staffpulse-pro input[type=date],
body .staffpulse-pro input[type=time],
body .staffpulse-pro select,
body .staffpulse-pro textarea{
  border:1px solid var(--sp-line-dark)!important;
  border-radius:6px!important;
  min-height:38px!important;
  padding:8px 12px!important;
  background:#fff!important;
  color:var(--sp-text)!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:500!important;
}
body .staffpulse-pro input:focus,
body .staffpulse-pro select:focus,
body .staffpulse-pro textarea:focus{border-color:var(--sp-primary)!important;box-shadow:0 0 0 3px rgba(255,107,44,.12)!important;outline:0!important;}
body .staffpulse-pro .button,
body .staffpulse-pro button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro a.button,
body .staffpulse-pro input[type=submit]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border-radius:6px!important;
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.2!important;
  border:1px solid var(--sp-line-dark)!important;
  background:#fff!important;
  color:var(--sp-text)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important;
}
body .staffpulse-pro .button:hover,
body .staffpulse-pro button:hover,
body .staffpulse-pro a.button:hover{transform:none!important;background:#f8fafc!important;border-color:#cfd6df!important;color:var(--sp-dark)!important;}
body .staffpulse-pro .button-primary,
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro .sp-btn-primary,
body .staffpulse-pro .sp-create-user-form .button-primary{
  background:var(--sp-primary)!important;
  border-color:var(--sp-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro .button-primary:hover,
body .staffpulse-pro .sp-add-button:hover,
body .staffpulse-pro .sp-btn-primary:hover{background:#e95f24!important;border-color:#e95f24!important;color:#fff!important;}
body .staffpulse-pro .sp-edit-button,
body .staffpulse-pro button[data-sp-open-modal],
body .staffpulse-pro .button[data-sp-open-modal],
body .staffpulse-pro .sp-open-modal{background:#405189!important;border-color:#405189!important;color:#fff!important;}
body .staffpulse-pro .sp-edit-button:hover,
body .staffpulse-pro button[data-sp-open-modal]:hover,
body .staffpulse-pro .button[data-sp-open-modal]:hover{background:#354574!important;border-color:#354574!important;color:#fff!important;}
body .staffpulse-pro .sp-delete-button,
body .staffpulse-pro .sp-disconnect-btn,
body .staffpulse-pro .sp-btn.red{background:var(--sp-danger)!important;border-color:var(--sp-danger)!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button{float:none!important;margin-left:auto!important;}
body .staffpulse-pro table,
body .staffpulse-pro .sp-table,
body .staffpulse-pro .widefat,
body .staffpulse-pro .sp-pro-attendance-table{
  width:100%!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  border:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-table-wide,
body .staffpulse-pro .sp-pro-attendance-table-wrap{border:0!important;box-shadow:none!important;background:#fff!important;overflow-x:auto!important;border-radius:10px!important;}
body .staffpulse-pro table thead th,
body .staffpulse-pro .sp-table thead th,
body .staffpulse-pro .widefat thead th,
body .staffpulse-pro .sp-pro-attendance-table thead th{
  background:#fff!important;
  border-top:0!important;
  border-bottom:1px solid var(--sp-line)!important;
  border-left:1px solid var(--sp-line)!important;
  color:#0f172a!important;
  font-size:13px!important;
  font-weight:700!important;
  text-transform:none!important;
  padding:13px 14px!important;
  vertical-align:middle!important;
}
body .staffpulse-pro table thead th:first-child,
body .staffpulse-pro .sp-table thead th:first-child,
body .staffpulse-pro .widefat thead th:first-child{border-left:0!important;}
body .staffpulse-pro table tbody tr,
body .staffpulse-pro .sp-table tbody tr,
body .staffpulse-pro .widefat tbody tr,
body .staffpulse-pro .sp-pro-attendance-table tbody tr{background:#fff!important;box-shadow:none!important;}
body .staffpulse-pro table tbody tr:hover,
body .staffpulse-pro .sp-table tbody tr:hover,
body .staffpulse-pro .widefat tbody tr:hover{background:#fbfcfe!important;}
body .staffpulse-pro table tbody td,
body .staffpulse-pro .sp-table tbody td,
body .staffpulse-pro .widefat tbody td,
body .staffpulse-pro .sp-pro-attendance-table tbody td{
  background:transparent!important;
  border-top:0!important;
  border-bottom:1px solid var(--sp-line)!important;
  border-left:1px solid var(--sp-line)!important;
  border-right:0!important;
  border-radius:0!important;
  padding:14px!important;
  vertical-align:middle!important;
  color:var(--sp-text)!important;
}
body .staffpulse-pro table tbody td:first-child,
body .staffpulse-pro .sp-table tbody td:first-child,
body .staffpulse-pro .widefat tbody td:first-child{border-left:0!important;border-radius:0!important;}
body .staffpulse-pro table tbody td:last-child,
body .staffpulse-pro .sp-table tbody td:last-child,
body .staffpulse-pro .widefat tbody td:last-child{border-radius:0!important;}
body .staffpulse-pro .sp-pill,
body .staffpulse-pro .sp-badge,
body .staffpulse-pro .sp-status,
body .staffpulse-pro .sp-flag{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  min-height:22px!important;padding:3px 8px!important;border-radius:4px!important;
  font-size:11px!important;font-weight:700!important;line-height:1.2!important;
  background:var(--sp-info-soft)!important;color:#299cdb!important;border:0!important;
}
body .staffpulse-pro .sp-ot-pill{background:#f3f0ff!important;color:#6559cc!important;}
body .staffpulse-pro .sp-flag{background:var(--sp-primary-soft)!important;color:#c2410c!important;max-width:240px!important;}
body .staffpulse-pro .sp-note-icons,
body .staffpulse-pro .sp-note-grid{display:grid!important;grid-template-columns:repeat(2,36px)!important;gap:8px!important;justify-content:center!important;}
body .staffpulse-pro .sp-note-popup-btn,
body .staffpulse-pro .sp-round-icon-btn,
body .staffpulse-pro .sp-icon-button{
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:50%!important;padding:0!important;
  background:#fff!important;border:1px solid var(--sp-line-dark)!important;color:#405189!important;box-shadow:none!important;font-size:18px!important;
}
body .staffpulse-pro .sp-note-popup-btn i,
body .staffpulse-pro .sp-round-icon-btn i,
body .staffpulse-pro .sp-icon-button i{font-size:18px!important;line-height:1!important;}
body .staffpulse-pro .sp-note-popup-btn.disabled,
body .staffpulse-pro .sp-note-popup-btn[aria-disabled="true"]{background:#f5f6f8!important;color:#9aa3af!important;border-color:#eceff3!important;opacity:1!important;filter:grayscale(1)!important;pointer-events:none!important;}
body .staffpulse-pro .sp-action-icons{display:flex!important;gap:8px!important;align-items:center!important;white-space:nowrap!important;}
body .staffpulse-pro .sp-clean-action-btn,
body .staffpulse-pro .sp-action-icons .sp-clean-action-btn{
  width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;border-radius:6px!important;padding:7px 12px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important;
}
body .staffpulse-pro .sp-clean-action-btn i{font-size:17px!important;line-height:1!important;}
body .staffpulse-pro .sp-clean-action-btn span{font-size:13px!important;line-height:1!important;}
body .staffpulse-pro .sp-approve-btn{background:var(--sp-success)!important;border-color:var(--sp-success)!important;color:#fff!important;}
body .staffpulse-pro .sp-reject-btn,
body .staffpulse-pro .sp-disapprove-btn{background:var(--sp-danger)!important;border-color:var(--sp-danger)!important;color:#fff!important;}
body .staffpulse-pro .sp-approve-btn:before,
body .staffpulse-pro .sp-reject-btn:before,
body .staffpulse-pro .sp-disapprove-btn:before{content:none!important;}
body .staffpulse-pro .sp-face-stack{display:flex!important;align-items:center!important;gap:0!important;margin-top:8px!important;}
body .staffpulse-pro .sp-face-shot{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:42px!important;height:42px!important;border-radius:999px!important;overflow:visible!important;padding:0!important;margin-right:-9px!important;
  border:2px solid #fff!important;background:#f3f4f6!important;box-shadow:none!important;cursor:pointer!important;
}
body .staffpulse-pro .sp-face-shot img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:999px!important;display:block!important;}
body .staffpulse-pro .sp-face-shot span{position:absolute!important;left:50%!important;bottom:-9px!important;transform:translateX(-50%)!important;background:var(--sp-dark)!important;color:#fff!important;font-size:9px!important;font-weight:800!important;line-height:1!important;padding:2px 5px!important;border-radius:999px!important;}
body .staffpulse-pro .sp-face-enrollment{width:44px!important;height:44px!important;margin:0!important;}
body .staffpulse-pro .sp-face-enrollment:after{content:"";position:absolute;inset:-3px;border:1px solid var(--sp-primary);border-radius:999px;pointer-events:none;}
body .staffpulse-pro .sp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
body .staffpulse-pro .sp-loc-card,
body .staffpulse-pro .sp-mini-note{border:1px solid var(--sp-line)!important;background:#fbfcfe!important;border-radius:8px!important;box-shadow:none!important;}
body .staffpulse-pro .sp-tabs{border-bottom:1px solid var(--sp-line)!important;gap:10px!important;}
body .staffpulse-pro .sp-tabs button{border-radius:6px!important;background:#fff!important;color:#405189!important;border:1px solid var(--sp-line-dark)!important;box-shadow:none!important;}
body .staffpulse-pro .sp-tabs button.active{background:#405189!important;border-color:#405189!important;color:#fff!important;}
body .staffpulse-pro .sp-modal-box,
body .staffpulse-pro .sp-clock-modal-box{border-radius:12px!important;border:1px solid var(--sp-line)!important;box-shadow:none!important;background:#fff!important;}
body .staffpulse-pro .sp-modal,
body .staffpulse-pro .sp-clock-modal{background:rgba(15,23,42,.62)!important;}
@media(max-width:782px){body .staffpulse-pro .sp-face-shot{width:38px!important;height:38px!important;}body .staffpulse-pro .sp-clean-action-btn span{display:none!important;}body .staffpulse-pro .sp-clean-action-btn{width:36px!important;padding:0!important;}}


/* v2.3.25 semantic colors and table/action spacing fixes */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section{
  --sp-ui-blue:#405189;
  --sp-ui-green:#0ab39c;
  --sp-ui-green-soft:#e6f7f4;
  --sp-ui-red:#f06548;
  --sp-ui-red-soft:#fdeeea;
  --sp-ui-orange:#ff6b2c;
  --sp-ui-orange-soft:#fff3ec;
  --sp-ui-cyan:#299cdb;
  --sp-ui-cyan-soft:#eaf7fc;
  --sp-ui-slate:#64748b;
  --sp-ui-border:#e9ebec;
  --sp-ui-head:#f8f9fa;
}

body .staffpulse-pro .button,
body .staffpulse-pro button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro a.button,
body .staffpulse-pro input[type="submit"]{
  border-radius:7px!important;
  box-shadow:none!important;
  min-height:38px!important;
  padding:8px 14px!important;
  font-size:13px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1.2!important;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease!important;
}
body .staffpulse-pro .button:hover,
body .staffpulse-pro button:hover,
body .staffpulse-pro .sp-btn:hover,
body .staffpulse-pro a.button:hover{transform:none!important;box-shadow:none!important;}

/* Colored semantic buttons */
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro .sp-create-user-form .button-primary,
body .staffpulse-pro button[data-sp-open-modal^="add"],
body .staffpulse-pro .button[data-sp-open-modal^="add"]{
  background:var(--sp-ui-green)!important;
  border-color:var(--sp-ui-green)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-add-button:hover,
body .staffpulse-pro button[data-sp-open-modal^="add"]:hover,
body .staffpulse-pro .button[data-sp-open-modal^="add"]:hover{background:#099885!important;border-color:#099885!important;color:#fff!important;}
body .staffpulse-pro .sp-inbox-filters .button,
body .staffpulse-pro .sp-btn-outline:not([data-sp-open-modal]){
  background:var(--sp-ui-cyan-soft)!important;
  border-color:#b8e4f7!important;
  color:#0876a8!important;
}
body .staffpulse-pro .sp-inbox-filters .button:hover,
body .staffpulse-pro .sp-btn-outline:not([data-sp-open-modal]):hover{background:#d8f0fb!important;border-color:#8fd4f1!important;color:#075985!important;}
body .staffpulse-pro .sp-edit-button,
body .staffpulse-pro button[data-sp-open-modal]:not([data-sp-open-modal^="add"]),
body .staffpulse-pro .button[data-sp-open-modal]:not([data-sp-open-modal^="add"]),
body .staffpulse-pro .sp-open-modal{
  background:var(--sp-ui-blue)!important;
  border-color:var(--sp-ui-blue)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-edit-button:hover,
body .staffpulse-pro button[data-sp-open-modal]:not([data-sp-open-modal^="add"]):hover,
body .staffpulse-pro .button[data-sp-open-modal]:not([data-sp-open-modal^="add"]):hover{background:#34416f!important;border-color:#34416f!important;color:#fff!important;}
body .staffpulse-pro .sp-approve-btn,
body .staffpulse-pro .sp-btn.green{
  background:var(--sp-ui-green)!important;
  border-color:var(--sp-ui-green)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-approve-btn:hover{background:#099885!important;border-color:#099885!important;color:#fff!important;}
body .staffpulse-pro .sp-reject-btn,
body .staffpulse-pro .sp-disapprove-btn,
body .staffpulse-pro .sp-delete-button,
body .staffpulse-pro .sp-disconnect-btn,
body .staffpulse-pro .sp-btn.red{
  background:var(--sp-ui-red)!important;
  border-color:var(--sp-ui-red)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-reject-btn:hover,
body .staffpulse-pro .sp-disapprove-btn:hover,
body .staffpulse-pro .sp-delete-button:hover,
body .staffpulse-pro .sp-disconnect-btn:hover{background:#d84f36!important;border-color:#d84f36!important;color:#fff!important;}
body .staffpulse-pro .sp-btn.orange{background:var(--sp-ui-orange)!important;border-color:var(--sp-ui-orange)!important;color:#fff!important;}

/* Datatable-style clean tables with no clipping */
body .staffpulse-pro .sp-card.sp-table-wide,
body .staffpulse-pro .sp-table-wide,
body .staffpulse-pro .sp-pro-attendance-table-wrap,
body .staffpulse-pro .sp-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border:1px solid var(--sp-ui-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:0!important;
  box-shadow:none!important;
}
body .staffpulse-pro table,
body .staffpulse-pro .sp-table,
body .staffpulse-pro .widefat,
body .staffpulse-pro .sp-pro-attendance-table{
  width:100%!important;
  min-width:1120px!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  table-layout:auto!important;
  background:#fff!important;
}
body .staffpulse-pro table thead th,
body .staffpulse-pro .sp-table thead th,
body .staffpulse-pro .widefat thead th,
body .staffpulse-pro .sp-pro-attendance-table thead th{
  background:var(--sp-ui-head)!important;
  color:#334155!important;
  border:0!important;
  border-bottom:1px solid var(--sp-ui-border)!important;
  border-right:1px solid var(--sp-ui-border)!important;
  padding:14px 16px!important;
  font-size:13px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body .staffpulse-pro table thead th:last-child,
body .staffpulse-pro .sp-table thead th:last-child,
body .staffpulse-pro .widefat thead th:last-child,
body .staffpulse-pro .sp-pro-attendance-table thead th:last-child{border-right:0!important;}
body .staffpulse-pro table tbody tr,
body .staffpulse-pro .sp-table tbody tr,
body .staffpulse-pro .widefat tbody tr,
body .staffpulse-pro .sp-pro-attendance-table tbody tr{background:#fff!important;box-shadow:none!important;}
body .staffpulse-pro table tbody tr:hover,
body .staffpulse-pro .sp-table tbody tr:hover,
body .staffpulse-pro .widefat tbody tr:hover,
body .staffpulse-pro .sp-pro-attendance-table tbody tr:hover{background:#fcfcfd!important;}
body .staffpulse-pro table tbody td,
body .staffpulse-pro .sp-table tbody td,
body .staffpulse-pro .widefat tbody td,
body .staffpulse-pro .sp-pro-attendance-table tbody td{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--sp-ui-border)!important;
  border-right:1px solid var(--sp-ui-border)!important;
  border-radius:0!important;
  padding:16px!important;
  vertical-align:middle!important;
  overflow:visible!important;
}
body .staffpulse-pro table tbody td:last-child,
body .staffpulse-pro .sp-table tbody td:last-child,
body .staffpulse-pro .widefat tbody td:last-child,
body .staffpulse-pro .sp-pro-attendance-table tbody td:last-child{border-right:0!important;}
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(6),
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(6){min-width:112px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table td:last-child,
body .staffpulse-pro .sp-pro-attendance-table th:last-child{min-width:190px!important;text-align:center!important;}

/* Keep note/action controls inside cells */
body .staffpulse-pro .sp-note-icons,
body .staffpulse-pro .sp-note-grid{
  display:grid!important;
  grid-template-columns:repeat(2,34px)!important;
  gap:8px!important;
  justify-content:center!important;
  align-items:center!important;
  width:82px!important;
  margin:0 auto!important;
}
body .staffpulse-pro .sp-note-popup-btn,
body .staffpulse-pro .sp-round-icon-btn,
body .staffpulse-pro .sp-icon-button{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:1px solid #d7dce3!important;
  color:var(--sp-ui-blue)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body .staffpulse-pro .sp-note-popup-btn i,
body .staffpulse-pro .sp-round-icon-btn i,
body .staffpulse-pro .sp-icon-button i{font-size:17px!important;line-height:1!important;margin:0!important;}
body .staffpulse-pro .sp-note-popup-btn.disabled,
body .staffpulse-pro .sp-note-popup-btn[aria-disabled="true"],
body .staffpulse-pro .sp-note-btn[disabled],
body .staffpulse-pro .sp-note-btn.is-disabled{
  background:#f5f6f8!important;
  color:#a8afb9!important;
  border-color:#edf0f3!important;
  opacity:1!important;
  filter:grayscale(1)!important;
  cursor:not-allowed!important;
}
body .staffpulse-pro .sp-action-icons{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  white-space:normal!important;
  min-width:166px!important;
}
body .staffpulse-pro .sp-clean-action-btn,
body .staffpulse-pro .sp-action-icons .sp-clean-action-btn{
  height:36px!important;
  min-height:36px!important;
  min-width:78px!important;
  border-radius:7px!important;
  padding:7px 10px!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-clean-action-btn i{font-size:16px!important;margin:0!important;}

/* Inbox action alignment */
body .staffpulse-pro .sp-inbox-toolbar{align-items:end!important;gap:12px!important;}
body .staffpulse-pro .sp-inbox-card{border-color:#eef0f3!important;box-shadow:none!important;background:#fff!important;}
body .staffpulse-pro .sp-inbox-card.is-unread{border-color:var(--sp-ui-orange)!important;background:#fff9f5!important;}
body .staffpulse-pro .sp-inbox-card .sp-btn-outline[data-sp-open-modal],
body .staffpulse-pro .sp-inbox-card button[data-sp-open-modal]{background:var(--sp-ui-blue)!important;border-color:var(--sp-ui-blue)!important;color:#fff!important;}

/* Snapshot avatars */
body .staffpulse-pro .sp-face-stack{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:92px!important;}
body .staffpulse-pro .sp-face-shot,
body .staffpulse-pro .sp-face-enrollment{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:50%!important;overflow:visible!important;box-shadow:none!important;border:2px solid #fff!important;background:#f3f4f6!important;margin-right:-8px!important;
}
body .staffpulse-pro .sp-face-shot img,
body .staffpulse-pro .sp-face-enrollment img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}

/* v2.3.26 payroll table alignment + colored action button final pass */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section{
  --sp-success:#0ab39c;
  --sp-success-dark:#089481;
  --sp-danger:#f06548;
  --sp-danger-dark:#d84f36;
  --sp-info:#299cdb;
  --sp-info-dark:#2385ba;
  --sp-primary:#405189;
  --sp-primary-dark:#34416f;
  --sp-warning:#f7b84b;
  --sp-border:#e9ebec;
  --sp-head:#f8f9fa;
}
body .staffpulse-pro .button,
body .staffpulse-pro button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro input[type="submit"],
body .staffpulse-pro a.button{
  border-radius:6px!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transform:none!important;
  min-height:36px!important;
  padding:8px 14px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.15!important;
  border-width:1px!important;
  text-decoration:none!important;
}
body .staffpulse-pro .button:hover,
body .staffpulse-pro button:hover,
body .staffpulse-pro .sp-btn:hover,
body .staffpulse-pro input[type="submit"]:hover,
body .staffpulse-pro a.button:hover{
  box-shadow:none!important;
  transform:none!important;
}
body .staffpulse-pro .button-primary,
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro button[data-sp-open-modal^="add"],
body .staffpulse-pro a.button[data-sp-open-modal^="add"]{
  background:var(--sp-success)!important;
  border-color:var(--sp-success)!important;
  color:#fff!important;
}
body .staffpulse-pro .button-primary:hover,
body .staffpulse-pro .sp-add-button:hover,
body .staffpulse-pro button[data-sp-open-modal^="add"]:hover,
body .staffpulse-pro a.button[data-sp-open-modal^="add"]:hover{
  background:var(--sp-success-dark)!important;
  border-color:var(--sp-success-dark)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-filter a.button.button-primary,
body .staffpulse-pro a[href*="staffpulse_pro_export"],
body .staffpulse-pro a.button[href*="staffpulse_pro_export"]{
  background:var(--sp-info)!important;
  border-color:var(--sp-info)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-filter a.button.button-primary:hover,
body .staffpulse-pro a[href*="staffpulse_pro_export"]:hover{
  background:var(--sp-info-dark)!important;
  border-color:var(--sp-info-dark)!important;
}
body .staffpulse-pro .sp-edit-button,
body .staffpulse-pro .sp-open-modal,
body .staffpulse-pro button[data-sp-open-modal]:not([data-sp-open-modal^="add"]),
body .staffpulse-pro a.button[data-sp-open-modal]:not([data-sp-open-modal^="add"]){
  background:var(--sp-primary)!important;
  border-color:var(--sp-primary)!important;
  color:#fff!important;
}
body .staffpulse-pro .sp-edit-button:hover,
body .staffpulse-pro .sp-open-modal:hover,
body .staffpulse-pro button[data-sp-open-modal]:not([data-sp-open-modal^="add"]):hover,
body .staffpulse-pro a.button[data-sp-open-modal]:not([data-sp-open-modal^="add"]):hover{
  background:var(--sp-primary-dark)!important;
  border-color:var(--sp-primary-dark)!important;
  color:#fff!important;
}
body .staffpulse-pro a.button.sp-clean-action-btn.sp-approve-btn,
body .staffpulse-pro .button.sp-clean-action-btn.sp-approve-btn,
body .staffpulse-pro .sp-clean-action-btn.sp-approve-btn,
body .staffpulse-pro .sp-approve-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  background:var(--sp-success)!important;
  border-color:var(--sp-success)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro a.button.sp-clean-action-btn.sp-approve-btn:hover,
body .staffpulse-pro .sp-clean-action-btn.sp-approve-btn:hover,
body .staffpulse-pro .sp-approve-btn:hover{
  background:var(--sp-success-dark)!important;
  border-color:var(--sp-success-dark)!important;
  color:#fff!important;
}
body .staffpulse-pro a.button.sp-clean-action-btn.sp-reject-btn,
body .staffpulse-pro a.button.sp-clean-action-btn.sp-disapprove-btn,
body .staffpulse-pro .button.sp-clean-action-btn.sp-reject-btn,
body .staffpulse-pro .button.sp-clean-action-btn.sp-disapprove-btn,
body .staffpulse-pro .sp-clean-action-btn.sp-reject-btn,
body .staffpulse-pro .sp-clean-action-btn.sp-disapprove-btn,
body .staffpulse-pro .sp-reject-btn,
body .staffpulse-pro .sp-disapprove-btn,
body .staffpulse-pro .sp-delete-button,
body .staffpulse-pro .sp-disconnect-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  background:var(--sp-danger)!important;
  border-color:var(--sp-danger)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro a.button.sp-clean-action-btn.sp-reject-btn:hover,
body .staffpulse-pro a.button.sp-clean-action-btn.sp-disapprove-btn:hover,
body .staffpulse-pro .sp-clean-action-btn.sp-reject-btn:hover,
body .staffpulse-pro .sp-clean-action-btn.sp-disapprove-btn:hover,
body .staffpulse-pro .sp-reject-btn:hover,
body .staffpulse-pro .sp-disapprove-btn:hover,
body .staffpulse-pro .sp-delete-button:hover,
body .staffpulse-pro .sp-disconnect-btn:hover{
  background:var(--sp-danger-dark)!important;
  border-color:var(--sp-danger-dark)!important;
  color:#fff!important;
}

body .staffpulse-pro .sp-card.sp-table-wide,
body .staffpulse-pro .sp-table-wide,
body .staffpulse-pro .sp-pro-attendance-table-wrap,
body .staffpulse-pro .sp-table-wrap{
  overflow-x:auto!important;
  overflow-y:visible!important;
  padding:0!important;
  border:1px solid var(--sp-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-pro-attendance-table{
  min-width:1440px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
}
body .staffpulse-pro .sp-pro-attendance-table th,
body .staffpulse-pro .sp-pro-attendance-table td{
  border-top:0!important;
  border-left:0!important;
  border-bottom:1px solid var(--sp-border)!important;
  border-right:1px solid var(--sp-border)!important;
  padding:16px!important;
  vertical-align:middle!important;
  overflow:visible!important;
  background:#fff!important;
}
body .staffpulse-pro .sp-pro-attendance-table th{
  background:var(--sp-head)!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body .staffpulse-pro .sp-pro-attendance-table th:last-child,
body .staffpulse-pro .sp-pro-attendance-table td:last-child{border-right:0!important;}
body .staffpulse-pro .sp-pro-attendance-table tr:last-child td{border-bottom:0!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(1),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(1){width:135px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(2),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(2){width:150px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(3),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(3){width:160px!important;white-space:nowrap!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(4),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(4){width:170px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(5),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(5){width:120px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(6),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(6){width:300px!important;text-align:left!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(7),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(7){width:120px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(8),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(8){width:115px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(9),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(9){width:130px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(10),
body .staffpulse-pro .sp-pro-attendance-table td:nth-child(10){width:200px!important;text-align:center!important;}
body .staffpulse-pro .sp-action-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  min-width:170px!important;
}
body .staffpulse-pro .sp-action-icons .sp-clean-action-btn,
body .staffpulse-pro .sp-clean-action-btn{
  min-width:82px!important;
  height:36px!important;
  min-height:36px!important;
  border-radius:6px!important;
  padding:8px 10px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-note-icons,
body .staffpulse-pro .sp-note-grid{
  display:grid!important;
  grid-template-columns:repeat(2,36px)!important;
  gap:8px!important;
  justify-content:center!important;
  align-items:center!important;
  width:86px!important;
  margin:0 auto!important;
}
body .staffpulse-pro .sp-note-popup-btn,
body .staffpulse-pro .sp-round-icon-btn,
body .staffpulse-pro .sp-icon-button{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  border-radius:50%!important;
  box-shadow:none!important;
}
body .staffpulse-pro .sp-loc-card{max-width:270px!important;margin:0 auto!important;}
body .staffpulse-pro .sp-filter{
  align-items:flex-end!important;
  gap:14px!important;
}
body .staffpulse-pro .sp-filter .button{margin-top:0!important;}
body .staffpulse-pro .sp-filter label{min-width:145px!important;}


/* v2.3.27 button, payroll grid, and GPS tracking refinements */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section{
  --sp-success:#0ab39c;
  --sp-success-dark:#089481;
  --sp-danger:#f06548;
  --sp-danger-dark:#d84f36;
  --sp-info:#299cdb;
  --sp-info-dark:#2385ba;
  --sp-primary:#405189;
  --sp-primary-dark:#34416f;
  --sp-muted:#878a99;
  --sp-muted-dark:#74788d;
  --sp-border:#e9ebec;
  --sp-soft:#f3f6f9;
}
body .staffpulse-pro .button,
body .staffpulse-pro button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro input[type="submit"],
body .staffpulse-pro a.button{
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:5px!important;
  min-height:38px!important;
  padding:9px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-weight:700!important;
  line-height:1!important;
}
body .staffpulse-pro .sp-filter,
body .staffpulse-pro form.sp-filter{
  display:flex!important;
  align-items:flex-end!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  padding:18px!important;
}
body .staffpulse-pro .sp-filter label{
  min-width:150px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  font-size:13px!important;
  font-weight:800!important;
}
body .staffpulse-pro .sp-filter input,
body .staffpulse-pro .sp-filter select{
  height:44px!important;
  min-height:44px!important;
  padding:10px 14px!important;
  border:1px solid #dde2e7!important;
  border-radius:5px!important;
  background:#fff!important;
  font-size:14px!important;
}
body .staffpulse-pro .sp-filter .button,
body .staffpulse-pro .sp-filter-btn,
body .staffpulse-pro .sp-payroll-csv-btn{
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  white-space:nowrap!important;
}
body .staffpulse-pro .sp-filter-btn{background:var(--sp-primary)!important;border-color:var(--sp-primary)!important;color:#fff!important;}
body .staffpulse-pro .sp-filter-btn:hover{background:var(--sp-primary-dark)!important;border-color:var(--sp-primary-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-payroll-csv-btn{background:var(--sp-info)!important;border-color:var(--sp-info)!important;color:#fff!important;}
body .staffpulse-pro .sp-payroll-csv-btn:hover{background:var(--sp-info-dark)!important;border-color:var(--sp-info-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro button[data-sp-open-modal^="add"],
body .staffpulse-pro a.button[data-sp-open-modal^="add"]{background:var(--sp-success)!important;border-color:var(--sp-success)!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button:hover,
body .staffpulse-pro button[data-sp-open-modal^="add"]:hover,
body .staffpulse-pro a.button[data-sp-open-modal^="add"]:hover{background:var(--sp-success-dark)!important;border-color:var(--sp-success-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-admin-reply-box [data-sp-mobile-admin-complete],
body .staffpulse-pro .sp-admin-reply-box [data-sp-admin-complete]{background:var(--sp-success)!important;border-color:var(--sp-success)!important;color:#fff!important;}
body .staffpulse-pro a[href*="Ultimate+Member"].button{background:var(--sp-muted)!important;border-color:var(--sp-muted)!important;color:#fff!important;}
body .staffpulse-pro a[href*="Ultimate+Member"].button:hover{background:var(--sp-muted-dark)!important;border-color:var(--sp-muted-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-pro-attendance-table-wrap,
body .staffpulse-pro .sp-card.sp-table-wide,
body .staffpulse-pro .sp-table-wide{
  overflow-x:auto!important;
  overflow-y:visible!important;
  border:1px solid var(--sp-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:0!important;
}
body .staffpulse-pro .sp-pro-attendance-table{
  min-width:1460px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body .staffpulse-pro .sp-pro-attendance-table th,
body .staffpulse-pro .sp-pro-attendance-table td{
  border-right:1px solid var(--sp-border)!important;
  border-bottom:1px solid var(--sp-border)!important;
  border-top:0!important;
  border-left:0!important;
  padding:16px!important;
  vertical-align:middle!important;
  overflow:visible!important;
}
body .staffpulse-pro .sp-pro-attendance-table th:last-child,
body .staffpulse-pro .sp-pro-attendance-table td:last-child{border-right:0!important;}
body .staffpulse-pro .sp-pro-attendance-table tr:last-child td{border-bottom:0!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(1),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(1){width:130px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(2),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(2){width:150px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(3),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(3){width:175px!important;white-space:normal!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(4),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(4){width:170px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(5),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(5){width:118px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(6),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(6){width:300px!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(7),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(7){width:126px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(8),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(8){width:105px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(9),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(9){width:120px!important;text-align:center!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(10),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(10){width:112px!important;text-align:center!important;}
body .staffpulse-pro .sp-action-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:84px!important;
}
body .staffpulse-pro .sp-action-icons .sp-clean-action-btn,
body .staffpulse-pro .sp-icon-only-action{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  border-radius:50%!important;
  font-size:0!important;
}
body .staffpulse-pro .sp-icon-only-action i,
body .staffpulse-pro .sp-action-icons .sp-clean-action-btn i{font-size:20px!important;margin:0!important;line-height:1!important;}
body .staffpulse-pro .sp-approve-btn{background:var(--sp-success)!important;border-color:var(--sp-success)!important;color:#fff!important;}
body .staffpulse-pro .sp-approve-btn:hover{background:var(--sp-success-dark)!important;border-color:var(--sp-success-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-reject-btn,
body .staffpulse-pro .sp-disapprove-btn{background:var(--sp-danger)!important;border-color:var(--sp-danger)!important;color:#fff!important;}
body .staffpulse-pro .sp-reject-btn:hover,
body .staffpulse-pro .sp-disapprove-btn:hover{background:var(--sp-danger-dark)!important;border-color:var(--sp-danger-dark)!important;color:#fff!important;}
body .staffpulse-pro .sp-note-grid,
body .staffpulse-pro .sp-note-icons{
  grid-template-columns:repeat(2,38px)!important;
  width:92px!important;
  gap:8px!important;
  margin:0 auto!important;
}
body .staffpulse-pro .sp-note-popup-btn,
body .staffpulse-pro .sp-round-icon-btn{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  border-radius:50%!important;padding:0!important;box-shadow:none!important;
}
body .staffpulse-pro .sp-mobile-layout,
body .staffpulse-pro .sp-mobile-admin-grid,
body .staffpulse-pro .sp-settings-grid{
  align-items:start!important;
}
body .staffpulse-pro .sp-mobile-status-card,
body .staffpulse-pro .sp-status-card{
  position:relative!important;z-index:1!important;background:#fff!important;
}
body .staffpulse-pro .sp-gps-master-table{min-width:1100px!important;width:100%!important;}
body .staffpulse-pro .sp-gps-master-table th,
body .staffpulse-pro .sp-gps-master-table td{padding:13px 14px!important;border-bottom:1px solid var(--sp-border)!important;}
@media(max-width:900px){body .staffpulse-pro .sp-filter label{min-width:100%!important;}body .staffpulse-pro .sp-filter .button{width:100%!important;}}


/* v2.3.28 responsive layout, compact font, and no-shadow button standardization */
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro *{box-sizing:border-box!important;}
body .staffpulse-pro,
body .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section{font-size:12px!important;line-height:1.45!important;max-width:100%!important;width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;transform:none!important;overflow:visible!important;}
body .wrap.staffpulse-pro{padding:18px 22px!important;background:#f3f6f9!important;}
body .staffpulse-pro h1{font-size:24px!important;line-height:1.2!important;margin:0 0 16px!important;color:#111827!important;}
body .staffpulse-pro h2{font-size:18px!important;line-height:1.3!important;}
body .staffpulse-pro h3{font-size:14px!important;line-height:1.35!important;}
body .staffpulse-pro .sp-card{box-shadow:none!important;border:1px solid #e9ebec!important;border-radius:10px!important;max-width:100%!important;}
body .staffpulse-pro .button,
body .staffpulse-pro .sp-btn,
body .staffpulse-pro button,
body .staffpulse-pro a.button,
body .staffpulse-pro input[type="submit"]{box-shadow:none!important;text-shadow:none!important;border-radius:5px!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;min-height:34px!important;padding:7px 12px!important;line-height:1.1!important;}
body .staffpulse-pro .sp-filter,
body .staffpulse-pro form.sp-filter{display:grid!important;grid-template-columns:repeat(6,minmax(128px,1fr)) auto auto!important;gap:12px!important;align-items:end!important;width:100%!important;overflow:visible!important;}
body .staffpulse-pro .sp-filter label{min-width:0!important;width:100%!important;font-size:12px!important;}
body .staffpulse-pro .sp-filter input,
body .staffpulse-pro .sp-filter select{height:38px!important;min-height:38px!important;font-size:12px!important;padding:7px 10px!important;border-radius:5px!important;}
body .staffpulse-pro .sp-filter .button,
body .staffpulse-pro .sp-filter-btn,
body .staffpulse-pro .sp-payroll-csv-btn{height:38px!important;min-height:38px!important;align-self:end!important;}
body .staffpulse-pro .sp-filter-btn{background:#f3f6f9!important;border-color:#d1d5db!important;color:#111827!important;}
body .staffpulse-pro .sp-payroll-csv-btn{background:#299cdb!important;border-color:#299cdb!important;color:#fff!important;}
body .staffpulse-pro .sp-add-button,
body .staffpulse-pro button[data-sp-open-modal^="add"],
body .staffpulse-pro a.button[data-sp-open-modal^="add"]{background:#0ab39c!important;border-color:#0ab39c!important;color:#fff!important;}
body .staffpulse-pro .sp-save-btn,
body .staffpulse-pro button[type="submit"].button-primary{box-shadow:none!important;}
body .staffpulse-pro .sp-table-wide{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;}
body .staffpulse-pro table{font-size:12px!important;}
body .staffpulse-pro .sp-pro-attendance-table{width:100%!important;min-width:1180px!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;}
body .staffpulse-pro .sp-pro-attendance-table th,
body .staffpulse-pro .sp-pro-attendance-table td{font-size:12px!important;padding:12px 10px!important;vertical-align:middle!important;white-space:normal!important;overflow:visible!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(1),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(1){min-width:110px!important;width:7.5%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(2),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(2){min-width:135px!important;width:9%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(3),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(3){min-width:140px!important;width:9.5%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(4),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(4){min-width:130px!important;width:9%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(5),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(5){min-width:95px!important;width:7%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(6),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(6){min-width:245px!important;width:20%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(7),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(7){min-width:100px!important;width:8%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(8),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(8){min-width:88px!important;width:7%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(9),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(9){min-width:92px!important;width:7%!important;}
body .staffpulse-pro .sp-pro-attendance-table th:nth-child(10),body .staffpulse-pro .sp-pro-attendance-table td:nth-child(10){min-width:88px!important;width:6%!important;text-align:center!important;}
body .staffpulse-pro .sp-action-icons{display:flex!important;gap:6px!important;flex-wrap:nowrap!important;justify-content:center!important;min-width:78px!important;}
body .staffpulse-pro .sp-icon-only-action{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;border-radius:5px!important;padding:0!important;}
body .staffpulse-pro .sp-icon-only-action i{font-size:18px!important;}
body .staffpulse-pro .sp-note-grid,body .staffpulse-pro .sp-note-icons{grid-template-columns:repeat(2,32px)!important;width:70px!important;gap:6px!important;}
body .staffpulse-pro .sp-note-popup-btn,body .staffpulse-pro .sp-round-icon-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;}
body .staffpulse-pro .sp-mobile-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,420px)!important;gap:18px!important;align-items:start!important;}
body .staffpulse-pro .sp-mobile-admin-card{box-shadow:none!important;border-radius:10px!important;max-width:100%!important;}
body .staffpulse-pro iframe{display:none!important;}
body .staffpulse-pro .sp-map-placeholder{display:grid;place-items:center;background:#f3f6f9;border:1px dashed #cbd5e1;border-radius:10px;min-height:120px;color:#64748b;text-align:center;padding:18px;margin:12px 0;}
body .staffpulse-pro .sp-agency-logo-preview{max-width:150px;max-height:80px;object-fit:contain;display:block;margin:8px 0;}
@media (max-width: 1200px){body .staffpulse-pro .sp-filter{grid-template-columns:repeat(3,minmax(150px,1fr))!important;}body .staffpulse-pro .sp-filter .button{width:auto!important;}}
@media (max-width: 780px){body .wrap.staffpulse-pro{padding:14px 12px!important;}body .staffpulse-pro .sp-filter{grid-template-columns:1fr!important;}body .staffpulse-pro .sp-filter .button,body .staffpulse-pro .sp-payroll-csv-btn{width:100%!important;}body .staffpulse-pro .sp-mobile-layout{grid-template-columns:1fr!important;}body .staffpulse-pro .sp-section-head{display:block!important;}body .staffpulse-pro .sp-section-head .button{margin-top:10px!important;width:100%!important;}}


/* v2.3.31 responsive template refresh */
body .staffpulse-pro{--sp-orange:#ff6b2c;--sp-dark:#111827;--sp-blue:#2563eb;--sp-green:#10b981;--sp-red:#ef4444;--sp-soft:#f4f7fb;--sp-border:#dbe3ef;font-size:12px;background:linear-gradient(180deg,#f5f7fb 0,#eef3f8 100%);padding:20px;border-radius:0;max-width:none!important;width:100%!important;margin:0 auto!important;overflow:hidden;}
body .staffpulse-pro h1{font-size:26px;letter-spacing:-.03em;margin:0 0 12px;color:#07111f;}
body .staffpulse-pro .sp-card,body .staffpulse-pro .sp-mobile-admin-card{border:1px solid var(--sp-border)!important;border-radius:18px!important;box-shadow:none!important;background:#fff!important;}
body .staffpulse-pro .sp-mobile-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(520px,.75fr)!important;gap:24px!important;align-items:start!important;}
body .staffpulse-pro .sp-mobile-status-card{min-width:0!important;overflow:hidden!important;}
body .staffpulse-pro .sp-status-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body .staffpulse-pro .sp-status-grid .sp-license-status-box{grid-column:1 / -1!important;}
body .staffpulse-pro .sp-status-grid code{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;display:inline-block!important;max-width:100%!important;}
body .staffpulse-pro .sp-license-pill{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.04em;background:#eef2ff;color:#3730a3;}
body .staffpulse-pro .sp-license-active,body .staffpulse-pro .sp-license-yes{background:#dcfce7;color:#166534;}
body .staffpulse-pro .sp-license-pending{background:#fef3c7;color:#92400e;}
body .staffpulse-pro .sp-license-suspended,body .staffpulse-pro .sp-license-disabled,body .staffpulse-pro .sp-license-removed{background:#fee2e2;color:#991b1b;}
body .staffpulse-pro .sp-mobile-license-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px;}
body .staffpulse-pro .sp-sync-license-btn{background:var(--sp-blue)!important;border-color:var(--sp-blue)!important;color:#fff!important;}
body .staffpulse-pro .sp-filter input[type=search]{min-width:260px;}
body .staffpulse-pro .sp-filter input,body .staffpulse-pro .sp-filter select,body .staffpulse-pro .sp-filter .button{height:40px!important;min-height:40px!important;}
body .staffpulse-pro .sp-table-wide{overflow-x:auto!important;border-radius:18px!important;}
body .staffpulse-pro table{font-size:12px!important;}
body .staffpulse-pro .button,body .staffpulse-pro button,body .staffpulse-pro input[type=submit],body .staffpulse-pro .sp-btn{box-shadow:none!important;border-radius:8px!important;text-transform:none!important;}
@media(max-width:1200px){body .staffpulse-pro .sp-mobile-layout{grid-template-columns:1fr!important;}body .staffpulse-pro .sp-status-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:760px){body .staffpulse-pro{padding:12px!important;}body .staffpulse-pro .sp-status-grid-wide{grid-template-columns:1fr!important;}body .staffpulse-pro .sp-filter{display:grid!important;grid-template-columns:1fr!important;}body .staffpulse-pro .sp-filter label{min-width:0!important;}body .staffpulse-pro .sp-filter input[type=search]{min-width:0!important;width:100%!important;}body .staffpulse-pro .sp-mobile-license-actions .button,body .staffpulse-pro .sp-mobile-license-actions form{width:100%;}body .staffpulse-pro .sp-mobile-license-actions button{width:100%;}}


/* v2.3.33 frontend full-width shortcode and employee table repair */
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section,
body .entry-content .staffpulse-pro.sp-front-admin-section,
body .entry-content .staffpulse-pro.sp-front-inbox-section,
body #main-content .staffpulse-pro.sp-front-admin-section,
body #main-content .staffpulse-pro.sp-front-inbox-section{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:calc(100vw - 72px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:24px!important;
  overflow:visible!important;
}
body .staffpulse-pro.sp-front-admin-section > .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-inbox-section > .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-inbox-section .wrap.staffpulse-pro{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body .staffpulse-pro.sp-employee{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
body .staffpulse-pro.sp-employee .sp-main.sp-clock-card{
  width:min(720px,100%)!important;
  max-width:720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history,
body .staffpulse-pro.sp-employee .sp-history.sp-table-wide{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:calc(100vw - 72px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:18px!important;
  overflow:visible!important;
}
body .staffpulse-pro.sp-employee .sp-history > .sp-card.sp-table-wide,
body .staffpulse-pro.sp-employee .sp-history .sp-card.sp-table-wide{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table{
  width:100%!important;
  min-width:0!important;
  table-layout:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table th,
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table td{
  width:auto!important;
  min-width:0!important;
  white-space:normal!important;
}
body .staffpulse-pro.sp-front-admin-section .sp-card,
body .staffpulse-pro.sp-front-admin-section .sp-mobile-admin-card,
body .staffpulse-pro.sp-front-admin-section .sp-table-wide,
body .staffpulse-pro.sp-front-inbox-section .sp-card,
body .staffpulse-pro.sp-front-inbox-section .sp-mobile-admin-card,
body .staffpulse-pro.sp-front-inbox-section .sp-table-wide{
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:782px){
  body .staffpulse-pro.sp-front-admin-section,
  body .staffpulse-pro.sp-front-inbox-section,
  body .staffpulse-pro.sp-employee .sp-history,
  body .staffpulse-pro.sp-employee .sp-history.sp-table-wide{
    width:calc(100vw - 20px)!important;
    padding:14px!important;
  }
}


/* v2.3.34 flexible shortcode width: respect theme/template container */
body .staffpulse-pro,
body .entry-content .staffpulse-pro,
body #main-content .staffpulse-pro{
  box-sizing:border-box!important;
}
body .staffpulse-pro.sp-front-admin-section,
body .staffpulse-pro.sp-front-inbox-section,
body .entry-content .staffpulse-pro.sp-front-admin-section,
body .entry-content .staffpulse-pro.sp-front-inbox-section,
body #main-content .staffpulse-pro.sp-front-admin-section,
body #main-content .staffpulse-pro.sp-front-inbox-section{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:20px!important;
  overflow:visible!important;
}
body .staffpulse-pro.sp-front-admin-section > .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-admin-section .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-inbox-section > .wrap.staffpulse-pro,
body .staffpulse-pro.sp-front-inbox-section .wrap.staffpulse-pro{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:0!important;
  left:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body .staffpulse-pro.sp-employee{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body .staffpulse-pro.sp-employee .sp-main.sp-clock-card,
body .staffpulse-pro.sp-employee .sp-front-clock-panel{
  width:min(720px,100%)!important;
  max-width:720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history,
body .staffpulse-pro.sp-employee .sp-history.sp-table-wide,
body .staffpulse-pro.sp-employee .sp-front-clock-panel + .sp-card{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:18px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  border-radius:18px!important;
}
body .staffpulse-pro.sp-employee .sp-history > .sp-card.sp-table-wide,
body .staffpulse-pro.sp-employee .sp-history .sp-card.sp-table-wide,
body .staffpulse-pro.sp-employee .sp-pro-attendance-table-wrap,
body .staffpulse-pro.sp-front-admin-section .sp-table-wide,
body .staffpulse-pro.sp-front-inbox-section .sp-table-wide{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table,
body .staffpulse-pro.sp-employee .sp-history table.sp-table,
body .staffpulse-pro.sp-front-admin-section table,
body .staffpulse-pro.sp-front-inbox-section table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:auto!important;
}
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table th,
body .staffpulse-pro.sp-employee .sp-history table.sp-pro-attendance-table td,
body .staffpulse-pro.sp-front-admin-section table th,
body .staffpulse-pro.sp-front-admin-section table td,
body .staffpulse-pro.sp-front-inbox-section table th,
body .staffpulse-pro.sp-front-inbox-section table td{
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:782px){
  body .staffpulse-pro.sp-front-admin-section,
  body .staffpulse-pro.sp-front-inbox-section,
  body .staffpulse-pro.sp-employee{
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
  }
}


.staffpulse-pro .sp-delete-btn{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
.staffpulse-pro .sp-delete-btn:hover{background:#ffe4e6!important;color:#9f1239!important}
.staffpulse-pro .sp-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 16px;margin-top:10px}
.staffpulse-pro .sp-audit-settings{border:1px solid #e5e7eb;border-radius:14px;background:#fafafa;padding:16px}

/* v2.3.41 audit logs */
body .staffpulse-pro .sp-audit-log-table td{vertical-align:top!important;}
body .staffpulse-pro .sp-pagination{text-align:center!important;padding:14px!important;}
body .staffpulse-pro .sp-pagination .page-numbers{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:34px!important;height:34px!important;margin:0 3px!important;border:1px solid var(--sp-border,#e5e7eb)!important;border-radius:10px!important;text-decoration:none!important;background:#fff!important;}
body .staffpulse-pro .sp-pagination .current{background:#111827!important;color:#fff!important;border-color:#111827!important;}
