/* ==========================================================================
   PeopleHalo — site styles (loads after Bootstrap 5.3)
   Layout: one fixed WebGL night sky behind every page; the 3D halo docks into
   layout anchors as you scroll; content sits on Bootstrap's grid in thin-bordered
   panels, annotated with mono readouts.

   Contents
   1. Tokens (brand colours, type, radii)   6. Home sections
   2. Base + Bootstrap overrides            7. Inner-page components
   3. World layers (sky, canvas, labels)    8. Forms
   4. Navigation + footer                   9. Motion (reveals, splits)
   5. Shared components                    10. Product sandbox (.phx-*)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Brand, sampled from the PeopleHalo logo files */
  --ring: #3d2eb9;      /* logo ring */
  --violet: #7656f0;    /* logo centre dot */
  --indigo: #46459b;    /* brand flat background */
  --navy: #202051;      /* brand gradient, dark end */

  /* Extended palette for the dark world */
  --void: #05051a;
  --ink-1: #0a0a26;
  --ink-2: #121140;
  --ink-3: #1b1a58;
  --lilac: #a996ff;
  --mist: #dcd6ff;
  --signal: #5fe6d2;    /* "live" accent, used sparingly */

  --fg: #f2f0ff;
  --fg-2: #b9b6da;
  --fg-3: #8480ad;
  --line: rgba(169, 150, 255, 0.16);
  --line-2: rgba(169, 150, 255, 0.32);
  --panel: rgba(18, 17, 64, 0.58);
  --panel-solid: #0f0e36;

  --ok: #4fdfa0;
  --warn: #ffc65c;
  --bad: #ff7088;

  --font-display: 'Schibsted Grotesk', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Lato', 'Segoe UI', system-ui, sans-serif;   /* small uppercase labels */
  --font-body: 'Lato', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 72px;
}

/* 2. Base + Bootstrap overrides -------------------------------------------- */
html { scroll-behavior: smooth; }
.ph-feature, #preview, #app { scroll-margin-top: calc(var(--nav-h) + 4.5rem); }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.ph-root {
  --bs-body-bg: var(--ink-1);
  --bs-body-color: var(--fg);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line-2);
  --bs-link-color-rgb: 220, 214, 255;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-secondary-color: var(--fg-2);
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--fg);
}
.ph-root .container-xxl { padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)); }
.ph-root ::selection { background: var(--violet); color: #fff; }
.ph-root p { color: var(--fg-2); }
.ph-root a { text-underline-offset: 0.2em; }
.ph-root :focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.ph-mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; }
.ic { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.ph-skip { position: fixed; top: 8px; left: 8px; z-index: 2000; background: var(--violet); color: #fff; padding: 0.5rem 0.9rem; border-radius: 8px; }

.ph-h1, .ph-h2, .ph-h3 { font-family: var(--font-display); font-weight: 600; color: var(--fg); text-wrap: balance; }
.ph-h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 1.4rem; }
.ph-h2 { font-size: clamp(1.6rem, 1.05rem + 2vw, 2.7rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1.1rem; }
.ph-h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.55rem; }
.ph-h1 em, .ph-h2 em { font-style: normal; color: var(--lilac); }
.ph-lead { font-size: clamp(1.06rem, 0.96rem + 0.4vw, 1.25rem); line-height: 1.6; max-width: 36em; }
.ph-sub { max-width: 40em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-label); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lilac) !important; margin: 0 0 1.1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; flex: none; background: var(--violet); }

/* Buttons */
.ph-root .btn { --bs-btn-font-family: var(--font-body); font-weight: 700; border-radius: 999px; letter-spacing: 0.005em; }
.btn-halo, .btn-ghost {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.82rem 1.45rem; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn-halo {
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--violet), var(--ring));
  box-shadow: 0 10px 34px -10px rgba(118, 86, 240, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-halo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn-halo:hover, .btn-halo:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(118, 86, 240, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-halo:hover::after { transform: translateX(120%); }
.btn-halo:active { transform: translateY(0); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line-2); background: rgba(169, 150, 255, 0.06); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; border-color: var(--lilac); background: rgba(169, 150, 255, 0.16); transform: translateY(-2px); }
.ph-root .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.ph-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--mist); font-weight: 700; text-decoration: none; }
.ph-link .ic { transition: transform 0.25s var(--ease); }
.ph-link:hover { color: #fff; }
.ph-link:hover .ic { transform: translateX(4px); }

/* 3. World layers ----------------------------------------------------------- */
.ph-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(118, 86, 240, 0.3), transparent 62%),
    radial-gradient(900px 760px at -12% 62%, rgba(61, 46, 185, 0.42), transparent 62%),
    linear-gradient(180deg, var(--void), var(--ink-1) 42%, var(--void));
}
.ph-sky::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 78%);
  opacity: 0.5;
}
#ph-world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.no-webgl #ph-world { display: none; }
#ph-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.6s; overflow: hidden; }
#ph-labels.is-on { opacity: 1; }
.ph-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0.5rem; will-change: transform; white-space: nowrap; transition: opacity 0.3s; }
.ph-label span { width: 22px; height: 1px; margin-left: 12px; background: linear-gradient(90deg, transparent, var(--lilac)); }
.ph-label b {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mist); padding: 0.22rem 0.6rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 38, 0.7);
}
.ph-label { margin-top: -0.85rem; }
.ph-label.is-left { flex-direction: row-reverse; }
.ph-label.is-left span { margin: 0 12px 0 0; background: linear-gradient(270deg, transparent, var(--lilac)); }
.ph-cursor {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: 1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(118, 86, 240, 0.17), transparent 62%);
  opacity: 0; transition: opacity 0.5s; will-change: transform;
}
.ph-cursor.is-on { opacity: 1; }
.ph-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1040; pointer-events: none; }
.ph-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--mist)); box-shadow: 0 0 12px var(--violet); }
#ph-page { position: relative; z-index: 2; outline: none; transition: opacity 0.32s ease, transform 0.32s var(--ease); }
#ph-page.is-leaving { opacity: 0; transform: translateY(14px); }
#ph-page.is-entering { opacity: 0; transform: translateY(-10px); transition: none; }

/* The element the 3D object docks into. Size it like any other box. */
.ph-anchor { width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; position: relative; pointer-events: none; }
.no-webgl .ph-anchor::before {
  content: ''; position: absolute; inset: 18%; border-radius: 50%;
  border: 10px solid transparent;
  background: radial-gradient(circle, var(--violet) 0 16%, transparent 17%) padding-box, conic-gradient(var(--lilac) 0 18%, transparent 0 24%, var(--lilac) 0 27%, transparent 0 33%, var(--lilac) 0 51%, transparent 0 57%, var(--lilac) 0 60%, transparent 0 66%, var(--lilac) 0 84%, transparent 0 90%, var(--lilac) 0 93%, transparent 0) border-box;
  filter: drop-shadow(0 0 30px rgba(118, 86, 240, 0.8));
}

