/* Worker landing only. Reporting, payroll, tools and dialogs retain their current layout. */
.yp-role-screen.yp-wh-shell[data-wh-view="home"]{
  --wh-ink:#142842;--wh-muted:#4c6177;--wh-edge:#d4e0ee;--wh-blue:#075bb6;--wh-navy:#072a51;
  width:min(715px,calc(100% - 24px));margin:22px auto;padding:0;
  border-color:var(--wh-edge);border-radius:20px;background:#f4f8fc;
  box-shadow:0 12px 36px #12365e18;
}
.yp-wh-shell[data-wh-view="home"] > :not(.yp-wh-topbar,.yp-wh-home){display:none!important}
.yp-wh-shell[data-wh-view="workspace"] > .yp-wh-home{display:none}
.yp-wh-home,.yp-wh-topbar,.yp-wh-back{box-sizing:border-box}
.yp-wh-home [hidden],.yp-wh-topbar [hidden]{display:none!important}
.yp-wh-topbar{
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;align-items:center;
  min-height:78px;padding:11px 16px;color:#fff;background:linear-gradient(118deg,#082748 0%,#07386d 100%);
  border-radius:19px 19px 0 0;
}
.yp-wh-shell[data-wh-view="workspace"] .yp-wh-topbar{border-radius:14px}
.yp-wh-brand{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
.yp-wh-brand .yp-role-logo{
  width:50px;height:50px;object-fit:contain;padding:3px;margin:0;flex:0 0 50px;
  border:2px solid #8ec5f3;border-radius:50%;background:#fff!important;
}
.yp-wh-brand strong,.yp-wh-brand small{display:block;overflow-wrap:anywhere}
.yp-wh-brand strong{font-size:1.17rem;font-weight:850;letter-spacing:.025em;line-height:1.08}
.yp-wh-brand small{font-size:.53rem;line-height:1.23;margin-top:3px;color:#d4e5f7;letter-spacing:.025em;font-weight:700}
.yp-wh-topbar .yp-wh-icon-button,.yp-wh-topbar .yp-notification-bell{
  --yp-action-bg:transparent;--yp-action-border:transparent;--yp-action-text:#fff;--yp-action-hover:#ffffff26;
  display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:7px!important;
}
.yp-wh-topbar .yp-notifications-slot{margin:0}
.yp-wh-topbar .yp-notification-bell>span:first-child{font-size:0}
.yp-wh-topbar .yp-notification-bell>span:first-child::before{
  content:"";display:block;width:24px;height:24px;background:currentColor;
  mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2a6 6 0 0 0-6 6v3c0 3-1.7 4.1-2.6 5.1A1.1 1.1 0 0 0 4.2 18h15.6a1.1 1.1 0 0 0 .8-1.9C19.7 15.1 18 14 18 11V8a6 6 0 0 0-6-6Zm-2.5 18a2.5 2.5 0 0 0 5 0Z'/%3E%3C/svg%3E");
}
.yp-wh-topbar .yp-notification-badge{top:-1px;right:-1px}
.yp-wh-topbar svg,.yp-wh-back svg,.yp-wh-home svg{display:block;width:23px;height:23px;flex:none}
.yp-wh-home{display:grid;gap:15px;color:var(--wh-ink);padding:17px 19px 18px}
.yp-wh-home p,.yp-wh-home h1{margin:0}
.yp-wh-person{display:flex;align-items:center;gap:14px;min-width:0;padding:0 3px}
.yp-wh-avatar{
  width:70px;height:70px;flex:0 0 70px;border-radius:50%;border:1px solid #accbe6;
  display:grid;place-items:center;background:linear-gradient(145deg,#e8f3fe,#d2e7fa);
  color:#104978;font-size:1.55rem;font-weight:850;letter-spacing:.025em;
  box-shadow:inset 0 0 0 4px #ffffff8c;
}
.yp-wh-person>div{min-width:0}
.yp-wh-kicker{font-size:.62rem;color:#4f6780;font-weight:800;letter-spacing:.11em}
.yp-wh-person h1{font-size:1.34rem;line-height:1.2;letter-spacing:-.018em;margin:2px 0 4px;font-weight:850;overflow-wrap:anywhere}
.yp-wh-role{color:#166534;font-size:.9rem;font-weight:750;line-height:1.24;overflow-wrap:anywhere}
.yp-wh-assignment,.yp-wh-card,.yp-wh-help{
  border:1px solid var(--wh-edge);box-shadow:0 1px 3px #153d6810;border-radius:13px;
}
.yp-wh-assignment{position:relative;background:#fff;padding:12px 13px;display:grid;gap:7px}
.yp-wh-assignment-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:start}
.yp-wh-assignment-main>div{min-width:0}
.yp-wh-calendar{display:grid;place-items:center;width:39px;height:39px;border-radius:9px;color:#0862ac;background:#e5f3ff}
.yp-wh-calendar svg{width:24px;height:24px}
.yp-wh-assignment-main p{font-size:.72rem;font-weight:770;color:#435b74}
.yp-wh-assignment-main strong{display:block;margin-top:2px;color:#0d4e97;font-size:.92rem;line-height:1.25;font-weight:820;overflow-wrap:anywhere}
.yp-wh-badge{align-self:start;border-radius:999px;padding:4px 7px;background:#e6edf5;color:#344f6c;font-size:.68rem;font-weight:800;line-height:1.2;text-align:center}
.yp-wh-badge[data-tone="active"]{background:#def6e5;color:#165b34}
.yp-wh-badge[data-tone="scheduled"]{background:#e0edff;color:#254f87}
.yp-wh-badge[data-tone="paused"]{background:#fff1d9;color:#7b4c13}
.yp-wh-work-meta{display:flex;align-items:flex-start;gap:6px;font-size:.76rem;line-height:1.35;color:#344d66;overflow-wrap:anywhere}
.yp-wh-work-meta svg{width:16px;height:16px;color:#466a90}
.yp-wh-assignment:has(.yp-wh-work-link:not([hidden])) .yp-wh-work-meta{padding-right:36px}
.yp-wh-assignment .yp-wh-work-link{
  --yp-action-bg:transparent;--yp-action-border:transparent;--yp-action-text:#105587;--yp-action-hover:#e6f1fd;
  position:absolute;right:5px;bottom:4px;display:grid;place-items:center;padding:4px!important;
}
.yp-wh-work-link svg{width:17px;height:17px}
.yp-wh-work-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.yp-wh-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.yp-wh-primary button.yp-wh-card{
  --yp-action-bg:#fff;--yp-action-border:var(--wh-edge);--yp-action-text:var(--wh-ink);--yp-action-hover:#edf5ff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;
  min-height:106px;padding:11px 5px;min-width:0;
}
.yp-wh-card-icon{display:grid;place-items:center;width:34px;height:34px;color:#0a5db8}
.yp-wh-card-icon svg{width:31px;height:31px}
.yp-wh-card[data-wh-action="report"] .yp-wh-card-icon{color:#076aca}
.yp-wh-card[data-wh-action="reports"] .yp-wh-card-icon{color:#214d7e}
.yp-wh-card[data-wh-action="works"] .yp-wh-card-icon{color:#885816}
.yp-wh-card[data-wh-action="payments"] .yp-wh-card-icon{color:#935f16}
.yp-wh-card strong,.yp-wh-help strong{font-size:.9rem;font-weight:840;line-height:1.22}
.yp-wh-card small,.yp-wh-help small{display:block;color:var(--wh-muted);font-size:.73rem;font-weight:530;line-height:1.24}
.yp-wh-home .yp-wh-help{
  --yp-action-bg:#edf5ff;--yp-action-border:#c9ddf2;--yp-action-text:var(--wh-ink);--yp-action-hover:#dbeeff;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;
  text-align:left;min-width:0;padding:9px 11px;
}
.yp-wh-help-icon{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;color:#fff;background:#135eb2}
.yp-wh-help-icon svg{width:24px;height:24px}
.yp-wh-help>svg{width:18px;height:18px;color:#2d5582}
.yp-wh-secondary{display:flex;flex-wrap:wrap;gap:6px}
.yp-wh-secondary button{
  --yp-action-bg:#fff;--yp-action-border:var(--wh-edge);--yp-action-text:#24486c;--yp-action-hover:#edf5ff;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;flex:1 1 auto;font-size:.71rem;line-height:1.2;
  padding:6px!important;
}
.yp-wh-secondary svg{width:15px;height:15px}
.yp-wh-back{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;position:sticky;top:0;z-index:5;
  margin:8px 0;padding:7px;background:#fff;border:1px solid #d4e0ee;border-radius:12px;color:#24486c;
}
.yp-wh-back button{display:inline-flex;align-items:center;gap:5px;font-size:.82rem}
.yp-wh-back strong{font-size:.85rem}
.yp-wh-back svg{width:17px;height:17px}
.yp-wh-shell [data-wh-focus],.yp-wh-shell .yp-wh-home h1{scroll-margin-top:75px}
body:has(.yp-wh-shell:not(.hidden)) #ypRoleProfiles:not(.yp-wh-menu-open){display:none!important}
body:has(.yp-wh-shell:not(.hidden)) #ypRoleProfiles.yp-wh-menu-open:not([hidden]){
  display:flex;position:fixed;z-index:91;inset:84px auto auto max(12px,calc((100vw - 715px)/2));
  width:min(355px,calc(100% - 24px));max-height:calc(100dvh - 99px);
  overflow:auto;overscroll-behavior:contain;margin:0;border:1px solid #cddbea;border-radius:14px;
  background:#fff;box-shadow:0 12px 36px #12365e38;
}
body:has(.yp-wh-shell:not(.hidden)) #ypRoleProfiles.yp-wh-menu-open details{flex-basis:100%}
@media(max-width:520px){
  .yp-role-screen.yp-wh-shell[data-wh-view="home"]{width:calc(100% - 12px);margin:6px auto}
  .yp-wh-topbar{min-height:71px;padding:8px 10px;gap:6px}
  .yp-wh-home{padding:14px 11px;gap:12px}
  .yp-wh-primary button.yp-wh-card{min-height:103px}
}
