/* ============================================================
   Portal (next) — sign-in screens, the employee portal home,
   and the access admin screens (Users, Permissions, Team Access,
   Settings), restyled to the approved prototype.
   Loads after ivy-refresh.css and uses its tokens (--card, --line,
   --teal, --danger, --warn, --ok, --fg, --muted ...). The few new
   values are tokens below, so the screen files carry no colors.
   Icons are CSS masks (.pt-i + .pt-i-<name>) so markup stays plain.
   ============================================================ */

:root {
  --pt-ring: 0 0 0 4px var(--teal-soft);
  --pt-brand-glow: rgba(255, 255, 255, 0.14);
  --pt-brand-line: rgba(255, 255, 255, 0.18);
  --pt-brand-fill: rgba(255, 255, 255, 0.11);
  --pt-scrim: rgba(10, 24, 28, 0.42);
}

/* ---------- icon primitive ---------- */
.pt-i {
  display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat;
}

/* ============================================================
   1. SIGN-IN AND AUTH SCREENS  (brandedShell in hr-portal.js)
   ============================================================ */
.portal-auth.pt-auth {
  display: grid; grid-template-columns: minmax(380px, 44%) minmax(0, 1fr);
  min-height: 100vh; margin: 0; padding: 0; background: var(--card); color: var(--fg);
}
.pt-auth *, .pt-auth *::before, .pt-auth *::after { box-sizing: border-box; }
#app-root:has(> .pt-auth) { max-width: none; }

/* brand panel */
.pt-auth-brand {
  position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column;
  padding: 40px 48px 36px; color: var(--on-solid);
  background:
    radial-gradient(60% 45% at 92% 6%, var(--pt-brand-glow), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, var(--pt-brand-fill), transparent 70%),
    linear-gradient(160deg, var(--teal), var(--brand-ink));
}
.pt-auth-deco { position: absolute; right: -160px; top: -160px; width: 760px; height: 760px; fill: none; stroke: currentColor; stroke-width: 1; opacity: .12; pointer-events: none; }
.pt-auth-lockup { position: relative; display: flex; align-items: center; gap: 12px; }
.pt-auth-lockup img { width: 48px; height: 48px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--pt-brand-line); }
.pt-auth-lockup b { display: block; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 750; line-height: 1.1; }
.pt-auth-lockup span { font-size: var(--fs-base); opacity: .8; }
.pt-auth-mid { position: relative; margin: auto 0; padding: 48px 0; max-width: 480px; }
.pt-auth-hero { margin: 0; color: inherit; font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; font-weight: 750; letter-spacing: -0.025em; }
.pt-auth-hero-sub { margin: 14px 0 0; font-size: var(--fs-lg); line-height: 1.5; opacity: .86; max-width: 420px; }
.pt-auth-bldgs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; }
.pt-auth-bldgs li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--pt-brand-line); }
.pt-auth-bldgs li:first-child { border-top: 0; }
.pt-auth-bldgs i { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--pt-brand-fill); }
.pt-auth-bldgs i .pt-i { width: 19px; height: 19px; }
.pt-auth-bldgs b { display: block; font-weight: 650; font-size: var(--fs-lg); }
.pt-auth-bldgs small { font-size: var(--fs-base); opacity: .75; }
.pt-auth-new { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: var(--fs-md); background: var(--pt-brand-fill); border: 1px solid var(--pt-brand-line); max-width: 480px; }
.pt-auth-new-tag { flex: none; place-items: center; letter-spacing: .04em; text-transform: uppercase; background: var(--on-solid); color: var(--brand-ink); }

/* main column */
.pt-auth-main { display: flex; flex-direction: column; min-width: 0; padding: 24px 32px; }
.pt-auth .portal-auth-brand { display: none; max-width: none; margin: 0; text-align: left; }
.pt-auth .portal-auth-lockup { padding: 0; background: none; border: 0; box-shadow: none; margin: 0; gap: 10px; }
.pt-auth .portal-auth-lockup img { width: 40px; height: 40px; border-radius: 12px; }
.pt-auth .portal-auth-name { font-size: var(--fs-xl); font-weight: 750; }
.pt-auth .portal-auth-sub { font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; color: var(--muted); }
.pt-auth .portal-auth-sites { display: none; }
.pt-auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.pt-auth-center > * { width: 100%; max-width: 420px; }
.pt-auth .portal-auth-foot {
  display: flex; align-items: center; gap: 8px; max-width: none; margin: 0; padding-top: 16px;
  border-top: 1px solid var(--line); text-align: left; font-size: var(--fs-base); color: var(--muted);
}
.pt-auth .portal-auth-foot::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--pt-i-clock) center / contain no-repeat; mask: var(--pt-i-clock) center / contain no-repeat; }

