/* =====================================================================
   PGS Portal 2026  -  pgs-portal-2026.css   (version 2: new layout)

   A new layout for portal.peoplegroupservices.com, to match the new
   website: side menu, white top bar, wide pages, cards, larger text,
   a launcher-style staff menu, a split-screen log in page and staff
   avatars.

   PGS changes to the supplied pack (Nov 2026):
   - navy and side menu match the Agency Portal and MSP sidebar (#111746,
     white logo, cyan section label, translucent active row);
   - logos are always white on navy: no white panel behind a green logo;
   - no staff photos in the staff menu or top bar (no JS at all);
   - Client Care help card shown to contractors only.

   SOURCE: _scripts/portal-2026/theme.src.css. Do not edit
   inc/pgs-portal-2026.css by hand; run  python3 _scripts/portal-2026/build.py
   Linked from inc/_js.asp while the new look is switched on (see there).

   Safe by design:
   - Only pages whose <body> has class "portal" (contractor and staff
     portal). The Agency Portal and NMW pages are not touched.
   - Screen only: printing, payslips and PDFs print exactly as before.
   - The mobile version (body.mobilecss / body.newmobile) is not touched.
   - No HTML, ids, names, scripts or form behaviour change.
   ===================================================================== */

@media screen {

/* =========================== 1. Colours, type ========================= */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) {
  --peoBlue:#111746; --pgsGreen:#1263b5; --pgsAqua:#8fd6f3; --peoLight:#23b9e7;
  --pp-navy:#111746; --pp-navy2:#1d2566; --pp-ink:#10304c; --pp-muted:#557086; --pp-soft:#7f97ab;
  --pp-blue:#1263b5; --pp-blue2:#0f5c9e; --pp-cyan:#23b9e7; --pp-ice:#eff7fb; --pp-paper:#f3f7fa;
  --pp-line:#d8e4ec; --pp-line2:#e7eef4; --pp-green:#128449; --pp-pink:#d81b60; --pp-gold:#e9a825;
  --pp-side:288px; --pp-top:68px; --pp-r:22px;
  --pp-shadow:0 1px 2px rgba(8,45,80,.05), 0 18px 48px rgba(9,46,80,.08);
  --pp-font:Aptos,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--pp-paper) !important; color:var(--pp-ink);
  font-family:var(--pp-font) !important; font-size:14px; line-height:1.5;
  margin:0 !important;
  -webkit-font-smoothing:antialiased;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) input, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) select, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) textarea, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) button, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .xp { font-family:var(--pp-font) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) a { color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) a.blk { color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) a:hover { text-decoration:underline; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) ::selection { background:#cfe8f8; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .top2bottom { background:transparent !important; text-align:left; }

/* old design used very thin (100) text; with the new font it is too faint */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .nobold, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tdbox label,
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bambox .awrq, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bambox .awrq1, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bambox .awrq2 { font-weight:400; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) [style*="font-weight:100"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) [style*="font-weight: 100"],
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) [style*="font-weight:200"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) [style*="font-weight:300"] { font-weight:400 !important; }