/* 4. Navigation + footer ---------------------------------------------------- */
.ph-nav {
  --bs-navbar-padding-y: 0.85rem;
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, padding 0.35s;
}
.ph-nav.is-scrolled, .ph-nav.is-open {
  background: rgba(8, 8, 32, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: var(--line);
}
.ph-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff !important; text-decoration: none; font-family: var(--font-body); font-size: 1.42rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1; }
.ph-mark { width: 34px; height: 34px; flex: none; overflow: visible; }
.ph-brand .ph-mark { transition: transform 0.9s var(--ease); }
.ph-brand:hover .ph-mark { transform: rotate(120deg); }
.ph-nav .nav-link { color: var(--fg-2); font-size: 0.95rem; padding: 0.5rem 0.8rem !important; position: relative; transition: color 0.2s; }
.ph-nav .nav-link:hover, .ph-nav .nav-link.active { color: #fff; }
.ph-nav .nav-link.active::after { content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.1rem; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--mist)); }
.ph-nav-live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--mist) !important; }
.ph-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(95, 230, 210, 0.7); animation: ph-ping 2s infinite; }
@keyframes ph-ping { 70% { box-shadow: 0 0 0 8px rgba(95, 230, 210, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 230, 210, 0); } }
.ph-nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.ph-toggler { border: 1px solid var(--line-2); border-radius: 12px; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; }
.ph-toggler span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 0.3s var(--ease); }
.ph-toggler[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.ph-toggler[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1199.98px) {
  .ph-nav .navbar-collapse { padding-block: 1rem 0.5rem; }
  .ph-nav .nav-link { display: flex; font-size: 1.1rem; padding: 0.7rem 0 !important; border-bottom: 1px solid var(--line); }
  .ph-nav .nav-link.active::after { display: none; }
  .ph-nav-cta { padding-top: 1.1rem; flex-wrap: wrap; }
  .ph-nav-cta .btn { flex: 1 1 auto; }
}

.ph-footer { position: relative; z-index: 2; margin-top: 2rem; padding-block: 4.5rem 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 5, 26, 0.55), rgba(5, 5, 26, 0.94)); }
.ph-brand-lg { font-size: 1.7rem; }
.ph-brand-lg .ph-mark { width: 42px; height: 42px; }
.ph-footer-tag { margin: 1.2rem 0 0; color: var(--mist) !important; font-size: 1.1rem; }
.ph-footer-sub { margin: 0 0 1.4rem; color: var(--fg-3) !important; }
.ph-social { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--fg-2); text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.42rem 0.9rem; font-size: 0.92rem; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.ph-social:hover { color: #fff; border-color: var(--lilac); background: rgba(169, 150, 255, 0.12); }
.ph-footer-h { font-family: var(--font-label); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 1rem; }
.ph-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ph-footer-list a { color: var(--fg-2); text-decoration: none; transition: color 0.2s; }
.ph-footer-list a:hover { color: #fff; }
.ph-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 0.9rem; }

/* 5. Shared components ------------------------------------------------------ */
.ph-section { position: relative; padding-block: clamp(4rem, 8.5vw, 7.5rem); }
.ph-section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.ph-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.ph-head-center { text-align: center; }
.ph-head-center .ph-sub, .ph-head-center .ph-lead { margin-inline: auto; }

.ph-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(100vh, 880px); padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 4.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ph-hero-inner { min-height: 0; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.ph-hero-inner .ph-anchor { max-width: 440px; }
.ph-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.ph-hero-note { margin: 1.9rem 0 0; font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--fg-3) !important; }
.ph-readout { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin: 2.5rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.ph-readout li { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.ph-readout b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); }
.ph-scrollcue { position: absolute; left: 50%; bottom: 1.1rem; translate: -50% 0; width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; }
.ph-scrollcue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lilac); animation: ph-cue 1.8s var(--ease) infinite; }
@keyframes ph-cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }
@media (max-width: 991.98px) {
  .ph-hero { min-height: 0; }
  .ph-hero .ph-anchor { max-width: 300px; }
  .ph-hero-inner .ph-anchor { max-width: 230px; }
  .ph-scrollcue { display: none; }
}

.ph-marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.05rem; background: rgba(5, 5, 26, 0.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ph-marquee-track { display: flex; width: max-content; animation: ph-marquee 40s linear infinite; }
.ph-marquee ul { display: flex; align-items: center; gap: 2.75rem; list-style: none; margin: 0; padding: 0 1.375rem; }
.ph-marquee li { display: flex; align-items: center; gap: 2.75rem; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.ph-marquee li::after { content: ''; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--violet); }
@keyframes ph-marquee { to { transform: translateX(-50%); } }

.ph-card {
  position: relative; height: 100%; padding: 1.7rem; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(27, 26, 88, 0.52), rgba(18, 17, 64, 0.3));
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
  transform-style: preserve-3d; will-change: transform;
}
.ph-card:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -40px rgba(118, 86, 240, 0.8); }
.ph-card > * { position: relative; }
.ph-card p { margin: 0; font-size: 0.99rem; }
.ph-card p + p, .ph-card p + .ph-link, .ph-card p + .ph-card-foot { margin-top: 1.1rem; }
.spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(169, 150, 255, 0.22), transparent 65%);
}
.spot:hover::before { opacity: 1; }
.ph-ic { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 13px; border: 1px solid var(--line-2); background: linear-gradient(140deg, rgba(118, 86, 240, 0.4), rgba(61, 46, 185, 0.12)); color: var(--mist); font-size: 1.15rem; }
.ph-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; }
.ph-tag { display: inline-flex; align-items: center; gap: 0.42rem; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid rgba(95, 230, 210, 0.36); color: var(--signal); font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.ph-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ph-tag-dir { color: var(--lilac); border-color: var(--line-2); border-style: dashed; }
.ph-tag-plain { color: var(--fg-2); border-color: var(--line-2); }
.ph-tag-plain::before { display: none; }
.ph-ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.ph-ticks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--fg-2); }
.ph-ticks .ic { margin-top: 0.32em; color: var(--lilac); }
.ph-note { font-size: 0.86rem; color: var(--fg-3) !important; }
.ph-note-box { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.9rem 1.1rem; border: 1px dashed var(--line-2); border-radius: var(--r-md); font-size: 0.9rem; color: var(--fg-2); background: rgba(5, 5, 26, 0.35); }
.ph-note-box .ic { margin-top: 0.3em; color: var(--lilac); }

.ph-frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(7, 7, 30, 0.8); box-shadow: 0 50px 130px -50px rgba(118, 86, 240, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.ph-frame-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.ph-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.ph-frame-bar span { margin-left: 0.5rem; }
.ph-frame-bar .ph-tag { margin-left: auto; }
.ph-frame-body { border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }

.ph-cta { position: relative; text-align: center; padding-block: clamp(4.5rem, 10vw, 8rem); overflow: hidden; }
.ph-cta .ph-anchor { width: min(64vw, 300px); margin: 0 auto 1.5rem; }
.ph-cta .container-xxl { position: relative; z-index: 1; }
.ph-cta .ph-sub { margin-inline: auto; max-width: 34em; }
.ph-cta .ph-hero-actions { justify-content: center; }

/* 6. Home sections ---------------------------------------------------------- */
.ph-trio { display: grid; margin-top: 2rem; }
.ph-trio > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.ph-trio b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--fg); }
.ph-trio span { color: var(--fg-2); font-size: 0.98rem; }

/* Fragmented to connected: a scroll-driven scene */
.ph-frag { position: relative; height: 240vh; }
.ph-frag-sticky { position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.ph-frag-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.ph-frag-ring { position: absolute; inset: 14%; width: 72%; height: 72%; overflow: visible; }
.ph-frag-ring path { stroke: var(--lilac); stroke-width: 2.2; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 6px rgba(169, 150, 255, 0.9)); }
.ph-frag-ring circle { fill: var(--violet); filter: drop-shadow(0 0 16px rgba(118, 86, 240, 1)); }
.ph-frag-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-top: 3.1rem; white-space: nowrap; }
.ph-chip {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); translate: -50% -50%; rotate: var(--r, 0deg);
  display: grid; padding: 0.6rem 0.95rem; min-width: 8.6rem; text-align: center;
  border: 1px solid var(--line-2); border-radius: 13px; background: var(--panel-solid);
  font-size: 0.88rem; font-weight: 700; color: var(--fg); white-space: nowrap;
  box-shadow: 0 18px 40px -22px #000;
}
.ph-chip span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: opacity 0.35s; }
.ph-chip .is-after { opacity: 0; }
.ph-chip .is-before { color: var(--fg-2); font-weight: 400; }
.ph-chip.is-joined { border-color: var(--lilac); background: linear-gradient(140deg, rgba(118, 86, 240, 0.45), var(--panel-solid)); box-shadow: 0 0 34px -8px rgba(118, 86, 240, 0.95); }
.ph-chip.is-joined .is-after { opacity: 1; }
.ph-chip.is-joined .is-before { opacity: 0; }
.ph-chip { transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.ph-frag-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.ph-frag-steps li { display: flex; gap: 0.85rem; align-items: center; padding: 0.55rem 0; color: var(--fg-3); transition: color 0.3s; font-size: 0.98rem; }
.ph-frag-steps li::before { content: ''; width: 26px; height: 1.5px; background: currentColor; transition: width 0.3s var(--ease); }
.ph-frag-steps li.is-on { color: var(--fg); }
.ph-frag-steps li.is-on::before { width: 46px; background: var(--lilac); }
@media (max-width: 991.98px) {
  .ph-frag { height: 220vh; }
  .ph-frag-sticky { align-items: flex-start; padding-top: calc(var(--nav-h) + 1rem); }
  .ph-frag-stage { width: min(100%, 330px); margin-top: 1rem; }
  .ph-frag .ph-sub, .ph-frag-steps { display: none; }
  .ph-frag .ph-h2 { font-size: 1.45rem; margin-bottom: 0; }
  .ph-chip { min-width: 6.6rem; font-size: 0.72rem; padding: 0.42rem 0.55rem; border-radius: 10px; }
  .ph-chip .ic { display: none; }
}

.ph-role { display: flex; flex-direction: column; }
.ph-role .ph-link { margin-top: auto; padding-top: 1.2rem; }

.ph-rulecard { position: relative; display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.15rem 1.2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(18, 17, 64, 0.42); color: var(--fg); text-decoration: none; transition: border-color 0.25s, transform 0.3s var(--ease); }
.ph-rulecard:hover { border-color: var(--lilac); transform: translateY(-3px); color: var(--fg); }
.ph-rulecard .ph-ic { flex: none; margin: 0; width: 42px; height: 42px; }
.ph-rulecard b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; line-height: 1.3; letter-spacing: -0.01em; }
.ph-rulecard small { display: block; margin-top: 0.4rem; color: var(--fg-2); font-size: 0.92rem; line-height: 1.5; }
.ph-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 520px; margin-inline: auto; }
.ph-brandtile { position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 26% 1fr; grid-template-rows: repeat(3, auto) 1fr; gap: 7px 10px; padding: 12px 12px 12px 0; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -30px var(--b1); transition: transform 0.4s var(--ease); }
.ph-brandtile:hover { transform: translateY(-4px) rotate(-1deg); }
.ph-brandtile::before { content: ''; grid-row: 1 / -1; background: linear-gradient(180deg, var(--b2), var(--b1)); }
.ph-brandtile i { position: absolute; left: 6%; top: 12px; width: 14%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, 0.25); color: #fff; font-style: normal; font-weight: 900; font-size: 0.8rem; }
.ph-brandtile span { height: 9px; border-radius: 5px; background: var(--ln); }
.ph-brandtile span:nth-of-type(1) { width: 55%; height: 12px; background: linear-gradient(90deg, var(--b1), var(--b2)); }
.ph-brandtile span:nth-of-type(3) { width: 70%; }
.ph-brandtile b { align-self: end; height: 38%; border-radius: 8px; border: 1px solid var(--ln); background: linear-gradient(135deg, color-mix(in srgb, var(--b1) 22%, transparent), transparent); }