/* the card itself is calm: no box, just the form on the page */
.pt-auth .auth-card { max-width: 420px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.pt-auth-center > div[style] {
  max-width: 420px !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.pt-auth-center [style*="text-align:center"] { text-align: left !important; }
.pt-auth-center h2, .pt-auth-center h3, .pt-auth .auth-card h3 {
  margin: 0 0 8px !important; font-family: var(--font-display); font-size: var(--fs-title) !important; line-height: 1.15;
  font-weight: 750; letter-spacing: -0.02em; color: var(--fg) !important; text-align: left;
}
.pt-auth-center p { line-height: 1.5; }
/* error states (expired / invalid link) get a mark above the heading */
.pt-auth-center h2[style*="#a01010"]::before {
  content: ""; display: block; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px;
  background: var(--danger-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3Cpath d='m3 3 18 18'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.pt-auth-center p[style*="color:#666"], .pt-auth .auth-lede { color: var(--fg-soft) !important; font-size: var(--fs-lg) !important; margin: 0 0 24px !important; text-align: left !important; }
.pt-auth-center div[style*="font-size:11px"], .pt-auth-center p[style*="font-size:11px"] { font-size: var(--fs-base) !important; color: var(--muted) !important; }
.pt-auth-center p[style*="font-size:12px"] { font-size: var(--fs-md) !important; }
.pt-auth-eyebrow { font-size: var(--fs-base); font-weight: 650; color: var(--teal); margin-bottom: 6px; }

/* labels, inputs, buttons */
.pt-auth-center label { display: block; font-size: var(--fs-md) !important; font-weight: 650 !important; color: var(--fg) !important; margin-bottom: 8px !important; }
.pt-auth .auth-field { margin-bottom: 16px; }
.pt-auth-center input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  width: 100%; height: 52px; padding: 0 16px !important; border: 1.5px solid var(--line-strong) !important; border-radius: 14px !important;
  background: var(--card); color: var(--fg); font-size: var(--fs-lg) !important; font-family: inherit; transition: border-color 140ms, box-shadow 140ms;
}
.pt-auth-center input[data-pw-toggle-wired] { padding-right: 52px; }
.pt-auth-center input::placeholder { color: var(--muted-2); letter-spacing: normal; }
.pt-auth-center input:focus { outline: none; border-color: var(--teal) !important; box-shadow: var(--pt-ring); }
.pt-auth-center input:disabled { background: var(--surface-sunk) !important; color: var(--fg-soft) !important; }
.pt-auth-center input[inputmode="numeric"] { font-variant-numeric: tabular-nums; }
.pt-auth-center input[name="code"], .pt-auth-center input[name="kiosk_code"] { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 700; letter-spacing: 6px; text-align: center; }
.pt-auth-center [data-pw-toggle-wired] + button { width: 48px !important; color: var(--muted) !important; }
.pt-auth-center button[type="submit"]:not(.auth-alt), .pt-auth .auth-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; padding: 0 16px !important;
  margin-top: 8px !important; border: 1px solid transparent !important; border-radius: 14px !important; background: var(--teal) !important;
  color: var(--on-solid); font-size: var(--fs-lg) !important; font-weight: 650 !important; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background 140ms, transform 100ms;
}
.pt-auth-center button[type="submit"]:not(.auth-alt):hover { background: var(--teal-deep) !important; }
.pt-auth-center button[type="submit"]:not(.auth-alt):active { transform: scale(.985); }
.pt-auth-center button[type="submit"]:not(.auth-alt):disabled { opacity: .55; cursor: progress; }
.pt-auth-center a { color: var(--teal); font-weight: 650; text-decoration: none; }
.pt-auth-center a:hover { text-decoration: underline; }
.pt-auth-center a[href="#/hr-employee-login"][style*="background"] {
  display: flex !important; align-items: center; justify-content: center; height: 52px; padding: 0 16px !important; margin-top: 16px !important;
  border-radius: 14px !important; background: var(--teal) !important; color: var(--on-solid) !important; font-size: var(--fs-lg); text-decoration: none !important;
}

/* password rules */
.pt-auth-center ul[id$="-rules"] { margin: 4px 0 16px !important; display: grid; gap: 4px; }
.pt-auth-center ul[id$="-rules"] li { font-size: var(--fs-md); margin: 0 !important; display: flex; align-items: center; gap: 8px; }
.pt-auth-center ul[id$="-rules"] li .icon { display: inline-grid; place-items: center; width: 18px; font-weight: 700; }

/* designed errors and notes: icon + words in a soft panel, never bare red text */
.pt-auth-center p[id$="-err"], .pt-auth .auth-error,
.pt-auth-center [id$="-note"][style*="rgb(160, 16, 16)"],
.pt-auth-center [id$="-note"][style*="rgb(22, 101, 52)"],
.pt-auth-center [id$="-note"][style*="rgb(31, 122, 58)"] {
  position: relative; margin: 12px 0 0 !important; padding: 11px 14px 11px 44px !important; border-radius: 14px !important;
  border: 1px solid var(--danger-line); background: var(--danger-soft); color: var(--danger-ink) !important;
  font-size: var(--fs-md) !important; font-weight: 550; line-height: 1.45; text-align: left !important;
}
.pt-auth-center p[id$="-err"]::before, .pt-auth .auth-error::before,
.pt-auth-center [id$="-note"][style*="rgb"]::before {
  content: ""; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--pt-i-alert) center / contain no-repeat; mask: var(--pt-i-alert) center / contain no-repeat;
}
.pt-auth-center [id$="-note"][style*="rgb(22, 101, 52)"], .pt-auth-center [id$="-note"][style*="rgb(31, 122, 58)"] {
  border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok-ink) !important;
}
.pt-auth-center [id$="-note"][style*="rgb(22, 101, 52)"]::before, .pt-auth-center [id$="-note"][style*="rgb(31, 122, 58)"]::before {
  -webkit-mask-image: var(--pt-i-check-circle); mask-image: var(--pt-i-check-circle);
}
.pt-auth .auth-error[style*="rgb(102, 112, 133)"] { border-color: var(--line); background: var(--surface-2); color: var(--fg-soft) !important; }
.pt-auth .auth-error[style*="rgb(102, 112, 133)"]::before { -webkit-mask-image: var(--pt-i-clock); mask-image: var(--pt-i-clock); }