/* =========================== 2. Top bar ============================== */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar {
  position:fixed !important; top:0; left:0; right:0; width:auto !important; height:var(--pp-top); z-index:1000;
  background:#fff !important; background-image:none !important; color:var(--pp-muted);
  border-bottom:1px solid var(--pp-line2); box-shadow:0 6px 24px rgba(8,45,80,.06);
  line-height:normal; text-align:left; font-size:14px;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a { color:var(--pp-ink); text-decoration:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext {
  width:auto !important; max-width:none !important; height:var(--pp-top);
  display:flex; align-items:center; gap:12px; padding:0 22px 0 28px; margin:0 !important; box-sizing:border-box;
  white-space:nowrap;
}
/* right-hand group: History, search, Sign out */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext > div:first-child { order:9; margin-left:auto; float:none !important; height:auto !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext > div:first-child form { display:flex; align-items:center; gap:10px; margin:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href="/admin/history.asp"] {
  display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 13px; border-radius:12px;
  color:var(--pp-ink) !important; font-weight:600; background:#f4f8fb; border:1px solid var(--pp-line2);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href="/admin/history.asp"]::before {
  content:""; width:17px; height:17px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href="/admin/history.asp"]:hover { background:var(--pp-ice); border-color:#c6dceb; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar .navsearchbox {
  width:250px; height:40px; box-sizing:border-box; border-radius:12px !important; border:1px solid var(--pp-line) !important;
  background:#f7fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f97ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") 12px center/17px no-repeat !important; color:var(--pp-ink);
  padding:0 12px 0 38px !important; font-size:14px; box-shadow:none !important; margin:0 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar .navsearchbox:focus { outline:none; background-color:#fff !important; border-color:var(--pp-blue) !important; box-shadow:0 0 0 4px rgba(18,99,181,.14) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar .navsearchbutt {
  width:40px !important; height:40px !important; border-radius:12px; border:0; margin:0 !important; cursor:pointer;
  background:var(--pp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center/18px no-repeat !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar .navsearchbutt:hover { background-color:var(--pp-navy) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href*="logout"] {
  display:inline-flex; align-items:center; height:40px; padding:0 14px; border-radius:12px; font-weight:700;
  color:var(--pp-navy) !important; border:1px solid #c3d5e3; background:#fff;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href*="logout"]:hover { background:var(--pp-navy); color:#fff !important; border-color:var(--pp-navy); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href*="logout"] img { filter:brightness(0); opacity:.75; width:16px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[href*="logout"]:hover img { filter:none; opacity:1; }
/* "Welcome, name" opens the staff menu */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[onclick*="navContent"] {
  display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 14px 0 5px; border-radius:999px;
  background:#f4f8fb; border:1px solid var(--pp-line2); color:var(--pp-muted) !important; font-weight:500;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[onclick*="navContent"] strong { color:var(--pp-navy); font-weight:800; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[onclick*="navContent"]::after {
  content:""; width:16px; height:16px; margin-left:2px; background:var(--pp-muted);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[onclick*="navContent"]:hover { background:var(--pp-ice); border-color:#c6dceb; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar a[onclick*="navContent"] img {
  width:36px !important; height:36px; margin:0 !important; border-radius:50%; object-fit:cover;
  background:var(--pp-navy); padding:6px; box-sizing:border-box;
}
/* selected contractor chip */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext > span {
  display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border-radius:999px;
  background:#e9f6fd; border:1px solid #c4e5f7; color:var(--pp-navy) !important; font-weight:600 !important; font-size:13px;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext > span strong { color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext a[href="/?u=0"] img { filter:brightness(0); opacity:.45; width:18px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signouttext a[href="/?u=0"]:hover img { opacity:.8; }

/* =========================== 3. Staff menu (launcher) ================= */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContainer {
  position:fixed !important; inset:0 !important; width:auto !important; height:auto !important;
  background:rgba(8,45,80,.42) !important; z-index:1090 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContainer > div { margin-top:var(--pp-top) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent {
  position:fixed !important; top:var(--pp-top) !important; left:16px !important; right:16px; bottom:auto;
  width:auto !important; max-width:1280px; max-height:calc(100vh - var(--pp-top) - 18px); overflow:auto;
  margin:0 !important; padding:22px 24px 24px !important; box-sizing:border-box;
  background:#fff !important; color:var(--pp-ink); text-align:left; line-height:1.4;
  border:1px solid var(--pp-line2); border-top:0; border-radius:0 0 26px 26px;
  box-shadow:0 30px 80px rgba(8,45,80,.28) !important; z-index:1100 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #navContent { left:calc(var(--pp-side) + 16px) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent .navLinks { display:grid; grid-template-columns:repeat(auto-fill,minmax(215px,1fr)); gap:14px; padding:0 !important; margin:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent .navLinks > div[style*="clear"] { display:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent .navBlock, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent .navBlockIn {
  float:none !important; width:auto !important; margin:0 !important; height:auto !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent .navBlock { background:#f6fafc; border:1px solid var(--pp-line2); border-radius:18px; padding:12px 10px 10px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent a {
  display:block; color:var(--pp-ink) !important; padding:7px 10px !important; border-radius:10px;
  font-size:13.5px; font-weight:500; line-height:1.35; text-decoration:none; background:none !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent a:hover { background:#fff !important; color:var(--pp-blue) !important; box-shadow:0 1px 3px rgba(8,45,80,.1); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent a img { filter:brightness(0); opacity:.6; width:18px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent a.masterLink {
  display:flex; align-items:center; gap:10px; min-height:40px; margin:0 0 6px !important; padding:2px 8px 10px !important;
  font-size:15px; font-weight:800; letter-spacing:-.005em; color:var(--pp-navy) !important;
  border-bottom:1px solid var(--pp-line); border-radius:0; text-transform:none;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #navContent a.masterLink:hover { background:none !important; box-shadow:none; }

/* =========================== 4. Side menu (pages with tabs) =========== */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .top2bottom { padding:calc(var(--pp-top) + 26px) 32px 0 calc(var(--pp-side) + 32px) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .header {
  position:static !important; height:0 !important; width:0 !important; margin:0 !important; padding:0 !important;
  overflow:visible; background:none !important; box-shadow:none !important; border:0 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #racslogo {
  position:fixed !important; top:0 !important; left:0 !important; width:var(--pp-side); height:var(--pp-top);
  display:flex; align-items:center; justify-content:flex-start; padding:0 24px; box-sizing:border-box; z-index:1010; margin:0 !important;
  background:var(--pp-navy); border-bottom:1px solid rgba(255,255,255,.1); border-right:1px solid rgba(255,255,255,.1);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #racslogo a { display:inline-flex; align-items:center; }
/* the product logos are green on a transparent background: show them white, as the agency portal and MSP do */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #racslogo img.rlogo { height:44px !important; width:auto !important; max-width:100%; display:block; filter:brightness(0) invert(1); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav {
  position:fixed !important; top:0 !important; left:0 !important; bottom:0 !important; width:var(--pp-side) !important;
  height:auto !important; min-height:0 !important; margin:0 !important; z-index:1005;
  padding:calc(var(--pp-top) + 16px) 12px 236px !important; box-sizing:border-box; overflow-y:auto; overflow-x:hidden;
  background:var(--pp-navy) !important; background-image:none !important;
  border:0 !important; border-right:1px solid rgba(255,255,255,.1) !important; border-radius:0 !important; text-align:left;
  box-shadow:6px 0 22px rgba(17,23,70,.16);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav > .bodywidth { width:auto !important; margin:0 !important; height:auto !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav ul { display:flex !important; flex-direction:column; gap:4px; padding:0 !important; margin:0 !important; height:auto !important; float:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav ul::before { content:"My portal"; display:block; padding:4px 12px; font-size:11px; font-weight:600; line-height:1.2; letter-spacing:.16em; text-transform:uppercase; color:rgba(103,232,249,.8); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .tightpadding .portalnav li {
  float:none !important; display:block !important; height:auto !important; width:auto !important;
  margin:0 !important; padding:0 !important; background:none !important; line-height:1.25 !important; font-size:14px !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li a {
  display:flex !important; align-items:center; gap:12px; height:auto !important; width:auto !important;
  min-height:44px; padding:6px 12px !important; border-radius:8px; box-sizing:border-box;
  color:rgba(255,255,255,.68) !important; font-weight:400; text-decoration:none !important; background:none !important;
  transition:background-color .15s ease, color .15s ease;
}
/* icon tile, as the agency portal's .nav-link img.svg */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li a::before {
  content:""; flex:0 0 32px; width:32px; height:32px; border-radius:8px; opacity:.58;
  background:var(--pp-ico,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E")) center/20px no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li a:hover { background:rgba(255,255,255,.08) !important; color:#fff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li a:hover::before { opacity:.82; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.portalactive a,
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.portalactive a:hover { background:rgba(255,255,255,.15) !important; color:#fff !important; font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,.12); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.portalactive a::before { opacity:1; background-color:rgba(34,211,238,.15); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li a img { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li:first-child > a:has(> img)::after { content:"Home"; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.MyWalletPinkBack a { color:#ffc1d8 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.MyWalletPinkBack a:hover { color:#fff !important; background:rgba(216,27,96,.25) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.MyWalletPinkBack.portalactive a { background:var(--pp-pink) !important; color:#fff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav li.MyWalletPinkBack.portalactive a::before { background-color:rgba(255,255,255,.18); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/?xid"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href="/"] { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href*="version=user"] { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/account"]      { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.4-4.2 4.4-6.3 8-6.3s6.6 2.1 8 6.3'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/payslips"]     { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14 2.5V7h5'/%3E%3Cpath d='M9 12h7M9 15.5h7M9 19h4'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/holiday"]      { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/files"]        { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5H9l2 2.5h8.5A1.5 1.5 0 0 1 21 9v9.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/benefits"]     { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5h15.5a1.5 1.5 0 0 1 1.5 1.5v10a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 19V6a2 2 0 0 1 2-2h12v3.5'/%3E%3Ccircle cx='16.5' cy='14' r='1.3'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/anytime-wages"] { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5H12l-1 8 8.5-11H12z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/refer-a-friend"] { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13'/%3E%3Cpath d='M12 8C10.5 4.5 7 4 7 6.2 7 8 10 8 12 8zM12 8c1.5-3.5 5-4 5-1.8C17 8 14 8 12 8z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav a[href^="/mail"]         { --pp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .moreborderleft, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .moreborderright { display:none !important; }

/* help card at the bottom of the side menu (uses the phone and email block) */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li).staffportal #loginnav { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav {
  position:fixed !important; left:14px !important; right:auto !important; top:auto !important; bottom:14px !important;
  width:calc(var(--pp-side) - 28px) !important; box-sizing:border-box; z-index:1010; margin:0 !important;
  padding:94px 16px 15px !important; border-radius:18px; text-align:left !important;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.13);
  color:#c9d9e6 !important; font-size:12.5px !important; line-height:1.45 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav::before {
  content:""; position:absolute; left:14px; top:14px; width:112px; height:52px;
  background:url(/images/pgs2026/team-care.png) left center/contain no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav::after {
  content:"Need a hand? Talk to Client Care"; position:absolute; left:16px; right:12px; top:70px;
  font-size:12px; font-weight:700; color:#fff; letter-spacing:.01em;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav > div:first-child { font-size:21px !important; line-height:26px !important; font-weight:800; color:#fff; letter-spacing:-.01em; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav .highlight {
  display:inline-block; margin:6px 0 8px; padding:2px 9px; border-radius:999px; font-size:10.5px; font-weight:800; letter-spacing:.06em;
  background:rgba(18,132,73,.22); color:#8fe3b5 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav a.blk { color:#8fd6f3 !important; font-size:12px; word-break:break-all; }
@media (max-height:760px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .portalnav { padding-bottom:120px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav { padding-top:14px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav::before, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) #loginnav::after { display:none; }
}

/* main area */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .bodyarea { width:auto !important; max-width:1320px; margin:0 0 26px 0 !important; background:transparent !important; }
/* full-width pages (BAM, payroll ...) use the whole screen */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bodyarea.fullwidth, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .bodyarea.fullwidth { max-width:none; }
/* a page's own .bodyarea inside a full-width BAM (admin/switch/import.asp and others)
   would otherwise pick up the side-menu .bodyarea cap above */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bam.fullwidth .bodyarea, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .bam.fullwidth .bodyarea { max-width:none; margin:0 !important; }
/* the side menu is fixed, so a page wider than the window (Nelson payroll's
   1600px results) would scroll sideways under it: wide content scrolls inside
   its card instead, and the page itself never scrolls sideways */
/* ...except on pages with table headings: a scrolling card becomes the sticky
   headings' scroll box, so they stop sticking and scroll away under the top bar.
   Those pages keep sticky headings and scroll sideways as a whole instead. */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .bodyarea.fullwidth > .pgsbody:not(:has(th)) { overflow-x:auto; }
/* Nelson payroll results: rows are lines of fixed-width columns, with the NMW
   column (issues text) last. Lay each row out as a flex line so NMW takes
   whatever width is left and wraps its own text, rather than a fixed block. */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #payrollResults { min-width:100% !important; width:max-content; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #payrollResults .pR { display:flex; flex-wrap:nowrap; align-items:flex-start; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #payrollResults .pR > * { flex:0 0 auto; }
/* contain:inline-size stops long issue text from setting the table's width */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) #payrollResults .pR > span.NMW { flex:1 1 0; min-width:220px; width:auto; contain:inline-size; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .bodyarea > div[style*="height:5px"] { display:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .signoutbar { left:var(--pp-side) !important; }

/* =========================== 5. Staff pages with no tabs ============== */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .top2bottom { padding:calc(var(--pp-top) + 18px) 20px 0 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .signoutbar::before {
  content:""; position:absolute; left:22px; top:12px; width:120px; height:44px;
  background:url(/images/logos/200pc/PeoplePGreen-PAYE.png?x=1) left center/contain no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .signouttext { padding-left:160px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .bodyarea { width:auto !important; margin:0 0 22px !important; background:transparent !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .pgsbody > .bam.fullwidth { padding:22px 26px 28px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.signoutbar):not(:has(.portalnav li)) .header { margin-bottom:16px; }

/* =========================== 6. Cards and page titles ================= */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody {
  background:#fff !important; border:1px solid var(--pp-line2) !important; border-radius:var(--pp-r);
  box-shadow:var(--pp-shadow); padding:32px 36px 40px; text-align:left;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tightpadding .pgsbody { padding:0 !important; overflow:hidden; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bodybottom { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .firstfooter { background:transparent !important; background-image:none !important; border:0 !important; text-align:left; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .firstfootertext { width:auto !important; color:var(--pp-soft); font-size:12.5px; padding:6px 4px 34px !important; text-align:left; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .firstfootertext a { color:var(--pp-muted); }

body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h1 { font-size:30px; font-weight:800; letter-spacing:-.025em; color:var(--pp-navy); line-height:1.15; margin:2px 0 16px; padding:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bam > h1:first-child::before, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody > h1:first-child::before {
  content:""; display:block; width:46px; height:5px; border-radius:3px; margin:0 0 14px;
  background:linear-gradient(90deg,var(--pp-cyan),var(--pp-blue));
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h1 .size14, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h1 .size12, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h1 .size11, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h1 .size10 { font-weight:500; letter-spacing:0; color:var(--pp-muted); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h2 { font-size:18px; font-weight:750; color:var(--pp-navy); letter-spacing:-.01em; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h2 span, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .highlight { color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) h3 { color:var(--pp-navy); font-weight:750; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .grey { color:var(--pp-muted); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox h1, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb h1 { color:#fff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox h1::before, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb h1::before { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) p { line-height:1.6; }

/* =========================== 7. Buttons =============================== */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg3, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg4, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg5, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg6 {
  display:inline-block; border-radius:12px !important; font-weight:700; font-size:14px; line-height:1.3;
  padding:9px 18px; letter-spacing:.005em; text-decoration:none !important; cursor:pointer;
  box-shadow:0 1px 2px rgba(8,45,80,.14); transition:background-color .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg3:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg4:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg5:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg6:hover { transform:translateY(-1px); box-shadow:0 8px 18px rgba(8,45,80,.16); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg6, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb .submitlg3 { background-color:var(--pp-blue) !important; color:#fff !important; border:1px solid var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg6:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb .submitlg3:hover { background-color:var(--pp-navy) !important; border-color:var(--pp-navy); color:#fff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg3, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb .submitlg2 { background-color:#fff !important; color:var(--pp-navy) !important; border:1px solid #bcd0df; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg3:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb .submitlg2:hover { background-color:var(--pp-ice) !important; color:var(--pp-navy) !important; border-color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg4, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg5 { background-color:var(--pp-navy) !important; color:#fff !important; border:1px solid var(--pp-navy); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg4:hover, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg5:hover { background-color:var(--pp-navy2) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox .submitlg2:hover { background-color:#fff !important; color:var(--pp-navy) !important; border-color:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox .submitlg3 { background-color:transparent !important; color:#fff !important; border-color:rgba(255,255,255,.55); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox .submitlg3:hover { background-color:rgba(255,255,255,.12) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2.warning { background-color:#c62828 !important; border-color:#c62828; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2.warning:hover { background-color:#8e1b1b !important; border-color:#8e1b1b; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg2:focus-visible, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .submitlg3:focus-visible { outline:3px solid #7ac7ee; outline-offset:2px; }

/* =========================== 8. Fields ================================ */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .xp,
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=text], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=email], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=password],
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=number], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=date], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=search], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=tel],
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody select, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody textarea {
  border:1px solid #c9d8e4; border-radius:5px; background-color:#fff; color:var(--pp-ink);
  padding:6px 10px; font-size:14px; transition:border-color .15s ease, box-shadow .15s ease;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody select { padding:5px 8px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .xp:focus, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input:focus, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody select:focus, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody textarea:focus {
  outline:none; border-color:var(--pp-blue); box-shadow:0 0 0 4px rgba(18,99,181,.14);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=checkbox], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pgsbody input[type=radio] { accent-color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .xp.reg, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .textfieldRow input { background-color:var(--pp-ice); }

/* =========================== 9. Tables ================================ */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) th {
  /* +1px clears the top bar's bottom border */
  top:calc(var(--pp-top) + 1px); background-color:#f5f9fc; color:#4a6378; font-weight:700 !important;
  font-size:11.5px; letter-spacing:.05em; text-transform:uppercase;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .fixedHeader th { top:0; box-shadow:inset 0 -1px 0 var(--pp-line); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table th { border-bottom:1px solid #edf2f6; padding:7px 7px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table td { font-size:12.5px; }
/* header rows made of <td><strong> look like table headings */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table tr:first-child > td:has(> strong) {
  background:#f5f9fc; color:#4a6378; font-size:11px; letter-spacing:.05em; text-transform:uppercase; border-bottom-color:var(--pp-line);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table tr:first-child > td > strong { font-weight:700; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table th { border-bottom-color:var(--pp-line); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table tr:hover > td { background-color:#f6fafd; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table tr.redrow:hover > td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table tr.yellowrow:hover > td { background-color:transparent; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .formrowlg td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .formrowlg th { border-bottom:1px solid #edf2f6; padding:9px 8px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) table.fulltable { border-color:var(--pp-line); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tint, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tint2, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tint3, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .fval, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) tr.tdhover:hover { background-color:var(--pp-ice); color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .tintbar { background-color:var(--pp-navy); color:#fff; border-radius:12px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .redrow { background-color:#fdecef; color:#8a1230; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .redrow td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .redrow a, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .redrow a.blk, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .redrow .grey { color:#8a1230; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .yellowrow { background-color:#fff6d6; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table .redrow td, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ruled-table .yellowrow td { border-bottom-color:#fff; }
/* links on a strong colour (the red "checkable issues" flag, product-coloured
   panels ...) keep the panel's own text colour, not the blue link colour */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) :is(.greenflag, .greenflag0, .greenflag1, .greenflag2, .greenflag3, .greenflag5, .greenflag6, .deadrow,
  .apbox, .apboxpink, .apboxred, .tintbar, .col-back, .peo-back, .peoback, .cis-back, .paye-back, .pspro-back, .racs-orange-back, .agencyblueback)
  :is(a, a.blk, a.blk:hover) { color:inherit; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) :is(.greenflag, .greenflag0, .greenflag1, .greenflag2, .greenflag3, .greenflag5, .greenflag6) a { text-decoration:underline; }

/* =========================== 10. Panels =============================== */
/* no !important on panel colours, so colours set inside a page still win,
   and product-coloured panels (paye-back, peo-back, col-back ...) keep theirs */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxpink, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxred {
  border-radius:12px; background-image:none !important; box-shadow:0 14px 34px rgba(9,46,80,.12); padding:10px;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apbox:not([class*="back"]) { background-color:var(--pp-navy); color:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb:not([class*="back"]) { background-color:var(--pp-blue2); color:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb a { color:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxlb a.blk { color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .inbam .apboxlb { background-color:var(--pp-ice); color:var(--pp-ink); box-shadow:none; border:1px solid var(--pp-line); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .inbam .apboxlb a { color:var(--pp-blue); }
/* BAM identity matches: "Review merge" is a link styled as a filled button */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bam-identity-actions a.bam-identity-merge-link, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bam-identity-actions a.bam-identity-merge-link:hover { color:#fff; text-decoration:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxpink { background-color:var(--pp-pink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxred { background-color:#c62828; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxGr { background-color:#f6f9fb; border:1px solid var(--pp-line); border-radius:16px; color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxbluetop, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxpinktop { background-color:var(--pp-navy); border-radius:16px 16px 0 0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .apboxbluebottom { background-color:var(--pp-ice); border-radius:0 0 16px 16px; color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .homebox { background:#fff; border:1px solid var(--pp-line); border-radius:18px; box-shadow:0 6px 18px rgba(9,46,80,.06); color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .homebox:hover { background:var(--pp-ice); border-color:#b9d6ea; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .expandingcontent { border-color:var(--pp-line) !important; background-color:var(--pp-ice); border-radius:0 0 12px 12px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .exphead { background-color:var(--pp-navy); border-radius:12px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .bordertop, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .borderbottom { border-color:var(--pp-line) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .peo-back { background-color:#5CCBD9 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .col-back { background-color:var(--pp-blue2) !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) :not(.inbam) > .apboxlb strong.blk, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) :not(.inbam) > .apboxlb span.blk, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .col-back .blk {
  color:#fff !important; text-decoration:underline; text-underline-offset:2px;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .awsback { border-radius:22px; overflow:hidden; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .awsLeftTopBox { border-radius:16px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .rightcolumn img { border-radius:16px; box-shadow:0 10px 26px rgba(9,46,80,.12); }

/* =========================== 11. Contractor home tiles ================ */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) ul.linklist {
  display:grid !important; grid-template-columns:repeat(auto-fill,minmax(225px,1fr)); gap:14px;
  height:auto !important; padding:0 !important; margin:20px 0 30px !important; list-style:none;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li { float:none !important; width:auto !important; height:auto !important; margin:0 !important; padding:0 !important; border-radius:18px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li:not(:has(a)) { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a {
  display:flex !important; flex-direction:column; gap:12px; position:relative; box-sizing:border-box;
  width:auto !important; height:100% !important; min-height:136px; padding:18px 40px 18px 18px !important;
  background:#fff !important; border:1px solid var(--pp-line); border-radius:18px;
  color:var(--pp-navy); font-size:15.5px !important; font-weight:750; line-height:1.3; text-align:left !important;
  box-shadow:0 4px 14px rgba(9,46,80,.05); text-decoration:none !important;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a:not([style*="color"]) { color:var(--pp-navy) !important; }
/* a tile the page colours itself (e.g. Example Payslip Explained, orange) keeps an orange accent */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a[style*="color"] { color:#c45a0a !important; border-color:#f6c9a3; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a[style*="color"]::before { background-color:#fff1e5; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a::before {
  content:""; width:44px; height:44px; flex:0 0 auto; border-radius:14px;
  background:var(--pp-ice) var(--pp-tile,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E")) center/22px no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a::after {
  content:""; position:absolute; right:16px; top:20px; width:16px; height:16px; background:#a9bfd0;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a:hover { border-color:#9cc8e6; box-shadow:0 14px 30px rgba(9,46,80,.12); transform:translateY(-2px); background:#fbfdff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a:hover::after { background:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a span, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist li a small { color:var(--pp-muted) !important; font-weight:500; font-size:12.5px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="ghostbusters"]  { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.6 2.6 0 0 1 5 .9c0 1.7-2.5 2.2-2.5 3.8M12 17.2v.3'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="account"]       { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.4-4.2 4.4-6.3 8-6.3s6.6 2.1 8 6.3'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="Newsletter"]    { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='15' rx='2'/%3E%3Cpath d='M7 9h10M7 12.5h10M7 16h6'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="payslip"]       { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14 2.5V7h5'/%3E%3Cpath d='M9 12h7M9 15.5h7M9 19h4'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="holiday"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="Holiday"] { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href^="/files"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="P60"] { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5H9l2 2.5h8.5A1.5 1.5 0 0 1 21 9v9.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href^="/content/"]    { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v9h9a9 9 0 1 1-9-9z'/%3E%3Cpath d='M15 3.5A9 9 0 0 1 20.5 9H15z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="marketing"]     { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 2h-15z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="Rights"]        { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.2 7.5 9.5 4.4-1.3 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="subu"], body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="anytime"] { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5H12l-1 8 8.5-11H12z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="refer"]         { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d81b60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v9h14v-9M12 8v13'/%3E%3Cpath d='M12 8C10.5 4.5 7 4 7 6.2 7 8 10 8 12 8zM12 8c1.5-3.5 5-4 5-1.8C17 8 14 8 12 8z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="Handbook"]      { --pp-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231263b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4.5h6a2 2 0 0 1 2 2V20a1.8 1.8 0 0 0-1.8-1.8H4z'/%3E%3Cpath d='M20 4.5h-6a2 2 0 0 0-2 2V20a1.8 1.8 0 0 1 1.8-1.8H20z'/%3E%3C/svg%3E"); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .linklist a[href*="refer"]::before { background-color:#fdeaf2; }

/* =========================== 12. Pop-ups and pickers ================== */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .lightbox { border-radius:24px; box-shadow:0 30px 80px rgba(8,45,80,.35); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .lightboxback { background-color:rgba(8,45,80,.55); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-autocomplete.ui-menu {
  background:#fff; border:1px solid var(--pp-line); border-radius:14px; padding:6px; z-index:1200 !important;
  box-shadow:0 18px 40px rgba(8,45,80,.18); font-family:var(--pp-font); font-size:13.5px;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-autocomplete .ui-menu-item a, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-autocomplete .ui-menu-item { border-radius:9px; color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-autocomplete .ui-state-focus, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-autocomplete .ui-state-active { background:var(--pp-ice) !important; color:var(--pp-navy) !important; border:1px solid transparent; margin:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-datepicker { border-radius:16px; border:1px solid var(--pp-line); box-shadow:0 18px 40px rgba(8,45,80,.18); padding:6px; font-family:var(--pp-font); z-index:1200 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-datepicker .ui-widget-header { background:var(--pp-navy); color:#fff; border:0; border-radius:11px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-datepicker .ui-state-default { border-radius:7px; border-color:transparent; background:#f3f8fb; color:var(--pp-ink); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-datepicker .ui-state-hover { background:var(--pp-ice); color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .ui-datepicker .ui-state-active { background-color:var(--pp-blue) !important; color:#fff; }

/* =========================== 14. Log in and other signed-out pages ===== */
/* today's log in markup */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) { background:linear-gradient(140deg,var(--pp-navy) 0%,#1d2566 55%,#0f5c9e 100%) fixed !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .top2bottom { padding:30px 20px 48px !important; min-height:100vh; box-sizing:border-box; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .header {
  display:flex; align-items:center; justify-content:space-between; position:relative;
  width:auto !important; max-width:1060px; height:auto !important; margin:0 auto 30px !important; background:none !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #racslogo { position:static !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #racslogo a { display:inline-flex; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #racslogo img.rlogo { height:58px !important; width:auto !important; display:block; filter:brightness(0) invert(1); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav { position:static !important; width:auto !important; color:#dbe8f3 !important; text-align:right; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav > div:first-child { color:#fff; font-weight:800; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav .highlight { color:#8fe3b5 !important; font-weight:800; letter-spacing:.04em; font-size:12px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav a.blk { color:#8fd6f3 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .bodyarea { width:auto !important; max-width:560px; margin:0 auto !important; background:transparent !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .portalnav { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody { border-radius:28px; padding:40px 44px 42px; box-shadow:0 40px 90px rgba(0,0,0,.28); border:0 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody h1 { font-size:28px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody h1::before { margin-left:auto; margin-right:auto; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] .xp { border-radius:12px !important; padding:12px 14px !important; font-size:16px; text-align:left !important; width:100%; max-width:360px; box-sizing:border-box; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] .submitlg2, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] .submitlg3 { font-size:15px; padding:11px 22px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] input[name=SubmitButt] { min-width:260px; font-size:16px; padding:13px 24px; }

/* new log in block (login-form.html) */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) { background:#fff !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .top2bottom:has(.pp-auth) { padding:0 !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) .header { position:absolute !important; top:0; left:0; margin:0 !important; max-width:none; z-index:20; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) #racslogo { margin:28px 0 0 44px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) #loginnav { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) .bodyarea, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) .pgsbody, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) .bam {
  width:auto !important; max-width:none !important; margin:0 !important; padding:0 !important;
  background:transparent !important; border:0 !important; box-shadow:none !important; border-radius:0 !important;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr); min-height:100vh; text-align:left !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand {
  position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; gap:36px;
  padding:150px 64px 44px; color:#cfe0ee;
  background:
    radial-gradient(520px 520px at 108% -6%, rgba(35,185,231,.38), transparent 62%),
    radial-gradient(420px 420px at -12% 112%, rgba(18,99,181,.55), transparent 60%),
    linear-gradient(150deg,var(--pp-navy) 0%,#151c55 58%,#1d2566 100%);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand .pp-kicker { color:#8fd6f3; background:rgba(143,214,243,.12); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand h2 { font-size:46px; line-height:1.04; letter-spacing:-.04em; color:#fff; font-weight:800; margin:16px 0 18px; max-width:580px; padding:0; border:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand p { font-size:16.5px; line-height:1.6; max-width:540px; margin:0 0 26px; color:#cfe0ee; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-points { list-style:none; padding:0; margin:0; display:grid; gap:12px; max-width:540px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-points li { display:flex; gap:12px; align-items:center; font-size:15.5px; color:#fff; font-weight:600; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-points li::before {
  content:""; flex:0 0 28px; height:28px; border-radius:50%; background:rgba(143,214,243,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd6f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-team {
  display:flex; align-items:center; gap:18px; max-width:540px; padding:16px 18px; border-radius:20px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(6px);
  font-size:14px; line-height:1.45;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-team strong { color:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-team a { color:#8fd6f3; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-avatars { display:flex; flex:0 0 auto; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-avatars img { width:58px; height:58px; border-radius:50%; border:3px solid #1d2566; margin-left:-16px; background:#e9f4fa; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-avatars img:first-child { margin-left:0; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-phone { font-size:22px; font-weight:800; color:#fff; letter-spacing:-.01em; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form { display:flex; flex-direction:column; justify-content:center; padding:64px 72px; background:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > * { width:100%; max-width:430px; box-sizing:border-box; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-kicker { display:inline-block; width:auto !important; align-self:flex-start; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--pp-blue); background:var(--pp-ice); border-radius:999px; padding:5px 12px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form h1 { font-size:34px; margin:14px 0 8px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form h1::before { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-lead { font-size:15.5px; color:var(--pp-muted); margin:0 0 26px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-field { margin:0 0 16px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-field label { display:block; font-size:13.5px; font-weight:700; color:var(--pp-navy); margin:0 0 7px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth .pp-field .xp {
  width:100% !important; max-width:none !important; box-sizing:border-box; height:52px; border-radius:14px !important;
  padding:0 16px !important; font-size:16px; text-align:left !important; background:#f7fafc; border:1px solid #c9d8e4;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth .pp-field .xp:focus { background:#fff; }
/* the password reset and reset code forms inside the same layout */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form { width:100%; max-width:430px; margin:0; text-align:left; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form .size16 > strong, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form .size16 > em { font-size:13.5px; color:var(--pp-navy); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form input.xp {
  width:100% !important; max-width:none !important; box-sizing:border-box; height:52px; border-radius:14px !important;
  padding:0 16px !important; margin-top:7px; font-size:16px; text-align:left !important; background:#f7fafc; border:1px solid #c9d8e4;
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form input#ResetCode { font-size:24px; letter-spacing:.2em; text-align:center !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form form input.xp:focus { background:#fff; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > p, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > .redhead { max-width:430px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > .redhead { background:#fdecef; color:#8a1230; border-radius:12px; padding:12px 14px; margin:0 0 16px; font-size:14px; line-height:1.5; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > .redhead a { color:#8a1230; text-decoration:underline; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form .redhead h1, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody .pp-auth-form .redhead h1 { font-size:15px; font-weight:700; letter-spacing:0; line-height:1.4; margin:0; color:#8a1230; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form .redhead h1::before { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-terms {
  display:flex; gap:12px; align-items:flex-start; margin:6px 0 20px; padding:14px 16px; border-radius:14px; cursor:pointer;
  background:var(--pp-ice); border:1px solid #cfe3f0; font-size:13.5px; line-height:1.5; color:var(--pp-ink);
}
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-terms input { width:20px; height:20px; margin:0; flex:0 0 auto; accent-color:var(--pp-blue); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-terms small { display:block; color:var(--pp-muted); margin-top:6px; font-size:12.5px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth input[name=SubmitButt] { width:100%; min-width:0; height:54px; font-size:16.5px; border-radius:14px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-top:18px; font-size:14px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-links a.submitlg3 { background:none !important; border:0 !important; box-shadow:none !important; padding:4px 0 !important; color:var(--pp-blue) !important; font-weight:700; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-links a.submitlg3:hover { text-decoration:underline !important; transform:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-foot { margin-top:34px; font-size:12.5px; color:var(--pp-soft); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help { display:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) .bodyarea { height:auto !important; }

/* Tablets and phones: a short navy band with the logo and headline, then the
   form straight away, then Client Care underneath (.pp-auth-help), so nobody
   has to scroll past the marketing to log in. */
@media (max-width:980px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth { display:flex; flex-direction:column; min-height:100vh; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) #racslogo { margin:18px 0 0 22px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)):has(.pp-auth) #racslogo img.rlogo { height:42px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand { padding:82px 24px 26px; gap:0; justify-content:flex-start; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand .pp-kicker, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand p, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-points, body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand .pp-auth-team { display:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand h2 { font-size:27px; line-height:1.12; letter-spacing:-.03em; margin:0; max-width:520px; }
  /* side padding centres a 480px column without fighting the elements' own margins */
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form { flex:1 0 auto; justify-content:flex-start; align-items:stretch; padding:28px max(22px, calc((100% - 480px) / 2)) 32px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > * { max-width:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form > .pp-kicker { align-self:flex-start; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form h1 { font-size:26px; margin:12px 0 6px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-lead { font-size:14.5px; margin:0 0 20px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-links { flex-direction:column; align-items:stretch; gap:0; margin-top:12px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-links a.submitlg3 { display:block; padding:12px 0 !important; text-align:center; border-radius:0 !important; border-top:1px solid var(--pp-line) !important; white-space:normal; width:auto !important; min-width:0; box-sizing:border-box; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help {
    display:flex; align-items:center; gap:14px; margin-top:22px; padding:14px 16px; border-radius:16px;
    background:var(--pp-ice); border:1px solid #cfe3f0; font-size:13.5px; line-height:1.45; color:var(--pp-ink);
  }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help strong { color:var(--pp-navy); }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help .pp-avatars img { width:44px; height:44px; margin-left:-12px; border-color:#fff; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help .pp-avatars img:first-child { margin-left:0; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help .pp-phone { color:var(--pp-navy); font-size:19px; text-decoration:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help > span:last-child { min-width:0; overflow-wrap:anywhere; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-foot { margin-top:22px; text-align:center; }
}
@media (max-width:420px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand { padding:74px 20px 22px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-brand h2 { font-size:23px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form { padding:24px 18px 28px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-form h1 { font-size:23px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-lead { display:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-terms { font-size:13px; padding:12px 14px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-terms small { font-size:12px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .pp-auth-help .pp-avatars { display:none; }
}

/* the other signed-out pages (password reset, reset code) on phones */
@media (max-width:640px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .top2bottom { padding:18px 14px 32px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .header { flex-wrap:wrap; gap:10px; margin-bottom:18px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #racslogo img.rlogo { height:42px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav { font-size:12px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) #loginnav > div:first-child { font-size:18px !important; line-height:1.2 !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .bodyarea { max-width:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody { border-radius:20px; padding:26px 18px 28px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody h1 { font-size:23px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] .xp { max-width:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) .pgsbody input:not([type=checkbox]):not([type=radio]) { max-width:100% !important; box-sizing:border-box; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):not(:has(.signoutbar)) form[name=form1] input[name=SubmitButt] { min-width:0; width:100%; }
}
}

/* =========================== 15. Staff: slim side menu =================
   Staff (anyone with the staff menu) work with wide tables, so on screens
   under 1700px the side menu folds to icons; it opens out while the mouse
   is over it. Contractors always get the full side menu. */
@media (max-width:1699px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) { --pp-side:76px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav { padding:calc(var(--pp-top) + 14px) 12px 20px !important; transition:width .18s ease, box-shadow .18s ease; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav ul::before { display:none; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav li a { font-size:0 !important; justify-content:center; gap:0; padding:6px 0 !important; white-space:nowrap; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav:hover { width:288px !important; box-shadow:18px 0 44px rgba(17,23,70,.28); }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav:hover ul::before { display:block; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .portalnav:hover li a { font-size:14px !important; justify-content:flex-start; gap:12px; padding:6px 12px !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) #loginnav { display:none !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) #racslogo { justify-content:center; padding:0 10px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) #racslogo img.rlogo { height:34px !important; width:44px !important; object-fit:cover; object-position:left center; }
  /* the logo block sits outside the menu, so open it out with the menu */
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent):has(.portalnav:hover) #racslogo { width:288px; justify-content:flex-start; padding:0 24px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent):has(.portalnav:hover) #racslogo img.rlogo { width:auto !important; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(#navContent) .top2bottom { padding-left:calc(var(--pp-side) + 24px) !important; padding-right:24px !important; }
}
/* Full-width tools (payroll, NEST, reports ... nofluff pages) get the menu
   folded to icons at every screen size, so the work keeps its width. */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) { --pp-side:76px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav { padding:calc(var(--pp-top) + 14px) 12px 20px !important; transition:width .18s ease, box-shadow .18s ease; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav ul::before { display:none; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav li a { font-size:0 !important; justify-content:center; gap:0; padding:6px 0 !important; white-space:nowrap; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav:hover { width:288px !important; box-shadow:18px 0 44px rgba(17,23,70,.28); }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav:hover ul::before { display:block; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .portalnav:hover li a { font-size:14px !important; justify-content:flex-start; gap:12px; padding:6px 12px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) #loginnav { display:none !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) #racslogo { justify-content:center; padding:0 10px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) #racslogo img.rlogo { height:34px !important; width:44px !important; object-fit:cover; object-position:left center; }
/* the logo block sits outside the menu, so open it out with the menu */
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold):has(.portalnav:hover) #racslogo { width:288px; justify-content:flex-start; padding:0 24px; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold):has(.portalnav:hover) #racslogo img.rlogo { width:auto !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li):has(.portalnav.pp-fold) .top2bottom { padding-left:calc(var(--pp-side) + 24px) !important; padding-right:24px !important; }
body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(#navContent) .pgsbody { padding:26px 28px 32px; }

/* =========================== 16. Narrow screens (desktop site) ======== */
@media (max-width:1100px) {
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) { --pp-side:220px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal) .signoutbar .navsearchbox { width:170px; }
  body.portal:not(.mobilecss):not(.newmobile):not(.agencyportal):has(.portalnav li) .top2bottom { padding-left:calc(var(--pp-side) + 20px) !important; padding-right:20px !important; }
}

} /* end @media screen */