/* CSS orbit used on the home vision teaser */
.ph-orbit { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; }
.ph-orbit-ring { position: absolute; inset: var(--inset); border: 1px dashed var(--line-2); border-radius: 50%; animation: ph-spin var(--dur) linear infinite; }
.ph-orbit-ring:nth-child(odd) { animation-direction: reverse; }
.ph-orbit-item { position: absolute; left: 50%; top: 0; translate: -50% -50%; }
.ph-orbit-item > span { display: block; text-align: center; padding: 0.3rem 0.85rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel-solid); animation: ph-spin var(--dur) linear infinite reverse; white-space: nowrap; }
.ph-orbit-ring:nth-child(odd) .ph-orbit-item > span { animation-direction: normal; }
.ph-orbit-item b { font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; color: var(--fg); }
.ph-orbit-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 0.35rem; text-align: center; }
.ph-orbit-core .ph-mark { width: 66px; height: 66px; color: #fff; filter: drop-shadow(0 0 22px rgba(118, 86, 240, 1)); animation: ph-spin 28s linear infinite; }
.ph-orbit-core b { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; }
.ph-orbit-core small { font-size: 0.74rem; color: var(--fg-3); }
@keyframes ph-spin { to { rotate: 360deg; } }

/* 7. Inner-page components -------------------------------------------------- */
.ph-feature + .ph-feature { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.ph-feature-copy { position: sticky; top: calc(var(--nav-h) + 2rem); }
@media (max-width: 991.98px) { .ph-feature .phx, #branding .phx { max-height: 640px; overflow-y: auto; overscroll-behavior: auto; } .ph-feature-copy { position: static; } }
.ph-try { margin: 1.5rem 0 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(5, 5, 26, 0.4); }
.ph-try h4 { font-family: var(--font-label); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); margin: 0 0 0.7rem; }
.ph-try ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; color: var(--fg-2); font-size: 0.96rem; }
.ph-try ol li::marker { font-family: var(--font-mono); font-size: 0.8em; color: var(--lilac); }
.ph-subnav { position: sticky; top: calc(var(--nav-h) + 10px + env(safe-area-inset-top, 0px)); z-index: 20; margin-bottom: 2.5rem; }
.ph-subnav-inner { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 8, 32, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scrollbar-width: none; }
.ph-subnav-inner::-webkit-scrollbar { display: none; }
.ph-subnav a { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.9rem; border-radius: 999px; color: var(--fg-2); font-size: 0.9rem; text-decoration: none; white-space: nowrap; transition: color 0.2s, background-color 0.2s; }
.ph-subnav a:hover { color: #fff; }
.ph-subnav a.is-active { color: #fff; background: linear-gradient(135deg, rgba(118, 86, 240, 0.75), rgba(61, 46, 185, 0.75)); }

/* Missions (demo page) */
.ph-missions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0.6rem; counter-reset: m; margin: 0; padding: 0; list-style: none; }
.ph-missions-wrap { position: sticky; top: calc(var(--nav-h) + 1.25rem); }
@media (min-width: 1200px) { .ph-missions-wrap { max-height: calc(100vh - var(--nav-h) - 2.5rem); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-right: 4px; } .ph-mission small { display: none; } .ph-mission:hover small, .ph-mission:focus-within small { display: block; } }
@media (min-width: 1200px) { .ph-missions { grid-template-columns: 1fr; } }
@media (max-width: 1199.98px) {
  .ph-missions { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.5rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
  .ph-mission { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; }
}
.ph-mission { counter-increment: m; position: relative; display: flex; flex-direction: column; gap: 0.2rem; padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(18, 17, 64, 0.5); transition: border-color 0.3s, background 0.3s; }
.ph-mission::before { content: counter(m, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--fg-3); }
.ph-mission b { font-size: 0.98rem; color: var(--fg); line-height: 1.3; }
.ph-mission small { color: var(--fg-3); font-size: 0.84rem; line-height: 1.4; }
.ph-mission button { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 0.3rem 0 0; color: var(--lilac); font-weight: 700; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.ph-mission button:hover { color: #fff; }
.ph-mission .ph-mission-done { display: none; position: absolute; right: 0.85rem; top: 0.75rem; color: var(--ok); font-size: 1.1rem; }
.ph-mission.is-done { border-color: rgba(79, 223, 160, 0.5); background: rgba(79, 223, 160, 0.08); }
.ph-mission.is-done .ph-mission-done { display: block; animation: ph-pop 0.5s var(--ease); }
.ph-mission.is-done button { display: none; }
@keyframes ph-pop { from { transform: scale(0.2); opacity: 0; } 60% { transform: scale(1.25); } to { transform: none; opacity: 1; } }
.ph-mission-bar { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.ph-mission-bar div { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ph-mission-bar div span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--ok)); transition: width 0.6s var(--ease); }

/* Solutions: Bootstrap pills restyled */
.ph-pills { display: grid; gap: 0.5rem; }
.ph-pills .nav-link { display: flex; align-items: center; gap: 0.85rem; width: 100%; text-align: left; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(18, 17, 64, 0.4); color: var(--fg-2); font-weight: 700; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.ph-pills .nav-link .ic { font-size: 1.1rem; color: var(--lilac); }
.ph-pills .nav-link:hover { color: #fff; border-color: var(--line-2); }
.ph-pills .nav-link.active { color: #fff; border-color: var(--lilac); background: linear-gradient(135deg, rgba(118, 86, 240, 0.5), rgba(61, 46, 185, 0.25)); box-shadow: 0 0 40px -14px rgba(118, 86, 240, 1); }
@media (max-width: 991.98px) { .ph-pills { grid-template-columns: 1fr 1fr; } .ph-pills .nav-link { padding: 0.75rem 0.8rem; font-size: 0.9rem; } }
.ph-pane { padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); }
.ph-root .tab-pane.fade { transition: opacity 0.35s, transform 0.45s var(--ease); transform: translateY(12px); }
.ph-root .tab-pane.fade.show { transform: none; }
.ph-day { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; }
.ph-day li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 0.97rem; }
.ph-day time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--lilac); padding-top: 0.15rem; }

/* Why: principles + compare */
.ph-principle .ph-ic { margin-bottom: 1rem; }
.ph-compare { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.ph-compare-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.ph-compare-q { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--fg) !important; }
.ph-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 5, 26, 0.6); }
.ph-switch button { border: 0; background: none; color: var(--fg-2); font-weight: 700; font-size: 0.9rem; padding: 0.42rem 1rem; border-radius: 999px; transition: background 0.25s, color 0.25s; }
.ph-switch button[aria-pressed='true'] { color: #fff; background: linear-gradient(135deg, var(--violet), var(--ring)); }
.ph-compare-body { position: relative; display: grid; padding: 1.4rem; }
.ph-compare-body > div { grid-area: 1 / 1; transition: opacity 0.4s, transform 0.5s var(--ease); }
.ph-compare-body > div[hidden] { display: block !important; opacity: 0; transform: translateY(14px) scale(0.985); pointer-events: none; visibility: hidden; }
.ph-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; counter-reset: s; }
.ph-steps li { counter-increment: s; display: flex; gap: 0.9rem; align-items: center; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 5, 26, 0.4); color: var(--fg-2); font-size: 0.96rem; }
.ph-steps li::before { content: counter(s); font-family: var(--font-mono); font-size: 0.74rem; width: 1.7rem; height: 1.7rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--fg-3); }
.ph-steps li .ic { color: var(--fg-3); margin-left: auto; }
.ph-steps-one li { border-color: var(--lilac); background: linear-gradient(135deg, rgba(118, 86, 240, 0.3), rgba(5, 5, 26, 0.4)); color: var(--fg); }
.ph-steps-one li::before { border-color: var(--lilac); color: var(--mist); }
.ph-quote { text-align: center; }
.ph-quote blockquote { margin: 0 auto; max-width: 20em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1rem + 2.2vw, 2.6rem); line-height: 1.18; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; }
.ph-quote figcaption { margin-top: 1.5rem; font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }

/* Vision: radial map */
.ph-radial { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.ph-radial::before, .ph-radial::after { content: ''; position: absolute; border-radius: 50%; }
.ph-radial::before { inset: 24%; border: 1px solid var(--line-2); }
.ph-radial::after { inset: 6%; border: 1px dashed var(--line-2); }
.ph-radial-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: 0.3rem; text-align: center; z-index: 1; }
.ph-radial-core .ph-mark { width: 58px; height: 58px; filter: drop-shadow(0 0 20px rgba(118, 86, 240, 1)); }
.ph-radial-core b { font-family: var(--font-display); font-weight: 500; font-size: 0.84rem; }
.ph-node {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--rad) * -1)) rotate(calc(var(--a) * -1));
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel-solid); color: var(--fg);
  padding: 0.36rem 0.8rem; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, color 0.25s;
}
.ph-node-now { --rad: 26cqw; }
.ph-node-next { --rad: 44cqw; border-style: dashed; color: var(--fg-2); font-weight: 400; }
.ph-node-plan { border-style: solid; border-color: var(--violet); border-width: 2px; color: var(--mist); }
.ph-radial { container-type: inline-size; }
.ph-node:hover, .ph-node.is-active { border-color: var(--lilac); border-style: solid; color: #fff; background: linear-gradient(135deg, rgba(118, 86, 240, 0.7), var(--panel-solid)); box-shadow: 0 0 30px -6px rgba(118, 86, 240, 1); }
.ph-radial-detail { min-height: 11.5rem; }
.ph-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: 0.9rem; color: var(--fg-2); }
.ph-legend li { display: flex; align-items: center; gap: 0.5rem; }
.ph-legend i { width: 22px; height: 0; border-top: 1.5px solid var(--lilac); }
.ph-legend .l-plan { border-top-color: var(--violet); border-top-width: 3px; }
.ph-legend .l-next { border-top-style: dashed; border-top-color: var(--fg-3); }
@media (max-width: 767.98px) {
  .ph-radial { aspect-ratio: auto; width: 100%; display: flex; flex-wrap: wrap; gap: 0.5rem; container-type: normal; }
  .ph-radial::before, .ph-radial::after, .ph-radial-core { display: none; }
  .ph-radial .ph-node { position: static; transform: none; }
  .ph-radial-split { flex-basis: 100%; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-top: 0.6rem; }
}
@media (min-width: 768px) { .ph-radial-split { display: none; } }

/* About: timeline */
.ph-timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; position: relative; }
.ph-timeline::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--lilac), transparent); }
.ph-timeline li { counter-increment: t; position: relative; padding: 0 0 2.2rem 4rem; }
.ph-timeline li:last-child { padding-bottom: 0; }
.ph-timeline li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--lilac); background: var(--ink-2); font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); box-shadow: 0 0 22px -4px rgba(118, 86, 240, 1); }
.ph-timeline p { margin: 0; }
.ph-statement { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); height: 100%; }
.ph-statement p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.5rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--fg) !important; margin: 0; text-wrap: balance; }

/* Resources */
.ph-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.ph-filter button { border: 1px solid var(--line-2); background: rgba(18, 17, 64, 0.4); color: var(--fg-2); border-radius: 999px; padding: 0.42rem 1rem; font-size: 0.9rem; transition: all 0.25s; }
.ph-filter button:hover { color: #fff; border-color: var(--lilac); }
.ph-filter button[aria-pressed='true'] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--ring)); }
.ph-article { display: flex; flex-direction: column; gap: 0.9rem; min-height: 15.5rem; }
.ph-article .ph-h3 { font-size: 1.12rem; margin: 0; }
.ph-article-meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilac); }
.ph-article-meta span:last-child { color: var(--fg-3); }
.ph-article .ph-card-foot { margin-top: auto; }
.ph-res-col { transition: opacity 0.35s, transform 0.45s var(--ease); }
.ph-res-col.is-out { display: none; }

/* 8. Forms ------------------------------------------------------------------ */
.ph-form { padding: clamp(1.3rem, 3vw, 2.3rem); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); }
.ph-form .form-label { font-size: 0.86rem; font-weight: 700; color: var(--fg-2); margin-bottom: 0.4rem; }
.ph-form .form-label small { font-weight: 400; color: var(--fg-3); }
.ph-form .form-control, .ph-form .form-select {
  background-color: rgba(5, 5, 26, 0.6); border: 1px solid var(--line-2); color: var(--fg);
  border-radius: 12px; padding: 0.72rem 0.95rem; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ph-form .form-control::placeholder { color: var(--fg-3); }
.ph-form .form-control:focus, .ph-form .form-select:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(118, 86, 240, 0.28); background-color: rgba(5, 5, 26, 0.8); }
.ph-form .was-validated .form-control:invalid, .ph-form .form-control.is-invalid { border-color: var(--bad); }
.ph-form .invalid-feedback { color: var(--bad); }
.ph-choice { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ph-choice label { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.45rem 1rem; color: var(--fg-2); font-size: 0.93rem; cursor: pointer; transition: all 0.2s; background: rgba(5, 5, 26, 0.5); }
.ph-choice label:hover { border-color: var(--lilac); color: #fff; }
.ph-choice .btn-check:checked + label { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--ring)); }
.ph-choice .btn-check:focus-visible + label { outline: 2px solid var(--lilac); outline-offset: 3px; }
.ph-choice-err { display: none; color: var(--bad); font-size: 0.875em; margin-top: 0.35rem; }
.ph-choice.is-invalid ~ .ph-choice-err { display: block; }
.ph-form .form-check-input { background-color: rgba(5, 5, 26, 0.6); border-color: var(--line-2); width: 1.15em; height: 1.15em; }
.ph-form .form-check-input:checked { background-color: var(--violet); border-color: var(--violet); }
.ph-form .form-check-label { color: var(--fg-2); font-size: 0.94rem; }
.ph-form-result { padding: 1.2rem 1.3rem; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(5, 5, 26, 0.5); }
.ph-form-result.is-ok { border-color: rgba(79, 223, 160, 0.5); }
.ph-form-result.is-warn { border-color: rgba(255, 198, 92, 0.5); }
.ph-form-result h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin: 0 0 0.4rem; }
.ph-form-result p { margin: 0; font-size: 0.95rem; }
.ph-acc .accordion-item { background: transparent; border: 0; border-top: 1px solid var(--line); }
.ph-acc .accordion-button { background: transparent; color: var(--fg); font-weight: 700; padding: 1.1rem 0; box-shadow: none; font-size: 1.02rem; }
.ph-acc .accordion-button::after { filter: invert(1) brightness(1.6); }
.ph-acc .accordion-button:not(.collapsed) { color: var(--mist); }
.ph-acc .accordion-body { padding: 0 0 1.2rem; color: var(--fg-2); }

/* 9. Motion ----------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.wi { display: inline-block; transform: translateY(108%); transition: transform 0.95s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0ms)); }
.is-in .wi { transform: none; }
.is-split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.is-split em .wi { color: var(--lilac); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ph-marquee-track, .ph-orbit-ring, .ph-orbit-item > span, .ph-orbit-core .ph-mark, .ph-live-dot, .ph-scrollcue::after { animation: none !important; }
  .rv, .wi { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ph-cursor { display: none; }
  #ph-page { transition: none; }
}
@media (hover: none) { .ph-cursor { display: none; } }

/* 10. Product sandbox -------------------------------------------------------
   The interactive HRMS preview. It adapts to the box it is placed in (container
   queries) and to the workspace theme chosen under Settings > Branding.
   Every colour comes from the --px-* tokens below, so a theme is one block. */
