*{box-sizing:border-box}.wphrm-staff-body{margin:0;background:#f3f6fb;color:#172033;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.wphrm-staff-shell{min-height:100vh}.wphrm-staff-sidebar{position:fixed;inset:0 auto 0 0;width:270px;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;overflow:hidden;background:#172033;color:#fff;display:flex;flex-direction:column;z-index:1000;box-shadow:4px 0 22px rgba(15,23,42,.12)}.wphrm-staff-brand{min-height:82px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;flex:0 0 auto}.wphrm-staff-brand>a{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;min-width:0}.wphrm-staff-logo-img{display:block;max-width:46px;max-height:46px;width:auto;height:auto}.wphrm-logo-fallback{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#fff;color:#172033;font-size:22px;font-weight:800}.wphrm-site-name{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wphrm-menu-close{display:none;margin-left:auto;border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}.wphrm-staff-nav{padding:18px 12px;display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.wphrm-staff-nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:10px;color:#dce4f2;text-decoration:none;font-weight:650;transition:.18s ease}.wphrm-staff-nav a:hover,.wphrm-staff-nav a.is-active{background:#fff;color:#172033;transform:translateX(2px)}.wphrm-staff-nav .dashicons{width:22px;height:22px;font-size:22px}.wphrm-staff-user{margin-top:0;padding:18px;border-top:1px solid rgba(255,255,255,.1);display:grid;gap:9px;flex:0 0 auto}.wphrm-staff-user a{color:#dce4f2;text-decoration:none;display:flex;gap:8px;align-items:center}.wphrm-staff-main{margin-left:270px;min-height:100vh}.wphrm-staff-header{height:82px;padding:0 32px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e3e7ed;display:flex;align-items:center;position:sticky;top:0;z-index:100}.wphrm-staff-header h1{margin:0;font-size:23px;letter-spacing:.14em}.wphrm-menu-toggle,.wphrm-mobile-logo{display:none}.wphrm-staff-content{padding:30px;max-width:1600px;margin:auto}.wphrm-staff-content .wrap{margin:0}.wphrm-staff-content .wphrm-head{margin-top:0}.wphrm-staff-content .wphrm-head h1{font-size:30px;line-height:1.2}.wphrm-staff-content .notice{background:#fff;border:1px solid #dfe7ef;border-left:4px solid #00a32a;border-radius:10px;padding:4px 14px;margin:12px 0;box-shadow:0 4px 14px rgba(15,23,42,.04)}.wphrm-staff-content .wphrm-card,.wphrm-staff-content .wphrm-panel,.wphrm-staff-content .wphrm-form{border:0;border-radius:16px;box-shadow:0 8px 25px rgba(15,23,42,.07)}.wphrm-staff-content .button,.wphrm-staff-content button.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #2271b1;border-radius:9px;background:#fff;color:#2271b1;text-decoration:none;cursor:pointer;font-weight:700;line-height:1.2;white-space:normal;text-align:center}.wphrm-staff-content .button:hover{filter:brightness(.97)}.wphrm-staff-content .button-primary{background:#2271b1;color:#fff}.wphrm-staff-content .wphrm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wphrm-staff-content .wphrm-actions .button{width:100%}.wphrm-staff-content .wphrm-form-actions{display:flex;gap:10px;margin-top:22px}.wphrm-staff-content .wphrm-form-actions .button{min-width:140px}.wphrm-staff-content .wphrm-cancel{margin-left:0}.wphrm-staff-content input,.wphrm-staff-content select,.wphrm-staff-content textarea{width:100%;max-width:100%;min-height:43px;border:1px solid #c9d3df;border-radius:9px;padding:9px 11px;background:#fff;font:inherit}.wphrm-staff-content textarea{min-height:110px}.wphrm-staff-content input:focus,.wphrm-staff-content select:focus,.wphrm-staff-content textarea:focus{outline:2px solid rgba(34,113,177,.2);border-color:#2271b1}.wphrm-staff-content .wphrm-toolbar{gap:12px}.wphrm-staff-content .wphrm-toolbar form{display:flex;gap:9px;flex-wrap:wrap}.wphrm-staff-content .wphrm-toolbar>.button{min-width:180px}.wphrm-staff-content table.widefat{display:block;width:100%;border:0;background:transparent}.wphrm-staff-content table.widefat thead{display:none}.wphrm-staff-content table.widefat tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wphrm-staff-content table.widefat tr{display:flex;flex-direction:column;background:#fff;border:0;border-radius:15px;padding:17px;box-shadow:0 7px 22px rgba(15,23,42,.07);min-width:0}.wphrm-staff-content table.widefat td{display:grid;grid-template-columns:minmax(100px,38%) 1fr;gap:12px;align-items:start;padding:9px 0;border:0;border-bottom:1px solid #edf1f5;text-align:left;white-space:normal;overflow-wrap:anywhere}.wphrm-staff-content table.widefat td:last-child{border-bottom:0}.wphrm-staff-content table.widefat td:before{content:attr(data-label);font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:800}.wphrm-staff-content table.widefat td[colspan]{display:block;text-align:center;color:#6b7280}.wphrm-staff-content table.widefat td[colspan]:before{display:none}.wphrm-staff-content table.widefat td a{display:inline-flex;margin:2px 8px 2px 0}.wphrm-staff-content .wphrm-report-grid .wphrm-panel{display:flex;flex-direction:column}.wphrm-staff-content .wphrm-report-grid .button{width:100%;margin-top:auto}.wphrm-staff-content .wphrm-row-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:18px;width:100%}.wphrm-staff-content .wphrm-row-actions .wphrm-row-action{display:inline-flex;align-items:center;gap:5px;margin:0;color:inherit;text-decoration:none;font-weight:600;white-space:nowrap}.wphrm-staff-content .wphrm-row-actions .wphrm-row-action:hover{text-decoration:underline;color:inherit}.wphrm-staff-content .wphrm-row-actions .dashicons{width:16px;height:16px;font-size:16px;line-height:16px;color:inherit}.wphrm-staff-overlay{display:none}
@media(max-width:1100px){.wphrm-staff-content table.widefat tbody{grid-template-columns:1fr}.wphrm-staff-content .wphrm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.wphrm-staff-sidebar{transform:translateX(-105%);transition:transform .22s ease;width:min(84vw,300px)}.wphrm-staff-body.menu-open .wphrm-staff-sidebar{transform:translateX(0)}.wphrm-menu-close{display:block}.wphrm-staff-overlay{position:fixed;inset:0;background:rgba(11,18,31,.5);z-index:999}.wphrm-staff-body.menu-open .wphrm-staff-overlay{display:block}.wphrm-staff-main{margin-left:0}.wphrm-staff-header{height:68px;padding:0 16px;justify-content:center}.wphrm-menu-toggle{display:grid;place-items:center;position:absolute;left:14px;width:42px;height:42px;border:0;border-radius:9px;background:#f1f3f6;cursor:pointer}.wphrm-menu-toggle .dashicons{font-size:25px;width:25px;height:25px}.wphrm-mobile-logo{display:block;position:absolute;right:15px}.wphrm-mobile-logo img{max-width:38px;max-height:38px}.wphrm-mobile-logo .wphrm-logo-fallback{width:36px;height:36px;font-size:18px}.wphrm-staff-header h1{position:absolute;left:64px;right:64px;margin:0;text-align:center;font-size:19px;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wphrm-staff-content{padding:18px 12px;overflow:hidden}.wphrm-staff-content .wphrm-cards,.wphrm-staff-content .wphrm-grid,.wphrm-staff-content .wphrm-form-grid,.wphrm-staff-content .wphrm-report-grid{grid-template-columns:1fr}.wphrm-staff-content .wphrm-toolbar,.wphrm-staff-content .wphrm-toolbar form{width:100%;align-items:stretch;flex-direction:column}.wphrm-staff-content .wphrm-toolbar .button,.wphrm-staff-content .wphrm-toolbar button,.wphrm-staff-content .wphrm-toolbar select,.wphrm-staff-content .wphrm-toolbar input{width:100%}.wphrm-staff-content .wphrm-head h1{font-size:25px}.wphrm-staff-content .wphrm-actions{grid-template-columns:1fr}.wphrm-staff-content .wphrm-form-actions{flex-direction:column}.wphrm-staff-content .wphrm-form-actions .button{width:100%;min-width:0}.wphrm-staff-content table.widefat td{grid-template-columns:1fr;gap:4px}.wphrm-staff-content table.widefat tr{padding:15px}}
@media(max-width:520px){.wphrm-staff-content .wphrm-row-actions .wphrm-row-action{width:auto}.wphrm-staff-content .wphrm-cards{grid-template-columns:1fr}.wphrm-staff-content{padding:14px 10px}.wphrm-staff-content .wphrm-form,.wphrm-staff-content .wphrm-panel{padding:16px}.wphrm-staff-content .button,.wphrm-staff-content button.button{width:100%}}
/* Dedicated edit-page delete action */
.wphrm-dedicated-delete {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.wphrm-delete-record {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    color: #374151;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    box-sizing: border-box;
}
.wphrm-delete-record:hover,
.wphrm-delete-record:focus {
    color: #374151;
    border-color: #9ca3af;
    background: #f9fafb;
}
.wphrm-delete-record .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

/* Employee self-service profile */
.wphrm-profile-hero{display:flex;align-items:center;gap:20px;margin-bottom:18px}.wphrm-profile-photo,.wphrm-directory-photo{width:96px;height:96px;object-fit:cover;border-radius:22px;background:#eef2f7}.wphrm-profile-hero h2{margin:0 0 5px;font-size:27px}.wphrm-profile-hero p{margin:0 0 10px;color:#667085}.wphrm-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}.wphrm-info-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 8px 25px rgba(15,23,42,.07)}.wphrm-info-card h2,.wphrm-profile-section h2{margin:0 0 15px;font-size:19px}.wphrm-info-row{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.wphrm-info-row:last-child{border:0}.wphrm-info-row span{color:#667085}.wphrm-info-row strong{overflow-wrap:anywhere}.wphrm-info-card form{display:grid;gap:12px}.wphrm-info-card label span{display:block;margin-bottom:6px;font-weight:650}.wphrm-info-card .button{width:100%}.wphrm-profile-section{margin:25px 0}.wphrm-mini-card-grid,.wphrm-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wphrm-mini-card,.wphrm-empty-card,.wphrm-directory-card{background:#fff;border-radius:15px;padding:17px;box-shadow:0 7px 22px rgba(15,23,42,.07)}.wphrm-mini-card{display:grid;gap:10px}.wphrm-mini-card small{color:#667085;font-size:13px}.wphrm-directory-card{display:flex;gap:14px;align-items:flex-start}.wphrm-directory-photo{width:72px;height:72px;border-radius:18px;flex:0 0 auto}.wphrm-directory-card h2{font-size:18px;margin:2px 0 4px}.wphrm-directory-card p{margin:0 0 5px;font-weight:650}.wphrm-directory-card span{display:block;color:#667085;margin-bottom:8px}.wphrm-directory-card a{display:block;color:inherit;text-decoration:none;overflow-wrap:anywhere;margin-top:4px}.wphrm-directory-card a:hover{text-decoration:underline}.notice-error{border-left-color:#d63638!important}
@media(max-width:1100px){.wphrm-mini-card-grid,.wphrm-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.wphrm-profile-grid,.wphrm-mini-card-grid,.wphrm-directory-grid{grid-template-columns:1fr}.wphrm-profile-hero{align-items:flex-start}.wphrm-info-row{grid-template-columns:1fr;gap:4px}.wphrm-directory-card{align-items:center}}

.wphrm-mini-details{display:grid;gap:7px;margin-top:12px;font-size:13px;line-height:1.45;color:inherit}.wphrm-mini-details span{display:block;overflow-wrap:anywhere}.wphrm-mini-details b{font-weight:600}

.wphrm-staff-user-actions{display:flex;align-items:center;gap:10px;width:100%}.wphrm-staff-user-actions .wphrm-logout-link{display:inline-flex;align-items:center;gap:8px;min-width:0}.wphrm-staff-user-actions .wphrm-settings-icon{margin-left:auto;display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:10px;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;text-decoration:none;transition:.18s ease}.wphrm-staff-user-actions .wphrm-settings-icon:hover,.wphrm-staff-user-actions .wphrm-settings-icon.is-active{background:transparent!important;color:#fff!important;opacity:.78}.wphrm-staff-user-actions .wphrm-settings-icon .dashicons{width:21px;height:21px;font-size:21px;line-height:21px;color:#fff!important}

.wphrm-business-settings-form{display:block}.wphrm-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.wphrm-settings-card{margin:0}.wphrm-settings-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.wphrm-settings-card-head>.dashicons{flex:0 0 auto;width:38px;height:38px;font-size:22px;line-height:38px;text-align:center;border-radius:10px;background:#eef4fb;color:#2271b1}.wphrm-settings-card-head h2{margin:0;font-size:20px}.wphrm-settings-card-head p{margin:5px 0 0;color:#667085;line-height:1.45}.wphrm-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wphrm-settings-fields label>span,.wphrm-settings-logo-controls label>span{display:block;font-weight:700;margin-bottom:7px}.wphrm-settings-full{grid-column:1/-1}.wphrm-settings-branding{grid-column:1/-1}.wphrm-settings-logo-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.wphrm-settings-logo-controls{flex:1;min-width:240px}.wphrm-settings-logo-controls small{display:block;margin-top:8px;color:#667085}.wphrm-remove-check{display:flex!important;align-items:center;gap:8px;margin-top:13px;font-weight:600}.wphrm-remove-check input{width:auto!important;min-height:0!important}.wphrm-settings-savebar{position:sticky;bottom:0;z-index:20;margin:20px 0 0;padding:14px 0;background:linear-gradient(to bottom,rgba(243,246,251,0),#f3f6fb 28%)}.wphrm-settings-savebar .button{min-width:230px;gap:8px}.wphrm-settings-savebar .dashicons{width:18px;height:18px;font-size:18px}.wphrm-business-settings .wphrm-profile-photo-wrap{width:150px;height:150px;display:grid;place-items:center;overflow:hidden;border-radius:18px;background:#eef2f7}.wphrm-business-settings .wphrm-profile-photo-wrap img{width:100%;height:100%;object-fit:cover}.wphrm-settings-card textarea{resize:vertical}@media(max-width:900px){.wphrm-settings-grid{grid-template-columns:1fr}.wphrm-settings-branding{grid-column:auto}}@media(max-width:620px){.wphrm-settings-fields{grid-template-columns:1fr}.wphrm-settings-full{grid-column:auto}.wphrm-settings-logo-row{align-items:flex-start}.wphrm-settings-savebar .button{width:100%;min-width:0}}

.wphrm-project-assignee-checkbox{width:auto!important;max-width:none!important;min-height:0!important;height:16px!important;min-width:16px!important;margin:0!important;padding:0!important;flex:0 0 auto!important}


/* Equipment */
.wphrm-equipment-card-top{display:flex;gap:14px;align-items:flex-start}.wphrm-equipment-card-main{flex:1;min-width:0}.wphrm-equipment-thumb,.wphrm-equipment-thumb-fallback{width:76px;height:76px;border-radius:14px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#f3f5f8}.wphrm-equipment-thumb-fallback .dashicons{font-size:30px;width:30px;height:30px;color:#667085}.wphrm-equipment-grid{align-items:stretch}
.wphrm-badge.wphrm-available{color:#15803d}.wphrm-badge.wphrm-assigned,.wphrm-badge.wphrm-in_use{color:#2563eb}.wphrm-badge.wphrm-reserved{color:#7c3aed}.wphrm-badge.wphrm-maintenance,.wphrm-badge.wphrm-repair{color:#d97706}.wphrm-badge.wphrm-lost,.wphrm-badge.wphrm-disposed{color:#dc2626}.wphrm-badge.wphrm-retired{color:#64748b}

.wphrm-nav-scroll-indicator{align-self:center;flex:0 0 auto;width:38px;height:30px;margin:-8px 0 4px;border:0;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;opacity:.78;transition:opacity .18s ease,transform .18s ease}.wphrm-nav-scroll-indicator:hover{opacity:1;transform:translateY(2px)}.wphrm-nav-scroll-indicator[hidden]{display:none!important}.wphrm-nav-scroll-indicator .dashicons{width:22px;height:22px;font-size:22px;line-height:22px;animation:wphrm-nav-bounce 1.6s ease-in-out infinite}@keyframes wphrm-nav-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}


/* Business QR in Settings header */
.wphrm-settings-head{gap:18px;align-items:flex-start!important}.wphrm-settings-qr-card{margin-left:auto;display:flex;align-items:center;gap:10px;padding:8px 10px;border:2px dotted #aeb8c5;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04);flex:0 0 auto}.wphrm-settings-qr-card img{display:block;width:82px;height:82px;object-fit:contain;background:#fff}.wphrm-settings-qr-card>div{display:grid;gap:2px;min-width:118px}.wphrm-settings-qr-card strong{font-size:14px}.wphrm-settings-qr-card span{font-size:12px;color:#667085}.wphrm-settings-qr-card small{font-size:11px;color:#8a94a3}@media(max-width:760px){.wphrm-settings-head{flex-direction:column}.wphrm-settings-qr-card{margin-left:0;width:100%;justify-content:flex-start}}


/* Business Settings QR token details */
.wphrm-settings-qr-meta{display:grid;gap:3px;min-width:150px;max-width:220px}
.wphrm-settings-qr-token{display:block;max-width:210px;padding:3px 5px;border:0;background:transparent;color:#344054;font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.wphrm-settings-qr-meta small{font-size:11px;color:#8a94a3}

/* Per-user interface language selector. */
.wphrm-language-card{margin:16px 0 18px}
.wphrm-language-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:14px}
.wphrm-language-form label{min-width:220px;max-width:320px;flex:1}
.wphrm-language-form label>span{display:block;margin-bottom:6px;font-weight:600}
.wphrm-language-form select{width:100%}
@media (max-width:640px){
  .wphrm-language-form{align-items:stretch}
  .wphrm-language-form label{min-width:100%;max-width:none}
  .wphrm-language-form .button{width:100%}
}

/* Business details modal opened from the mobile Business logo. */
.wphrm-mobile-logo{border:0;background:transparent;padding:0;cursor:pointer;line-height:0}
.wphrm-business-details-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:1998}
.wphrm-business-details-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,520px);max-height:82dvh;overflow:auto;background:#fff;border-radius:18px;z-index:1999;box-shadow:0 24px 70px rgba(15,23,42,.28);padding:18px}
.wphrm-business-details-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid #e7ebf0}
.wphrm-business-details-brand img{display:block;max-width:54px;max-height:54px;width:auto;height:auto;border-radius:12px}
.wphrm-business-details-head strong{display:block;overflow-wrap:anywhere}.wphrm-business-details-name{font-size:18px;line-height:1.3}.wphrm-business-phone-link{color:#2271b1;text-decoration:none;font-weight:800}.wphrm-business-phone-link:hover{text-decoration:underline}
.wphrm-business-details-close{border:0;background:#f2f4f7;width:38px;height:38px;border-radius:10px;font-size:25px;line-height:1;cursor:pointer;color:#172033}
.wphrm-business-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.wphrm-business-detail-item{padding:11px 12px;border:1px solid #e4e9ef;border-radius:12px;min-width:0;background:#fafbfd}
.wphrm-business-detail-item span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;font-weight:800;margin-bottom:4px}
.wphrm-business-detail-item strong{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere;color:#172033}
body.wphrm-business-details-open{overflow:hidden}
@media(max-width:600px){.wphrm-business-details-modal{width:calc(100vw - 24px);max-height:78dvh;padding:15px;border-radius:16px}.wphrm-business-details-grid{grid-template-columns:1fr}.wphrm-business-details-head{grid-template-columns:auto 1fr auto}}


/* Per-user Light / Dark mode */
.wphrm-theme-toggle-form{margin:0 0 0 auto;display:flex}
.wphrm-theme-toggle{
    appearance:none;border:0;background:transparent;color:inherit;width:36px;height:36px;
    display:inline-flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer
}
.wphrm-theme-toggle:hover{background:rgba(255,255,255,.10)}
.wphrm-theme-settings-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.wphrm-theme-settings-form label{min-width:180px}
.wphrm-theme-settings-form select{width:100%}

body.wphrm-theme-dark{
    --wphrm-dark-bg:#111827;
    --wphrm-dark-surface:#1f2937;
    --wphrm-dark-surface-2:#263244;
    --wphrm-dark-border:#374151;
    --wphrm-dark-text:#f3f4f6;
    --wphrm-dark-muted:#aeb8c7;
    background:var(--wphrm-dark-bg)!important;
    color:var(--wphrm-dark-text)!important;
}
body.wphrm-theme-dark .wphrm-staff-main,
body.wphrm-theme-dark .wphrm-wrap,
body.wphrm-theme-dark .wphrm-content,
body.wphrm-theme-dark .wphrm-staff-content{background:var(--wphrm-dark-bg)!important;color:var(--wphrm-dark-text)!important}
body.wphrm-theme-dark .wphrm-panel,
body.wphrm-theme-dark .wphrm-card,
body.wphrm-theme-dark .wphrm-stat-card,
body.wphrm-theme-dark .wphrm-settings-card,
body.wphrm-theme-dark .wphrm-table-wrap,
body.wphrm-theme-dark .wphrm-empty,
body.wphrm-theme-dark .wphrm-project-card,
body.wphrm-theme-dark .wphrm-task-card,
body.wphrm-theme-dark .wphrm-equipment-card,
body.wphrm-theme-dark .wphrm-colleague-card,
body.wphrm-theme-dark .wphrm-business-details-dialog,
body.wphrm-theme-dark .wphrm-settings-qr-card{
    background:var(--wphrm-dark-surface)!important;
    border-color:var(--wphrm-dark-border)!important;
    color:var(--wphrm-dark-text)!important;
    box-shadow:none!important
}
body.wphrm-theme-dark h1,
body.wphrm-theme-dark h2,
body.wphrm-theme-dark h3,
body.wphrm-theme-dark h4,
body.wphrm-theme-dark strong,
body.wphrm-theme-dark label,
body.wphrm-theme-dark th,
body.wphrm-theme-dark td{color:var(--wphrm-dark-text)}
body.wphrm-theme-dark p,
body.wphrm-theme-dark small,
body.wphrm-theme-dark .description,
body.wphrm-theme-dark .wphrm-muted,
body.wphrm-theme-dark .wphrm-settings-card-head p{color:var(--wphrm-dark-muted)!important}
body.wphrm-theme-dark table{background:var(--wphrm-dark-surface)!important;color:var(--wphrm-dark-text)!important}
body.wphrm-theme-dark table th,
body.wphrm-theme-dark table td{border-color:var(--wphrm-dark-border)!important}
body.wphrm-theme-dark table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
body.wphrm-theme-dark input:not([type=checkbox]):not([type=radio]),
body.wphrm-theme-dark select,
body.wphrm-theme-dark textarea{
    background:#111827!important;color:var(--wphrm-dark-text)!important;border-color:#4b5563!important
}
body.wphrm-theme-dark input::placeholder,
body.wphrm-theme-dark textarea::placeholder{color:#8792a3!important}
body.wphrm-theme-dark .button:not(.button-primary),
body.wphrm-theme-dark button:not(.button-primary):not(.wphrm-menu-toggle):not(.wphrm-mobile-logo):not(.wphrm-theme-toggle):not(.wphrm-nav-scroll-indicator){
    border-color:#4b5563
}
body.wphrm-theme-dark .wphrm-staff-header{
    background:#182235!important;border-color:var(--wphrm-dark-border)!important;color:var(--wphrm-dark-text)!important
}
body.wphrm-theme-dark .wphrm-staff-header h1{color:var(--wphrm-dark-text)!important}
body.wphrm-theme-dark .wphrm-staff-sidebar{border-color:rgba(255,255,255,.09)}
body.wphrm-theme-dark .wphrm-business-details-overlay{background:rgba(0,0,0,.72)}
body.wphrm-theme-dark .wphrm-business-detail-item{background:var(--wphrm-dark-surface-2)!important;border-color:var(--wphrm-dark-border)!important}
body.wphrm-theme-dark .notice{background:var(--wphrm-dark-surface-2)!important;color:var(--wphrm-dark-text)!important;border-color:var(--wphrm-dark-border)!important}
body.wphrm-theme-dark .wphrm-settings-qr-token{background:#111827!important;color:#e5e7eb!important;border-color:#4b5563!important}
body.wphrm-theme-dark a:not(.button):not(.wphrm-staff-nav a):not(.wphrm-logout-link):not(.wphrm-settings-icon){color:#8cc8ff}
body.wphrm-theme-dark hr{border-color:var(--wphrm-dark-border)}
@media (max-width:782px){
  body.wphrm-theme-dark .wphrm-staff-header{background:#182235!important}
}


/* Settings appearance spacing */
.wphrm-business-settings .wphrm-appearance-card{
    margin-bottom:18px;
}

/* Public /staff authentication view */
.wphrm-welcome-body{
    margin:0;
    min-height:100vh;
    min-height:100dvh;
    background:
        radial-gradient(circle at 8% 12%,rgba(71,118,255,.14),transparent 32rem),
        radial-gradient(circle at 92% 88%,rgba(31,181,138,.12),transparent 30rem),
        #f5f7fb;
    color:#182235;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.wphrm-welcome-shell{
    width:min(1120px,calc(100% - 40px));
    min-height:100vh;
    min-height:100dvh;
    margin:0 auto;
    padding:56px 0;
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
    gap:64px;
    align-items:center;
    box-sizing:border-box;
}
.wphrm-welcome-hero{padding:24px 0}
.wphrm-welcome-brand{text-align:left;max-width:650px}
.wphrm-welcome-logo-img{
    display:block;max-width:380px;max-height:164px;width:auto;height:auto;object-fit:contain;margin:0 0 28px;
}
.wphrm-welcome-logo-fallback{
    width:76px;height:76px;border-radius:22px;margin:0 0 28px;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(145deg,#1f5eff,#1647bf);color:#fff;font-size:32px;font-weight:800;
    box-shadow:0 16px 35px rgba(31,94,255,.25);
}
.wphrm-welcome-eyebrow{
    display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;
    background:#eaf0ff;color:#2450c6;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
    margin-bottom:16px;
}
.wphrm-welcome-brand h1{margin:0 0 16px;font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.045em;color:#111827}
.wphrm-welcome-brand p{margin:0;color:#637083;font-size:18px;line-height:1.7;max-width:590px}
.wphrm-welcome-features{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:36px;max-width:650px
}
.wphrm-welcome-features>div{
    padding:16px;border:1px solid rgba(215,222,233,.95);border-radius:16px;background:rgba(255,255,255,.72);
    backdrop-filter:blur(10px);
}
.wphrm-welcome-features .dashicons{width:24px;height:24px;font-size:24px;color:#3263db;margin-bottom:12px}
.wphrm-welcome-features strong{display:block;font-size:14px;margin-bottom:3px;color:#1f2937}
.wphrm-welcome-features small{display:block;color:#7a8699;line-height:1.4}
.wphrm-welcome-auth-wrap{width:100%;max-width:470px;justify-self:end}
.wphrm-welcome-auth-card{
    background:rgba(255,255,255,.94);
    border:1px solid #e2e7ef;border-radius:24px;padding:12px;
    box-shadow:0 30px 80px rgba(31,45,73,.14);
}
.wphrm-auth-tabs{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;background:#f0f3f8;border-radius:14px;margin-bottom:8px
}
.wphrm-auth-tab{
    appearance:none;border:0;background:transparent;color:#6b7688;
    border-radius:10px;padding:11px 12px;font-size:14px;font-weight:800;cursor:pointer;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.wphrm-auth-tab.is-active{
    background:#fff;color:#1d2939;box-shadow:0 3px 12px rgba(31,45,73,.08)
}
.wphrm-auth-panel{padding:24px 22px 22px}
.wphrm-auth-panel[hidden]{display:none!important}
.wphrm-auth-heading{margin-bottom:20px}
.wphrm-auth-heading h2{margin:0 0 7px;font-size:25px;letter-spacing:-.02em;color:#111827}
.wphrm-auth-heading p{margin:0;color:#7a8699;line-height:1.5}
.wphrm-auth-panel form{display:grid;gap:15px}
.wphrm-auth-panel label:not(.wphrm-welcome-remember){display:grid;gap:7px;font-weight:700;font-size:13px;color:#344054}
.wphrm-auth-panel input[type=text],
.wphrm-auth-panel input[type=email],
.wphrm-auth-panel input[type=password]{
    width:100%;box-sizing:border-box;min-height:48px;padding:11px 13px;
    border:1px solid #d4dae4;border-radius:11px;background:#fff;color:#172033;font-size:16px;
    box-shadow:0 1px 2px rgba(16,24,40,.02);
}
.wphrm-auth-panel input:focus{outline:3px solid rgba(31,94,255,.12);border-color:#5e7fea}
.wphrm-auth-panel .button{
    width:100%;min-height:48px;border:0!important;border-radius:11px!important;
    font-size:15px!important;font-weight:800!important;cursor:pointer;
}
.wphrm-auth-panel .button-primary{
    background:linear-gradient(135deg,#245deb,#1747bd)!important;color:#fff!important;
    box-shadow:0 10px 22px rgba(31,94,255,.20)!important
}
.wphrm-auth-panel .button-primary:hover{filter:brightness(.97);color:#fff!important}
.wphrm-welcome-remember{display:flex;align-items:center;gap:8px;font-weight:500;font-size:14px;color:#586577}
.wphrm-welcome-remember input{margin:0}
.wphrm-auth-panel small{color:#7a8699;margin-top:-7px}
.wphrm-welcome-alert{
    margin:0 0 14px;padding:12px 15px;border:1px solid #fecaca;border-radius:12px;
    background:#fff1f2;color:#991b1b;font-weight:650;line-height:1.45
}
@media(max-width:900px){
    .wphrm-welcome-shell{grid-template-columns:1fr;gap:28px;max-width:620px;padding:38px 0}
    .wphrm-welcome-hero{padding:0}
    .wphrm-welcome-brand{text-align:center;margin:0 auto}
    .wphrm-welcome-logo-img,.wphrm-welcome-logo-fallback{margin-left:auto;margin-right:auto}
    .wphrm-welcome-brand p{margin-left:auto;margin-right:auto}
    .wphrm-welcome-features{margin-left:auto;margin-right:auto}
    .wphrm-welcome-auth-wrap{justify-self:center;max-width:500px}
}
@media(max-width:560px){
    .wphrm-welcome-shell{width:min(100% - 24px,500px);padding:24px 0 34px;gap:22px}
    .wphrm-welcome-logo-img{max-width:300px;max-height:136px;margin-bottom:20px}
    .wphrm-welcome-logo-fallback{width:64px;height:64px;border-radius:18px;margin-bottom:20px}
    .wphrm-welcome-brand h1{font-size:34px}
    .wphrm-welcome-brand p{font-size:15px;line-height:1.6}
    .wphrm-welcome-features{grid-template-columns:1fr;gap:8px;margin-top:24px}
    .wphrm-welcome-features>div{display:grid;grid-template-columns:28px 1fr;column-gap:10px;align-items:center;padding:12px 14px;text-align:left}
    .wphrm-welcome-features .dashicons{grid-row:1/3;margin:0}
    .wphrm-welcome-features strong,.wphrm-welcome-features small{margin:0}
    .wphrm-welcome-auth-card{border-radius:20px}
    .wphrm-auth-panel{padding:20px 14px 16px}
}

/* Temporary WebViewer attendance test controls. */
.wphrm-app-scan-wrap{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.wphrm-app-scan-wrap[hidden]{display:none!important}.wphrm-profile-attendance-now{margin-left:auto;min-width:150px;padding:12px 16px;border-left:1px solid #e5e7eb;text-align:right;display:grid;gap:3px}.wphrm-profile-attendance-now span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;font-weight:800}.wphrm-profile-attendance-now strong{font-size:25px;line-height:1.1}.wphrm-profile-attendance-now small{color:#667085;font-weight:650}
@media(max-width:760px){.wphrm-app-scan-wrap{width:100%;justify-content:stretch}.wphrm-app-scan-wrap .button{flex:1 1 0}.wphrm-profile-hero{flex-wrap:wrap}.wphrm-profile-attendance-now{flex:1 0 100%;width:100%;margin-left:0;padding:14px 0 0;border-left:0;border-top:1px solid #e5e7eb;text-align:left}}

.wphrm-scan-modal[hidden]{display:none!important}.wphrm-scan-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:22px}.wphrm-scan-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(3px)}.wphrm-scan-modal-card{position:relative;z-index:1;width:min(92vw,390px);background:#fff;border-radius:18px;padding:26px 24px 22px;box-shadow:0 22px 65px rgba(15,23,42,.24);text-align:center}.wphrm-scan-modal-icon{width:54px;height:54px;border-radius:50%;margin:0 auto 16px;display:grid;place-items:center;font-size:28px;font-weight:900;background:#eaf6ee;color:#17803d}.wphrm-scan-modal.is-error .wphrm-scan-modal-icon{background:#fdecec;color:#c62828}.wphrm-scan-modal-message{font-size:17px;line-height:1.5;font-weight:700;color:#172033;margin:0 auto 20px;overflow-wrap:anywhere}.wphrm-scan-modal-ok{min-width:120px}.wphrm-scan-modal-card .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border:1px solid #2271b1;border-radius:9px;background:#2271b1;color:#fff;text-decoration:none;cursor:pointer;font-weight:700}.wphrm-scan-modal-card .button:hover{filter:brightness(.97)}body.wphrm-theme-dark .wphrm-scan-modal-card{background:var(--wphrm-dark-surface-2,#1f2937)}body.wphrm-theme-dark .wphrm-scan-modal-message{color:var(--wphrm-dark-text,#f8fafc)}@media(max-width:760px){.wphrm-scan-modal{padding:18px}.wphrm-scan-modal-card{width:100%;max-width:360px;padding:24px 20px 20px}.wphrm-scan-modal-ok{width:100%}}

.wphrm-badge.wphrm-break{color:#b45309!important}
.wphrm-profile-break-history{margin:18px 0 28px;padding:18px}.wphrm-profile-break-history>h2{margin:0 0 14px;font-size:18px}.wphrm-staff-content table.widefat.wphrm-break-history-table{display:table;width:100%;border-collapse:collapse;background:#fff;border:1px solid #dcdcde;border-radius:0;box-shadow:none}.wphrm-staff-content table.widefat.wphrm-break-history-table thead{display:table-header-group}.wphrm-staff-content table.widefat.wphrm-break-history-table tbody{display:table-row-group}.wphrm-staff-content table.widefat.wphrm-break-history-table tr{display:table-row;background:#fff;border:0;border-radius:0;padding:0;box-shadow:none}.wphrm-staff-content table.widefat.wphrm-break-history-table.striped tbody tr:nth-child(odd){background:#f6f7f7}.wphrm-staff-content table.widefat.wphrm-break-history-table th,.wphrm-staff-content table.widefat.wphrm-break-history-table td{display:table-cell;padding:10px 12px;border-bottom:1px solid #dcdcde;text-align:left;white-space:normal}.wphrm-staff-content table.widefat.wphrm-break-history-table th{font-weight:700;color:#1d2327;background:#fff}.wphrm-staff-content table.widefat.wphrm-break-history-table td:before{display:none}.wphrm-staff-content table.widefat.wphrm-break-history-table tbody tr:last-child td{border-bottom:0}@media(max-width:600px){.wphrm-profile-break-history{margin:18px 0 22px;padding:14px}.wphrm-staff-content table.widefat.wphrm-break-history-table th,.wphrm-staff-content table.widefat.wphrm-break-history-table td{padding:9px 10px;font-size:13px}}
/* Employee profile workspace header */
.wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-title{font-size:22px;line-height:1.2;margin:0 0 4px}
.wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-subtitle{font-size:13px;line-height:1.45;margin:0;color:#6b7280}
@media(max-width:900px){.wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-title{font-size:20px}.wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-subtitle{font-size:12px}}

/* Employee workspace: compact subtitle, today breaks and historical timeline. */
.wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-subtitle{font-size:11px;line-height:1.4;color:#98a2b3;font-weight:400}
.wphrm-workspace-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.wphrm-workspace-card-head h2{margin:0 0 3px;font-size:18px}
.wphrm-workspace-card-head>div>small{color:#98a2b3;font-size:11px}
.wphrm-workspace-today-summary{margin-left:auto;text-align:right;display:grid;gap:2px;min-width:130px}
.wphrm-workspace-today-summary>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#98a2b3;font-weight:800}
.wphrm-workspace-today-summary>strong{font-size:20px;line-height:1.1;color:#172033}
.wphrm-workspace-today-summary>small{font-size:11px;color:#667085;font-weight:650}
.wphrm-profile-timeline{margin:0 0 28px;padding:18px}
.wphrm-timeline-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.wphrm-timeline-head h2{margin:0 0 3px;font-size:18px}
.wphrm-timeline-head p{margin:0;color:#98a2b3;font-size:11px;line-height:1.4}
.wphrm-timeline-filter{display:flex;align-items:flex-end;gap:8px;margin:0}
.wphrm-timeline-filter label{display:grid;gap:4px}
.wphrm-timeline-filter label>span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#98a2b3;font-weight:800}
.wphrm-staff-content .wphrm-timeline-filter input[type=date]{min-height:38px;padding:6px 9px;width:auto;min-width:150px}
.wphrm-staff-content .wphrm-timeline-filter .button{min-height:38px;padding:7px 14px}
.wphrm-timeline-date{margin:0 0 9px;font-size:12px;color:#667085;font-weight:700}
.wphrm-staff-content table.widefat.wphrm-break-history-table td.wphrm-timeline-empty{text-align:center;color:#98a2b3;font-size:12px}
body.wphrm-theme-dark .wphrm-workspace-today-summary>strong{color:var(--wphrm-dark-text,#f8fafc)}
@media(max-width:760px){
  .wphrm-staff-content .wphrm-profile-workspace-head .wphrm-profile-workspace-subtitle{font-size:10px;color:#9ca3af}
  .wphrm-workspace-card-head{flex-direction:column;gap:10px}
  .wphrm-workspace-today-summary{width:100%;margin-left:0;text-align:left;padding-top:10px;border-top:1px solid #edf1f5}
  .wphrm-timeline-head{align-items:stretch;flex-direction:column;gap:12px}
  .wphrm-timeline-filter{width:100%;display:grid;grid-template-columns:1fr auto;align-items:end}
  .wphrm-timeline-filter label{min-width:0}
  .wphrm-staff-content .wphrm-timeline-filter input[type=date]{width:100%;min-width:0}
  .wphrm-profile-timeline{padding:14px;margin-bottom:22px}
}


/* Employee workspace: activity/timeline spacing and calendar picker. */
.wphrm-employee-workspace .wphrm-profile-break-history{margin-bottom:0}
.wphrm-employee-workspace .wphrm-profile-timeline{margin-top:32px}
.wphrm-timeline-calendar{margin:0;display:block}
.wphrm-timeline-calendar label{display:grid;gap:4px}
.wphrm-timeline-calendar label>span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#98a2b3;font-weight:800}
.wphrm-staff-content .wphrm-timeline-calendar input[type=date]{min-height:40px;padding:7px 10px;min-width:170px;border-radius:8px}
@media(max-width:600px){
  .wphrm-employee-workspace .wphrm-profile-timeline{margin-top:24px}
  .wphrm-timeline-calendar{width:100%}
  .wphrm-timeline-calendar label{width:100%}
  .wphrm-staff-content .wphrm-timeline-calendar input[type=date]{width:100%;min-width:0}
}

/* Ensure visible separation between Today's activity and Timeline on Employee workspace. */
.wphrm-employee-workspace .wphrm-profile-break-history + .wphrm-profile-timeline{
  margin-top:36px !important;
}
@media(max-width:600px){
  .wphrm-employee-workspace .wphrm-profile-break-history + .wphrm-profile-timeline{
    margin-top:28px !important;
  }
}

/* WebViewer attendance test: Today's activity table/footer */
.wphrm-staff-content table.widefat.wphrm-break-history-table tr.wphrm-attendance-edge-row td{
  vertical-align:middle;
}
.wphrm-attendance-edge-row td strong{
  display:block;
  margin-top:2px;
  color:#172033;
  font-size:15px;
}
.wphrm-activity-cell-label{
  display:block;
  margin-bottom:2px;
  color:#98a2b3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wphrm-today-activity-footer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:14px;
  border:1px solid #e6e9ee;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.wphrm-today-activity-footer>div{
  min-width:0;
  padding:12px 14px;
}
.wphrm-today-activity-footer>div+div{
  border-left:1px solid #e6e9ee;
}
.wphrm-today-activity-footer span{
  display:block;
  margin-bottom:3px;
  color:#98a2b3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wphrm-today-activity-footer strong{
  color:#172033;
  font-size:14px;
}
body.wphrm-theme-dark .wphrm-attendance-edge-row td strong,
body.wphrm-theme-dark .wphrm-today-activity-footer strong{
  color:var(--wphrm-dark-text,#f8fafc);
}
body.wphrm-theme-dark .wphrm-today-activity-footer{
  background:var(--wphrm-dark-panel,#111827);
  border-color:var(--wphrm-dark-border,#273244);
}
body.wphrm-theme-dark .wphrm-today-activity-footer>div+div{
  border-left-color:var(--wphrm-dark-border,#273244);
}
@media(max-width:600px){
  .wphrm-today-activity-footer>div{padding:11px 12px}
  .wphrm-today-activity-footer strong{font-size:13px}
}

/* Employee profile-details highlighted action cards */
.wphrm-info-card.wphrm-info-card-highlight{border:2px solid #2271b1;background:#f7fbff;box-shadow:0 10px 30px rgba(34,113,177,.12)}
.wphrm-info-card.wphrm-info-card-highlight h2{color:#1d5f95}
body.wphrm-theme-dark .wphrm-info-card.wphrm-info-card-highlight{background:#1c2a3b!important;border-color:#5fa7df!important;box-shadow:0 10px 30px rgba(0,0,0,.22)}
body.wphrm-theme-dark .wphrm-info-card.wphrm-info-card-highlight h2{color:#9fd2f5!important}
.wphrm-profile-language-card .wphrm-profile-language-note{margin:-4px 0 14px;color:#667085;font-size:13px;line-height:1.5}
body.wphrm-theme-dark .wphrm-profile-language-card .wphrm-profile-language-note{color:#aeb9c7!important}

/* WebViewer attendance: 2x2 activity cards inside the existing widefat activity table. */
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table{
  display:block;
  width:100%;
  border:0;
  background:transparent;
  box-shadow:none;
  border-collapse:separate;
}
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table tbody{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table tr{
  display:contents;
}
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table td.wphrm-activity-card{
  display:block;
  min-width:0;
  padding:13px 14px;
  border:1px solid #e6e9ee;
  border-radius:10px;
  background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.03);
}
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table.striped tbody tr:nth-child(odd),
.wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table.striped tbody tr:nth-child(even){
  background:transparent;
}
.wphrm-activity-time-list{
  display:grid;
  gap:5px;
  margin-top:5px;
}
.wphrm-activity-time-list strong{
  display:block;
  color:#172033;
  font-size:15px;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
}
body.wphrm-theme-dark .wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table td.wphrm-activity-card{
  background:var(--wphrm-dark-card,#111827);
  border-color:var(--wphrm-dark-border,#334155);
}
body.wphrm-theme-dark .wphrm-activity-time-list strong{
  color:var(--wphrm-dark-text,#f8fafc);
}
@media(max-width:600px){
  .wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table tbody{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .wphrm-staff-content table.widefat.wphrm-break-history-table.wphrm-activity-card-table td.wphrm-activity-card{
    padding:11px 10px;
  }
  .wphrm-activity-time-list strong{font-size:14px}
}

/* Optional signup coupon */
.wphrm-coupon-entry{margin-top:-2px}
.wphrm-coupon-toggle{appearance:none;border:0;background:transparent;padding:0;color:#315ed6;font-weight:700;font-size:13px;cursor:pointer;text-align:left}
.wphrm-coupon-toggle:hover{text-decoration:underline}
.wphrm-coupon-field{margin-top:10px}
.wphrm-coupon-field[hidden]{display:none!important}
.wphrm-coupon-field input{text-transform:uppercase;letter-spacing:.03em}

/* Staff landing page app-store badges and QR modal. */
.wphrm-store-badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;max-width:650px}.wphrm-store-badge{appearance:none;border:0;background:#0b0b0b;color:#fff;border-radius:12px;min-width:190px;padding:9px 15px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.12);transition:.16s ease}.wphrm-store-badge:hover{transform:translateY(-1px);box-shadow:0 11px 26px rgba(15,23,42,.17)}.wphrm-store-badge small{display:block;font-size:9px;line-height:1.05;letter-spacing:.04em;color:#fff}.wphrm-store-badge strong{display:block;font-size:20px;line-height:1.05;color:#fff;font-weight:700;letter-spacing:-.02em}.wphrm-store-icon{width:30px;height:32px;display:grid;place-items:center;flex:0 0 30px;position:relative}.wphrm-store-icon-play:before{content:"";display:block;width:0;height:0;border-top:16px solid transparent;border-bottom:16px solid transparent;border-left:27px solid #fff}.wphrm-store-icon-apple:before{content:"●";font-size:28px;line-height:1;color:#fff;transform:scaleX(.86)}.wphrm-store-icon-apple:after{content:"";position:absolute;width:8px;height:13px;border-radius:8px 1px 8px 1px;background:#fff;top:-1px;right:4px;transform:rotate(35deg)}.wphrm-store-modal[hidden]{display:none!important}.wphrm-store-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px}.wphrm-store-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(4px)}.wphrm-store-modal-card{position:relative;z-index:1;width:min(92vw,390px);background:#fff;border:1px solid #e2e7ef;border-radius:22px;padding:28px 24px 24px;text-align:center;box-shadow:0 28px 80px rgba(15,23,42,.26)}.wphrm-store-modal-card h2{margin:0 0 18px;color:#111827;font-size:24px}.wphrm-store-modal-close{position:absolute;right:13px;top:11px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f8;color:#475467;font-size:26px;line-height:1;cursor:pointer}.wphrm-store-qr-wrap{width:276px;max-width:100%;aspect-ratio:1;margin:0 auto 18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;padding:8px;display:grid;place-items:center}.wphrm-store-qr-wrap img{display:block;width:100%;height:auto;border-radius:10px}.wphrm-store-unavailable{margin:0 0 18px;color:#667085;line-height:1.5}.wphrm-store-download{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:10px 20px!important;border-radius:11px!important;text-decoration:none!important}.wphrm-store-modal-open{overflow:hidden}@media(max-width:900px){.wphrm-store-badges{justify-content:center;margin-left:auto;margin-right:auto}}@media(max-width:560px){.wphrm-store-badges{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wphrm-store-badge{min-width:0;padding:8px 10px;gap:7px}.wphrm-store-badge strong{font-size:15px}.wphrm-store-badge small{font-size:8px}.wphrm-store-icon{width:24px;height:27px;flex-basis:24px}.wphrm-store-icon-play:before{border-top-width:13px;border-bottom-width:13px;border-left-width:22px}.wphrm-store-modal{padding:16px}.wphrm-store-modal-card{width:100%;padding:26px 18px 20px}.wphrm-store-download{width:100%}}

/* Compact app-store badges positioned beneath the welcome authentication card. */
.wphrm-store-badges-under-auth{
    max-width:470px;
    margin:12px 0 0;
    justify-content:center;
}
.wphrm-store-badges-under-auth .wphrm-store-badge{
    min-width:145px;
    padding:6px 10px;
    gap:7px;
    border-radius:9px;
    box-shadow:0 5px 14px rgba(15,23,42,.10);
}
.wphrm-store-badges-under-auth .wphrm-store-badge small{
    font-size:7px;
}
.wphrm-store-badges-under-auth .wphrm-store-badge strong{
    font-size:14px;
}
.wphrm-store-badges-under-auth .wphrm-store-icon{
    width:20px;
    height:22px;
    flex-basis:20px;
}
.wphrm-store-badges-under-auth .wphrm-store-icon-play:before{
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:17px;
}
.wphrm-store-badges-under-auth .wphrm-store-icon-apple:before{
    font-size:19px;
}
.wphrm-store-badges-under-auth .wphrm-store-icon-apple:after{
    width:5px;
    height:9px;
    top:1px;
    right:2px;
}
@media(max-width:900px){
    .wphrm-store-badges-under-auth{max-width:500px;margin-top:12px}
}
@media(max-width:560px){
    .wphrm-store-badges-under-auth{display:flex;grid-template-columns:none;gap:7px}
    .wphrm-store-badges-under-auth .wphrm-store-badge{min-width:0;flex:1 1 0;max-width:155px;padding:6px 8px}
    .wphrm-store-badges-under-auth .wphrm-store-badge strong{font-size:13px}
}

/* Staff landing page password recovery modal. */
.wphrm-forgot-modal[hidden]{display:none!important}.wphrm-forgot-modal{position:fixed;inset:0;z-index:100001;display:grid;place-items:center;padding:22px}.wphrm-forgot-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(4px)}.wphrm-forgot-modal-card{position:relative;z-index:1;width:min(92vw,430px);background:#fff;border:1px solid #e2e7ef;border-radius:22px;padding:28px 24px 24px;box-shadow:0 28px 80px rgba(15,23,42,.26)}.wphrm-forgot-modal-close{position:absolute;right:13px;top:11px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f8;color:#475467;font-size:26px;line-height:1;cursor:pointer}.wphrm-forgot-modal-card form{display:grid;gap:15px}.wphrm-forgot-modal-card label{display:grid;gap:7px;font-weight:700;font-size:13px;color:#344054}.wphrm-forgot-modal-card input[type=text]{width:100%;box-sizing:border-box;min-height:48px;padding:11px 13px;border:1px solid #d4dae4;border-radius:11px;background:#fff;color:#172033;font-size:16px}.wphrm-forgot-modal-card input[type=text]:focus{outline:3px solid rgba(31,94,255,.12);border-color:#5e7fea}.wphrm-forgot-modal-card .button{width:100%;min-height:48px;border:0!important;border-radius:11px!important;font-size:15px!important;font-weight:800!important;cursor:pointer}.wphrm-forgot-modal-card .button-primary{background:linear-gradient(135deg,#245deb,#1747bd)!important;color:#fff!important;box-shadow:0 10px 22px rgba(31,94,255,.20)!important}.wphrm-forgot-message{margin:0 0 17px;padding:12px 14px;border-radius:11px;font-weight:650;line-height:1.45}.wphrm-forgot-message.is-success{background:#ecfdf3;border:1px solid #bbf7d0;color:#166534}.wphrm-forgot-message.is-error{background:#fff1f2;border:1px solid #fecaca;color:#991b1b}.wphrm-forgot-modal-open{overflow:hidden}@media(max-width:560px){.wphrm-auth-tab{padding:10px 6px;font-size:12px}.wphrm-forgot-modal{padding:16px}.wphrm-forgot-modal-card{width:100%;padding:26px 18px 20px}}

/* v2.2 Notifications */
.wphrm-notifications-nav{position:relative}.wphrm-notification-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#d63638;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.wphrm-notification-list{display:grid;gap:12px}.wphrm-notification-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px}.wphrm-notification-item.is-unread{border-left:4px solid #2271b1;background:rgba(34,113,177,.045)}.wphrm-notification-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(34,113,177,.1);color:#2271b1}.wphrm-notification-copy{min-width:0}.wphrm-notification-copy p{margin:5px 0 6px}.wphrm-notification-copy small{opacity:.68}.wphrm-notification-title-row{display:flex;align-items:center;gap:8px}.wphrm-notification-unread-dot{width:8px;height:8px;border-radius:50%;background:#d63638;display:inline-block;flex:0 0 auto}.wphrm-notification-action{white-space:nowrap}
body.wphrm-theme-dark .wphrm-notification-item.is-unread{background:rgba(80,160,220,.1)}body.wphrm-theme-dark .wphrm-notification-icon{background:rgba(80,160,220,.14);color:#8cc7f0}
@media(max-width:640px){.wphrm-notification-item{grid-template-columns:36px minmax(0,1fr);padding:14px}.wphrm-notification-icon{width:34px;height:34px}.wphrm-notification-action{grid-column:2}.wphrm-notification-action .button{width:100%;text-align:center}}

/* v2.3.13 — Unified Staff module styling based on My Workspace */
.wphrm-staff-content{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.5;
  color:#172033;
}
.wphrm-staff-content .wphrm-head{
  margin:0 0 18px;
  align-items:flex-start;
  gap:16px;
}
.wphrm-staff-content .wphrm-head h1,
.wphrm-staff-content .wphrm-head .wphrm-profile-workspace-title{
  margin:0 0 4px;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
  color:#172033;
}
.wphrm-staff-content .wphrm-head p,
.wphrm-staff-content .wphrm-head .wphrm-profile-workspace-subtitle{
  margin:0;
  color:#98a2b3;
  font-size:11px;
  line-height:1.4;
  font-weight:400;
}

/* One card language everywhere in the Staff workspace. */
.wphrm-staff-content .wphrm-card,
.wphrm-staff-content .wphrm-panel,
.wphrm-staff-content .wphrm-form,
.wphrm-staff-content .wphrm-info-card,
.wphrm-staff-content .wphrm-directory-card,
.wphrm-staff-content .wphrm-mini-card,
.wphrm-staff-content .wphrm-empty-card,
.wphrm-staff-content .wphrm-notification-item,
.wphrm-staff-content table.widefat tr{
  background:#fff;
  border:0;
  border-radius:16px;
  box-shadow:0 8px 25px rgba(15,23,42,.07);
}
.wphrm-staff-content .wphrm-card,
.wphrm-staff-content .wphrm-panel,
.wphrm-staff-content .wphrm-form,
.wphrm-staff-content .wphrm-info-card,
.wphrm-staff-content .wphrm-directory-card,
.wphrm-staff-content .wphrm-empty-card,
.wphrm-staff-content .wphrm-notification-item{
  padding:18px;
}
.wphrm-staff-content .wphrm-mini-card{
  padding:15px 16px;
}

/* Consistent card headings and supporting copy. */
.wphrm-staff-content .wphrm-card h2,
.wphrm-staff-content .wphrm-panel h2,
.wphrm-staff-content .wphrm-form h2,
.wphrm-staff-content .wphrm-info-card h2,
.wphrm-staff-content .wphrm-directory-card h2,
.wphrm-staff-content .wphrm-settings-card h2,
.wphrm-staff-content .wphrm-equipment-card h2,
.wphrm-staff-content .wphrm-profile-section>h2,
.wphrm-staff-content .wphrm-report-grid h2,
.wphrm-staff-content .wphrm-workspace-card-head h2,
.wphrm-staff-content .wphrm-timeline-head h2{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:0;
  color:#172033;
}
.wphrm-staff-content .wphrm-card p,
.wphrm-staff-content .wphrm-panel p,
.wphrm-staff-content .wphrm-form p,
.wphrm-staff-content .wphrm-info-card p,
.wphrm-staff-content .wphrm-directory-card p,
.wphrm-staff-content .wphrm-settings-card-head p,
.wphrm-staff-content .wphrm-timeline-head p{
  font-size:12px;
  line-height:1.5;
}

/* Keep module grids and spacing visually identical. */
.wphrm-staff-content .wphrm-cards,
.wphrm-staff-content .wphrm-card-grid,
.wphrm-staff-content .wphrm-report-grid,
.wphrm-staff-content .wphrm-profile-grid,
.wphrm-staff-content .wphrm-directory-grid,
.wphrm-staff-content .wphrm-mini-card-grid{
  gap:18px;
}
.wphrm-staff-content .wphrm-card-grid,
.wphrm-staff-content .wphrm-report-grid,
.wphrm-staff-content .wphrm-profile-grid,
.wphrm-staff-content .wphrm-directory-grid,
.wphrm-staff-content .wphrm-mini-card-grid{
  margin-top:18px;
  margin-bottom:24px;
}

/* Forms use the same typography as workspace cards. */
.wphrm-staff-content .wphrm-form label>span,
.wphrm-staff-content .wphrm-panel label>span,
.wphrm-staff-content .wphrm-info-card label>span{
  font-size:12px;
  line-height:1.35;
  font-weight:650;
  color:#475467;
}
.wphrm-staff-content input:not([type="file"]),
.wphrm-staff-content select,
.wphrm-staff-content textarea,
.wphrm-staff-content button,
.wphrm-staff-content .button{
  font-family:inherit;
  font-size:14px;
}

/* Tables converted to cards follow the same workspace card metrics. */
.wphrm-staff-content table.widefat tbody{gap:18px}
.wphrm-staff-content table.widefat tr{padding:18px}
.wphrm-staff-content table.widefat td{font-size:13px;line-height:1.45}
.wphrm-staff-content table.widefat td:before{font-size:10px;color:#98a2b3}

/* Settings, projects, tasks and equipment should not introduce a second card style. */
.wphrm-staff-content .wphrm-settings-card,
.wphrm-staff-content .wphrm-equipment-card,
.wphrm-staff-content .wphrm-live-location-panel{
  border-radius:16px;
  box-shadow:0 8px 25px rgba(15,23,42,.07);
}
.wphrm-staff-content .wphrm-settings-card-head{gap:12px}
.wphrm-staff-content .wphrm-settings-card-head h2{font-size:18px}

/* Preserve purpose-built table layout inside Today's activity while matching typography. */
.wphrm-staff-content table.widefat.wphrm-break-history-table{
  font-family:inherit;
  font-size:13px;
}
.wphrm-staff-content table.widefat.wphrm-break-history-table tr{
  border-radius:0;
  box-shadow:none;
  padding:0;
}

@media(max-width:900px){
  .wphrm-staff-content .wphrm-head h1,
  .wphrm-staff-content .wphrm-head .wphrm-profile-workspace-title{font-size:20px}
  .wphrm-staff-content .wphrm-head p,
  .wphrm-staff-content .wphrm-head .wphrm-profile-workspace-subtitle{font-size:10px}
}
@media(max-width:520px){
  .wphrm-staff-content .wphrm-card,
  .wphrm-staff-content .wphrm-panel,
  .wphrm-staff-content .wphrm-form,
  .wphrm-staff-content .wphrm-info-card,
  .wphrm-staff-content .wphrm-directory-card,
  .wphrm-staff-content .wphrm-empty-card,
  .wphrm-staff-content .wphrm-notification-item{padding:16px}
  .wphrm-staff-content .wphrm-card h2,
  .wphrm-staff-content .wphrm-panel h2,
  .wphrm-staff-content .wphrm-form h2,
  .wphrm-staff-content .wphrm-info-card h2,
  .wphrm-staff-content .wphrm-directory-card h2,
  .wphrm-staff-content .wphrm-settings-card h2,
  .wphrm-staff-content .wphrm-equipment-card h2,
  .wphrm-staff-content .wphrm-profile-section>h2{font-size:17px}
}


/* Phone and email actions */
.wphrm-contact-link{display:inline-flex!important;align-items:center;gap:6px;max-width:100%;color:#344054!important;text-decoration:none!important;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.wphrm-contact-link .dashicons{width:18px;height:18px;font-size:18px;line-height:18px;flex:0 0 18px;color:#667085}
.wphrm-contact-link:hover,.wphrm-contact-link:focus{color:#111827!important;text-decoration:none!important}
.wphrm-phone-link .dashicons{color:#16a34a}
.wphrm-email-link .dashicons{color:#64748b}
.wphrm-directory-card .wphrm-contact-link{margin-top:6px}

/* v2.3.21 — Profile Choose file button styled like v2.3.14.
   Visual-only: keep the working native/app picker bridge untouched. */
#wphrmProfileImageInput::file-selector-button{
  min-height:34px;
  margin:0 10px 0 0;
  padding:7px 12px;
  border:0;
  border-radius:7px;
  background:#eef4fb;
  color:#2271b1;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
#wphrmProfileImageInput::-webkit-file-upload-button{
  min-height:34px;
  margin:0 10px 0 0;
  padding:7px 12px;
  border:0;
  border-radius:7px;
  background:#eef4fb;
  color:#2271b1;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

/* Leave date conflict feedback */
.wphrm-leave-date-warning{margin:-2px 0 4px;padding:10px 12px;border-radius:10px;background:#fff1f2;color:#b42318;font-size:13px;font-weight:600;line-height:1.4;border:1px solid #fecdd3}

/* Employee task response / progress controls */
.wphrm-task-response-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.wphrm-task-response-actions form{margin:0}
.wphrm-task-response-actions .button{display:inline-flex;align-items:center;gap:6px}
.wphrm-task-decline{border-color:#dc2626!important;color:#b91c1c!important;background:#fff!important}
.wphrm-task-status-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}
.wphrm-task-status-form label{display:flex;flex-direction:column;gap:6px;min-width:180px;margin:0}
.wphrm-task-status-form select{min-height:40px}
@media(max-width:600px){.wphrm-task-response-actions,.wphrm-task-status-form{display:grid;grid-template-columns:1fr}.wphrm-task-response-actions .button,.wphrm-task-status-form .button{width:100%;justify-content:center}.wphrm-task-status-form label{min-width:0}}

.wphrm-privacy-link-wrap{text-align:center;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.wphrm-footer-link-separator{color:#98a2b3;font-size:13px}.wphrm-privacy-link{display:inline-block;color:#667085!important;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.wphrm-privacy-link:hover{color:#2563eb!important}