/* sign-in card specifics */
.pt-auth .pt-signin .auth-lede { margin-bottom: 28px !important; }
.pt-forgot { margin: 8px 0 4px; text-align: right; font-size: var(--fs-md); }
.pt-or { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; font-size: var(--fs-base); color: var(--muted); font-weight: 600; }
.pt-or::before, .pt-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pt-auth .auth-split { border: 0; margin: 0; padding: 0; }
.pt-auth .auth-note { margin: 0 0 12px; text-align: left; font-size: var(--fs-md); color: var(--muted); }
.pt-pwless-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-auth .auth-alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 12px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--card); color: var(--fg);
  font-size: var(--fs-lead); font-weight: 650; cursor: pointer; transition: border-color 140ms, background 140ms;
}
.pt-auth .auth-alt:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--brand-ink); }
.pt-auth .auth-alt::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--teal); -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat; }
#emp-loginlink-submit { --pt-i: var(--pt-i-link); }
#emp-logincode-submit { --pt-i: var(--pt-i-mail); }
.pt-auth .auth-alt:disabled { opacity: .6; cursor: progress; }
.pt-auth #emp-logincode-form { margin-top: 14px !important; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }

/* quieter paths */
.pt-alts { display: flex; flex-direction: column; gap: 8px; }
.pt-alt, .pt-alt-box > details > summary {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: transparent; text-align: left; color: var(--fg); text-decoration: none;
  cursor: pointer; transition: background 140ms, border-color 140ms; list-style: none;
}
.pt-alt-box > details > summary::-webkit-details-marker { display: none; }
.pt-alt:hover, .pt-alt-box > details > summary:hover { background: var(--surface-hover); border-color: var(--line-strong); }
.pt-alt-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-sunk); color: var(--fg-soft); }
.pt-alt-ic .pt-i { width: 19px; height: 19px; }
.pt-alt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 400; }
.pt-alt-text b { font-weight: 650; font-size: var(--fs-lead); color: var(--fg); }
.pt-alt-text span { font-size: var(--fs-base); color: var(--muted); }
.pt-alt > .pt-i, .pt-alt-box summary > .pt-i { width: 18px; height: 18px; color: var(--muted-2); transition: transform 160ms; }
.pt-alt-box > details[open] > summary { border-color: var(--teal-line); background: var(--teal-soft); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pt-alt-box > details[open] > summary > .pt-i { transform: rotate(90deg); }
.pt-alt-box .pt-alt-body { padding: 14px; border: 1px solid var(--teal-line); border-top: 0; border-radius: 0 0 14px 14px; }
.pt-alt-box .auth-note { font-size: var(--fs-md); }
.pt-alt-box #emp-kiosk-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.pt-quiet { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: var(--fs-md); color: var(--muted); text-align: center; }
.pt-quiet p { margin: 0; }
.pt-quiet a { color: var(--fg-soft) !important; font-weight: 600; }
.pt-quiet .pt-quiet-hint { font-size: var(--fs-base); color: var(--muted-2); }

/* password show/hide (attachPasswordToggles): draw an icon instead of the emoji */
.pt-auth-center [data-pw-toggle-wired] + button { font-size: 0 !important; }
.pt-auth-center [data-pw-toggle-wired] + button::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--pt-i-eye) center / contain no-repeat; mask: var(--pt-i-eye) center / contain no-repeat; }
.pt-auth-center [data-pw-toggle-wired] + button[aria-label="Hide password"] { color: var(--teal) !important; }

/* install button + iOS hint (inline-styled by installButtonHTML) */
.pt-auth-center [data-pwa-install] { min-height: 48px; border-radius: 14px !important; border-color: var(--line-strong) !important; color: var(--fg) !important; font-size: var(--fs-md) !important; }
.pt-auth-center div[style*="border-top:1px solid #eef0f4"] { border-top-color: var(--line) !important; margin-top: 24px !important; }
.pt-auth-center div[style*="border-top:1px solid #eef0f4"]:has(> [data-pwa-install][style*="display:none"]) { display: none !important; }