.phx {
  --px-bg: #0a0a2a; --px-side: #070720; --px-side-fg: #f2f0ff; --px-side-fg2: #b9b6da; --px-side-act: linear-gradient(135deg, rgba(118, 86, 240, 0.7), rgba(61, 46, 185, 0.45));
  --px-panel: rgba(20, 20, 62, 0.72); --px-raise: rgba(169, 150, 255, 0.08); --px-input: rgba(5, 5, 26, 0.65);
  --px-fg: #f2f0ff; --px-fg2: #b9b6da; --px-fg3: #8480ad; --px-line: rgba(169, 150, 255, 0.16); --px-line2: rgba(169, 150, 255, 0.32);
  --px-a: #7656f0; --px-a2: #3d2eb9; --px-a3: #b6a6ff;
  --px-ok: #4fdfa0; --px-warn: #ffc65c; --px-bad: #ff7088; --px-info: #5fe6d2;
  --px-drawer: #0d0d33; --px-toast: #1a1958; --px-toast-fg: #ffffff;
  position: relative; container-type: inline-size; font-size: 0.9rem; line-height: 1.45; text-align: left;
  background: var(--px-bg); color: var(--px-fg);
}
.phx[data-theme='ember'] {
  --px-bg: #1a0f0b; --px-side: #130a07; --px-side-act: linear-gradient(135deg, rgba(240, 118, 58, 0.75), rgba(194, 65, 12, 0.5));
  --px-panel: rgba(52, 28, 19, 0.75); --px-raise: rgba(255, 170, 120, 0.09); --px-input: rgba(18, 9, 6, 0.65);
  --px-fg: #fff3ec; --px-fg2: #dfc2b3; --px-fg3: #a98b7c; --px-line: rgba(255, 170, 120, 0.18); --px-line2: rgba(255, 170, 120, 0.36);
  --px-a: #f0763a; --px-a2: #c2410c; --px-a3: #ffb38a; --px-side-fg: #fff3ec; --px-side-fg2: #dfc2b3;
  --px-drawer: #20120c; --px-toast: #3c2116;
}
.phx[data-theme='ocean'] {
  --px-bg: #f1f6f9; --px-side: linear-gradient(180deg, #0a84ad, #12a5c4 55%, #5fd6e6); --px-side-fg: #ffffff; --px-side-fg2: rgba(255, 255, 255, 0.86); --px-side-act: rgba(255, 255, 255, 0.24);
  --px-panel: #ffffff; --px-raise: #eef4f8; --px-input: #ffffff;
  --px-fg: #12202b; --px-fg2: #485a67; --px-fg3: #73838f; --px-line: #e0e9ef; --px-line2: #c8d6e0;
  --px-a: #0e9fc0; --px-a2: #0b6fa4; --px-a3: #0b7191;
  --px-ok: #0f8a57; --px-warn: #a8690a; --px-bad: #cf2f47; --px-info: #0a7f8d;
  --px-drawer: #ffffff; --px-toast: #12202b;
}
.phx[data-theme='slate'] {
  --px-bg: #f4f5f9; --px-side: #141a2e; --px-side-fg: #ffffff; --px-side-fg2: #b8c0d6; --px-side-act: linear-gradient(135deg, #2f6fed, #1d4fc4);
  --px-panel: #ffffff; --px-raise: #eff1f7; --px-input: #ffffff;
  --px-fg: #161b2c; --px-fg2: #4b556d; --px-fg3: #7a8399; --px-line: #e4e7ef; --px-line2: #ccd2e0;
  --px-a: #2f6fed; --px-a2: #1d4fc4; --px-a3: #2257cf;
  --px-ok: #0f8a57; --px-warn: #a8690a; --px-bad: #cf2f47; --px-info: #0a7f8d;
  --px-drawer: #ffffff; --px-toast: #161b2c;
}
.phx p { color: var(--px-fg2); margin: 0; }
.phx button { font: inherit; color: inherit; cursor: pointer; }
.phx .ic { flex: none; }
.phx .ph-tag { color: var(--px-info); border-color: color-mix(in srgb, var(--px-info) 45%, transparent); }
.phx .ph-tag-plain { color: var(--px-fg2); border-color: var(--px-line2); }
.phx :focus-visible { outline-color: var(--px-a3); }