@media (max-width: 1100px) {
  .portal-auth.pt-auth { grid-template-columns: minmax(0, 1fr); }
  .pt-auth-brand { display: none; }
  .pt-auth .portal-auth-brand { display: flex; align-items: center; }
  .pt-auth-main { min-height: 100vh; padding: 16px 16px 20px; background: radial-gradient(120% 220px at 50% 0%, var(--teal-soft), transparent 100%), var(--card); }
  .pt-auth-center { align-items: flex-start; padding: 32px 0 28px; }
  .pt-auth-center h2, .pt-auth-center h3, .pt-auth .auth-card h3 { font-size: var(--fs-kpi) !important; }
  .pt-auth .portal-auth-foot { padding-bottom: 64px; }
}
@media (max-width: 380px) { .pt-pwless-row { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   2. EMPLOYEE PORTAL HOME  (#/hr-me, renderMe in hr-portal.js)
   ============================================================ */
.hr-employee-portal.pt-me { max-width: 880px; padding: 28px 20px 40px; color: var(--fg); }
.pt-me *, .pt-me *::before, .pt-me *::after { box-sizing: border-box; }
.pt-me-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pt-me-top #emp-portal-brand { font-size: var(--fs-sm) !important; font-weight: 650; letter-spacing: .06em !important; color: var(--muted) !important; }
.pt-me-signout {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--fg-soft); font: inherit; font-size: var(--fs-md); font-weight: 600; cursor: pointer;
  flex: none; white-space: nowrap;
}
.pt-me-signout:hover { background: var(--surface-hover); color: var(--fg); }
.pt-me-intro { margin: 0 0 20px; font-size: var(--fs-lead); color: var(--fg-soft); line-height: 1.5; }

/* hero: calm teal, no gold wash */
.pt-me #emp-hero > div {
  background:
    radial-gradient(60% 80% at 100% 0%, var(--pt-brand-glow), transparent 70%),
    linear-gradient(160deg, var(--teal), var(--brand-ink)) !important;
  border-radius: 20px !important; box-shadow: var(--shadow) !important; margin-bottom: 20px !important; padding: 22px;
}
.pt-me #emp-hero h2 { font-family: var(--font-display); letter-spacing: -0.02em; }

.pt-me #emp-back-home { min-height: 44px; border-radius: 12px; border-color: var(--line); color: var(--fg); font-weight: 650; }

/* next step: the one big card */
.pt-me #emp-next-card > section { border-radius: 20px !important; padding: 20px !important; box-shadow: var(--shadow) !important; margin-bottom: 14px !important; }
.pt-me #emp-next-card > section > div:nth-child(3) { font-family: var(--font-display); font-size: var(--fs-3xl) !important; letter-spacing: -0.01em; }
.pt-me #emp-next-card .emp-next-btn { min-height: 52px !important; border-radius: 14px !important; font-size: var(--fs-lg); }
/* the to-do card reads as a white card with one teal action (the hero above is the teal block) */
.pt-me #emp-next-card > section[style*="#0c5f66"] {
  background: var(--card) !important; color: var(--fg) !important; border: 1px solid var(--line); border-top: 4px solid var(--teal);
}
.pt-me #emp-next-card > section[style*="#0c5f66"] > div:first-child { color: var(--teal); opacity: 1 !important; }
.pt-me #emp-next-card > section[style*="#0c5f66"] > div[style*="rgba(255,255,255,.25)"] { background: var(--surface-sunk) !important; height: 8px !important; }
.pt-me #emp-next-card > section[style*="#0c5f66"] > div[style*="rgba(255,255,255,.25)"] > div { background: var(--teal) !important; border-radius: 99px; }
.pt-me #emp-next-card > section[style*="#0c5f66"] > div[style*="opacity:.92"] { color: var(--fg-soft); opacity: 1 !important; }
.pt-me #emp-next-card > section[style*="#0c5f66"] .emp-next-btn { background: var(--teal) !important; color: var(--on-solid) !important; }
.pt-me #emp-next-card > section[style*="#0c5f66"] .emp-next-btn:hover { background: var(--teal-deep) !important; }
.pt-me #emp-next-card > section[style*="#ecfdf3"] { border: 1px solid var(--ok-line); box-shadow: none !important; }

/* quick actions: big tap targets */
.pt-me-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.pt-me-quick > a.btn {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 64px; height: auto; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm);
  font-size: var(--fs-lead); font-weight: 650; text-decoration: none; white-space: normal; text-align: left;
}
.pt-me-quick > a.btn:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.pt-me-quick > a.btn::before {
  content: ""; width: 40px; height: 40px; flex: none; border-radius: 12px; background-color: var(--teal-soft);
  background-image: none;
}
.pt-me-quick > a.btn { position: relative; }
.pt-me-quick > a.btn::after {
  content: ""; position: absolute; left: 24px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--teal);
  -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat;
}
.pt-me-quick > #emp-requests-link { --pt-i: var(--pt-i-inbox); }
.pt-me-quick > [data-testid="emp-docs-link"] { --pt-i: var(--pt-i-folder); }

/* checklist cards (an active employee's Tasks; a new hire's list is in me-next.css) */
.pt-me .hr-check-section { margin-bottom: 22px; }
.pt-me .hr-check-section h4 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.pt-me .hr-check-card { border-radius: 14px; border-color: var(--line); padding: 14px 16px; gap: 14px; }
.pt-me .hr-check-title { font-weight: 650; font-size: var(--fs-lead); }
.pt-me .hr-check-card button {
  min-height: var(--ctl-h-lg); padding: 0 18px !important; border-radius: 12px !important; font-size: var(--fs-md) !important; font-weight: 650 !important;
}
.pt-me [data-emp-panel] h3 { font-family: var(--font-display); font-size: var(--fs-xl) !important; letter-spacing: -0.01em; }

@media (max-width: 720px) {
  .hr-employee-portal.pt-me { padding: 18px 16px 112px; }
  body:has(.pt-me) .ivy-feedback-fab { bottom: 86px; }
  body:has(.pt-me) .ivy-feedback-panel { bottom: 142px; }
  .pt-me #emp-hero > div { padding: 18px !important; }
  .pt-me-quick > a.btn { min-height: 60px; font-size: var(--fs-lead); }
}

/* ============================================================
   3. ADMIN: USERS, PERMISSIONS, TEAM ACCESS, SETTINGS
   ============================================================ */
.pt-page { max-width: 1180px; margin: 0 auto; padding: 28px 32px 48px; color: var(--fg); }
.pt-page *, .pt-page *::before, .pt-page *::after { box-sizing: border-box; }
.pt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.pt-head-text { flex: 1 1 420px; min-width: 0; }
.pt-eyebrow { margin-bottom: 4px; }
.pt-head h1 { margin: 0; }
.pt-sub { margin: 6px 0 0; line-height: 1.5; max-width: 780px; }
.pt-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* buttons */
.pt-btn { color: var(--fg); text-decoration: none; }
.pt-btn:hover { background: var(--surface-hover); border-color: var(--line-strong); }
.pt-btn:disabled { opacity: .55; cursor: not-allowed; }
.pt-btn .pt-i { width: 15px; height: 15px; color: var(--muted); }
.pt-btn-primary { background: var(--teal); border-color: var(--teal); color: var(--on-solid); }
.pt-btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.pt-btn-primary .pt-i { color: currentColor; }
.pt-btn-ghost { background: transparent; border-color: transparent; color: var(--fg-soft); }
.pt-btn-ghost:hover { background: var(--surface-hover); border-color: transparent; color: var(--fg) !important; }
.pt-btn-danger { color: var(--danger-ink); }
.pt-btn-danger .pt-i { color: var(--danger); }
.pt-btn-danger:hover { background: var(--danger-soft); border-color: var(--danger-line); }
.pt-btn-sm .pt-i { width: 14px; height: 14px; }
.pt-btn-icon { width: var(--ctl-h-sm); padding: 0; }
/* icon drawn by CSS so handlers that swap textContent ("Sending...") keep it */
.pt-btn.pt-ic::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--muted); -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat; }
.pt-btn-primary.pt-ic::before { background: currentColor; }
.pt-btn-danger.pt-ic::before { background: var(--danger); }

/* cards, forms */
.pt-card { margin-bottom: 16px; overflow: hidden; }
.pt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pt-card-title { font-family: var(--font-display); font-size: var(--fs-lead); font-weight: 700; margin: 0; }
.pt-card-sub { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.pt-card-body { padding: 16px 18px; }
.pt-input, .pt-select {
  height: 38px; padding: 0 11px; border: 1px solid var(--input-line); border-radius: 9px; background: var(--card); color: var(--fg);
  font: inherit; font-size: var(--fs-base); min-width: 0;
}
.pt-page .pt-input, .pt-page .pt-select, .pt-modal .pt-select { width: auto; margin: 0; }
.pt-form-grid > .pt-input, .pt-form-grid > .pt-select, .pt-search > .pt-input { width: 100%; }
.pt-input:focus, .pt-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.pt-select:disabled { background: var(--surface-2); color: var(--muted-2); }
.pt-check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-base); color: var(--fg-soft); min-height: 38px; }
.pt-check input { width: 16px; height: 16px; accent-color: var(--teal); }
.pt-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: center; }
.pt-field-label { display: block; font-size: var(--fs-sm); font-weight: 650; color: var(--fg-soft); margin-bottom: 5px; }
.pt-search { position: relative; display: inline-flex; align-items: center; flex: 1 1 240px; max-width: 340px; }
.pt-search > .pt-i { position: absolute; left: 11px; color: var(--muted); pointer-events: none; }
.pt-search > .pt-input { width: 100%; padding-left: 34px; }

/* toolbar, banners */
.pt-toolbar { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pt-toolbar .pt-spacer { flex: 1; }
.pt-dim { font-size: var(--fs-sm); color: var(--muted); }
.pt-banner { display: flex; align-items: flex-start; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: var(--fs-base); line-height: 1.5; color: var(--fg-soft); }
.pt-banner > .pt-i { margin-top: 2px; width: 16px; height: 16px; }
.pt-banner-warn { background: var(--warn-soft); color: var(--warn-ink); }
.pt-banner-warn > .pt-i { color: var(--warn); }
.pt-banner a { color: inherit; font-weight: 650; text-decoration: underline; }
.pt-legend { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); }

/* access levels: icon + word, never color alone */
.pt-lv {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 7px; border-radius: 7px;
  border: 1px solid transparent; font-size: var(--fs-sm); font-weight: 650; white-space: nowrap; line-height: 1;
}
.pt-lv::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor; -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat; }
.pt-lv-edit { --pt-i: var(--pt-i-edit); background: var(--teal-soft); border-color: var(--teal-line); color: var(--brand-ink); }
.pt-lv-read { --pt-i: var(--pt-i-eye); background: var(--surface-2); border-color: var(--line-strong); color: var(--fg-soft); }
.pt-lv-none { --pt-i: var(--pt-i-minus); background: transparent; border: 1px dashed var(--line-strong); color: var(--muted-2); }
.pt-lv-ex { box-shadow: 0 0 0 2px var(--warn-soft); border-color: var(--warn-line); }

/* a level select that reads as the chip */
.pt-lvsel { position: relative; display: block; }
.pt-lvsel::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; background: currentColor;
  -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat;
}
.pt-lvsel > select {
  width: 100%; height: 32px; padding: 0 26px 0 28px; border-radius: 8px; border: 1px solid var(--line-strong); appearance: none; -webkit-appearance: none;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7076' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center / 14px no-repeat;
  color: inherit; font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
}
.pt-lvsel > select:focus { outline: none; box-shadow: 0 0 0 3px var(--teal-soft); border-color: var(--teal); }
.pt-lvsel[data-lv="edit"] { --pt-i: var(--pt-i-edit); color: var(--brand-ink); }
.pt-lvsel[data-lv="edit"] > select { background-color: var(--teal-soft); border-color: var(--teal-line); }
.pt-lvsel[data-lv="read"] { --pt-i: var(--pt-i-eye); color: var(--fg-soft); }
.pt-lvsel[data-lv="read"] > select { background-color: var(--surface-2); }
.pt-lvsel[data-lv="none"] { --pt-i: var(--pt-i-minus); color: var(--muted-2); }
.pt-lvsel[data-lv="none"] > select { border-style: dashed; }
.pt-lvsel[data-lv=""] { --pt-i: var(--pt-i-layers); color: var(--fg-soft); }
.pt-lvsel > select:disabled { cursor: not-allowed; opacity: .7; }
.pt-lvsel.is-locked::after {
  content: ""; position: absolute; right: 9px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--muted-2);
  -webkit-mask: var(--pt-i-lock) center / contain no-repeat; mask: var(--pt-i-lock) center / contain no-repeat;
}
.pt-lvsel.is-locked > select { background-image: none; }