/* shell */
.phx-shell { display: grid; grid-template-columns: 212px minmax(0, 1fr); min-height: 660px; }
.phx[data-mode='single'] .phx-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.phx-side { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 0.75rem; background: var(--px-side); color: var(--px-side-fg); border-right: 1px solid var(--px-line); }
.phx-ws { display: flex; align-items: center; gap: 0.6rem; padding: 0.2rem 0.4rem 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--px-side-fg) 18%, transparent); }
.phx-ws .ph-mark { width: 28px; height: 28px; }
.phx-mono { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--px-side-fg) 22%, transparent); font-weight: 900; font-size: 1rem; color: var(--px-side-fg); }
.phx-ws b { display: block; font-weight: 700; font-size: 1rem; line-height: 1.15; overflow-wrap: anywhere; }
.phx-ws small { display: block; font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--px-side-fg2); }
.phx-nav { display: grid; gap: 2px; }
.phx-nav button { display: flex; align-items: center; gap: 0.65rem; width: 100%; padding: 0.55rem 0.65rem; border: 0; border-radius: 10px; background: none; color: var(--px-side-fg2); text-align: left; font-weight: 700; font-size: 0.86rem; transition: background 0.2s, color 0.2s; }
.phx-nav button:hover { color: var(--px-side-fg); background: color-mix(in srgb, var(--px-side-fg) 12%, transparent); }
.phx-nav button.is-active { color: #fff; background: var(--px-side-act); }
.phx-nav .phx-badge, .phx-nav .phx-kind { margin-left: auto; }
.phx-nav .phx-kind { color: var(--px-side-fg2); border-color: color-mix(in srgb, var(--px-side-fg) 30%, transparent); }
.phx-nav-back { margin-block: 0.35rem; border: 1px dashed color-mix(in srgb, var(--px-side-fg) 32%, transparent) !important; }
.phx-badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem; border-radius: 999px; background: var(--px-bad); color: #fff; font-family: var(--font-mono); font-size: 0.68rem; }
.phx-reset { margin-top: auto; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.65rem; border: 1px dashed color-mix(in srgb, var(--px-side-fg) 32%, transparent); border-radius: 10px; background: none; color: var(--px-side-fg2) !important; font-size: 0.8rem !important; }
.phx-reset:hover { color: var(--px-side-fg) !important; }
.phx-main { min-width: 0; display: flex; flex-direction: column; }
.phx-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--px-line); background: var(--px-panel); }
.phx-who { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.phx-who b { display: block; font-size: 0.92rem; line-height: 1.15; }
.phx-who small { display: block; color: var(--px-fg3); font-size: 0.74rem; }
.phx-roles { display: flex; align-items: center; gap: 0.3rem; padding: 3px; border: 1px solid var(--px-line2); border-radius: 999px; background: var(--px-input); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.phx-roles::-webkit-scrollbar { display: none; }
.phx-roles > span { flex: none; padding: 0 0.3rem 0 0.6rem; font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--px-fg3); }
.phx-roles button { flex: none; border: 0; background: none; padding: 0.3rem 0.7rem; border-radius: 999px; color: var(--px-fg2); font-size: 0.8rem; font-weight: 700; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.phx-roles button:hover { color: var(--px-fg); }
.phx-roles button.is-active { color: #fff; background: linear-gradient(135deg, var(--px-a), var(--px-a2)); }
.phx-sim { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem; padding: 0.5rem 1.1rem; border-bottom: 1px solid var(--px-line); font-size: 0.8rem; }
.phx-sim-clock { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--px-fg2); }
.phx-sim-clock b { font-family: var(--font-mono); font-weight: 500; font-size: 0.92rem; color: var(--px-fg); font-variant-numeric: tabular-nums; }
.phx-sim-clock small, .phx-sim-skip small { font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--px-fg3); }
.phx-sim-skip { display: inline-flex; align-items: center; gap: 0.35rem; }
.phx-sim-skip button { border: 1px solid var(--px-line2); background: var(--px-raise); border-radius: 999px; padding: 0.16rem 0.6rem; font-size: 0.74rem; font-weight: 700; color: var(--px-fg2); transition: border-color 0.2s, color 0.2s; }
.phx-sim-skip button:hover { border-color: var(--px-a3); color: var(--px-fg); }
.phx-sim-skip button[disabled] { opacity: 0.45; cursor: not-allowed; }
.phx-btn-brk { margin-left: auto; border-color: transparent !important; background: #ffc107 !important; color: #2a1f00 !important; border-radius: 999px !important; box-shadow: 0 6px 18px -8px #ffc107; }
.phx-btn-brk.is-on { background: #e5484d !important; color: #fff !important; box-shadow: 0 6px 18px -8px #e5484d; }
.phx-view { flex: 1; padding: 1.1rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.phx-view.is-enter > * { animation: phx-in 0.45s var(--ease) both; }
.phx-view.is-enter > *:nth-child(2) { animation-delay: 50ms; }
.phx-view.is-enter > *:nth-child(3) { animation-delay: 100ms; }
.phx-view.is-enter > *:nth-child(n + 4) { animation-delay: 150ms; }
@keyframes phx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* headings, banners, stat cards */
.phx-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.6rem 1rem; }
.phx-h small { display: block; font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--px-fg3); margin-bottom: 0.15rem; }
.phx-h h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--px-fg); }
.phx-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.phx-banner { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border-radius: 14px; color: #fff; background: linear-gradient(110deg, var(--px-a2), var(--px-a)); box-shadow: 0 14px 34px -20px var(--px-a); }
.phx-banner h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; letter-spacing: -0.02em; color: #fff; }
.phx-banner p { color: rgba(255, 255, 255, 0.86); font-size: 0.84rem; }
.phx-banner-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.2); font-size: 1.2rem; }
.phx-banner-r { text-align: right; flex: none; }
.phx-banner-r b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.phx-banner-r small { font-size: 0.74rem; opacity: 0.9; }
.phx-stats { display: grid; gap: 0.7rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.phx-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phx-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phx-stat { position: relative; overflow: hidden; padding: 0.85rem 0.95rem; border-radius: 14px; color: #fff; min-width: 0; }
.phx-stat::after { content: ''; position: absolute; right: -26px; top: -30px; width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, 0.13); pointer-events: none; }
.phx-stat > div { min-width: 0; position: relative; }
.phx-stat span { display: block; min-height: 2.5em; padding-right: 2.3rem; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.02em; opacity: 0.96; line-height: 1.25; }
.phx-stat b { display: block; margin-top: 0.25rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 2.5cqw, 1.3rem); line-height: 1.15; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phx-stat em { display: block; margin-top: 0.2rem; font-style: normal; font-size: 0.72rem; opacity: 0.92; line-height: 1.3; }
.phx-stat > i { position: absolute; z-index: 1; right: 0.7rem; top: 0.7rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, 0.22); font-size: 0.92rem; font-style: normal; }
.g-green { background: linear-gradient(135deg, #128a57, #23c58a); }
.g-amber { background: linear-gradient(135deg, #d98207, #f5b21d); }
.g-orange { background: linear-gradient(135deg, #ee6a1c, #df3a4a); }
.g-blue { background: linear-gradient(135deg, #1163f0, #11b6e2); }
.g-violet { background: linear-gradient(135deg, #6b3fc8, #9a5be0); }
.g-red { background: linear-gradient(135deg, #c62134, #ea4c5d); }
.g-teal { background: linear-gradient(135deg, #0a8aa3, #17b4c8); }
.phx-mini { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; color: var(--px-fg2); font-size: 0.84rem; }
.phx-mini b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--px-fg); margin-right: 0.15rem; font-variant-numeric: tabular-nums; }
.phx-mini-pad { padding: 0.9rem 0.95rem; }
.phx-pad { padding: 0 0.95rem 0.9rem; }
.phx-center { text-align: center; justify-content: center; justify-items: center; }
.phx-stack { display: grid; gap: 1rem; align-content: start; min-width: 0; }

/* buttons and controls */
.phx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.42rem 0.85rem; border-radius: 9px; border: 1px solid var(--px-line2); background: var(--px-raise); color: var(--px-fg) !important; font-weight: 700; font-size: 0.82rem !important; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.15s, filter 0.2s; }
.phx-btn:hover { border-color: var(--px-a3); }
.phx-btn:active { transform: scale(0.97); }
.phx-btn-pri { border-color: transparent; background: linear-gradient(135deg, var(--px-a), var(--px-a2)); color: #fff !important; }
.phx-btn-pri:hover { filter: brightness(1.12); border-color: transparent; }
.phx-btn-ok { border-color: color-mix(in srgb, var(--px-ok) 50%, transparent); color: var(--px-ok) !important; background: color-mix(in srgb, var(--px-ok) 10%, transparent); }
.phx-btn-no { border-color: color-mix(in srgb, var(--px-bad) 45%, transparent); color: var(--px-bad) !important; background: color-mix(in srgb, var(--px-bad) 8%, transparent); }
.phx-btn-go { border-color: transparent; background: linear-gradient(135deg, #128a57, #23c58a); color: #fff !important; box-shadow: 0 12px 26px -12px #23c58a; }
.phx-btn-stop { border-color: transparent; background: linear-gradient(135deg, #c62134, #ea4c5d); color: #fff !important; box-shadow: 0 12px 26px -12px #ea4c5d; }
.phx-btn-go:hover, .phx-btn-stop:hover { filter: brightness(1.1); border-color: transparent; }
.phx-btn-lg { padding: 0.62rem 1.2rem; font-size: 0.9rem !important; border-radius: 11px; }
.phx-btn-xl { padding: 0.85rem 2rem; font-size: 1rem !important; border-radius: 999px; }
.phx-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.phx-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--px-line2); border-radius: 10px; background: var(--px-input); }
.phx-tabs button { border: 0; background: none; padding: 0.32rem 0.8rem; border-radius: 8px; color: var(--px-fg2) !important; font-weight: 700; font-size: 0.82rem !important; }
.phx-tabs button.is-active { color: #fff !important; background: var(--px-a); }
.phx-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.phx-chips button { border: 1px solid var(--px-line2); background: none; padding: 0.22rem 0.65rem; border-radius: 999px; color: var(--px-fg2) !important; font-size: 0.78rem !important; }
.phx-chips button:hover { border-color: var(--px-a3); color: var(--px-fg) !important; }
.phx-chips button.is-active { border-color: var(--px-a); color: #fff !important; background: var(--px-a); }
.phx-form { display: grid; gap: 0.7rem; }
.phx-form-row { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); }
.phx-field { display: grid; gap: 0.25rem; align-content: start; }
.phx-field > span { font-size: 0.72rem; font-weight: 700; color: var(--px-fg3); }
.phx-field-inline { display: flex; align-items: center; gap: 0.5rem; }
.phx-input { width: 100%; padding: 0.46rem 0.7rem; border-radius: 9px; border: 1px solid var(--px-line2); background: var(--px-input); color: var(--px-fg); font: inherit; font-size: 0.86rem; }
.phx[data-theme='halo'] .phx-input, .phx[data-theme='ember'] .phx-input, .phx:not([data-theme]) .phx-input { color-scheme: dark; }
.phx[data-theme='ocean'] .phx-input, .phx[data-theme='slate'] .phx-input { color-scheme: light; }
.phx-input::placeholder { color: var(--px-fg3); }
.phx-input:focus { outline: none; border-color: var(--px-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--px-a) 28%, transparent); }
.phx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.phx-filters .phx-input { width: auto; flex: 0 1 auto; }
.phx-filters .phx-search { flex: 1 1 200px; }
.phx-filters .phx-search .phx-input { width: 100%; }
.phx-search { position: relative; flex: 1 1 180px; }
.phx-search .ic { position: absolute; left: 0.7rem; top: 50%; translate: 0 -50%; color: var(--px-fg3); }
.phx-search .phx-input { padding-left: 2.1rem; }
.phx-err { color: var(--px-bad); font-size: 0.82rem; font-weight: 700; }
.phx-hint { color: var(--px-fg3) !important; font-size: 0.8rem; }
.phx-hint b { color: var(--px-fg); }
.phx-themes { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.phx-themes button { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.36rem 0.75rem; border: 1px solid var(--px-line2); border-radius: 999px; background: var(--px-input); color: var(--px-fg2); font-weight: 700; font-size: 0.8rem; }
.phx-themes button i { width: 14px; height: 14px; border-radius: 50%; }
.phx-themes button.is-active { border-color: var(--px-a); color: var(--px-fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--px-a) 28%, transparent); }
.phx-switch { position: relative; width: 34px; height: 20px; flex: none; border-radius: 999px; border: 1px solid var(--px-line2); background: var(--px-input); padding: 0; transition: background 0.25s, border-color 0.25s; }
.phx-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--px-fg3); transition: transform 0.25s var(--ease), background 0.25s; }
.phx-switch[aria-checked='true'] { background: var(--px-ok); border-color: var(--px-ok); }
.phx-switch[aria-checked='true']::after { transform: translateX(14px); background: #fff; }
.phx-switch[disabled] { opacity: 0.55; cursor: not-allowed; }

/* panels, lists, tables */
.phx-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: start; }
.phx-grid-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.phx-panel { border: 1px solid var(--px-line); border-radius: 14px; background: var(--px-panel); min-width: 0; }
.phx-panel.is-new { animation: phx-flash 1.8s ease-out; }
.phx-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.95rem; border-bottom: 1px solid var(--px-line); }
.phx-panel-h b { font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.phx-panel-h small { color: var(--px-fg3); font-size: 0.72rem; font-family: var(--font-label); letter-spacing: 0.03em; text-align: right; }
.phx-panel-b { padding: 0.95rem; }
.phx-list { list-style: none; margin: 0; padding: 0; }
.phx-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; padding: 0.6rem 0.95rem; border-top: 1px solid var(--px-line); min-width: 0; }
.phx-list > li:first-child { border-top: 0; }
.phx-list.is-tall { max-height: 640px !important; }
.phx-list.is-scroll { max-height: 336px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--px-line2) transparent; }
.phx-list-lg > li { padding-block: 0.8rem; }
.phx-list > li > .ic { color: var(--px-fg3); }
.phx-grow { flex: 1 1 8rem; min-width: 0; }
.phx-grow b { display: block; font-size: 0.87rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phx-grow small { display: block; color: var(--px-fg3); font-size: 0.76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phx-list-lg .phx-grow small { white-space: normal; }
.phx-time { font-family: var(--font-mono); font-size: 0.76rem; color: var(--px-fg2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.phx-time b { color: var(--px-fg); font-weight: 500; }
.phx-list > li.is-new, .phx-table tr.is-new { animation: phx-flash 1.8s ease-out; }
@keyframes phx-flash { from { background: color-mix(in srgb, var(--px-a) 45%, transparent); } to { background: transparent; } }
.phx-list > li[data-act] { cursor: pointer; transition: background 0.2s; }
.phx-list > li[data-act]:hover { background: var(--px-raise); }
.phx-empty { padding: 1.3rem 0.95rem; color: var(--px-fg3); font-size: 0.86rem; text-align: center; }
.phx-scroll-x { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--px-line2) transparent; }
.phx-scroll-y { max-height: 372px; overflow-y: auto; }
.phx-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.phx-table th { position: sticky; top: 0; z-index: 1; text-align: left; padding: 0.55rem 0.8rem; font-family: var(--font-label); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--px-fg3); background: var(--px-raise); border-bottom: 1px solid var(--px-line); white-space: nowrap; }
.phx-scroll-y .phx-table th { background: color-mix(in srgb, var(--px-drawer) 92%, var(--px-a)); }
.phx-table td { padding: 0.55rem 0.8rem; border-top: 1px solid var(--px-line); vertical-align: middle; white-space: nowrap; }
.phx-table td.phx-note, .phx-table td.phx-old, .phx-table td.phx-new, .phx-matrix td:first-child { white-space: normal; min-width: 9rem; }
.phx-table tbody tr:first-child td { border-top: 0; }
.phx-table td b { font-weight: 700; }
.phx-table td small { display: block; color: var(--px-fg3); font-size: 0.74rem; }
.phx-table tr[data-act] { cursor: pointer; transition: background 0.2s; }
.phx-table tr[data-act]:hover { background: var(--px-raise); }
.phx-table tr.is-today td { background: color-mix(in srgb, var(--px-a) 12%, transparent); }
.phx-table tr.is-dim { opacity: 0.55; }
.phx-person { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.phx-person b { display: block; font-size: 0.86rem; white-space: nowrap; }
.phx-person small { display: block; color: var(--px-fg3); font-size: 0.74rem; white-space: nowrap; }
.phx-in { color: var(--px-ok); font-weight: 700; }
.phx-out { color: var(--px-bad); font-weight: 700; }
.phx-note { color: var(--px-fg2); font-size: 0.8rem; }
.phx-old { color: var(--px-bad); font-size: 0.8rem; }
.phx-new { color: var(--px-ok); font-size: 0.8rem; }
.phx-matrix th:not(:first-child), .phx-matrix td:not(:first-child) { text-align: center; }
.t-ok { color: var(--px-ok) !important; }
.t-bad { color: var(--px-bad) !important; font-weight: 700; }
.t-warn { color: var(--px-warn) !important; font-weight: 700; }
.t-sep { color: var(--px-info) !important; }
.t-dim { color: var(--px-fg3); }
.phx-num { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.5rem; padding: 0 0.4rem; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; }
.phx-num.n-c { background: color-mix(in srgb, #1163f0 18%, transparent); color: var(--px-fg); }
.phx-num.n-s { background: color-mix(in srgb, #9a5be0 22%, transparent); color: var(--px-fg); }
.phx-av { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 0.68rem; font-weight: 900; color: #0a0a26; letter-spacing: 0.02em; }
.phx-av-lg { width: 52px; height: 52px; font-size: 1.02rem; }
.phx-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.14rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; border: 1px solid color-mix(in srgb, currentColor 38%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); color: var(--px-fg2); }
.phx-pill.s-present { color: var(--px-ok); }
.phx-pill.s-late, .phx-pill.s-half { color: var(--px-warn); }
.phx-pill.s-absent, .phx-pill.s-missing { color: var(--px-bad); }
.phx-pill.s-leave, .phx-pill.s-std { color: var(--px-a3); }
.phx-pill.s-sep, .phx-pill.s-live { color: var(--px-info); }
.phx-pill.s-off, .phx-pill.s-upcoming, .phx-pill.s-na, .phx-pill.s-notstarted, .phx-pill.s-await, .phx-pill.s-plain { color: var(--px-fg3); }
.phx-pill.s-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ph-ping 1.6s infinite; }
.phx-kind { font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--px-fg3); border: 1px solid var(--px-line2); border-radius: 6px; padding: 0.08rem 0.38rem; white-space: nowrap; }
.phx-date-chip { display: inline-block; margin-top: 0.5rem; padding: 0.22rem 0.7rem; border: 1px solid var(--px-line2); border-radius: 8px; background: var(--px-raise); font-size: 0.78rem; color: var(--px-fg2); }
.phx-date-chip b { color: var(--px-fg); font-family: var(--font-mono); font-weight: 500; }

/* employee portal pieces */
.phx-clockp { display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: center; }
.phx-clockp > div { padding: 1.5rem 1rem; display: grid; justify-items: center; gap: 0.35rem; }
.phx-clockp-l { border-right: 1px solid var(--px-line); }
.phx-clockp-l > .ic { font-size: 2.2rem; color: var(--px-a3); margin-bottom: 0.3rem; }
.phx-clockp h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; letter-spacing: -0.02em; }
.phx-clockp-r p { font-size: 0.96rem; margin-bottom: 0.6rem; }
.phx-rule { display: grid; gap: 0.45rem; }
.phx-rule-bar { position: relative; display: flex; height: 10px; border-radius: 6px; overflow: visible; background: var(--px-line); }
.phx-rule-bar i { display: block; height: 100%; }
.phx-rule-bar i:first-child { border-radius: 6px 0 0 6px; }
.phx-rule-bar i:nth-child(3) { border-radius: 0 6px 6px 0; }
.r-ok { background: #22c58a; } .r-late { background: #f5b21d; } .r-half { background: #ea5a6a; }
.phx-rule-bar u { position: absolute; top: -5px; width: 3px; height: 20px; margin-left: -1.5px; border-radius: 2px; background: var(--px-fg); box-shadow: 0 0 0 3px var(--px-bg); transition: left 1s linear; }
.phx-rule-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.74rem; color: var(--px-fg2); }
.phx-rule-key span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 0.4rem; }
.k-ok::before { background: #22c58a; } .k-late::before { background: #f5b21d; } .k-half::before { background: #ea5a6a; }
.phx-live { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; padding: 0.95rem; border-color: color-mix(in srgb, var(--px-info) 55%, transparent); box-shadow: 0 0 30px -14px var(--px-info); }
.phx-live-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--px-info) 16%, transparent); color: var(--px-info); font-size: 1.25rem; }
.phx-live-t { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--px-fg); }
.phx-cats { display: grid; gap: 0.6rem; padding: 0.95rem; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); }
.phx-cats button { display: grid; gap: 0.2rem; justify-items: start; padding: 0.75rem 0.8rem; border: 1px solid var(--px-line2); border-radius: 12px; background: var(--px-raise); text-align: left; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.phx-cats button:hover { transform: translateY(-2px); border-color: var(--px-a3); box-shadow: 0 10px 24px -16px var(--px-a); }
.phx-cats .ic { font-size: 1.15rem; color: var(--px-a3); margin-bottom: 0.2rem; }
.phx-cats .is-sep .ic { color: var(--px-info); }
.phx-cats b { font-size: 0.86rem; }
.phx-cats small { font-size: 0.7rem; color: var(--px-fg3); }
.phx-cat-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--px-raise); color: var(--px-a3); }
.phx-docs { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.phx-doc { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.05rem; border: 1px solid var(--px-line); border-radius: 14px; background: var(--px-panel); }
.phx-doc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.phx-doc-top .phx-date-chip { margin: 0; }
.phx-doc-ic { font-size: 1.7rem; color: #e5484d; line-height: 1; }
.phx-doc h4 { margin: 0.2rem 0 0; font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.phx-doc p { font-size: 0.82rem; flex: 1; }
.phx-paper { padding: 1.3rem; border-radius: 10px; background: #fff; color: #1b2330; border: 1px solid #dfe4ec; }
.phx-paper h5 { margin: 0 0 0.7rem; font-size: 1rem; font-weight: 900; color: #1b2330; }
.phx-paper p { color: #3a4556; font-size: 0.88rem; line-height: 1.6; }
.phx-paper p + p { margin-top: 0.8rem; }
.phx-paper .phx-hint { color: #6b7688 !important; }

/* desktop agent simulation */
.phx-agent-screen { display: grid; gap: 1rem; align-content: center; justify-items: center; min-height: 268px; padding: 1.2rem; text-align: center; background: linear-gradient(160deg, #0d1626, #14253d); color: #e8eef7; border-radius: 0 0 13px 13px; transition: background 0.4s; }
.phx-agent-screen.is-idle { background: linear-gradient(160deg, #0a101b, #101c2e); }
.phx-agent-screen.is-warn { background: linear-gradient(160deg, #1d1606, #2c2109); }
.phx-agent-screen.is-auto { background: linear-gradient(160deg, #230d10, #33151a); }
.phx-agent-screen.is-ok { background: linear-gradient(160deg, #082016, #0d3022); }
.phx-agent-msg { display: grid; gap: 0.35rem; justify-items: center; max-width: 30em; }
.phx-agent-msg > .ic { font-size: 2rem; opacity: 0.9; margin-bottom: 0.2rem; }
.phx-agent-msg b { font-size: 1rem; }
.phx-agent-msg span { font-size: 0.84rem; color: #b9c6d8; }
.phx-agent-msg span b { font-family: var(--font-mono); font-weight: 500; color: #fff; font-size: 0.9rem; }
.phx-agent-msg small { font-size: 0.74rem; color: #8ea0b8; }
.phx-agent-screen .phx-live-t { color: #fff; font-size: 1.9rem; }
.phx-agent-screen .phx-btn:not(.phx-btn-pri) { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff !important; }
.phx-popup { width: min(100%, 330px); border-radius: 10px; overflow: hidden; background: #fbfcfe; color: #1b2330; text-align: left; box-shadow: 0 30px 70px -20px #000; animation: phx-popup 0.35s var(--ease); }
@keyframes phx-popup { from { transform: translateY(14px) scale(0.96); opacity: 0; } }
.phx-popup-h { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; background: #1b2330; color: #fff; font-size: 0.78rem; font-weight: 700; }
.phx-popup-b { display: grid; gap: 0.45rem; padding: 0.95rem 1rem 1.05rem; }
.phx-popup-b b { font-size: 1rem; color: #1b2330; }
.phx-popup-b p { font-size: 0.84rem; color: #4b5668; }
.phx-popup-t { font-family: var(--font-mono); font-weight: 500; font-size: 1.9rem; color: #c62134; font-variant-numeric: tabular-nums; }
.is-ok .phx-popup-t { color: #128a57; font-size: 1.5rem; }
.phx-prog { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); overflow: hidden; width: 200px; }
.phx-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffc107, #ff7a45); transition: width 0.1s linear; }
.phx-steps { list-style: none; margin: 0; padding: 0.4rem 0.95rem 0; display: grid; }
.phx-steps li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.7rem; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--px-line); color: var(--px-fg3); font-size: 0.84rem; transition: color 0.3s; }
.phx-steps li:first-child { border-top: 0; }
.phx-steps b { font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; }
.phx-steps li.is-done { color: var(--px-fg2); }
.phx-steps li.is-done b { color: var(--px-ok); }
.phx-steps li.is-on { color: var(--px-fg); }
.phx-steps li.is-on b { color: var(--px-a3); }

/* lock, drawer, toasts */
.phx-lock { display: grid; justify-items: center; gap: 0.6rem; text-align: center; padding: 2.4rem 1.2rem; border: 1px dashed var(--px-line2); border-radius: 14px; }
.phx-lock > .ic { font-size: 1.6rem; color: var(--px-a3); }
.phx-lock b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.phx-lock p { max-width: 32em; font-size: 0.86rem; }
.phx-drawer-bg { position: absolute; inset: 0; z-index: 5; background: rgba(5, 5, 26, 0.55); animation: phx-fade 0.25s; }
.phx-drawer { position: absolute; z-index: 6; top: 0; right: 0; bottom: 0; width: min(100%, 420px); overflow-y: auto; padding: 1.1rem; display: grid; gap: 1rem; align-content: start; background: var(--px-drawer); border-left: 1px solid var(--px-line2); box-shadow: -30px 0 80px -30px #000; animation: phx-slide 0.4s var(--ease); }
@keyframes phx-fade { from { opacity: 0; } }
@keyframes phx-slide { from { transform: translateX(40px); opacity: 0; } }
.phx-drawer-h { display: flex; align-items: center; gap: 0.8rem; }
.phx-drawer-h h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.phx-drawer-h small { color: var(--px-fg3); }
.phx-x { margin-left: auto; align-self: flex-start; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--px-line2); border-radius: 8px; background: none; }
.phx-x:hover { border-color: var(--px-a3); }
.phx-dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 0; font-size: 0.84rem; }
.phx-dl dt { color: var(--px-fg3); font-weight: 400; }
.phx-dl dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.phx-toasts { position: absolute; z-index: 9; left: 50%; bottom: 14px; translate: -50% 0; display: grid; gap: 0.4rem; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 28px); }
.phx-toast { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.95rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--px-a) 70%, #fff); background: var(--px-toast); color: var(--px-toast-fg); font-size: 0.84rem; box-shadow: 0 16px 40px -12px #000; animation: phx-toast 4.1s var(--ease) forwards; }
.phx-toast .ic { color: #4fdfa0; flex: none; }
.phx-toast.is-warn .ic { color: #ffc65c; }
@keyframes phx-toast { 0% { opacity: 0; transform: translateY(14px) scale(0.96); } 7%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

@container (max-width: 880px) {
  .phx-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phx-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 760px) {
  .phx-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .phx-side { flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.5rem; border-right: 0; border-bottom: 1px solid var(--px-line); overflow-x: auto; scrollbar-width: none; }
  .phx-side::-webkit-scrollbar { display: none; }
  .phx-ws, .phx-reset span { display: none; }
  .phx-nav { display: flex; gap: 2px; }
  .phx-nav button { width: auto; white-space: nowrap; padding: 0.45rem 0.7rem; }
  .phx-nav-back { margin: 0 0.2rem; }
  .phx-reset { margin: 0 0 0 auto; flex: none; }
  .phx-grid-wide { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 560px) {
  .phx-stats, .phx-stats-3, .phx-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phx-view { padding: 0.8rem; }
  .phx-hide-s { display: none !important; }
  .phx-top, .phx-sim { padding-inline: 0.8rem; }
  .phx-clockp { grid-template-columns: 1fr; }
  .phx-clockp-l { border-right: 0; border-bottom: 1px solid var(--px-line); }
  .phx-banner-r { display: none; }
  .phx-btn-brk { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phx *, .phx *::before, .phx *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .phx-toast { animation-duration: 4.1s !important; }
}

/* 11. Company, contact and process blocks ------------------------------------ */
.ph-footer-parent { margin: -0.6rem 0 1.4rem; font-size: 0.92rem; color: var(--fg-2) !important; }
.ph-footer-list span { color: var(--fg-2); }
.ph-maker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); }
.ph-maker p { max-width: 34em; }
.ph-facts { margin: 0; display: grid; }
.ph-facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.ph-facts > div:first-child { border-top: 0; padding-top: 0; }
.ph-facts dt { font-family: var(--font-label); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); padding-top: 0.2rem; }
.ph-facts dd { margin: 0; color: var(--fg); min-width: 0; overflow-wrap: anywhere; }
.ph-facts a, .ph-copy-addr { color: var(--mist); }
.ph-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.4rem; }
.ph-copy-addr { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); text-decoration: none; overflow-wrap: anywhere; }
.ph-copy-addr:hover { color: #fff; }
.ph-tbc { display: inline-block; margin-left: 0.35rem; padding: 0.05rem 0.5rem; border-radius: 6px; border: 1px dashed var(--warn); color: var(--warn); font-family: var(--font-label); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.1em; white-space: nowrap; }
.ph-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: pr; }
.ph-process li { counter-increment: pr; position: relative; display: grid; gap: 0.45rem; align-content: start; padding: 1.3rem 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(18, 17, 64, 0.45); }
.ph-process li::before { content: counter(pr); width: 2rem; height: 2rem; display: grid; place-items: center; margin-bottom: 0.3rem; border-radius: 50%; background: var(--violet); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.ph-process b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--fg); }
.ph-process li > span { color: var(--fg-2); font-size: 0.95rem; }
.ph-process .ph-tbc { margin: 0.4rem 0 0; }
.ph-ticks-q li { padding: 0.7rem 0; border-top: 1px solid var(--line); margin: 0; }
.ph-ticks-q li:first-child { border-top: 0; }
@media (max-width: 991.98px) {
  .ph-maker { grid-template-columns: minmax(0, 1fr); }
  .ph-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .ph-process { grid-template-columns: minmax(0, 1fr); }
  .ph-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}
.ph-footer-list li { overflow-wrap: anywhere; }
.ph-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ph-legal { max-width: 46rem; }
.ph-legal .ph-h3 { margin-top: 2rem; }
.ph-legal p { color: var(--fg-2); }