/* status: icon + word */
.pt-status { align-items: center; white-space: nowrap; }
.pt-status::before { content: ""; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: var(--pt-i) center / contain no-repeat; mask: var(--pt-i) center / contain no-repeat; }
.pt-status-ok { --pt-i: var(--pt-i-check-circle); color: var(--ok-ink); }
.pt-status-warn { --pt-i: var(--pt-i-clock); color: var(--warn-ink); }
.pt-status-key { --pt-i: var(--pt-i-key); color: var(--warn-ink); }
.pt-status-off { --pt-i: var(--pt-i-user-x); color: var(--muted); }
.pt-status-lock { --pt-i: var(--pt-i-lock); color: var(--muted); font-weight: 600; }
.pt-status-up { --pt-i: var(--pt-i-download); color: var(--info-ink); }
.pt-status-manual { --pt-i: var(--pt-i-edit); color: var(--fg-soft); }
.pt-chip { background: var(--surface-sunk); color: var(--fg-soft); }
.pt-chip .pt-i { width: 13px; height: 13px; }
.pt-chip-warn { background: var(--warn-soft); color: var(--warn-ink); }
.pt-chip-tag { height: 20px; padding: 0 7px; font-size: var(--fs-2xs); letter-spacing: .04em; text-transform: uppercase; }
.pt-b { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-base); color: var(--fg-soft); white-space: nowrap; }
.pt-b .pt-i { width: 14px; height: 14px; color: var(--muted); }

/* toasts (flash() in admin-rbac.js / hr-permissions.js) */
.pt-toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; align-items: center; gap: 10px;
  max-width: min(560px, calc(100vw - 32px)); padding: 10px 16px 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--fg); font-size: var(--fs-md); font-weight: 600; box-shadow: 0 2px 6px rgba(16,32,36,.06), 0 18px 40px -12px rgba(16,32,36,.28);
}
.pt-toast::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--info); -webkit-mask: var(--pt-i-info) center / contain no-repeat; mask: var(--pt-i-info) center / contain no-repeat; }
.pt-toast-success::before { background: var(--ok); -webkit-mask-image: var(--pt-i-check-circle); mask-image: var(--pt-i-check-circle); }
.pt-toast-error { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger-ink); }
.pt-toast-error::before { background: var(--danger); -webkit-mask-image: var(--pt-i-alert); mask-image: var(--pt-i-alert); }

/* avatar initials */
.pt-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-soft); color: var(--brand-ink); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; }

/* segmented tabs */
/* doubled class beats `.page-shell .page-actions button` (coral) without !important */
.pt-seg.pt-seg.pt-seg > button:hover { color: var(--fg); }

/* tables */
.pt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.pt-table th {
  padding: 10px 14px; text-align: left; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.pt-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.pt-table tbody tr:first-child td { border-top: 0; }
.pt-table tbody tr:hover td { background: var(--surface-2); }
.pt-table .pt-num { text-align: right; font-variant-numeric: tabular-nums; }
.pt-table .pt-right { text-align: right; }
.pt-table tr.is-muted td { background: var(--surface-2); }
.pt-table tr.is-off td > * { opacity: .6; }
.pt-table .pt-group-row td { padding: 8px 14px; background: var(--surface-2); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pt-empty { padding: 36px 20px; text-align: center; color: var(--muted); font-size: var(--fs-base); }
.pt-empty .pt-i { display: block; width: 22px; height: 22px; margin: 0 auto 8px; color: var(--muted-2); }
.pt-err { padding: 20px 18px; color: var(--danger-ink); display: flex; gap: 8px; align-items: center; }

/* person cell */
.pt-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-person-main { display: flex; flex-direction: column; min-width: 0; }
.pt-person-name { font-weight: 650; font-size: var(--fs-base); color: var(--fg); }
.pt-person-sub { font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Users: inline-editable cells read as text until touched */
.pt-users .pt-cell-input {
  width: 100%; height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: transparent;
  color: var(--fg); font: inherit; font-size: var(--fs-base); min-width: 0; transition: border-color 120ms, background 120ms;
}
.pt-users .pt-cell-input[data-user-field="full_name"] { font-weight: 650; height: 30px; }
.pt-users .pt-cell-input.pt-cell-sub { height: 26px; font-size: var(--fs-sm); color: var(--muted); }
.pt-users .pt-person { align-items: center; }
.pt-users .pt-person-main { gap: 1px; }
.pt-users .pt-actions { flex-wrap: nowrap; }
.pt-users .pt-btn-sm { padding: 0 9px; }
.pt-users .pt-btn-icon { width: var(--ctl-h-sm); padding: 0; }
.pt-users .pt-actions > .pt-btn { flex: none; }
.pt-users td { padding-left: 10px; padding-right: 10px; }
.pt-users select.pt-cell-input {
  appearance: none; -webkit-appearance: none; padding-right: 24px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C9CA1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 6px center / 13px no-repeat;
}
.pt-users tr:hover .pt-cell-input:not(:disabled) { border-color: var(--line); background-color: var(--card); }
.pt-users .pt-cell-input:focus { outline: none; border-color: var(--teal) !important; background-color: var(--card); box-shadow: 0 0 0 3px var(--teal-soft); }
.pt-users .pt-cell-input:disabled { color: var(--muted); }
.pt-users .pt-last { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.pt-actions { display: flex; gap: 4px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.pt-setup-link { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--warn-line); background: var(--warn-soft); color: var(--warn-ink); }

/* Permissions matrix */
.pt-matrix { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-base); }
.pt-matrix th, .pt-matrix td { border-bottom: 1px solid var(--line); }
.pt-matrix thead th {
  position: sticky; top: 0; z-index: 2; padding: 10px 10px; text-align: left; font-size: var(--fs-sm); font-weight: 650; color: var(--fg-soft);
  background: var(--surface-2); white-space: normal; vertical-align: bottom; line-height: 1.25;
}
.pt-matrix td { padding: 6px 8px; width: 140px; min-width: 140px; }
.pt-matrix .pt-sticky { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); width: 220px; min-width: 220px; padding: 10px 16px; font-weight: 600; color: var(--fg); white-space: normal; }
.pt-matrix thead .pt-sticky { z-index: 3; background: var(--surface-2); }
.pt-matrix tbody tr:hover td { background: var(--surface-2); }
.pt-matrix .pt-sec-group { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.pt-addsec > summary { cursor: pointer; list-style: none; border-bottom: 0; }
.pt-addsec > summary::-webkit-details-marker { display: none; }
.pt-addsec[open] > summary { border-bottom: 1px solid var(--line); }
.pt-addsec[open] > summary .pt-btn { display: none; }

/* Team Access modal */
.pt-modal { padding: 4px 2px 2px; width: 100%; max-width: 100%; color: var(--fg); }
.pt-modal .pt-table td, .pt-modal .pt-table th { padding-left: 12px; padding-right: 12px; }
.pt-modal .pt-lvsel { min-width: 0 !important; width: 100%; max-width: 210px; }
.pt-modal h3 { margin: 0; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 750; letter-spacing: -0.01em; }
.pt-modal .pt-person { margin-bottom: 16px; }
.pt-modal .pt-av { width: 44px; height: 44px; font-size: var(--fs-md); }
.pt-panel { padding: 14px 16px; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.pt-help { font-size: var(--fs-sm); color: var(--fg-soft); line-height: 1.5; margin: 0 0 12px; }
.pt-modal-scroll { max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.pt-modal-scroll .pt-table th { position: sticky; top: 0; z-index: 1; }
.pt-modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* Settings */
.pt-settings .card { border-radius: 14px; box-shadow: var(--shadow-sm); }
.pt-settings .card > h2 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; }
.pt-settings .tbl th { background: var(--surface-2); color: var(--muted); }
.pt-settings .tbl td { vertical-align: middle; }
.pt-settings .pt-svc { display: flex; align-items: center; gap: 12px; }
.pt-settings .pt-svc-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--surface-sunk); color: var(--fg-soft); }
.pt-settings .pt-svc-ic .pt-i { width: 17px; height: 17px; }
.pt-settings .pt-svc small { display: block; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.pt-settings #settings-password-form input { height: 40px; border-radius: 9px !important; border-color: var(--input-line) !important; }
.pt-settings #settings-password-msg[style*="rgb(160, 16, 16)"], .pt-settings #settings-password-msg[style*="rgb(31, 122, 58)"] { padding: 8px 12px; border-radius: 9px; background: var(--danger-soft); }
.pt-settings #settings-password-msg[style*="rgb(31, 122, 58)"] { background: var(--ok-soft); }

@media (max-width: 720px) {
  .pt-page { padding: 18px 16px 40px; }
  .pt-head-actions { width: 100%; }
}
@media (max-width: 720px) {
  #app-root > .pt-page { padding: 4px 0 40px; }
}
@media (max-width: 720px) {
  /* Users table becomes a stack of cards */
  .pt-users .pt-scroll { overflow: visible; }
  .pt-users table, .pt-users tbody { display: block; width: 100%; min-width: 0 !important; }
  .pt-users thead { display: none; }
  .pt-users tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 8px; padding: 12px 12px 14px; border-top: 1px solid var(--line); }
  .pt-users tbody tr:first-child { border-top: 0; }
  .pt-users tbody td { display: block; padding: 0; border: 0; width: auto; }
  .pt-users tbody td[data-col="name"], .pt-users tbody td[data-col="actions"] { grid-column: 1 / -1; }
  .pt-users tbody td[data-col="name"] .pt-av { display: none; }
  .pt-users .pt-actions { flex-wrap: wrap; }
  .pt-users .pt-cell-input.pt-cell-sub { height: 34px; margin-top: 4px; }
  .pt-users .pt-cell-input[data-user-field="full_name"] { height: 36px; }
  .pt-users table { table-layout: auto !important; }
  .pt-users tbody td[data-col="status"] { grid-column: 1 / -1; padding: 4px 8px; }
  .pt-users tbody td[data-col="actions"] .pt-actions { justify-content: flex-start; padding: 6px 4px 0; }
  .pt-users .pt-cell-input { border-color: var(--line); background-color: var(--card); }
  .pt-users td[colspan] { grid-column: 1 / -1; }
  /* Team Access people list */
  .pt-people table, .pt-people tbody { display: block; }
  .pt-people thead { display: none; }
  .pt-people tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .pt-people tbody tr:first-child { border-top: 0; }
  .pt-people tbody td { display: block; padding: 0; border: 0; }
  .pt-people td[data-col="person"] { flex: 1 1 calc(100% - 150px); min-width: 0; }
  .pt-people td[data-col="go"] { flex: none; }
  .pt-people td[data-col="role"] { margin-left: 44px; font-size: var(--fs-base); }
  .pt-people td[data-col="facility"], .pt-people td[data-col="ex"] { flex: none; }
  .pt-people tr.pt-group-row td { padding: 8px 14px; flex: 1 1 100%; }
  .pt-people tr.pt-group-row { display: block; padding: 0; }
  .pt-toolbar { padding: 10px 12px; }
  .pt-matrix .pt-sticky { width: 132px; min-width: 132px; padding: 8px 10px; font-size: var(--fs-sm); }
  .page-shell .page-header:has(.pt-seg) { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pt-search { max-width: none; }
  .pt-card-head { padding: 12px 14px; }
  .pt-card-body { padding: 14px; }
}

/* ---------- icon set (lucide-style outlines, used as masks) ---------- */
:root {
  --pt-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' 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 7 9 6 9-6'/%3E%3C/svg%3E");
  --pt-i-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");
  --pt-i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
  --pt-i-user-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21a7 7 0 0 1 14 0'/%3E%3Cpath d='M19 8v6M16 11h6'/%3E%3C/svg%3E");
  --pt-i-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
  --pt-i-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --pt-i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
  --pt-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  --pt-i-check-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
  --pt-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --pt-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --pt-i-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E");
  --pt-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  --pt-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  --pt-i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m11 12 9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E");
  --pt-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E");
  --pt-i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h14v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19V5'/%3E%3C/svg%3E");
  --pt-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --pt-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-9-9a5 5 0 0 1 9-3 5 5 0 0 1 9 3c-2 4.5-9 9-9 9z'/%3E%3C/svg%3E");
  --pt-i-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E");
  --pt-i-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a1 1 0 0 1 1-1h5l2 2h9a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  --pt-i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m10 8.5 5 3.5-5 3.5z'/%3E%3C/svg%3E");
  --pt-i-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E");
  --pt-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4 3 7 7 9 4-2 7-5 7-9V6z'/%3E%3C/svg%3E");
  --pt-i-inbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1.5 3h5L16 13h5'/%3E%3Cpath d='M5 5h14l2 8v6H3v-6z'/%3E%3C/svg%3E");
  --pt-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  --pt-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  --pt-i-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5l8-2v18M12 7l8 2v12M8 9v.01M8 13v.01M8 17v.01M16 13v.01M16 17v.01M2 21h20'/%3E%3C/svg%3E");
  --pt-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E");
  --pt-i-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E");
  --pt-i-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --pt-i-user-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21a7 7 0 0 1 14 0'/%3E%3Cpath d='m17 9 4 4m0-4-4 4'/%3E%3C/svg%3E");
  --pt-i-rotate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
  --pt-i-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E");
  --pt-i-send: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3 10 14M21 3l-7 18-4-7-7-4z'/%3E%3C/svg%3E");
  --pt-i-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");
  --pt-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --pt-i-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13'/%3E%3C/svg%3E");
  --pt-i-log-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
  --pt-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  --pt-i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 21h16'/%3E%3C/svg%3E");
  --pt-i-plug: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4'/%3E%3C/svg%3E");
  --pt-i-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}
.pt-i-mail { --pt-i: var(--pt-i-mail); }
.pt-i-link { --pt-i: var(--pt-i-link); }
.pt-i-grid { --pt-i: var(--pt-i-grid); }
.pt-i-user-plus { --pt-i: var(--pt-i-user-plus); }
.pt-i-chevron-right { --pt-i: var(--pt-i-chevron-right); }
.pt-i-chevron-down { --pt-i: var(--pt-i-chevron-down); }
.pt-i-alert { --pt-i: var(--pt-i-alert); }
.pt-i-check { --pt-i: var(--pt-i-check); }
.pt-i-check-circle { --pt-i: var(--pt-i-check-circle); }
.pt-i-clock { --pt-i: var(--pt-i-clock); }
.pt-i-eye { --pt-i: var(--pt-i-eye); }
.pt-i-edit { --pt-i: var(--pt-i-edit); }
.pt-i-minus { --pt-i: var(--pt-i-minus); }
.pt-i-lock { --pt-i: var(--pt-i-lock); }
.pt-i-key { --pt-i: var(--pt-i-key); }
.pt-i-home { --pt-i: var(--pt-i-home); }
.pt-i-book { --pt-i: var(--pt-i-book); }
.pt-i-user { --pt-i: var(--pt-i-user); }
.pt-i-heart { --pt-i: var(--pt-i-heart); }
.pt-i-file { --pt-i: var(--pt-i-file); }
.pt-i-folder { --pt-i: var(--pt-i-folder); }
.pt-i-play { --pt-i: var(--pt-i-play); }
.pt-i-message { --pt-i: var(--pt-i-message); }
.pt-i-shield { --pt-i: var(--pt-i-shield); }
.pt-i-inbox { --pt-i: var(--pt-i-inbox); }
.pt-i-search { --pt-i: var(--pt-i-search); }
.pt-i-x { --pt-i: var(--pt-i-x); }
.pt-i-building { --pt-i: var(--pt-i-building); }
.pt-i-info { --pt-i: var(--pt-i-info); }
.pt-i-arrow-left { --pt-i: var(--pt-i-arrow-left); }
.pt-i-arrow-right { --pt-i: var(--pt-i-arrow-right); }
.pt-i-user-x { --pt-i: var(--pt-i-user-x); }
.pt-i-rotate { --pt-i: var(--pt-i-rotate); }
.pt-i-copy { --pt-i: var(--pt-i-copy); }
.pt-i-send { --pt-i: var(--pt-i-send); }
.pt-i-layers { --pt-i: var(--pt-i-layers); }
.pt-i-plus { --pt-i: var(--pt-i-plus); }
.pt-i-trash { --pt-i: var(--pt-i-trash); }
.pt-i-log-out { --pt-i: var(--pt-i-log-out); }
.pt-i-phone { --pt-i: var(--pt-i-phone); }
.pt-i-download { --pt-i: var(--pt-i-download); }
.pt-i-plug { --pt-i: var(--pt-i-plug); }
.pt-i-sliders { --pt-i: var(--pt-i-sliders); }
