/* Enterprise page (enterprise.html). Converted once on 2026-11-18 from the design export sense-enterprise-share.html (tokens, base, sections, agents, product, minis, feature, pricing, smb, shift, integration, enterprise; nav.css is left to nav-footer-new.css), scoped to main.enterprise and trimmed to the rules this page can match; maintained by hand from here on. */

/* ===== PAGE-LEVEL RULES (html, body): START: the page canvas; every other rule is scoped to main.enterprise */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F4F4F7; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-padding-top: 96px; }   /* focus and #anchor scrolling stop clear of the fixed overlay header (about 80 px tall) */

/* ===== PAGE-LEVEL RULES: END */

/* css/tokens.css */
/* ==========================================================================
   Sense HR website — design tokens
   Layout/motion language recreated from the Zyntexa reference; colour + type
   are Sense's own (Satoshi display, Inter body, brand #634AFC).
   ========================================================================== */
.enterprise {
  /* Brand */
  --brand: #634AFC;
  --brand-hover: #4931DC;
  --brand-soft: #B8ADFF;
  --brand-10: #EFF1FF;
  --brand-20: #E5E7FF;
  --brand-glow: rgba(99, 74, 252, .35);

  /* Primary button — the ONE definition used by every primary CTA (nav, mobile menu, sections) */
  --btn-primary-bg: #634AFC;
  --btn-primary-bg-hover: #4931DC;
  --btn-primary-fg: #FFFFFF;          /* 5.4:1 on #634AFC — passes WCAG AA */
  --btn-radius: 10px;

  /* Neutrals */
  --ink: #0B0A14;                     /* dark panels */
  --ink-2: #15132A;
  --ink-3: #1C1A35;
  --page: #F4F4F7;                    /* off-white page, like the reference */
  --card: #FFFFFF;
  --text: #0B0A14;
  --text-2: #54536B;
  --text-3: #8B899E;
  --line: rgba(11, 10, 20, .08);
  --line-strong: rgba(11, 10, 20, .14);
  --line-dash: rgba(11, 10, 20, .18);
  --text-inv: #FFFFFF;
  --text-inv-2: rgba(255, 255, 255, .72);
  --text-inv-3: rgba(255, 255, 255, .5);
  --line-inv: rgba(255, 255, 255, .14);
  --live: #22B573;
  --live-bg: #E4FFE9;

  /* Type */
  --font-display: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(40px, 5.2vw, 68px);
  --fs-h2: clamp(30px, 3.4vw, 46px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h4: 19px;
  --fs-lede: clamp(16px, 1.25vw, 18px);
  --fs-body: 16px;
  --fs-small: 14px;
  --ls-display: -0.035em;

  /* Layout */
  --container: 1320px;
  --container-wide: 1470px;
  --gutter: 24px;
  --frame-inset: 20px;
  --section-y: clamp(80px, 9vw, 128px);

  /* Radii (reference: 100 pill · 40 panel · 30/24/20 card · 15 dropdown · 10 small) */
  --r-panel: 40px;
  --r-card-lg: 30px;
  --r-card: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Shadows — soft, wide blurs */
  --shadow-sm: 0 1px 2px rgba(11, 10, 20, .06), 0 0 0 1px rgba(11, 10, 20, .05);
  --shadow-md: 0 24px 56px -12px rgba(11, 10, 20, .15);
  --shadow-lg: 0 57px 70px -20px rgba(11, 10, 20, .12), 0 0 0 1px rgba(11, 10, 20, .04);
  --shadow-float: 0 18px 40px -8px rgba(20, 12, 70, .28), 0 0 0 1px rgba(11, 10, 20, .05);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-reveal: .8s;
  --reveal-y: 40px;
}

@media (max-width: 767px) {
  .enterprise {
    --gutter: 16px;
    --frame-inset: 8px;
    --r-panel: 24px;
    --r-card-lg: 22px;
    --r-card: 20px;
  }
}

/* css/base.css */
/* ==========================================================================
   Base: reset, type, layout primitives, buttons, reveal + odometer motion
   ========================================================================== */
.enterprise *, .enterprise *::before, .enterprise *::after { box-sizing: border-box; }
.enterprise {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 var(--fs-body)/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.enterprise img, .enterprise picture, .enterprise svg { display: block; max-width: 100%; }
.enterprise img { height: auto; }
.enterprise a { color: inherit; text-decoration: none; }
.enterprise button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.enterprise ul { list-style: none; margin: 0; padding: 0; }
.enterprise p { margin: 0; }
.enterprise h1, .enterprise h2, .enterprise h3, .enterprise h4, .enterprise h5 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); color: inherit; }
.enterprise h1 { font-size: var(--fs-h1); line-height: 1.06; }
.enterprise h2 { font-size: var(--fs-h2); line-height: 1.12; }
.enterprise h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
.enterprise h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; }
.enterprise h5 { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.enterprise b, .enterprise strong { font-weight: 600; }

.enterprise :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.enterprise .on-dark :focus-visible, .enterprise .frame-dark :focus-visible { outline-color: var(--brand-soft); }

.enterprise .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.enterprise .container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.enterprise .section { padding-block: var(--section-y); }
.enterprise .section-frame { padding-block: calc(var(--section-y) * .5); }

/* Dark inset panel — the reference's signature black rounded card */
.enterprise .frame { margin-inline: var(--frame-inset); border-radius: var(--r-panel); position: relative; overflow: hidden; isolation: isolate; }
.enterprise .frame-dark { background: var(--ink); color: var(--text-inv); }

/* Eyebrow pill */
.enterprise .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 13px/1 var(--font-body); letter-spacing: .01em;
  padding: 8px 14px; border-radius: 100px;
  background: var(--card); color: var(--brand-hover);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.enterprise .eyebrow.on-dark { background: rgba(255, 255, 255, .08); color: #DCD6FF; box-shadow: inset 0 0 0 1px var(--line-inv); }

.enterprise .lede { font-size: var(--fs-lede); color: var(--text-2); line-height: 1.62; }
.enterprise .frame-dark .lede { color: var(--text-inv-2); }

/* ---------- Buttons ---------- */
.enterprise .btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 20px;
  border-radius: var(--btn-radius);
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.enterprise .btn:hover { transform: scale(.97); }            /* standing rule: every button scales to .97 */
.enterprise .btn:active { transform: scale(.95); }
.enterprise .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.enterprise .btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: 0 8px 24px -8px rgba(99, 74, 252, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.enterprise .btn-primary:hover { background: var(--btn-primary-bg-hover); }
.enterprise .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.enterprise .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-hover); }
.enterprise .btn-secondary-dark { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.enterprise .btn-secondary-dark:hover { background: rgba(255, 255, 255, .12); }

.enterprise .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Icon tile ---------- */
.enterprise .icon-tile {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(99, 74, 252, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.enterprise .icon-tile svg { width: 20px; height: 20px; }
.enterprise .icon-tile-dark { background: rgba(255, 255, 255, .06); color: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--line-inv); }

/* ---------- Scroll reveal (fade-up, staggered by JS via --i) ---------- */
.js .enterprise .reveal { opacity: 0; transform: translate3d(0, var(--reveal-y), 0); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .enterprise .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion: everything final, instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  .enterprise *, .enterprise *::before, .enterprise *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .enterprise .reveal { opacity: 1 !important; transform: none !important; }
  .enterprise .btn:hover, .enterprise .btn:active { transform: none; }
}

/* css/sections.css */
/* ==========================================================================
   Sections (in page order)
   ========================================================================== */

/* ---------- shared heads ---------- */
.enterprise .center-head { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.enterprise .center-head p { color: var(--text-2); font-size: var(--fs-lede); max-width: 640px; margin-top: 20px; }

/* ==========================================================================
   01 HERO — dark inset frame, centred copy, dashboard + floating cards
   ========================================================================== */

.enterprise .hero-inner { display: flex; flex-direction: column; align-items: center; }
.enterprise .hero-copy { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.enterprise .hero-copy h1 { color: #fff; text-wrap: balance; }
.enterprise .hero-copy .lede { max-width: 620px; margin-top: 24px; }
.enterprise .hero-copy .cta-group { margin-top: 36px; justify-content: center; }
.js .enterprise .hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.enterprise .word-reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.enterprise .word-reveal { display: inline-block; transform: translateY(110%); animation: wordUp .8s var(--ease-out) forwards; }
@keyframes wordUp { to { transform: none; } }

.enterprise .hero-visual { position: relative; width: 100%; max-width: 1180px; margin-top: 72px; perspective: 1400px; }
.enterprise .hero-window {
  position: relative; padding: 8px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08));
  box-shadow: 0 40px 100px -30px rgba(33, 18, 140, .7), inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 1) * 14deg)) scale(calc(1 - var(--tilt, 1) * .04));
  will-change: transform;
}
.enterprise .hero-window img { width: 100%; border-radius: 19px; }

.enterprise .float-card { background: #fff; color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-float); }
.enterprise .hero-floats { position: absolute; inset: 0; pointer-events: none; }
.enterprise .feed-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; transition: background-color .5s; }
.enterprise .feed-item.is-active { background: var(--brand-10); }

.enterprise .chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border-radius: 14px; font: 500 13.5px/1.2 var(--font-body); white-space: nowrap; animation: floatY 6s ease-in-out infinite; }
.enterprise .chip-check { width: 24px; height: 24px; border-radius: 50%; background: var(--live-bg); color: var(--live); display: grid; place-items: center; flex-shrink: 0; }
.enterprise .chip-check svg { width: 13px; height: 13px; }
.enterprise .chip-1 { right: -40px; top: 9%; }
.enterprise .chip-3 { left: 6%; bottom: 8%; animation-delay: -3s; }
.enterprise .chip-4 { right: 12%; bottom: -22px; animation-delay: -4.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .enterprise .hero-floats .float-card { opacity: 0; scale: .92; transition: opacity .7s var(--ease-out), scale .7s var(--ease-out); }
.js .enterprise .hero-floats.in .float-card { opacity: 1; scale: 1; }
.enterprise .hero-floats.in .chip-1 { transition-delay: .15s; } 
.enterprise .hero-floats.in .chip-3 { transition-delay: .45s; } .enterprise .hero-floats.in .chip-4 { transition-delay: .6s; }

@media (max-width: 1280px) {
   .enterprise .chip-1 { right: -12px; } 
}
@media (max-width: 900px) {
  .enterprise .hero-visual { margin-top: 48px; }
  .enterprise .hero-floats { position: static; pointer-events: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .enterprise .hero-chips { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .enterprise .hero-chips::-webkit-scrollbar { display: none; }
  .enterprise .chip { position: static; scroll-snap-align: start; animation: none; box-shadow: var(--shadow-sm); }
}
@media (max-width: 767px) {
  .enterprise .hero-window { padding: 5px; border-radius: 16px; }
  .enterprise .hero-window img { border-radius: 12px; }
  .enterprise .hero-copy .cta-group { width: 100%; flex-direction: column; }
  .enterprise .hero-copy .cta-group .btn { width: 100%; }
}

/* ==========================================================================
   05 AI AGENTS — integration diagram (AMI hub, curved connectors, nodes on lines)
   ========================================================================== */
.enterprise #ai-agents { overflow: hidden; }

/* ==========================================================================
   06 TIME & ATTENDANCE — home-three "We simplify…" layout:
   head + icon list with a progress bar on the left, tall gradient card on the right
   (stacked card of devices on top, product screenshot below). DOM keeps live order.
   ========================================================================== */
.enterprise .ta-frame { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.enterprise .ta-frame.is-active { opacity: 1; transform: none; }
.enterprise .ta-frame:nth-child(1) img { max-width: 80%; max-height: 80%; }
.enterprise .ta-frame:nth-child(2) img { box-shadow: none; border-radius: 0; }
.enterprise .ta-frame img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-card); box-shadow: 0 30px 60px -28px rgba(33, 18, 140, .55); }

/* ==========================================================================
   11 GET STARTED — pinned section: marquee headline behind product image,
   copy + buttons reveal on scroll (progress in --p, set by JS)
   ========================================================================== */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   13 FOOTER — full-bleed black (oma-melon layout): brand + copyright left,
   link columns right, oversized fading wordmark at the bottom
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .enterprise .chip { animation: none !important; }
  .enterprise .hero-window { transform: none; }
  .js .enterprise .hero-anim { opacity: 1; transform: none; }
  .js .enterprise .hero-floats .float-card { opacity: 1; scale: 1; }
}

/* css/agents.css */
/* ==========================================================================
   Agent pages — AMI hub page (sense-agent-ami.html)
   Builds on tokens/base/nav/sections from the home page; only page-specific
   patterns live here.
   ========================================================================== */

/* ---------- 05 MEET AMI IN PERSON — pay-co "Network of passionate users" layout ----------
   striped lavender card · centred copy · product shot cropped by the card's bottom edge
   inside the home page's glass frame · form bar under the copy */
.enterprise .ami-meet-wrap { position: relative; }
.enterprise .ami-meet { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); padding: clamp(56px, 7vw, 96px) var(--gutter) 0;
  background: linear-gradient(180deg, #F7F6FF 0%, #EFEDFF 55%, #E4E0FF 100%); box-shadow: inset 0 0 0 1px rgba(99, 74, 252, .08); text-align: center; }
.enterprise .ami-meet::before { /* vertical column stripes, fading in towards the bottom (reference texture, in Sense purple) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .09) 0 72px, transparent 72px 89px) center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 95%); mask-image: linear-gradient(180deg, transparent 5%, #000 95%); }
.enterprise .ami-meet::after { /* purple haze rising from the lower corners */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(38% 60% at 0% 100%, rgba(99, 74, 252, .38), transparent 70%), radial-gradient(38% 60% at 100% 100%, rgba(99, 74, 252, .38), transparent 70%); }
.enterprise .ami-meet-copy { max-width: 720px; margin: 0 auto; }
.enterprise .ami-meet-copy h2 { color: var(--text); }
.enterprise .ami-meet-copy p { margin: 18px auto 0; color: var(--text-2); font-size: var(--fs-lede); max-width: 620px; }
.enterprise .ami-meet-shot { position: relative; max-width: 1080px; margin: clamp(40px, 5vw, 64px) auto 0; height: clamp(240px, 33vw, 470px); overflow: hidden; }
/* same glass outline as the home page's dashboard frame (.hero-window), tuned for a light background */
.enterprise .ami-meet-window { padding: 8px 8px 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .28));
  box-shadow: 0 40px 100px -30px rgba(33, 18, 140, .35), inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(99, 74, 252, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.enterprise .ami-meet-window img { width: 100%; border-radius: 19px 19px 0 0; }

/* form bar: Name · Email · button, directly under the copy */
@media (max-width: 767px) {
  .enterprise .ami-meet-shot { height: 220px; }
}

/* ---------- 06 FAQ — single rounded container with square toggles ---------- */
.enterprise .ami-faq { max-width: 1070px; margin: 56px auto 0; border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.enterprise .ami-faq-item + .ami-faq-item { border-top: 1px solid var(--line); }
.enterprise .ami-faq-q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 40px; cursor: pointer; font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--text); transition: background-color .2s; }
.enterprise .ami-faq-q::-webkit-details-marker { display: none; }
.enterprise .ami-faq-q:hover { background: var(--page); }
.enterprise .ami-faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 12px; }
.enterprise .ami-faq-ic { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .3s; }
.enterprise .ami-faq-ic svg { width: 14px; height: 14px; }
.enterprise .ami-faq-ic svg { transition: transform .35s var(--ease-out); }
.enterprise .ami-faq-item[open] .ami-faq-ic { background: var(--brand); }
.enterprise .ami-faq-item[open] .ami-faq-ic svg { transform: rotate(45deg); }
.enterprise .ami-faq-a { padding: 0 104px 26px 40px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .enterprise .ami-faq { interpolate-size: allow-keywords; }
  .enterprise .ami-faq-item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .enterprise .ami-faq-item[open]::details-content { height: auto; }
}
@media (max-width: 767px) { .enterprise .ami-faq { margin-top: 40px; } .enterprise .ami-faq-q { padding: 20px; } .enterprise .ami-faq-a { padding: 0 20px 20px; font-size: 15px; } }

/* css/product.css */
/* ==========================================================================
   HR product pages (sense-hr-*.html). HR overview first: tools/product/gen_hr_overview.py
   Builds on the home hero (.hero), stats strip (.stats), AMI Meet card + FAQ (agents.css).
   ========================================================================== */

/* ---------- 01 HERO — dark: bg_1 artwork fills the rounded hero frame; the screen is cropped by the frame's bottom edge ---------- */
.enterprise .pd-hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--frame-inset) + 150px); color: var(--text-inv); }
.enterprise .pd-hero-bg { position: absolute; z-index: -1; inset: var(--frame-inset) var(--frame-inset) 0; overflow: hidden; border-radius: var(--r-panel) var(--r-panel) 0 0; background: #0A0B24; }
.enterprise .pd-hero-bg picture, .enterprise .pd-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 0; }
/* the screen runs flat and is cut off by the bottom of the hero / prism panel */
.enterprise .pd-hero .hero-visual { height: clamp(380px, 44vw, 640px); margin-top: 72px; perspective: none; clip-path: inset(-120px -200px 0 -200px); }   /* clip only the bottom: floating chips can still overhang the sides */
.enterprise .pd-hero .hero-window { transform: none; will-change: auto; }
.enterprise .pd-hero .chip-1 { top: 12%; right: -44px; }
.enterprise .pd-hero .chip-3 { left: -40px; bottom: auto; top: 40%; }
.enterprise .pd-hero .chip-4 { right: 8%; bottom: auto; top: 70%; }
.enterprise .pd-hero .hero-copy h1 { color: #fff; }
.enterprise .pd-hero .hero-copy .lede { color: var(--text-inv-2); margin-top: 52px; }   /* clears the chip at the bottom of its float (+22px) */
@media (max-width: 900px) {
  .enterprise .pd-hero { padding-top: calc(var(--frame-inset) + 120px); }
  .enterprise .pd-hero .hero-visual { height: 64vw; margin-top: 40px; clip-path: inset(-40px -40px 0 -40px); }
  .enterprise .pd-hero .hero-floats { display: none; }
}
.enterprise .pd-hero .hero-copy { max-width: 1240px; }   /* room for a one-line title on wide screens */
/* floating purple card, as the AMI page header chip (agents.css .ami-chip + qzFloat) */
.enterprise .pd-hero .hero-copy .lede { max-width: 680px; }

/* ---------- 03 BIG CLAIM — Zyntexa style giant line, auto-scrolling like the home page's "Get started" marquee (4 copies, -50% loop) ---------- */
.enterprise .pd-claim { position: relative; overflow: clip; padding: clamp(72px, 9vw, 140px) 0 clamp(24px, 3vw, 48px); text-align: center; }
.enterprise .pd-claim-marquee { overflow: hidden; }
.enterprise .pd-claim-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.enterprise .pd-claim-text { flex-shrink: 0; padding: 0 .5em .08em 0; margin: 0; white-space: nowrap; text-wrap: nowrap; font: 500 clamp(76px, 12.5vw, 210px)/1 var(--font-display); letter-spacing: -0.055em; color: var(--ink); }
.enterprise .pd-claim-tile { position: absolute; left: 50%; top: 50%; width: clamp(86px, 9vw, 132px); aspect-ratio: 1; margin: calc(clamp(86px, 9vw, 132px) / -2 - 30px) 0 0 calc(clamp(86px, 9vw, 132px) / -2);
  border-radius: 30%; display: grid; place-items: center; background: linear-gradient(145deg, #8C7BFF 0%, #634AFC 48%, #3A22C9 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -10px 22px rgba(20, 8, 90, .45), 0 34px 60px -18px rgba(62, 36, 214, .65); animation: pdTile 5s ease-in-out infinite alternate; }
.enterprise .pd-claim-tile img { width: 50%; height: 50%; filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(20, 8, 90, .4)); }
@keyframes pdTile { from { transform: translate(-18px, -10px) rotate(-10deg); } to { transform: translate(18px, 12px) rotate(8deg); } }
.enterprise .pd-claim-sub { max-width: 560px; margin: clamp(20px, 2.4vw, 36px) auto 0; padding-inline: var(--gutter); font: 500 clamp(20px, 2vw, 28px)/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .enterprise .pd-claim-track { animation: none; width: 100%; justify-content: center; padding-inline: var(--gutter); }
  .enterprise .pd-claim-text { font-size: clamp(48px, 8vw, 120px); white-space: normal; text-wrap: balance; padding-right: 0; }
  .enterprise .pd-claim-text[aria-hidden] { display: none; }
  .enterprise .pd-claim-tile { display: none; }
}

/* ---------- 04 CHAPTERS — shared head + module label + "Learn more" ---------- */
.enterprise .pd-chapter-head { position: relative; max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; }
.enterprise .pd-chapter-head .eyebrow { margin-bottom: 18px; }
.enterprise .pd-chapter-head h2 { color: inherit; }
.enterprise .pd-mod { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-body); color: var(--brand-hover); letter-spacing: .01em; }
.enterprise .pd-mod::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.enterprise .pd-more { display: inline-block; margin-top: 24px; font: 500 15px/1.4 var(--font-body); color: var(--brand-hover); transition: color .2s; }
.enterprise .pd-more svg { display: inline-block; width: 16px; height: 16px; margin-left: 5px; vertical-align: -3px; transition: transform .25s var(--ease-out); }   /* arrow stays after the last word when the label wraps */
.enterprise .pd-more:hover { color: var(--brand); }
.enterprise .pd-more:hover svg { transform: translate(2px, -2px); }

/* 04a stacking panels — pay-co "Digital wallets → Next-gen technology": panels stick below the nav and pile up;
   the one underneath shrinks + dims as the next slides over it (js/product.js sets --p per card) */
.enterprise .pd-stack { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.enterprise .pd-stack-card { --p: 0; position: sticky; top: calc(96px + var(--i) * 22px); margin-bottom: 36px; }
.enterprise .pd-stack-card:last-child { margin-bottom: 0; }
.enterprise .pd-stack-inner { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 4vw, 60px); border-radius: var(--r-panel); transform-origin: 50% 0; transform: scale(calc(1 - var(--p) * .05)); box-shadow: 0 -20px 60px -30px rgba(11, 10, 20, .35); }
.enterprise .pd-stack-inner::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #0B0A14; opacity: calc(var(--p) * .28); border-radius: inherit; }   /* dims as it's covered */
.enterprise .pd-stack-copy { position: relative; z-index: 1; max-width: 500px; }
.enterprise .pd-stack-copy h3 { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.enterprise .pd-stack-copy p { margin-top: 18px; font-size: 17px; line-height: 1.65; }
.enterprise .pd-stack-visual { position: relative; z-index: 1; }
.enterprise .pd-stack-visual .pd-frame { aspect-ratio: 1.2; }
.enterprise .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }   /* Cards-image-bg.png */
.enterprise .pd-stack-card .pd-stack-visual .pd-frame:has(> .mi)::before { display: none; }
/* themes */
.enterprise .pd-stack-card.is-purple .pd-stack-inner { background: radial-gradient(90% 70% at 85% 110%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(160deg, #7A63FF 0%, #634AFC 45%, #4A31E6 100%); color: #fff; }
.enterprise .pd-stack-card.is-dark .pd-stack-inner { background: radial-gradient(70% 80% at 100% 0%, rgba(99, 74, 252, .38), transparent 60%), #0B0A14; color: #fff; }
.enterprise .pd-stack-card.is-light .pd-stack-inner { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), 0 -20px 60px -30px rgba(11, 10, 20, .25); }
.enterprise .pd-stack-card.is-purple p, .enterprise .pd-stack-card.is-dark p { color: rgba(255, 255, 255, .78); }
.enterprise .pd-stack-card.is-light p { color: var(--text-2); }
.enterprise .pd-stack-card.is-purple .pd-mod, .enterprise .pd-stack-card.is-dark .pd-mod { color: #DCD6FF; }
.enterprise .pd-stack-card.is-purple .pd-mod::before { background: #fff; } .enterprise .pd-stack-card.is-dark .pd-mod::before { background: var(--brand-soft); }
.enterprise .pd-stack-card.is-purple .pd-bullets li, .enterprise .pd-stack-card.is-dark .pd-bullets li { color: #fff; }
.enterprise .pd-stack-card.is-purple .pd-bullets svg { background: rgba(255, 255, 255, .18); color: #fff; }
.enterprise .pd-stack-card.is-dark .pd-bullets svg { background: rgba(123, 92, 255, .22); color: var(--brand-soft); }
.enterprise .pd-stack-card.is-purple .pd-more, .enterprise .pd-stack-card.is-dark .pd-more { color: #fff; }
.enterprise .pd-stack-card.is-purple .pd-frame { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.enterprise .pd-stack-card.is-purple .pd-frame::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 56px, transparent 56px 70px); }
.enterprise .pd-stack-card.is-dark .pd-frame { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.enterprise .pd-stack-card.is-dark .pd-frame::before { background: repeating-linear-gradient(90deg, rgba(184, 173, 255, .07) 0 56px, transparent 56px 70px); }
@media (max-width: 900px) {   /* panels taller than the screen can't stick: plain stacked cards */
  .enterprise .pd-stack-card { position: relative; top: auto; margin-bottom: 20px; }
  .enterprise .pd-stack-inner { grid-template-columns: 1fr; min-height: 0; transform: none; }
  .enterprise .pd-stack-inner::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .enterprise .pd-stack-inner { transform: none; } .enterprise .pd-stack-inner::after { display: none; } }

/* 04a spotlight rows — text + bullets | framed visual, alternating */
.enterprise .pd-spot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.enterprise .pd-spot.is-flip .pd-spot-copy { order: 2; }
.enterprise .pd-spot-copy { max-width: 520px; }
.enterprise .pd-spot-copy h3 { margin-top: 18px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.enterprise .pd-spot-copy p { margin-top: 18px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.enterprise .pd-bullets { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.enterprise .pd-bullets li { display: flex; align-items: center; gap: 12px; font: 500 15px/1.3 var(--font-body); color: var(--text); }
.enterprise .pd-bullets svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 7px; background: var(--brand-10); color: var(--brand); }
.enterprise .pd-frame { position: relative; aspect-ratio: 1.18; padding: clamp(18px, 2.6vw, 36px); border-radius: var(--r-card-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #EEEBFF 0%, #E4DFFF 100%); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.enterprise .pd-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(99, 74, 252, .07) 0 56px, transparent 56px 70px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.enterprise .pd-frame picture { display: block; width: 100%; height: 100%; }
.enterprise .pd-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(49, 30, 160, .18)); }
@media (max-width: 900px) {
  .enterprise .pd-spot { grid-template-columns: 1fr; gap: 32px; }
  .enterprise .pd-spot.is-flip .pd-spot-copy { order: 0; }
  .enterprise .pd-spot-copy { max-width: none; }
}

/* 04c dark panel — two halves */
.enterprise .pd-dark { padding-block: var(--section-y); }
.enterprise .pd-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/images/pages/blog/automate-bg.svg") center top / 100% auto no-repeat; }
.enterprise .pd-dark .pd-dark .pd-mod { color: var(--brand-soft); }
.enterprise .pd-dark .pd-mod::before { background: var(--brand-soft); }
.enterprise .pd-dark .pd-more { color: #fff; }
.enterprise .pd-dark .pd-more:hover { color: var(--brand-soft); }

/* 04d bento — self-service access points + payroll */
.enterprise .pd-tile { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-card-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.enterprise .pd-tile h3 { margin-top: 14px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.02em; }
.enterprise .pd-tile p { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.enterprise .pd-tile .pd-more { margin-top: auto; padding-top: 22px; }

/* ---------- 05 CTA — two buttons in the AMI Meet card ---------- */
.enterprise .pd-meet-cta { justify-content: center; margin-top: 28px; }

/* Insight & control + payroll tile: animated minis on the cards background, glass border */
@media (max-width: 767px) { .enterprise .pd-hero .hero-copy .lede { margin-top: 48px; } }

/* big claim: the S tile sits above the scrolling line instead of over it */
.enterprise .pd-claim { display: flex; flex-direction: column; align-items: center; }
.enterprise .pd-claim-marquee { width: 100%; }
.enterprise .pd-claim .pd-claim-tile { position: relative; left: auto; top: auto; order: -1; margin: 0 0 clamp(32px, 4vw, 52px); }
/* header pill: gentler float, so the description can sit closer (user, 1 Oct) */
.enterprise .pd-hero .hero-copy .lede { margin-top: 34px; }
@media (max-width: 767px) { .enterprise .pd-hero .hero-copy .lede { margin-top: 32px; } }
.enterprise .pd-claim .pd-claim-tile { margin-bottom: clamp(4px, 1vw, 14px); }   /* closer to the sliding line (user, 1 Oct) */
@media (max-width: 767px) { .enterprise .pd-claim .pd-claim-tile { margin-bottom: 20px; } }

/* css/minis.css */
/* ==========================================================================
   Animated product mini-UIs (tools/product/minis.py · js/minis.js), rebuilt from the exported designs.
   States are toggled by classes; with reduced motion / no JS they show the designed end state.
   ========================================================================== */
.enterprise .mi { position: relative; font-family: var(--font-body); color: #2C2853; text-align: left; background: #fff; box-shadow: 0 40px 70px -30px rgba(33, 18, 140, .45), 0 0 0 1px rgba(11, 10, 20, .04); }
.enterprise .mi svg { display: block; }
.enterprise .pd-frame .mi { margin: auto; }
.enterprise .pd-frame .mi img { filter: none; }   /* not the frame's product-screenshot image rules */

/* cursor (moved by js/minis.js) */
.enterprise .mi-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 60%), var(--cy, 110%)); transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .3s; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.enterprise .mi.is-cursor .mi-cursor { opacity: 1; }
.enterprise .mi-cursor.is-press svg { transform: scale(.82); transition: transform .12s; }
.enterprise .mi-cursor svg { width: 22px; height: 22px; transition: transform .2s; transform-origin: 20% 15%; }

/* toast */
.enterprise .mi-toast { position: absolute; left: 50%; bottom: 18px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 12px; background: #fff; white-space: nowrap;
  font: 500 12.5px/1 var(--font-body); color: var(--text); box-shadow: 0 16px 34px -12px rgba(33, 18, 140, .45), 0 0 0 1px rgba(11, 10, 20, .05);
  opacity: 0; transform: translate(-50%, 10px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.enterprise .mi-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.enterprise .mi-toast-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #E5FDF0; color: #007C66; }
.enterprise .mi-toast-ic svg { width: 12px; height: 12px; }

/* ---------- Employee records (230×338 export, shown ~1.3×) ---------- */
@keyframes miPulse { to { box-shadow: 0 0 0 7px rgba(27, 202, 167, 0); } }

/* ---------- AMI assistant (291×329 export) ---------- */
.enterprise .mi-ami { width: min(390px, 100%); border-radius: 18px; overflow: hidden; }
.enterprise .mi-ami-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #EFEFEF; }
.enterprise .mi-ami-head b { font: 600 17px/1 var(--font-body); color: #393940; }
.enterprise .mi .mi-ami-orb { width: 34px; height: auto; flex-shrink: 0; margin: -4px -2px -8px; }   /* assets/images/Chatbot.png (has its own soft shadow) */
.enterprise .mi-ami-x { margin-left: auto; color: #B0B0B0; }
.enterprise .mi-ami-x svg { width: 16px; height: 16px; }
.enterprise .mi-ami-body { display: flex; flex-direction: column; gap: 14px; min-height: 330px; margin: 10px; padding: 14px; border-radius: 14px; background: #FBFBFD; box-shadow: inset 0 0 0 1px #ECEEF3; }
.enterprise .mi-ami-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.enterprise .mi-ami-av img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .mi-ami-dots { display: none; gap: 5px; padding: 12px 14px; align-self: flex-start; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E4E7F0; }
.enterprise .mi-ami-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A3A2B1; animation: miDot 1s ease-in-out infinite; }
.enterprise .mi-ami-dots i:nth-child(2) { animation-delay: .15s; } .enterprise .mi-ami-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes miDot { 50% { transform: translateY(-4px); background: #894AFF; } }
.enterprise .mi-ami.is-thinking .mi-ami-dots { display: flex; }
.enterprise .mi-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #894AFF; animation: miBlink .8s steps(1) infinite; }
@keyframes miBlink { 50% { opacity: 0; } }

@media (max-width: 600px) {
  .enterprise .mi-ami-body { min-height: 300px; }
}

/* frames holding a mini-UI size to it (the fixed aspect ratio would crop the taller widgets) */
.enterprise .pd-frame:has(> .mi) { aspect-ratio: auto; padding: clamp(24px, 3vw, 40px); }

/* translucent glass border on the card animations — same treatment as the hero product window */
.enterprise .pd-stack-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.enterprise .pd-stack-visual .mi-ami { border-radius: 26px; }
/* transparent stages (.mi-b: a card floating in a see-through mini) — the glass border moves onto the card so it hugs the asset, not the frame */
.enterprise .pd-stack-visual .mi-b { border: 0; overflow: visible; }   /* visible: the card's shadow isn't cropped by the stage */

/* ---------- Performance — review cycles (Performance.svg 455×349) ---------- */

@keyframes miBump { 40% { transform: scale(1.18); } }

/* ---------- Customisation — screen designer fields (Customisation.svg 447×233) ---------- */
.enterprise .mi-cu-drag { width: 10px; height: 14px; color: #B0B3C5; flex-shrink: 0; }
.enterprise .mi-cu-ic { width: 16px; height: 16px; color: #495066; flex-shrink: 0; }

/* ---------- inside the home T&A frames: undo the screenshot rules, centre, glass border ---------- */
.enterprise .ta-frame:has(> .mi) { display: grid; place-items: center; }
.enterprise .ta-frame .mi img { position: static; inset: auto; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }

/* ---------- Screen designer (Custom employee records.svg) ---------- */
.enterprise .mi-sd { width: min(400px, 100%); padding: 22px 28px 70px; border-radius: 16px; text-align: center;
  background: #fff radial-gradient(circle, #DADCE6 1px, transparent 1.3px) 0 0 / 18px 18px; }
.enterprise .mi-sd-title { display: block; margin-bottom: 18px; font: 600 16px/1.2 var(--font-body); color: #2C2853; }
.enterprise .mi-sd-field { position: relative; padding: 12px 14px 14px; border-radius: 8px; background: #fff; text-align: left; box-shadow: inset 0 0 0 1px #E4E7F0; transition: box-shadow .3s; }
.enterprise .mi-sd-field.is-sel { box-shadow: inset 0 0 0 1.5px #8C7BFF; }
.enterprise .mi-sd-lbl { display: flex; justify-content: space-between; font: 500 11px/1.2 var(--font-body); color: #2C2853; }
.enterprise .mi-sd-lbl em { font-style: normal; font-weight: 400; color: #5F6C87; }
.enterprise .mi-sd-input { display: flex; align-items: center; justify-content: space-between; height: 30px; margin-top: 8px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px #DCDFFF; font-size: 11px; color: #5F6C87; }
.enterprise .mi-sd-input svg { width: 13px; height: 13px; color: #2C2853; }
.enterprise .mi-sd-bar { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); display: flex; border-radius: 6px; overflow: hidden; background: #25233A; color: #fff; font: 500 10.5px/1 var(--font-body); white-space: nowrap; transition: opacity .3s; }
.enterprise .mi-sd-bar > span { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; }
.enterprise .mi-sd-bar svg { width: 12px; height: 12px; }
.enterprise .mi-sd-x { border-left: 1px solid rgba(255, 255, 255, .2); }
.enterprise .mi-sd.is-dropped .mi-sd-field.is-sel { box-shadow: inset 0 0 0 1px #E4E7F0; } .enterprise .mi-sd.is-dropped .mi-sd-bar { opacity: 0; }
.enterprise .mi-sd-drop { position: relative; margin-top: 22px; height: 82px; min-height: 0;   /* fixed: the dropped field is taller than the hint (no height change, user 2 Oct) */ display: grid; place-items: center; border-radius: 10px; border: 1.5px dashed #8C7BFF; padding: 12px; transition: border-color .3s, background-color .3s, padding .4s var(--ease-out); }
.enterprise .mi-sd-hint { font-size: 11px; line-height: 1.45; color: #2C2853; max-width: 250px; transition: opacity .25s; }
.enterprise .mi-sd.is-over .mi-sd-drop { background: #F4F2FF; border-color: #634AFC; }
.enterprise .mi-sd-new { display: none; width: 100%; }
.enterprise .mi-sd.is-dropped .mi-sd-hint { display: none; }
.enterprise .mi-sd.is-dropped .mi-sd-new { display: block; animation: miPop .45s cubic-bezier(.34, 1.56, .64, 1); }
.enterprise .mi-sd.is-dropped .mi-sd-drop { border-color: transparent; padding: 0; }
@keyframes miPop { from { opacity: 0; transform: scale(.92); } }
.enterprise .mi-sd-chip { position: absolute; left: 12%; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 12px; border-radius: 6px; background: #F8F9FF;
  box-shadow: 0 14px 26px -12px rgba(49, 30, 160, .45), inset 0 0 0 1px #E4E7F0; font-size: 11.5px; color: #2C2853; transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-2deg);
  transition: transform 1s cubic-bezier(.5, 0, .2, 1), opacity .3s; }
.enterprise .mi-sd-chip .mi-cu-ic { width: 14px; height: 14px; }
.enterprise .mi-sd.is-dropped .mi-sd-chip { opacity: 0; }

/* ---------- AI-powered search (AI powered.svg) ---------- */
@media (max-width: 600px) {   /* phones: chat anchored to the input (older messages scroll off the top), ask box sized for a wrapped question */
  .enterprise .mi-as-ask { height: 108px; min-height: 0; }
}
.enterprise .mi-as-ask { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 10px 10px; padding: 12px 12px 12px 14px; min-height: 76px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E4E7F0; }
.enterprise .mi-as-ask > span:first-child { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #8A8FA3; }
.enterprise .mi-as-ask svg { width: 15px; height: 15px; color: #2C2853; }
.enterprise .mi-as-ask.is-typing > span:first-child { color: #2C2853; }
.enterprise .mi-as-send { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: #0B0A14; color: #fff; transition: transform .15s, background-color .3s; }
.enterprise .mi-as-send svg { color: #fff; }
.enterprise .mi-as-send.is-press { transform: scale(.9); background: #634AFC; }

/* ---------- Permissions (Self service.svg) ---------- */
.enterprise .mi-pm { width: min(340px, 100%); border-radius: 16px; overflow: hidden; }
.enterprise .mi-pm-head { padding: 13px 16px; background: #F0EFFF; font: 600 14px/1 var(--font-body); color: #4931DC; }
.enterprise .mi-pm-list { list-style: none; margin: 0; padding: 6px 16px 10px; }
.enterprise .mi-pm-lbl { padding: 12px 0 6px; font: 500 9.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #6C7597; }
.enterprise .mi-pm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1F2F6; font-size: 12.5px; color: #3F4147; transition: background-color .3s; }
.enterprise .mi-pm-tag { padding: 4px 7px; border-radius: 5px; font: 500 10.5px/1 var(--font-body); transition: opacity .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.enterprise .mi-pm-tag.is-ok { background: #E5FDF0; color: #007C66; } .enterprise .mi-pm-tag.is-no { background: #FFE9E9; color: #C9111C; }
.enterprise .mi-pm.is-pre .mi-pm-tag:not(.is-on) { opacity: 0; transform: scale(.6); }
.enterprise .mi-pm-row.is-scan { background: linear-gradient(90deg, transparent, #F4F2FF, transparent); }

/* ---------- Compliance overview (Iso.svg) ---------- */
.enterprise .mi-co { width: min(420px, 100%); border-radius: 16px; overflow: hidden; }
.enterprise .mi-co-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; background: #F0EFFF; font: 600 14px/1 var(--font-body); color: #4931DC; }
.enterprise .mi-co-score { padding: 4px 8px; border-radius: 6px; background: #fff; color: #007C66; font: 500 11px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.enterprise .mi-co-list { list-style: none; margin: 0; padding: 2px 18px 6px; }
.enterprise .mi-co-row { display: grid; grid-template-columns: 36px 1fr 20px; gap: 12px; align-items: center; padding: 12px 0; }
.enterprise .mi-co-row + .mi-co-row { border-top: 1px solid #F1F2F6; }
.enterprise .mi-co-ic { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #E5FDF0; color: #0A8F6A; }
.enterprise .mi-co-ic svg { width: 17px; height: 17px; }
.enterprise .mi-co-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .mi-co-txt b { font: 500 13.5px/1.2 var(--font-body); color: #3F4147; }
.enterprise .mi-co-txt span { font-size: 11px; color: #6C7597; }
.enterprise .mi-co-ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #1BCAA7; color: #fff; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.enterprise .mi-co-ok svg { width: 11px; height: 11px; }
.enterprise .mi-co.is-pre .mi-co-row:not(.is-on) .mi-co-ok { opacity: 0; transform: scale(.4); }
.enterprise .mi-co-row.is-scan { background: linear-gradient(90deg, transparent, #EEFFF6, transparent); }

/* permissions: bigger */
.enterprise .mi-pm-row { font-size: 14px; padding: 10px 0; } .enterprise .mi-pm-tag { font-size: 11.5px; padding: 5px 8px; } .enterprise .mi-pm-head { font-size: 15px; } .enterprise .mi-pm-lbl { font-size: 10.5px; }

/* ---------- Counsel (Counsel.svg) ---------- */

.enterprise .pd-stack-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .enterprise .pd-stack-inner { grid-template-columns: minmax(0, 1fr); } }
/* done buttons stay purple; a green toast confirms instead */
.enterprise .mi-toast.is-green { background: #1BCAA7; color: #fff; box-shadow: 0 16px 34px -12px rgba(10, 143, 106, .55); }
.enterprise .mi-toast.is-green .mi-toast-ic { background: rgba(255, 255, 255, .25); color: #fff; }

/* ===== every animation panel: 16px visible corners (user, 1 Oct). Where a panel has the 8px glass border, the outer
   radius is 24px so the white panel inside it reads as 16px. ===== */
.enterprise .mi { border-radius: 16px !important; }
.enterprise .pd-stack-visual .mi { border-radius: 24px !important; }
.enterprise .mi-pm-head, .enterprise .mi-co-head { border-top-left-radius: 16px; border-top-right-radius: 16px; }

/* ===================== Performance (page 5) ===================== */

/* Automate review — rules fire in turn */
.enterprise .mi-ra-live { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-body); color: #007C66; letter-spacing: .02em; }
.enterprise .mi-ra-live i { width: 7px; height: 7px; border-radius: 50%; background: #1BCAA7; animation: miRaPulse 1.6s ease-in-out infinite; }
@keyframes miRaPulse { 50% { box-shadow: 0 0 0 5px rgba(27, 202, 167, .18); } }

/* Deeper AI — AMI ranks the sales team */
.enterprise .mi-da { width: min(400px, 100%); }
.enterprise .mi-da-body { gap: 12px; min-height: 0; height: 336px; overflow: hidden; }
.enterprise .mi-da-q { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.enterprise .mi .mi-da-q p { padding: 9px 12px; border-radius: 12px; background: #F2F4FA; box-shadow: inset 0 0 0 1px #E9EDF4; font-size: 13px; color: #3F4147; min-height: 2.6em; }
.enterprise .mi .mi-da-a p { padding: 11px 13px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E4E7F0; font-size: 12.5px; line-height: 1.5; color: #3F4147; }
.enterprise .mi-da-list { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.enterprise .mi-da-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 40% 34px; align-items: center; gap: 10px; transition: opacity .4s, transform .5s var(--ease-out); }
.enterprise .mi-da-row b { font: 500 13px/1.2 var(--font-body); color: #3F4147; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .mi-da-bar { height: 7px; border-radius: 4px; background: #E3E6EB; overflow: hidden; }
.enterprise .mi-da-bar i { display: block; height: 100%; border-radius: inherit; background: #7B5CFA; transform-origin: left; transform: scaleX(var(--v)); transition: transform .9s var(--ease-out); }
.enterprise .mi-da-pc { font: 500 12.5px/1 var(--font-body); text-align: right; color: #3F4147; font-variant-numeric: tabular-nums; }
.enterprise .mi-da .mi-da-a, .enterprise .mi-da .mi-da-list { transition: opacity .35s; }
.enterprise .mi-da.is-asking .mi-da-a, .enterprise .mi-da.is-asking .mi-da-list, .enterprise .mi-da.is-thinking .mi-da-a, .enterprise .mi-da.is-thinking .mi-da-list { display: none; }
.enterprise .mi-da .mi-ami-dots { display: none; }
.enterprise .mi-da.is-thinking .mi-ami-dots { display: flex; }
.enterprise .mi-da-row.is-off { opacity: 0; transform: translateY(8px); }
.enterprise .mi-da-row.is-off .mi-da-bar i { transform: scaleX(0); }

@media (max-width: 600px) {
  .enterprise .mi-da-body { height: 410px; }
}
@keyframes miRaBlink { 50% { opacity: .35; } }
@media (max-width: 600px) {

  .enterprise .mi-da-row { grid-template-columns: 28px minmax(0, 1fr) 60px 32px; gap: 8px; }
}

/* ==========================================================================
   Holidays & Events (page 6) — rebuilt from Holiday events.svg, Track holidays.svg, approval workflow.svg, Heatmaps.svg,
   Calendar integrations.svg, Deeper insights.svg, self-service.svg, custom holidays.svg
   ========================================================================== */

/* ---------- Track holidays and entitlements: upcoming widget + team outstanding (Track holidays.svg 604×356) ---------- */
.enterprise .mi-ul-seg { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #CFD3FF; }
.enterprise .mi-ul-seg span { padding: 6px 11px; border-radius: 6px; font: 500 12.5px/1 var(--font-body); color: #5C5980; transition: background-color .3s, color .3s; }
.enterprise .mi-ul-seg .is-on { background: #E6E7FF; color: #4931DC; }
.enterprise .mi-ul-list { grid-area: 1 / 1; list-style: none; margin: 0; padding: 0; transition: opacity .35s, transform .5s var(--ease-out); }
.enterprise .mi-ul-list:not(.is-on) { opacity: 0; transform: translateX(16px); pointer-events: none; }
.enterprise .mi-ul-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; box-shadow: inset 0 -1px 0 #EBEEFF; transition: opacity .4s, transform .5s var(--ease-out); }
.enterprise .mi-ul-row:nth-child(2) { transition-delay: .08s; } .enterprise .mi-ul-row:nth-child(3) { transition-delay: .16s; }
.enterprise .mi-ul-ic { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg); }
.enterprise .mi-ul-ic > svg { width: 17px; height: 17px; }
.enterprise .mi-ul-ic.is-av { background: none; }
.enterprise .mi-ul-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; } .enterprise .mi-ul-av img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .mi-ul-badge { position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg); box-shadow: 0 0 0 2px #FDFCFF; }
.enterprise .mi-ul-badge svg { width: 10px; height: 10px; }
.enterprise .mi-ul-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .mi-ul-txt b { font: 500 14px/1.3 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .mi-ul-txt span { font-size: 12.5px; line-height: 1.35; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .mi-ul-foot { padding: 14px; text-align: center; font: 500 13.5px/1 var(--font-body); color: #4931DC; }

/* ==========================================================================
   Absence (page 7) — Record absences.svg, In and out.svg, rules and reactions.svg, bradford.svg, Tackle.svg, RTW.svg
   ========================================================================== */

/* ---------- Tackle problems with AI analysis: AMI ranks departments (Tackle.svg 392×476) ---------- */
.enterprise .mi-aa .mi-da-body { height: 352px; }
.enterprise .mi-aa-row { grid-template-columns: minmax(0, 1fr) 46% 40px; }
.enterprise .mi-aa-row b { font-weight: 400; font-size: 14px; color: #495066; }
.enterprise .mi-aa .mi-da-bar { background: #CED5DD; }
.enterprise .mi-aa .mi-da-list { gap: 16px; margin-top: 8px; }
.enterprise .mi-aa .mi-da-pc { font-size: 13.5px; color: #495066; }
@media (max-width: 600px) { .enterprise .mi-aa .mi-da-body { height: 420px; } .enterprise .mi-aa-row { grid-template-columns: minmax(0, 1fr) 40% 38px; } }

/* ---------- Managed return to work: open sickness (RTW.svg 447×255) ---------- */
.enterprise .mi-os-head { display: flex; align-items: center; gap: 9px; padding: 14px 16px; background: #EFF1FF; box-shadow: inset 0 -1px 0 #EBEEFF; }
.enterprise .mi-os-ic { width: 17px; height: 17px; color: #634AFC; }
.enterprise .mi-os-head b { font: 600 16px/1 var(--font-body); color: #4931DC; }
.enterprise .mi-os-head i { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: #EF4444; color: #fff; font: 500 11px/1 var(--font-body); font-style: normal; }
.enterprise .mi-os-head i.is-bump { animation: miBump .4s var(--ease-out); }
.enterprise .mi-os-add { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px/1 var(--font-body); color: #634AFC; } .enterprise .mi-os-add svg { width: 15px; height: 15px; }
.enterprise .mi-os-list { list-style: none; margin: 0; padding: 0; }
.enterprise .mi-os-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px auto; align-items: center; gap: 12px; padding: 11px 16px; box-shadow: inset 0 -1px 0 #EBEEFF; transition: opacity .4s, transform .5s var(--ease-out), background-color .3s; }
.enterprise .mi-os-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; } .enterprise .mi-os-av img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .mi-os-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }   /* name over the date: full names fit the frame */
.enterprise .mi-os-who b { font: 500 14px/1.3 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .mi-os-who span { font-size: 12px; color: #5C5980; white-space: nowrap; }
.enterprise .mi-os-btn { padding: 8px 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px #CFD3FF; font: 400 12px/1 var(--font-body); color: #5C5980; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s, transform .15s; }
.enterprise .mi-os-btn.is-hot { background: #F6F5FF; box-shadow: inset 0 0 0 1px #634AFC; color: #4931DC; }
.enterprise .mi-os-btn.is-press { transform: scale(.94); }
.enterprise .mi-os-row.is-back { background: #F3FFF8; }
.enterprise .mi-os-row.is-back .mi-os-btn { background: #1BCAA7; color: #fff; box-shadow: none; }

@media (max-width: 600px) {
  .enterprise .mi-os-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
   .enterprise .mi-os-who b { white-space: normal; }
}

/* in the Absence panels / frames */

.enterprise .pd-spot-visual .pd-frame:has(> .mi) { background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.enterprise .pd-spot-visual .pd-frame:has(> .mi)::before { display: none; }
.enterprise .pd-spot-visual .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }

/* ==========================================================================
   Reporting (page 8) — Tell powerful.svg, Infographics.svg, Can you just tell me.svg, Ai report writer.svg, Take action.svg,
   report hr.svg, Report assist.svg; hero = ami_absence(report=True)
   ========================================================================== */

/* shared: typed text over a hidden full-length copy (no reflow while typing), answers revealed word by word */
.enterprise .mi-tm-ghost { visibility: hidden; }
.enterprise .mi-tm-typed { position: absolute; inset: 9px 12px; }

/* ==========================================================================
   Reporting quick-benefit cards — animations on the card stage (Flow Suite feature-card style). Fixed stage height; nothing reflows.
   ========================================================================== */
.enterprise .mi-b { position: relative; width: 100%; height: 100%; padding: 16px; background: none !important; box-shadow: none !important; container-type: inline-size; overflow: hidden; }
.enterprise .b-lbl { font: 600 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #8A8DA0; white-space: nowrap; }

/* ==========================================================================
   Customisation (page 9) — Screen details.svg (660×620) + custom-data workflow (new graphic)
   ========================================================================== */

/* Automate your custom data: custom screen → workflow */
.enterprise .mi-cf { width: min(450px, 100%); padding: 0; background: none !important; box-shadow: none !important; border: 0 !important; }
.enterprise .mi-cf-src, .enterprise .mi-cf-flow { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #ECEBFA, 0 26px 48px -26px rgba(20, 12, 90, .55); }
.enterprise .mi-cf-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; box-shadow: inset 0 -1px 0 #F0F0F5; }
.enterprise .mi-cf-hic { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: #E6E7FF; color: #634AFC; }
.enterprise .mi-cf-hic svg { width: 18px; height: 18px; }
.enterprise .mi-cf-hl { display: flex; flex-direction: column; gap: 3px; } .enterprise .mi-cf-hl b { font: 600 14px/1.2 var(--font-body); color: #2C2853; } .enterprise .mi-cf-hl span { font-size: 11.5px; color: #6B6D80; }
.enterprise .mi-cf-fields { list-style: none; margin: 0; padding: 4px 14px 8px; }
.enterprise .mi-cf-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 6px; margin: 0 -6px; border-radius: 8px; font-size: 12.5px; color: #5C5980; transition: background-color .35s; }
.enterprise .mi-cf-f > span { display: inline-flex; align-items: center; gap: 7px; }
.enterprise .mi-cf-f b { font-weight: 500; color: #2C2853; display: inline-block; transition: transform .3s var(--ease-out), opacity .3s; }
.enterprise .mi-cf-tag { padding: 3px 6px; border-radius: 5px; background: #FFF4D6; color: #9A6B00; font: 500 10px/1 var(--font-body); font-style: normal; }
.enterprise .mi-cf-f.is-hot { background: #FFFBEF; box-shadow: inset 0 0 0 1px #FBEBB8; }
.enterprise .mi-cf-f b.is-flip { transform: translateY(-6px); opacity: 0; }
.enterprise .mi-cf-link { position: relative; height: 38px; }
.enterprise .mi-cf-line { position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background-image: linear-gradient(180deg, #C9C2FF 55%, transparent 0); background-size: 2px 7px; }
.enterprise .mi-cf-pkt { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 3px; background: #634AFC; box-shadow: 0 0 12px 3px rgba(123, 92, 255, .6); opacity: 0; }
.enterprise .mi-cf-pkt.is-go { animation: cfPkt .7s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes cfPkt { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(28px); } }
.enterprise .mi-cf-fh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 16px 16px 0 0; background: #E2FFF6; }
.enterprise .mi-cf-fh b { font: 600 13.5px/1.2 var(--font-body); color: #007C66; }
.enterprise .mi-cf-steps { list-style: none; margin: 0; padding: 4px 10px 8px; }
.enterprise .mi-cf-s { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 10px; transition: background-color .35s, opacity .35s; }
.enterprise .mi-cf-s + .mi-cf-s::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: #F0F0F5; }
.enterprise .mi-cf-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.enterprise .mi-cf-ic svg { width: 18px; height: 18px; }
.enterprise .mi-cf-ic.is-amber { background: #FFF4D6; color: #B07A00; } .enterprise .mi-cf-ic.is-purple { background: #ECE8FF; color: #5B3FE8; } .enterprise .mi-cf-ic.is-green { background: #E5FBEF; color: #0A8F4E; }
.enterprise .mi-cf-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .mi-cf-txt b { font: 500 13px/1.25 var(--font-body); color: #3F4147; }
.enterprise .mi-cf-txt span { font-size: 11.5px; color: #8A93AE; }
.enterprise .mi-cf-pill { min-width: 62px; padding: 5px 8px; border-radius: 7px; background: #E2FBF2; color: #007C66; font: 500 11.5px/1 var(--font-body); text-align: center; transition: background-color .3s, color .3s; }
.enterprise .mi-cf-pill.is-trig { background: #FFF4D6; color: #9A6B00; }
.enterprise .mi-cf-s.is-fire { background: #FFFBEF; } .enterprise .mi-cf-s.is-fire .mi-cf-ic { transform: scale(1.1); } .enterprise .mi-cf-s.is-fire .mi-cf-pill { animation: miRaBlink 1s ease-in-out infinite; }
.enterprise .mi-cf-s.is-wait { opacity: .5; } .enterprise .mi-cf-s.is-wait .mi-cf-pill { background: #EEF0F4; color: #8A8DA0; }
.enterprise .mi-cf-s.is-run { background: #F7F6FF; } .enterprise .mi-cf-s.is-run .mi-cf-ic { transform: scale(1.1); } .enterprise .mi-cf-s.is-run .mi-cf-pill { background: #634AFC; color: #fff; }
.enterprise .mi-cf-s.is-fire::before, .enterprise .mi-cf-s.is-fire + .mi-cf-s::before, .enterprise .mi-cf-s.is-run::before, .enterprise .mi-cf-s.is-run + .mi-cf-s::before { opacity: 0; }
@media (max-width: 600px) { .enterprise .mi-cf-txt span { display: none; } .enterprise .mi-cf-f { font-size: 12px; } }

/* ==========================================================================
   Sense Automate — Workflow Builder value cards (tools/product/minis.py au_*). Same stage as the reporting cards (.mi-b);
   Automate green marks live / connected states, Sense purple marks what the cursor clicks.
   ========================================================================== */
.enterprise .mi-au1, .enterprise .mi-au2, .enterprise .mi-au3 { display: flex; flex-direction: column; justify-content: center; }

/* 1 · Build & automate workflows */
.enterprise .au1-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.enterprise .au1-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.enterprise .au1-name b { font: 600 13.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .au1-pub { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: #00CD9C; color: #fff; font: 500 11.5px/1 var(--font-body); white-space: nowrap; transition: background-color .3s, color .3s, transform .15s; }
.enterprise .au1-pub i { display: none; width: 6px; height: 6px; border-radius: 50%; background: #00CD9C; animation: miPulse 1.8s ease-out infinite; }
.enterprise .au1-pub.is-live { background: #E2FBF2; color: #007A5C; } .enterprise .au1-pub.is-live i { display: block; }
.enterprise .au1-pub.is-press { transform: scale(.94); }
.enterprise .au1-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.enterprise .au1-node { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E6E8F0, 0 6px 14px -10px rgba(33, 18, 140, .3); }
.enterprise .au1-node > .au1-ic, .enterprise .au1-node > .au1-txt { transition: opacity .35s, transform .45s var(--ease-out); }
.enterprise .au1-node + .au1-node::before { content: ""; position: absolute; left: 25px; top: -12px; width: 2px; height: 12px; border-radius: 1px; background: #00CD9C; transform-origin: top; transition: transform .35s var(--ease-out); }
.enterprise .au1-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; }
.enterprise .au1-ic svg { width: 15px; height: 15px; }
.enterprise .au1-ic.is-trig { background: #E2FBF2; color: #00A37C; } .enterprise .au1-ic.is-cond { background: #FFF4D6; color: #B07A00; } .enterprise .au1-ic.is-act { background: #ECE8FF; color: #5B3FE8; }
.enterprise .au1-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .au1-txt em { font: 600 9.5px/1 var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #8A8DA0; }
.enterprise .au1-txt b { font: 500 12.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .au1-add { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; font: 500 12px/1 var(--font-body); color: #8A8DA0;
  background: repeating-linear-gradient(90deg, #C9CCD8 0 5px, transparent 5px 9px) top / 100% 1.5px no-repeat, repeating-linear-gradient(90deg, #C9CCD8 0 5px, transparent 5px 9px) bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(0deg, #C9CCD8 0 5px, transparent 5px 9px) left / 1.5px 100% no-repeat, repeating-linear-gradient(0deg, #C9CCD8 0 5px, transparent 5px 9px) right / 1.5px 100% no-repeat;
  opacity: 0; pointer-events: none; transition: opacity .3s, color .25s; }
/* off: an empty slot (dashed "+ Add step" only when it's the next one) */
.enterprise .au1-node:not(.is-on) { background: transparent; box-shadow: none; }
.enterprise .au1-node:not(.is-on) > .au1-ic, .enterprise .au1-node:not(.is-on) > .au1-txt { opacity: 0; transform: translateY(6px) scale(.97); }
.enterprise .au1-node:not(.is-on)::before { transform: scaleY(0); }
.enterprise .au1-node.is-next .au1-add { opacity: 1; }
.enterprise .au1-node.is-next.is-hot .au1-add { color: #634AFC; background-color: #F7F6FF; }

/* 2 · Integrate third-party services */
.enterprise .au2-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.enterprise .au2-count { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 7px; background: #E2FBF2; color: #007A5C; font: 500 11.5px/1 var(--font-body); }
.enterprise .au2-count b { font-weight: 600; font-variant-numeric: tabular-nums; }
.enterprise .au2-map { position: relative; padding-left: 56px; }
.enterprise .au2-hub { position: absolute; left: 0; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 12px; box-shadow: 0 0 0 5px #E2FBF2, 0 12px 24px -10px rgba(0, 163, 124, .6); }
.enterprise .au2-hub img { width: 100%; height: 100%; display: block; border-radius: inherit; }
.enterprise .au2-map::before { content: ""; position: absolute; left: 42px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: #D5D8E2; }   /* hub → bus */
.enterprise .au2-bus { position: absolute; left: 54px; top: 23px; bottom: 23px; width: 2px; background: #D5D8E2; border-radius: 1px; }
.enterprise .au2-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.enterprise .au2-app { display: flex; align-items: center; height: 46px; }
.enterprise .au2-line { position: relative; flex: 1; min-width: 18px; height: 2px; background: #D5D8E2; transition: background-color .3s; }   /* grey lines (user, 6 Oct); not connected = dashed */
.enterprise .au2-app:not(.is-on) .au2-line { background: repeating-linear-gradient(90deg, #C9CCD8 0 4px, transparent 4px 7px); }
.enterprise .au2-pkt { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #00CD9C; box-shadow: 0 0 0 4px rgba(0, 205, 156, .22), 0 0 12px rgba(0, 205, 156, .9); opacity: 0; }
.enterprise .au2-app.is-out .au2-pkt { animation: au2Out .8s cubic-bezier(.5, 0, .3, 1) forwards; }
.enterprise .au2-app.is-in .au2-pkt { animation: au2In .8s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes au2Out { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes au2In { 0% { left: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.enterprise .au2-card { position: relative; flex: 0 0 auto; width: min(200px, 66%); height: 100%; display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 11px; background: #fff;
  box-shadow: inset 0 0 0 1px #E6E8F0, 0 6px 14px -10px rgba(33, 18, 140, .3); transition: box-shadow .3s; }
.enterprise .au2-app.is-flash .au2-card { box-shadow: inset 0 0 0 1.5px #00CD9C, 0 8px 18px -10px rgba(0, 163, 124, .5); }
.enterprise .au2-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: #F2F3F8; color: #495066; }
.enterprise .au2-ic svg { width: 15px; height: 15px; }
.enterprise .au2-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.enterprise .au2-txt b { font: 500 12.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .au2-st { position: relative; height: 13px; font-size: 11px; line-height: 13px; color: #6B6D80; white-space: nowrap; }
.enterprise .au2-st > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 3px; transition: opacity .3s, transform .35s var(--ease-out); }
.enterprise .au2-st svg { width: 11px; height: 11px; }
.enterprise .au2-st [data-done] { color: #007A5C; font-weight: 500; opacity: 0; transform: translateY(5px); }
.enterprise .au2-app.is-done .au2-st [data-idle] { opacity: 0; transform: translateY(-5px); } .enterprise .au2-app.is-done .au2-st [data-done] { opacity: 1; transform: none; }
.enterprise .au2-btn { display: inline-block; margin-top: -1px; padding: 2px 8px; border-radius: 5px; background: #634AFC; color: #fff; font: 500 10.5px/11px var(--font-body); white-space: nowrap; transition: transform .15s; }
.enterprise .au2-btn.is-press { transform: scale(.92); }
@container (max-width: 300px) { .enterprise .au2-card { width: 70%; padding: 0 8px; gap: 7px; } .enterprise .au2-ic { width: 24px; height: 24px; } .enterprise .au2-map { padding-left: 50px; } .enterprise .au2-hub { width: 36px; height: 36px; margin-top: -18px; } .enterprise .au2-map::before { left: 36px; } .enterprise .au2-bus { left: 48px; } }

/* 3 · Support from specialists */
.enterprise .au3-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #F0F1F6; }
.enterprise .au3-av { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #3A3A46; color: #fff; font: 600 11px/1 var(--font-body); }   /* dark grey (user, 6 Oct) */
.enterprise .au3-av i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #1BCAA7; box-shadow: 0 0 0 2px #fff; }
.enterprise .au3-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .au3-id b { font: 600 13px/1.1 var(--font-body); color: #2C2853; }
.enterprise .au3-id span { font-size: 11px; line-height: 1.1; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .au3-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: #E2FBF2; color: #007A5C; font: 500 10.5px/1 var(--font-body); }
.enterprise .au3-live i { width: 6px; height: 6px; border-radius: 50%; background: #00CD9C; animation: miPulse 1.8s ease-out infinite; }
.enterprise .au3-msg { position: relative; display: flex; }
.enterprise .au3-msg p { position: relative; margin: 0; padding: 8px 11px; font-size: 12px; line-height: 1.4; }
.enterprise .au3-msg.is-me { justify-content: flex-end; }
.enterprise .au3-msg.is-me p { max-width: 82%; border-radius: 12px 12px 3px 12px; background: #634AFC; color: #fff; }
.enterprise .au3-msg.is-me .mi-tm-typed { inset: 8px 11px; }
.enterprise .au3-msg.is-me p { transition: opacity .3s; } .enterprise .mi-au3.is-pre .au3-msg.is-me p { opacity: 0; }   /* the question bubble appears as typing starts */
.enterprise .au3-msg.is-bot { margin-top: 8px; }
.enterprise .au3-msg.is-bot p { max-width: 90%; border-radius: 12px 12px 12px 3px; background: #F4F5F9; color: #2C2853; transition: opacity .25s; }
.enterprise .mi-au3 [data-ans] i { font-style: normal; opacity: 0; transition: opacity .25s; } .enterprise .mi-au3 [data-ans] i.is-on { opacity: 1; }
.enterprise .mi-au3 .mi-ami-dots { position: absolute; left: 0; top: 0; padding: 9px 11px; background: #F4F5F9; box-shadow: none; }
.enterprise .mi-au3.is-thinking .mi-ami-dots { display: flex; } .enterprise .mi-au3.is-thinking .au3-msg.is-bot p, .enterprise .mi-au3.is-asking .au3-msg.is-bot p { opacity: 0; }
.enterprise .au3-step { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 8px 10px; border-radius: 11px; background: #F3FFFA; box-shadow: inset 0 0 0 1px rgba(0, 205, 156, .35);
  transition: opacity .35s, transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.enterprise .mi-au3:not(.is-step) .au3-step { opacity: 0; transform: translateY(8px) scale(.96); }
.enterprise .au3-sic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: #FFF4D6; color: #B07A00; }
.enterprise .au3-sic svg { width: 15px; height: 15px; }
.enterprise .au3-st { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.enterprise .au3-st b { font: 500 12px/1.2 var(--font-body); color: #2C2853; }
.enterprise .au3-st span { font-size: 11px; line-height: 1.2; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .au3-ok { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #00CD9C; color: #fff; }
.enterprise .au3-ok svg { width: 11px; height: 11px; }
@container (max-width: 300px) { .enterprise .au3-msg p { font-size: 11.5px; } .enterprise .au3-live { display: none; } }

/* Academy */

@keyframes aaSpin { to { transform: rotate(360deg); } }

/* ---------- System Connector: the Connect apps travel along grey arches around Sense Automate (pure CSS; js not needed) ---------- */
.enterprise .au-orbit { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; container-type: inline-size;
  background: radial-gradient(60% 70% at 50% 100%, rgba(0, 205, 156, .10), transparent 70%), #F7F7FA; box-shadow: inset 0 0 0 1px rgba(11, 10, 20, .06); }
.enterprise .au-orbit::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(11, 10, 20, .07) 1px, transparent 1.2px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.enterprise .au-arc { position: absolute; left: 50%; bottom: 10%; width: calc(var(--r) * 2); aspect-ratio: 2 / 1; transform: translateX(-50%); border: 1.5px solid #DCDFE7; border-bottom: 0; border-radius: 999px 999px 0 0;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .25) 30%, #000 72%); mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .25) 30%, #000 72%); }   /* top as is, the ends fade into the background (user, 6 Oct) */
/* centred inside the smallest arch (radius 24cqw): its centre sits ~45% of that radius above the arches' baseline (user, 6 Oct) */
.enterprise .au-orbit-hub { position: absolute; left: 50%; bottom: 10%; z-index: 2; width: clamp(40px, 11cqw, 56px); aspect-ratio: 1; translate: -50% calc(50% - 10.8cqw); border-radius: 28%;
  box-shadow: 0 0 0 8px rgba(0, 205, 156, .12), 0 0 0 16px rgba(0, 205, 156, .06), 0 14px 28px -10px rgba(0, 163, 124, .6); }
.enterprise .au-orbit-hub img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.enterprise .au-orbit-hub::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(0, 205, 156, .45); animation: auHub 2.4s ease-out infinite; }
@keyframes auHub { to { box-shadow: 0 0 0 26px rgba(0, 205, 156, 0); } }
.enterprise .au-arm { position: absolute; left: 50%; bottom: 10%; z-index: 1; width: var(--r); height: 0; transform-origin: 0 0; transform: rotate(var(--a0)); animation: auArm var(--t) ease-in-out var(--d) infinite alternate; }
/* the tile image carries its own white ground + shadow (Icons.svg): the tile is 54 of the image's 78 units, so 66px here ≈ a 46px tile */
.enterprise .au-app { position: absolute; left: 100%; top: 0; width: clamp(50px, 13.5cqw, 68px); aspect-ratio: 1; translate: -50% -50%; transform: rotate(calc(var(--a0) * -1)); animation: auApp var(--t) ease-in-out var(--d) infinite alternate; }
.enterprise .au-app img { display: block; width: 100%; height: 100%; }
@keyframes auArm { from { transform: rotate(var(--a0)); } to { transform: rotate(var(--a1)); } }
@keyframes auApp { from { transform: rotate(calc(var(--a0) * -1)); } to { transform: rotate(calc(var(--a1) * -1)); } }
@media (prefers-reduced-motion: reduce) {
  .enterprise .au-arm, .enterprise .au-app, .enterprise .au-orbit-hub::after { animation: none; }
  .enterprise .au-arm { transform: rotate(calc((var(--a0) + var(--a1)) / 2)); } .enterprise .au-app { transform: rotate(calc((var(--a0) + var(--a1)) / -2)); }
}

/* ---------- Sense Automate — Active workflows (Different rules.svg): rows load, then each workflow runs step by step ---------- */
.enterprise .mi-auwf { width: min(490px, 100%); padding: 0; overflow: hidden; border-radius: 18px; container-type: inline-size; }
.enterprise .pd-stack-visual .mi-auwf { border-radius: 26px; }
.enterprise .aw-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #EBFFF7; border-bottom: 1px solid #EFF2F8; color: #00A37C; }
.enterprise .aw-hic svg { width: 18px; height: 18px; }
.enterprise .aw-head b { font: 600 14px/1 var(--font-body); color: #00A37C; }
.enterprise .aw-rows { list-style: none; margin: 0; padding: 4px 14px 8px; }
.enterprise .aw-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; transition: background-color .35s, opacity .4s, transform .5s var(--ease-out); }
.enterprise .aw-row + .aw-row::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 1px; background: #EFF2F8; }
.enterprise .aw-row.is-hot { background: #F6FFFB; }
.enterprise .aw-row.is-hot::before, .enterprise .aw-row.is-hot + .aw-row::before { opacity: 0; }
.enterprise .mi-auwf.is-pre .aw-row { opacity: 0; transform: translateY(8px); }
.enterprise .aw-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; }
.enterprise .aw-ic svg { width: 18px; height: 18px; }
.enterprise .aw-ic.is-green { background: #E5FBEF; color: #1FA463; } .enterprise .aw-ic.is-purple { background: #EDEAFF; color: #7358F8; } .enterprise .aw-ic.is-blue { background: #E6F1FF; color: #2F80ED; }
.enterprise .aw-ic.is-orange { background: #FFF1E5; color: #E8772E; } .enterprise .aw-ic.is-red { background: #FFECEC; color: #E5484D; }
.enterprise .aw-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.enterprise .aw-txt b { font: 500 13.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .aw-path { font-size: 11px; line-height: 1.2; color: #8A8DA0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .aw-path i, .enterprise .aw-path em { font-style: normal; transition: color .3s; }
.enterprise .aw-path em { margin: 0 4px; }
.enterprise .aw-path i.is-on { color: #007A5C; font-weight: 500; } .enterprise .aw-path em.is-on { color: #00CD9C; }
.enterprise .aw-run { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 5px 8px; border-radius: 7px; background: #E2FBF2; color: #0A9B72; font: 500 11px/1 var(--font-body); transition: background-color .3s, color .3s, box-shadow .3s; }
.enterprise .aw-run svg { width: 11px; height: 11px; }
.enterprise .aw-row.is-hot .aw-run { background: #00CD9C; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 163, 124, .7); }
.enterprise .aw-row.is-hot .aw-run svg { animation: awBolt .5s ease-in-out infinite alternate; }
@keyframes awBolt { to { transform: scale(1.25); } }
@container (max-width: 400px) {   /* narrow: the Running badge keeps just its bolt so the workflow names have room */
  .enterprise .aw-rows { padding: 2px 8px 6px; } .enterprise .aw-row { gap: 10px; padding: 9px 4px; } .enterprise .aw-ic { width: 30px; height: 30px; } .enterprise .aw-ic svg { width: 16px; height: 16px; }
  .enterprise .aw-txt b { font-size: 12.5px; } .enterprise .aw-path { font-size: 10.5px; } .enterprise .aw-run { padding: 6px; font-size: 0; gap: 0; } .enterprise .aw-run svg { width: 12px; height: 12px; } .enterprise .aw-head { padding: 12px 14px; } }

/* ==========================================================================
   Recruitment: Integrations page (tools/product/minis.py integrations_hub … benefit_email). ATS palette; connected / synced states in the exports' mint
   ========================================================================== */

.enterprise .is-sense { background: #B000BA; color: #fff; } .enterprise .is-sense svg { width: 100%; height: 100%; }
.enterprise .is-site { background: #FAF1FB; color: #9802A0; } .enterprise .is-site svg { width: 100%; height: 100%; }

/* ==========================================================================
   Recruitment: ATS overview (tools/product/minis.py) — Publish vacancies.svg, ai sceening.svg, and new graphics in the same style.
   Inside-Sense-HR screens in Sense HR purple; the onboarding workflow in Automate green.
   ========================================================================== */

/* in the dark frames (the panels, the steps cycle): the two cards each get their own glass outline, not one round them both (user, 3 Nov), as the industry pages' card stacks */
.enterprise .ot-ic { flex-shrink: 0; width: 32px; height: 32px; padding: 6px; border-radius: 9px; background: #0B0A1E; box-shadow: inset 0 0 0 1px #2A2840; }   /* the ATS Expert tile */ .enterprise .ot-ic svg { width: 100%; height: 100%; }

/* ==========================================================================
   Shift, site and field teams: Time and attendance (sense-shift-time-and-attendance.html) — colours from the exports
   ========================================================================== */

/* ---------- Clockwise (Clockwise.svg 499×304): it reports the trend, the manager asks, the Bradford flag pops, the risk level fills ---------- */

@keyframes shkPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 149, 94, .45); } 100% { box-shadow: 0 0 0 7px rgba(0, 149, 94, 0); } }

/* ==========================================================================
   Shift, site and field teams: Onboarding for shift staff (sense-shift-onboarding-shift-staff.html) — new graphics in the onboarding
   minis' style, Sense HR purple for the Sense HR screens
   ========================================================================== */

/* ---------- Shift overview: "Integrate Your Systems" orbit (sh_orbit) — the System Connector (.au-orbit) in blue, logo tiles, the active group lit ---------- */
.enterprise .sh-orbit { background: radial-gradient(60% 70% at 50% 100%, rgba(99, 74, 252, .1), transparent 70%), #F7F9FC; }
.enterprise .sh-orbit-hub { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #8C7BFF 0%, #634AFC 48%, #3A22C9 100%);   /* the Sense S stays Sense purple (user, 13 Oct) */
  box-shadow: 0 0 0 8px rgba(99, 74, 252, .12), 0 0 0 16px rgba(99, 74, 252, .06), 0 14px 28px -10px rgba(58, 34, 201, .6); }
.enterprise .sh-orbit-hub svg { width: 50%; height: 50%; }
.enterprise .sh-orbit-hub::after { box-shadow: 0 0 0 0 rgba(99, 74, 252, .45); animation-name: shHub; }
@keyframes shHub { to { box-shadow: 0 0 0 26px rgba(99, 74, 252, 0); } }
.enterprise .sh-otile { position: absolute; inset: 15%; border-radius: 26%; overflow: hidden; background: #fff; box-shadow: 0 6px 14px -6px rgba(15, 30, 70, .45), 0 0 0 1px rgba(11, 10, 20, .06);
  transition: opacity .4s, filter .4s, box-shadow .4s; }
.enterprise .sh-otile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.enterprise .sh-orbit[data-on="rota"] .au-arm:not([data-g="rota"]) .sh-otile, .enterprise .sh-orbit[data-on="payroll"] .au-arm:not([data-g="payroll"]) .sh-otile, .enterprise .sh-orbit[data-on="hr"] .au-arm:not([data-g="hr"]) .sh-otile { opacity: .4; filter: grayscale(1); }
.enterprise .sh-orbit[data-on="rota"] [data-g="rota"] .sh-otile, .enterprise .sh-orbit[data-on="payroll"] [data-g="payroll"] .sh-otile, .enterprise .sh-orbit[data-on="hr"] [data-g="hr"] .sh-otile {
  box-shadow: 0 0 0 2.5px #1A6FD8, 0 10px 20px -8px rgba(26, 111, 216, .7); }
.enterprise .sh-orbit.is-bare { overflow: visible; background: none; box-shadow: none; } .enterprise .sh-orbit.is-bare::before { display: none; }   /* no container: arcs and tiles straight on the page */

/* ==========================================================================
   Pricing page (tools/product/gen_pricing.py): pr_clock, pr_agents, pr_orbit
   ========================================================================== */
/* ---------- Add a Sense Clock: the clock with its three moments; the active card (and its tile on the left) lights ---------- */
.enterprise .prc-sw { position: relative; display: grid; }
.enterprise .prc-sw > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; transition: opacity .3s, transform .4s var(--ease-out); }
.enterprise .prc-sw .is-b { opacity: 0; transform: translateY(6px); color: #007C66; font-weight: 500; }
.enterprise .prc-sw .is-b svg { width: 12px; height: 12px; }
.enterprise .prc-sw.is-b .is-a { opacity: 0; transform: translateY(-6px); } .enterprise .prc-sw.is-b .is-b { opacity: 1; transform: none; }

/* ---------- AMI and the AI agents: a request, AMI hands it on, the agent works it ---------- */
.enterprise .mi-pra { width: min(440px, calc(100% - 36px)); padding: 16px; border-radius: 18px; }
.enterprise .pra-ask { display: flex; justify-content: flex-end; align-items: flex-end; gap: 8px; min-height: 40px; }
.enterprise .pra-q { display: grid; justify-items: end; }
.enterprise .pra-q p { grid-area: 1 / 1; margin: 0; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #634AFC; color: #fff; font: 500 13px/1.35 var(--font-body); white-space: nowrap;
  opacity: 0; transform: translateY(8px) scale(.97); transform-origin: 100% 100%; transition: opacity .35s, transform .45s var(--ease-out); }
.enterprise .pra-q p.is-on { opacity: 1; transform: none; }
.enterprise .pra-av { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.enterprise .pra-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.enterprise .pra-ami { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; padding: 8px 10px; border-radius: 12px; background: #F6F5FF; box-shadow: inset 0 0 0 1px #ECE9FF; }
.enterprise .pra-ami img { width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; }
.enterprise .pra-ami > b { font: 600 13px/1 var(--font-body); color: #2C2853; }
.enterprise .pra-route { position: relative; flex: 1; min-width: 0; height: 16px; }
.enterprise .pra-route > span { position: absolute; right: 0; top: 0; max-width: 100%; font: 500 12px/16px var(--font-body); color: #5B3FE8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .4s var(--ease-out); }
.enterprise .pra-route > span.is-on { opacity: 1; transform: none; }
.enterprise .pra-route .is-a { color: #8A8DA0; }
.enterprise .pra-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.enterprise .pra-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px #EEF0F5; transition: background-color .35s, box-shadow .35s; }
.enterprise .pra-row.is-run { background: #F6F5FF; box-shadow: inset 0 0 0 1.5px rgba(99, 74, 252, .45); }
.enterprise .pra-ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #EFF1FF; color: #634AFC; transition: background-color .35s, color .35s; }
.enterprise .pra-ic svg { width: 17px; height: 17px; }
.enterprise .pra-row.is-run .pra-ic { background: #634AFC; color: #fff; }
.enterprise .pra-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.enterprise .pra-t b { font: 600 13px/1.15 var(--font-body); color: #2C2853; }
.enterprise .pra-t span { font-size: 11.5px; line-height: 1.2; color: #6B6D80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise .pra-st { position: relative; margin-left: auto; width: 98px; height: 22px; flex-shrink: 0; }
.enterprise .pra-st > span { position: absolute; right: 0; top: 0; height: 22px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 6px; font: 500 11px/1 var(--font-body); white-space: nowrap;
  opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .35s var(--ease-out); }
.enterprise .pra-st .is-run { background: #ECE8FF; color: #5B3FE8; }
.enterprise .pra-st .is-run i { width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid rgba(91, 63, 232, .3); border-top-color: #5B3FE8; animation: aaSpin .8s linear infinite; }
.enterprise .pra-st .is-done { background: #E2FBF2; color: #007A5C; }
.enterprise .pra-st .is-done svg { width: 11px; height: 11px; }
.enterprise .pra-row.is-run .pra-st .is-run { opacity: 1; transform: none; }
.enterprise .pra-row.is-done .pra-st .is-done { opacity: 1; transform: none; }
@container (max-width: 360px) { .enterprise .pra-t span { display: none; } }

/* ---------- Integrations: the orbit with the panel's six systems; a chip on the left lights its logo ---------- */
.enterprise .pc-orbit .sh-otile { transition: opacity .3s, filter .3s, box-shadow .3s; }

/* ==========================================================================
   Shift: Clocking in machines (sense-shift-clock-in-system.html)
   ========================================================================== */
/* ---------- hero: the Sense Clock, an ID card that taps its pad, the screen's answer, the front gate's clock-ins list ---------- */
.enterprise .mi-shh { position: relative; width: min(540px, 100%); aspect-ratio: 1 / .98; background: none !important; box-shadow: none !important; border: 0 !important; }
.enterprise .shh-clock { position: absolute; left: 0; top: 0; width: 82%; container-type: inline-size; }
.enterprise .shh-clock picture, .enterprise .shh-clock img { display: block; width: 100%; height: auto; }
.enterprise .shh-clock img { filter: drop-shadow(0 40px 40px rgba(15, 30, 70, .35)); }
.enterprise .shh-screen { position: absolute; inset: 0; background: #F6F6F3; opacity: 0; transition: opacity .3s; pointer-events: none; }
.enterprise .mi-shh.is-ok .shh-screen { opacity: 1; }
.enterprise .shh-msg { position: absolute; left: 22.6%; top: 54%; width: 34%; display: flex; flex-direction: column; align-items: center; gap: .9cqw; text-align: center; transform: translate(-50%, -50%) skewY(-6deg); opacity: 0;
  font: 500 2.5cqw/1.15 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; color: #6A6A66; }
.enterprise .shh-msg.is-on { opacity: 1; }
.enterprise .shh-msg b { font-weight: 600; font-size: 3cqw; color: #3E3E3A; }
.enterprise .shh-ok { width: 8cqw; height: 8cqw; margin-bottom: 1cqw; padding: 1.8cqw; border-radius: 50%; color: #fff; } .enterprise .shh-ok svg { width: 100%; height: 100%; }
.enterprise .shh-ok.is-in { background: #1BCAA7; } .enterprise .shh-ok.is-out { background: #F5A623; }
.enterprise .shh-pad { position: absolute; left: 70.3%; top: 28.7%; width: 30%; aspect-ratio: 1; border-radius: 16%; transform: translate(-50%, -50%); pointer-events: none; }
.enterprise .shh-pad::before, .enterprise .shh-pad::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(232, 190, 90, .9); opacity: 0; }
.enterprise .mi-shh.is-tap .shh-pad::before { animation: shhRing 1s ease-out infinite; } .enterprise .mi-shh.is-tap .shh-pad::after { animation: shhRing 1s .35s ease-out infinite; }
@keyframes shhRing { from { opacity: .9; transform: scale(.85); } to { opacity: 0; transform: scale(1.35); } }
.enterprise .mi-shh.is-ok .shh-pad { box-shadow: 0 0 0 3px #1BCAA7, 0 0 30px 6px rgba(27, 202, 167, .55); transition: box-shadow .3s; }
/* the ID card: rests off to the right, comes in, taps the pad, leaves */
.enterprise .shh-card { position: absolute; left: 116%; top: 66%; z-index: 3; width: 34%; aspect-ratio: 1.58; transform: translate(-50%, -50%) rotate(-6deg); opacity: 0;
  transition: left .65s cubic-bezier(.5, 0, .2, 1), top .65s cubic-bezier(.5, 0, .2, 1), transform .65s cubic-bezier(.5, 0, .2, 1), opacity .35s; }
.enterprise .mi-shh.is-in .shh-card { left: 90%; top: 58%; opacity: 1; }
.enterprise .mi-shh.is-tap .shh-card { left: 70%; top: 31%; transform: translate(-50%, -50%) rotate(-12deg) scale(.88); }
.enterprise .shh-face { position: absolute; inset: 0; display: grid; grid-template-columns: 30% 1fr; grid-template-rows: 28% 1fr; column-gap: 7%; padding: 0 7% 8%; border-radius: 9%/14%; background: #fff; overflow: hidden; opacity: 0;
  box-shadow: 0 18px 30px -12px rgba(15, 30, 70, .55), 0 0 0 1px rgba(11, 10, 20, .06); }
.enterprise .shh-face.is-on { opacity: 1; }
.enterprise .shh-band { grid-column: 1 / -1; display: flex; align-items: center; margin: 0 -8%; padding: 0 7%; background: linear-gradient(135deg, #8C7BFF, #634AFC); color: #fff; } .enterprise .shh-band svg { width: 3.2cqw; height: 3.2cqw; }   /* smaller S (user, 14 Oct) */
.enterprise .shh-cav { align-self: center; width: 100%; aspect-ratio: 1; border-radius: 10%; overflow: hidden; } .enterprise .shh-cav img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .shh-cl { align-self: center; display: flex; flex-direction: column; gap: 1.4cqw; min-width: 0; } .enterprise .shh-cl b { font: 600 2.5cqw/1.1 var(--font-body); color: #2C2853; white-space: nowrap; }
.enterprise .shh-cl i { display: block; height: 1cqw; border-radius: 1cqw; background: #E4E6EE; } .enterprise .shh-cl i + i { width: 60%; }
/* the clock-ins list */
.enterprise .shh-feed { position: absolute; right: 0; bottom: 0; z-index: 2; width: 58%; padding: 12px 14px 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 30px 50px -24px rgba(15, 30, 70, .45); }
.enterprise .shh-fh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #F1F2F6; } .enterprise .shh-fh b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; }
.enterprise .shh-live { display: inline-flex; align-items: center; gap: 5px; font: 600 10px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: #00955E; }
.enterprise .shh-live i { width: 6px; height: 6px; border-radius: 50%; background: #00955E; animation: shkPulse 1.6s ease-out infinite; }
.enterprise .shh-feed ul { list-style: none; margin: 0; padding: 0; }
.enterprise .shh-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 8px 0; transition: opacity .4s, transform .5s var(--ease-out); }
.enterprise .shh-row + .shh-row { border-top: 1px solid #F1F2F6; }
.enterprise .shh-row.is-pre { opacity: 0; transform: translateY(-6px); }
.enterprise .shh-rav { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; } .enterprise .shh-rav img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .shh-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .enterprise .shh-rt b { font: 500 12.5px/1.2 var(--font-body); color: #2C3550; } .enterprise .shh-rt span { font-size: 10.5px; color: #6C7597; white-space: nowrap; }
.enterprise .shh-tag { padding: 4px 8px; border-radius: 6px; font: 600 10.5px/1 var(--font-body); } .enterprise .shh-tag.is-in { background: #E4FFF0; color: #02847C; } .enterprise .shh-tag.is-out { background: #FFF3E8; color: #D34C00; }
.enterprise .mi-shh.is-end .shh-row { opacity: 1; transform: none; }   /* no JS / reduced motion: the list as it ends */
@media (max-width: 600px) { .enterprise .mi-shh { aspect-ratio: auto; height: auto; overflow-x: clip; } .enterprise .shh-clock { position: relative; width: 88%; } .enterprise .shh-feed { position: relative; width: 100%; margin-top: -24px; } }   /* clip: the waiting card sits off the clock's right edge */

/* UK-based support: a question, the UK team types, the answer (6s) */

.enterprise .sgs-flag { position: absolute; right: -6px; bottom: -3px; width: 17px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1.5px #fff; } .enterprise .sgs-flag svg { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   Sense Gateway (sense-shift-sense-gateway.html; user, 14 Oct) — prefix gw*
   ========================================================================== */

/* ---------- hero: the Gateway (gateway 1.png) picks up each passing Tag; the who's-where list fills ---------- */
.enterprise .mi-gwh { position: relative; width: min(540px, 100%); aspect-ratio: 1 / .96; background: none !important; box-shadow: none !important; border: 0 !important; }
.enterprise .gwh-dev { position: absolute; left: 8%; top: 12%; width: 56%;   /* smaller: the photo is soft at full size (user, 14 Oct) */
  container-type: inline-size; isolation: isolate; }
.enterprise .gwh-dev picture, .enterprise .gwh-dev img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.enterprise .gwh-dev img { filter: drop-shadow(0 40px 40px rgba(15, 30, 70, .3)); }
.enterprise .gwh-waves { position: absolute; left: 50%; top: 46%; z-index: 0; pointer-events: none; }
.enterprise .gwh-waves i { position: absolute; left: 0; top: 0; width: 160cqw; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(54, 200, 220, .55); background: radial-gradient(closest-side, rgba(54, 200, 220, .08), transparent);
  transform: translate(-50%, -50%) scale(.35); opacity: 0; animation: gwhWave 3.6s ease-out infinite; }
.enterprise .gwh-waves i:nth-child(2) { animation-delay: 1.2s; } .enterprise .gwh-waves i:nth-child(3) { animation-delay: 2.4s; }
@keyframes gwhWave { 0% { transform: translate(-50%, -50%) scale(.35); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.enterprise .gwh-glow { position: absolute; left: 18%; top: 14%; z-index: 2; width: 64%; height: 52%; border-radius: 30%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(80, 220, 235, .4), transparent); transition: opacity .35s; mix-blend-mode: screen; }
.enterprise .mi-gwh.is-ok .gwh-glow { opacity: 1; }
.enterprise .mi-gwh.is-out .gwh-chip.is-on { opacity: 0; transform: translateY(-90%); }   /* after the list takes it, the chip lifts away */
.enterprise .gwh-chips { position: absolute; inset: -20px 0; z-index: 3; pointer-events: none; overflow: clip; }   /* the chip slides in from the stage edge, not from off the page */
.enterprise .gwh-chip { position: absolute; left: 108%; top: 30%; display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 7px; border-radius: 14px; background: #fff; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 24px 40px -20px rgba(15, 30, 70, .5); opacity: 0; transform: translateY(-50%);
  transition: left .9s cubic-bezier(.3, .7, .2, 1), opacity .4s, transform .5s var(--ease-out); }
.enterprise .mi-gwh.is-in .gwh-chip.is-on { left: 58%; opacity: 1; }
.enterprise .mi-gwh.is-tap .gwh-chip.is-on { left: 53%; }
.enterprise .gwh-cav { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; } .enterprise .gwh-cav img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .gwh-ct { display: grid; gap: 2px; } .enterprise .gwh-ct b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; }
.enterprise .gwh-ct span { grid-row: 2; grid-column: 1; font-size: 10.5px; line-height: 1.2; color: #6C7597; transition: opacity .3s; } .enterprise .gwh-ct .is-b { color: #02847C; opacity: 0; }
.enterprise .gwh-ci { position: relative; width: 24px; height: 24px; border-radius: 8px; background: #EEF5FD; color: #1563C4; transition: background-color .3s, color .3s; }
.enterprise .gwh-ci svg { position: absolute; inset: 5px; width: 14px; height: 14px; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); } .enterprise .gwh-ci svg + svg { opacity: 0; transform: scale(.5); }
.enterprise .mi-gwh.is-ok .gwh-chip.is-on .is-a { opacity: 0; } .enterprise .mi-gwh.is-ok .gwh-chip.is-on .is-b { opacity: 1; }
.enterprise .mi-gwh.is-ok .gwh-chip.is-on .gwh-ci { background: #1BCAA7; color: #fff; }
.enterprise .mi-gwh.is-ok .gwh-chip.is-on .gwh-ci svg:first-child { opacity: 0; transform: scale(.5); } .enterprise .mi-gwh.is-ok .gwh-chip.is-on .gwh-ci svg + svg { opacity: 1; transform: none; }
.enterprise .gwh-feed { position: absolute; right: 0; bottom: 3%; z-index: 4; width: 64%; padding: 12px 14px 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 30px 50px -24px rgba(15, 30, 70, .45); }
.enterprise .gwh-fh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #F1F2F6; } .enterprise .gwh-fh b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; }
.enterprise .gwh-feed ul { list-style: none; margin: 0; padding: 0; }
.enterprise .gwh-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; max-height: 60px; padding: 8px 0; overflow: hidden;
  transition: opacity .4s .15s, transform .5s .15s var(--ease-out), max-height .45s var(--ease-out), padding .45s var(--ease-out); }
.enterprise .gwh-row + .gwh-row { border-top: 1px solid #F1F2F6; } .enterprise .gwh-row.is-pre { opacity: 0; transform: translateY(-6px); max-height: 0; padding-block: 0; border-color: transparent; }   /* the card grows as each row arrives */
.enterprise .gwh-rav { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; } .enterprise .gwh-rav img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .gwh-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .enterprise .gwh-rt b { font: 500 12.5px/1.2 var(--font-body); color: #2C3550; } .enterprise .gwh-rt span { font-size: 10.5px; color: #6C7597; white-space: nowrap; }
.enterprise .gwh-zone { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; border-radius: 6px; background: #EEF5FD; color: #1563C4; font: 600 10.5px/1 var(--font-body); white-space: nowrap; }
.enterprise .gwh-zone svg { width: 11px; height: 11px; }
.enterprise .mi-gwh.is-end .gwh-row { opacity: 1; transform: none; }   /* no JS / reduced motion: the list as it ends */
@media (max-width: 600px) { .enterprise .mi-gwh { aspect-ratio: auto; overflow-x: clip; } .enterprise .gwh-dev { position: relative; left: 10%; top: auto; width: 66%; margin-block: 18px 6px; } .enterprise .gwh-feed { position: relative; width: 100%; margin-top: -12px; }
  .enterprise .gwh-row.is-pre { max-height: 60px; padding-block: 8px; }   /* phones: the list keeps its height, so the pills below don't jump */
  .enterprise .gwh-chip { top: 14%; } .enterprise .mi-gwh.is-in .gwh-chip.is-on { left: 46%; } .enterprise .mi-gwh.is-tap .gwh-chip.is-on { left: 42%; } }

/* one card: the alert on top, the people nearby under it */

.enterprise .gwr-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 7px 4px; border-radius: 8px; transition: opacity .4s, transform .5s var(--ease-out), background-color .3s; }
.enterprise .gwr-row + .gwr-row { box-shadow: 0 -1px 0 #F1F2F6; } .enterprise .gwr-row.is-pre { opacity: 0; transform: translateX(8px); }

.enterprise .gwr-row.is-hot { background: #F4F8FE; }

/* ---------- SOS Response (SOS.svg 413×307): the hard fall alert, the response time, help assigned ---------- */
.enterprise .gwo-ban, .enterprise .gwe-ban { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #FFEAEA;
  box-shadow: inset 0 0 0 1px #FFD7D7, 0 30px 50px -26px rgba(0, 0, 0, .55); transition: opacity .45s, transform .5s var(--ease-out); }
.enterprise .gwo-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFCFCF; color: #E5484D; } .enterprise .gwo-ic svg { width: 18px; height: 18px; }

.enterprise .gwo-ban.is-shake, .enterprise .gwe-ban.is-shake { animation: gwoShake .5s; }
@keyframes gwoShake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

/* ---------- Evacuation Roll Call (Evacuation.svg 454×300): the responder brief; people to locate ---------- */

.enterprise .gwe-card { padding: 16px 14px 6px; border-radius: 14px; background: #F8F8FD; box-shadow: inset 0 0 0 1px #E6E8F5, 0 30px 50px -26px rgba(0, 0, 0, .55); transition: opacity .45s .1s, transform .5s .1s var(--ease-out); }
.enterprise .gwe-card ul { list-style: none; margin: 0; padding: 0; }
.enterprise .gwe-in { transition: padding .5s var(--ease-out); } 
.enterprise .gwe-in { min-height: 0; overflow: hidden; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #EEF0F7; }

/* ---------- Add 1, 2, or 300 Gateways (new graphic): Gateways added room by room; the location sharpens ---------- */

.enterprise .gws-gw { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.enterprise .gws-gw::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(54, 200, 220, .7); opacity: 0; }
.enterprise .gws-gw.is-new::after { animation: gwsPing 1.2s ease-out 2; }
@keyframes gwsPing { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(2.4); } }

/* ---------- Gateway panels: the glass outline hugs each card, not the group (user, 14 Oct), as the work and break zones' plan and stats ---------- */
.enterprise .pd-stack-visual :is(.gwe-card) { border: 6px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 20px; }
.enterprise .pd-stack-visual :is(.gwo-ban, .gwe-ban) { border: 6px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 20px; }
.enterprise .pd-stack-visual :is(.gwo-ban, .gwe-ban) { box-shadow: inset 0 0 0 1px #FFD7D7, 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }
.enterprise .pd-stack-visual .gwe-card { box-shadow: inset 0 0 0 1px #E6E8F5, 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }

/* ==========================================================================
   Lone worker safety (sense-shift-lone-worker-safety.html; user, 15 Oct) — prefix lw*
   ========================================================================== */
/* the Sense Badge render (sos alert.png) with a live screen laid over its own */
.enterprise .lw-dev { position: relative; container-type: inline-size; }
.enterprise .lw-dev picture, .enterprise .lw-dev img { display: block; width: 100%; height: auto; }
.enterprise .lw-scr { position: absolute; overflow: hidden; border-radius: 2.7cqw; font-family: var(--font-body); }

/* ---------- hero: Emma's SOS on the Badge, the live lone worker list ---------- */

.enterprise .lwh-ok { width: 15cqw; height: 15cqw; padding: 3.6cqw; margin-bottom: 1.5cqw; border-radius: 50%; background: #1BCAA7; color: #fff; } .enterprise .lwh-ok svg { width: 100%; height: 100%; }

/* ==========================================================================
   Sense Badge page graphics (user, 26 Oct) — bento tiles: bdg, bdf, bds, bdw; stacking panels: bdl, bdn, bdt, bdm
   ========================================================================== */
.enterprise .mi-bds { position: absolute; inset: 0; margin: 0; background: none; box-shadow: none; overflow: hidden; border-radius: inherit; }
.enterprise .bd-box { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(100cqw, calc(100cqh * 1.15), 520px); aspect-ratio: 1.15; container-type: size; }
.enterprise .mi-bds .bd-box { width: min(100cqw, calc(100cqh * 1.45), 520px); aspect-ratio: 1.45; }
.enterprise .bdg-ok { flex-shrink: 0; width: 6.4cqw; height: 6.4cqw; padding: 1.5cqw; border-radius: 50%; background: #1BCAA7; color: #fff; transition: background-color .3s; } .enterprise .bdg-ok svg { width: 100%; height: 100%; }

/* ---------- Man Down and SOS: the Badge's SOS countdown, then the alert ---------- */
.enterprise .bds-dev { position: absolute; left: 6%; top: 50%; height: 96%; aspect-ratio: 586 / 1013; translate: 0 -50%; }
.enterprise .bds-dev .lw-dev img { filter: drop-shadow(0 2cqw 2.6cqw rgba(15, 30, 70, .3)); }
.enterprise .bds-btn { position: absolute; left: 6.1%; top: 82.3%; width: 86.2%; height: 10%; display: flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 1.2cqw; background: #3C7EFF; color: #fff; font: 500 5cqw/1 var(--font-body); font-variant-numeric: tabular-nums; }
.enterprise .bds-sent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4cqw; text-align: center; background: #FAFAFA; opacity: 0; transition: opacity .35s; }
.enterprise .bds-sent b { font: 600 7cqw/1.2 var(--font-body); color: #2C3550; } .enterprise .bds-sent span { font-size: 4.8cqw; color: #4A5470; }
.enterprise .mi-bds:is(.is-sent, .is-end) .bds-sent { opacity: 1; }
.enterprise .bds-cards { position: absolute; left: 44%; right: 3%; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 2.6cqw; }
.enterprise .bds-card { display: flex; align-items: center; gap: 2.2cqw; padding: 2.6cqw; border-radius: 2.8cqw; background: #fff; box-shadow: 0 0 0 1px rgba(30, 80, 150, .06), 0 3cqw 5cqw -2cqw rgba(15, 30, 70, .35);
  opacity: 0; translate: 0 1.6cqw; transition: opacity .35s, translate .45s var(--ease-out); }
.enterprise .bds-card > span:last-child { display: flex; flex-direction: column; gap: .8cqw; min-width: 0; } .enterprise .bds-card b { font: 600 3.2cqw/1.15 var(--font-body); color: #2C3550; } .enterprise .bds-card span span { font-size: 2.5cqw; color: #6C7597; }
.enterprise .bds-card.is-trig b { color: #C00000; } .enterprise .bds-card .gwo-ic { flex-shrink: 0; width: 6.4cqw; height: 6.4cqw; } .enterprise .bds-card .gwo-ic svg { width: 3cqw; height: 3cqw; }
.enterprise .mi-bds:is(.is-trig, .is-end) .bds-card.is-trig, .enterprise .mi-bds:is(.is-sent, .is-end) .bds-card.is-sent { opacity: 1; translate: 0 0; }

/* ---------- Locate Staff In or Out: the live map, the route to Site B, the technology in use ---------- */

.enterprise .bdl-trail { fill: none; stroke: #1A6FD8; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--off, 0); transition: stroke-dashoffset var(--dur, 0s) linear; }

.enterprise .bdl-tag { position: absolute; z-index: 1; translate: -50% 6px; padding: 2px 5px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 80, 150, .12); font: 600 9.5px/1.2 var(--font-body); color: #1563C4; opacity: 0; transition: opacity .3s; }
.enterprise .bdl-tag.is-on { opacity: 1; }

.enterprise .bdl-tech { display: inline-flex; gap: 5px; } .enterprise .bdl-tech span { padding: 4px 8px; border-radius: 6px; background: #F1F4F9; font: 600 10.5px/1 var(--font-body); color: #7C86A3; transition: background-color .3s, color .3s; }
.enterprise .bdl-tech span.is-on { background: #1A6FD8; color: #fff; }

/* ---------- Find People or Things / Tasks and To-Dos: the Badge's own screen, a card beside it ---------- */

.enterprise .bdt-rec { padding: 16px 14px 10px; border-radius: 16px; background: #fff; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .55); }
.enterprise .bdn-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 10px 8px; border-radius: 10px; transition: background-color .3s, box-shadow .3s; }
.enterprise .bdn-row + .bdn-row { margin-top: 4px; } .enterprise .bdn-row.is-on { background: #EEF5FD; box-shadow: inset 0 0 0 1.5px #BFDBFB; }

.enterprise .bdn-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .enterprise .bdn-rt b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; } .enterprise .bdn-rt span { font-size: 11px; line-height: 1.3; color: #6C7597; }
.enterprise .bdn-d { font: 600 12px/1 var(--font-body); color: #1563C4; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* tasks on the Badge screen */
.enterprise .bdt-row { display: flex; align-items: center; gap: 3.4cqw; padding: 3.6cqw 3.4cqw; border-radius: 2.6cqw; background: #F1F3F6; transition: opacity .35s, background-color .35s; }
.enterprise .bdt-box { flex-shrink: 0; width: 7.6cqw; height: 7.6cqw; padding: 1.2cqw; border-radius: 1.8cqw; box-shadow: inset 0 0 0 .6cqw #3C7EFF; color: transparent; transition: background-color .25s, color .25s, scale .35s cubic-bezier(.34, 1.56, .64, 1); } .enterprise .bdt-box svg { width: 100%; height: 100%; }
.enterprise .bdt-row > span { display: flex; flex-direction: column; gap: 1cqw; min-width: 0; } .enterprise .bdt-row b { font: 600 4.6cqw/1.2 var(--font-body); color: #2C3550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .enterprise .bdt-row span span { font-size: 3.7cqw; color: #6C7597; }
.enterprise .bdt-row.is-done { opacity: .55; } .enterprise .bdt-row.is-done .bdt-box { background: #3C7EFF; color: #fff; }
.enterprise .bdt-row.is-done b { text-decoration: line-through; }
.enterprise .bdt-row.is-pop .bdt-box { scale: 1.2; }
.enterprise .bdt-rec { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; transition: opacity .3s, translate .4s var(--ease-out); }
.enterprise .bdt-rec.is-flip { opacity: 0; translate: 0 6px; }

/* ---------- Itemised Timesheets: the day split by site, project, breaks and the road ---------- */

.enterprise .bdm-seg { flex: none; width: var(--w); height: 100%; transition: width .5s cubic-bezier(.5, 0, .2, 1); }
.enterprise .bdm-seg.is-a, .enterprise .bdm-row i.is-a { background: #1A6FD8; } .enterprise .bdm-seg.is-b, .enterprise .bdm-row i.is-b { background: #0F3F86; }  
.enterprise .bdm-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 9px 6px; border-radius: 8px; transition: background-color .3s; }
.enterprise .bdm-row + .bdm-row { box-shadow: 0 -1px 0 #F1F2F6; } .enterprise .bdm-row.is-hot { background: #F4F8FE; }
.enterprise .bdm-row i { width: 10px; height: 10px; border-radius: 3px; } .enterprise .bdm-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.enterprise .bdm-row > span b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; } .enterprise .bdm-row > span span { font-size: 11px; color: #6C7597; } .enterprise .bdm-row > b { font: 600 12.5px/1 var(--font-body); color: #2C3550; font-variant-numeric: tabular-nums; }

/* in the stacking panels: the glass outline hugs each card (as the Gateway and Lone worker panels) */
.enterprise .pd-stack-visual :is(.bdt-rec) { border: 6px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }
@media (max-width: 600px) {
    .enterprise .bdt-rec { width: 100%; }
}

/* ---------- Clock In or Out (user, 26 Oct: the Gateway page's site floor plan): on-site confirmation, then room or zone; the clock-ins list ---------- */

.enterprise .bdg-mode { display: inline-flex; gap: .4cqw; padding: .6cqw; border-radius: 2cqw; background: #EEF1F6; } .enterprise .bdg-mode i { display: none; }
.enterprise .bdg-mode span { padding: 1cqw 1.8cqw; border-radius: 1.5cqw; font: 600 2.4cqw/1 var(--font-body); color: #6C7597; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.enterprise .bdg-mode span.is-on { background: #fff; color: #1563C4; box-shadow: 0 .3cqw 1cqw rgba(15, 30, 70, .15); }

.enterprise .bdg-row { display: grid; grid-template-columns: 6cqw minmax(0, 1fr) auto; column-gap: 2.2cqw; align-items: center; padding: 1.3cqw 0; transition: opacity .4s, translate .5s var(--ease-out); }
.enterprise .bdg-row + .bdg-row { border-top: 1px solid #F1F2F6; }

/* SOS tile: the Badge render carries its drop shadow below it, so its visible body is centred, not the image box (user, 26 Oct) */
.enterprise .bds-dev { translate: 0 -37.3%; }
/* list dividers as straight lines, no rounded corners between rows (user, 26 Oct): the timesheet, and the Redeploy list built the same way */
.enterprise .bdm-row, .enterprise .gwr-row { border-radius: 0; }
.enterprise .bdm-row + .bdm-row, .enterprise .gwr-row + .gwr-row { box-shadow: none; border-top: 1px solid #F1F2F6; }
/* small tiles (phones): the labels keep a readable size */
@container (max-width: 360px) {
   .enterprise .bdg-mode span { font-size: 8.5px; padding: 3px 6px; } 

  .enterprise .bds-card b { font-size: 10.5px; } .enterprise .bds-card span span { font-size: 8.5px; }
}

/* ==========================================================================
   Small and mid-sized businesses (user, 26 Oct) — sms: the UK support chat; sma: AMI's three abilities
   ========================================================================== */
.enterprise .mi-sms { width: min(380px, 100%); border-radius: 18px; }
.enterprise .mi-sms { display: flex; flex-direction: column; overflow: hidden; }
.enterprise .sms-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #F4F2FF; box-shadow: inset 0 -1px 0 #ECE9FA; }
.enterprise .sms-hav { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; } .enterprise .sms-hav img { width: 100%; height: 100%; object-fit: cover; }
.enterprise .sms-head > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .enterprise .sms-head b { font: 600 13px/1.2 var(--font-body); color: #2C2853; }
.enterprise .sms-head > span > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; line-height: 1.3; color: #6C7597; }
.enterprise .sms-head .sgs-flag { position: static; display: inline-block; flex-shrink: 0; width: 16px; height: 11px; border-radius: 2px; overflow: hidden; box-shadow: none; } .enterprise .sms-head .sgs-flag svg { width: 100%; height: 100%; }
.enterprise .sms-body { display: flex; flex-direction: column; gap: 9px; padding: 20px 12px 8px; min-height: 120px; }   /* more room under the header (user, 26 Oct) */
.enterprise .mi-sms :is(.sms-q, .sms-a) { margin: 0; max-width: 86%; padding: 8px 11px; font-size: 12px; line-height: 1.4; color: #2C3550; transition: opacity .35s, translate .45s var(--ease-out); }
.enterprise .mi-sms .sms-q { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--brand, #634AFC); color: #fff; }
.enterprise .mi-sms .sms-a { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: #F1F2F6; }
.enterprise .sms-typing { align-self: flex-start; display: none; gap: 4px; padding: 11px 12px; border-radius: 14px 14px 14px 4px; background: #F1F2F6; }
.enterprise .sms-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA3B5; animation: smsDot 1s ease-in-out infinite; } .enterprise .sms-typing i:nth-child(2) { animation-delay: .15s; } .enterprise .sms-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes smsDot { 50% { translate: 0 -3px; opacity: .5; } }
.enterprise .mi-sms.is-pre :is(.sms-q, .sms-a) { opacity: 0; translate: 0 6px; }
.enterprise .mi-sms.is-typing .sms-typing { display: inline-flex; } .enterprise .mi-sms.is-typing .sms-a { display: none; }
.enterprise .sms-chans { display: flex; gap: 6px; padding: 8px 12px 12px; }
.enterprise .sms-ch { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; white-space: nowrap; border-radius: 100px; background: #F1F2F6; font: 500 11px/1 var(--font-body); color: #6C7597; transition: background-color .3s, color .3s; }
.enterprise .sms-ch svg { flex-shrink: 0; width: 12px; height: 12px; } .enterprise .sms-ch.is-on { background: var(--brand, #634AFC); color: #fff; }
/* AMI (user, 26 Oct: restyled as the support chat's card): header, the three abilities as tabs, the chat */

.enterprise .sma-tab { flex: 1; padding: 6px 4px; border-radius: 8px; text-align: center; font: 500 10.5px/1.2 var(--font-body); color: #6C7597; transition: background-color .3s, color .3s, box-shadow .3s; }
.enterprise .sma-tab.is-on { background: #fff; color: var(--brand, #634AFC); box-shadow: 0 1px 3px rgba(15, 30, 70, .12); }
.enterprise .sma-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; opacity: 0; transition: opacity .35s; }
.enterprise .sma-pane.is-on { opacity: 1; }

@media (max-width: 420px) { .enterprise .sms-chans { gap: 4px; } .enterprise .sms-ch { padding: 5px 8px; font-size: 10.5px; gap: 4px; } }
/* AMI's tabs: each title on one line */
.enterprise .sma-tab { flex: 1 1 auto; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
@media (max-width: 600px) {  .enterprise .sma-tab { padding: 6px 5px; font-size: 9.5px; }  }   /* phones: the three titles still on one line */
@media (max-width: 600px) {  .enterprise .sma-tab { padding: 6px 4px; font-size: 9px; letter-spacing: -.01em; } }
@media (max-width: 374px) {  .enterprise .sma-tab { font-size: 8.5px; padding: 6px 3px; letter-spacing: -.02em; } }

/* controls */

.enterprise .fm-in { display: flex; align-items: center; height: 34px; padding: 0 11px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--fm-line); font-size: 12.5px; color: var(--fm-ink); white-space: nowrap; overflow: hidden; transition: box-shadow .2s; }
.enterprise .fm-in.is-ph { color: var(--fm-mut2); }
.enterprise .fm-in.is-focus { box-shadow: inset 0 0 0 1px var(--fm-sig), 0 0 0 3px rgba(255, 76, 9, .14); }
.enterprise .fm-in.is-focus::after { content: ""; flex: none; width: 1px; height: 14px; margin-left: 1px; background: var(--fm-ink); animation: fmCaret 1s steps(1) infinite; }
@keyframes fmCaret { 50% { opacity: 0; } }

/* checklists: the opening checklist on a phone */
.enterprise .fm-chkt em { margin-left: auto; font: 500 11px/1 'Inter', var(--font-body); font-style: normal; color: var(--fm-deep); opacity: 0; transition: opacity .25s; } .enterprise .fm-chkt.is-on em { opacity: 1; }

/* automation: the Session ended card and the steps the answers start */

.enterprise .fm-step { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--fm-paper); box-shadow: inset 0 0 0 1px var(--fm-line); opacity: .45; transition: opacity .3s, background-color .3s; }

.enterprise .fm-step.is-run { opacity: 1; } 
.enterprise .fm-step.is-done { opacity: 1; background: #fff; }  

/* ---------- Enterprise: Census builds the quarterly board pack (census_board; census-cap-2 animated). data-m = the metric charted (0 headcount, 1 turnover,
   2 absence; empty while resetting): the bars take that metric's height, its top site lights purple with its figure; .is-sched: the pack is scheduled ---------- */
.enterprise .mi-cbp { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 0; background: none !important; box-shadow: none !important; }
.enterprise .cbp-card { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 10, 20, .05), 0 22px 40px -26px rgba(10, 5, 40, .55); }
.enterprise :is(.pd-stack-visual, .pd-spot-visual) .mi-cbp { border: 0 !important; overflow: visible; }   /* each card its own glass outline (as .mi-ot) */
.enterprise :is(.pd-stack-visual, .pd-spot-visual) .cbp-card { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }
.enterprise .cbp-head { display: flex; align-items: center; gap: 8px; }
.enterprise .cbp-head .ot-ic { width: 26px; height: 26px; padding: 5px; border-radius: 8px; }
.enterprise .cbp-head b { font: 600 13px/1 var(--font-body); color: #393940; }
.enterprise .cbp-tabs { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 9px; background: #F4F3F8; }
.enterprise .cbp-tab { padding: 5px 8px; border-radius: 7px; font: 500 11px/1 var(--font-body); color: #77798C; transition: background-color .3s, color .3s, box-shadow .3s; }
.enterprise .mi-cbp[data-m="0"] .cbp-tab[data-k="0"], .enterprise .mi-cbp[data-m="1"] .cbp-tab[data-k="1"], .enterprise .mi-cbp[data-m="2"] .cbp-tab[data-k="2"] { background: #fff; color: #4931DC; box-shadow: 0 1px 2px rgba(20, 10, 80, .12), 0 0 0 1px rgba(99, 74, 252, .12); }
.enterprise .cbp-lbl { display: block; margin-top: 14px; font: 600 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #8A8DA0; }
.enterprise .cbp-bars { list-style: none; height: 112px; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.enterprise .cbp-bars li { display: flex; flex-direction: column; min-width: 0; }
.enterprise .cbp-bar { flex: 1; display: flex; align-items: flex-end; }
.enterprise .cbp-bar i { position: relative; display: block; width: 100%; height: calc(var(--h, .05) * 100%); min-height: 4px; border-radius: 6px; background: #EFEEF6;
  transition: height .8s cubic-bezier(.22, 1, .36, 1), background-color .4s; }
.enterprise .mi-cbp[data-m="0"] .cbp-bar i { --h: var(--h0); } .enterprise .mi-cbp[data-m="1"] .cbp-bar i { --h: var(--h1); } .enterprise .mi-cbp[data-m="2"] .cbp-bar i { --h: var(--h2); }
.enterprise .mi-cbp[data-m="0"] .is-x0 .cbp-bar i, .enterprise .mi-cbp[data-m="1"] .is-x1 .cbp-bar i, .enterprise .mi-cbp[data-m="2"] .is-x2 .cbp-bar i { background: #634AFC; transition-delay: 0s, .45s; }
.enterprise .cbp-bar em { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 4px; padding: 4px 7px; border-radius: 6px; background: #0B0A14; color: #fff;
  font: 600 10.5px/1 var(--font-body); font-style: normal; white-space: nowrap; opacity: 0; transition: opacity .2s, translate .3s; pointer-events: none; }
.enterprise .mi-cbp[data-m="0"] .is-x0 em[data-k="0"], .enterprise .mi-cbp[data-m="1"] .is-x1 em[data-k="1"], .enterprise .mi-cbp[data-m="2"] .is-x2 em[data-k="2"] { opacity: 1; translate: -50% 0; transition-delay: .6s; }
.enterprise .cbp-site { margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 10.5px; line-height: 1; color: #8A8DA0; }
.enterprise .cbp-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.enterprise .cbp-ph .cbp-lbl { margin-top: 0; }
.enterprise .cbp-st { display: inline-grid; }
.enterprise .cbp-st span { grid-area: 1 / 1; justify-self: end; padding: 5px 10px; border-radius: 100px; font: 600 11px/1 var(--font-body); white-space: nowrap; transition: opacity .3s; }
.enterprise .cbp-st .is-a { background: #F0EFFF; color: #4931DC; } .enterprise .cbp-st .is-b { background: #E3F8EE; color: #0F7A4B; opacity: 0; }
.enterprise .mi-cbp.is-sched .cbp-st .is-a { opacity: 0; } .enterprise .mi-cbp.is-sched .cbp-st .is-b { opacity: 1; }
.enterprise .cbp-pages { list-style: none; margin: 12px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.enterprise .cbp-pg { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 100px; background: #F6F6F9; color: #9A9CAE; font: 500 11.5px/1 var(--font-body); transition: background-color .35s, color .35s; }
.enterprise .cbp-pg i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #E5E5EC; color: transparent; transition: background-color .35s, color .35s; } .enterprise .cbp-pg i svg { width: 10px; height: 10px; }
.enterprise .cbp-pg.is-on { background: #F0EFFF; color: #4931DC; } .enterprise .cbp-pg.is-on i { background: #634AFC; color: #fff; animation: cbpPop .45s ease-out; }
@keyframes cbpPop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: none; } }
.enterprise .cbp-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1F0F4; font-size: 12px; line-height: 1.2; color: #8A8DA0; }
.enterprise .cbp-row b { font-weight: 600; color: #393940; transition: color .35s; }
.enterprise .mi-cbp:not(.is-sched) .cbp-row b { color: #C9CAD6; }
.enterprise .cbp-fmts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.enterprise .cbp-fmts span { padding: 5px 10px; border-radius: 100px; background: #F4F3F8; color: #A3A5B5; font: 600 11px/1 var(--font-body); transition: background-color .3s, color .3s; }
.enterprise .cbp-fmts span.is-on { background: #EEEBFF; color: #4931DC; }
@media (prefers-reduced-motion: reduce) { .enterprise .cbp-bar i, .enterprise .cbp-bar em { transition: none; } .enterprise .cbp-pg.is-on i { animation: none; } }
@media (max-width: 600px) {   /* phones: the tabs take their own row under Census, the cards a thinner rim, the site names may run into the gaps */
  .enterprise .cbp-card { padding: 12px; }
  .enterprise :is(.pd-stack-visual, .pd-spot-visual) .cbp-card { border-width: 5px; border-radius: 19px; }
  .enterprise .cbp-head { flex-wrap: wrap; row-gap: 10px; }
  .enterprise .cbp-tabs { width: 100%; margin-left: 0; } .enterprise .cbp-tab { flex: 1; padding: 6px 4px; text-align: center; }
  .enterprise .cbp-bars { gap: 5px; } .enterprise .cbp-site { margin-inline: -4px; overflow: visible; text-overflow: clip; font-size: 9.5px; }
  .enterprise .cbp-pg { padding-right: 8px; font-size: 11px; }
}

/* ---------- Enterprise hero: the SME dashboard (hr-dashboard.png) for a manager, built as UI (ent_dashboard; prefix edb-): the same main
   navigation, top bar, greeting, Ask AMI and tabs; its widgets on a two-column grid (Headcount by site, Open sickness / My team, Upcoming) in the
   site's widget classes (.cbp-*, .mi-os-*, .mi-ul-*), AMI docked. Drawn at 1164 × 720 px, the hero window's inner width at 1440;
   js/enterprise.js sets --edz (zoom to the window) and --edv (the height the hero shows, so AMI's "Ask anything" sits at its bottom).
   The --edz / --edv below are the no-JS fallback ---------- */
.enterprise .edb { position: relative; display: flex; width: 1164px; height: 720px; zoom: var(--edz, 1); overflow: hidden; border-radius: calc(19px / var(--edz, 1)); background: #FCFCFF;
  font-family: var(--font-body); color: #2C2853; text-align: left; }
@media (max-width: 1219px) { .enterprise .edb { --edz: .9; } }
@media (max-width: 1100px) { .enterprise .edb { --edz: .82; } }
@media (max-width: 900px) { .enterprise .edb { --edz: .64; } }
@media (max-width: 767px) { .enterprise .edb { --edz: .4; border-radius: calc(12px / var(--edz, 1)); } }
@media (max-width: 480px) { .enterprise .edb { --edz: .28; } }
.enterprise .edb img { border-radius: 0; }   /* not the hero window's screenshot corners */
/* the main navigation (hr-dashboard.png; Figma Desktop/Main navigation) */
.enterprise .edb-side { flex: 0 0 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; background: #F8F8FC; box-shadow: inset -1px 0 0 #ECEBF5; }
.enterprise .edb-logo { width: 38px; height: 38px; padding: 10px; border-radius: 10px; background: #634AFC; color: #fff; } .enterprise .edb-logo svg { display: block; width: 100%; height: 100%; }
.enterprise .edb-co { width: 38px; height: 38px; margin: 12px 0 8px; border-radius: 50%; overflow: hidden; } .enterprise .edb-co img { display: block; width: 100%; height: 100%; object-fit: cover; }
.enterprise .edb-nav { width: 38px; height: 38px; padding: 9px; border-radius: 10px; color: #2C2853; } .enterprise .edb-nav svg { display: block; width: 100%; height: 100%; }
.enterprise .edb-nav.is-on { background: #E6E3FF; color: #634AFC; }
/* the top bar */
.enterprise .edb-app { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.enterprise .edb-top { position: relative; flex: 0 0 55px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 -1px 0 #EFEFF5; }
.enterprise .edb-search { display: flex; align-items: center; width: 340px; height: 34px; padding-left: 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #E4E4EC; font-size: 13px; color: #8A8DA0; overflow: hidden; }
.enterprise .edb-search > span { flex: 1; } .enterprise .edb-search > svg { width: 15px; height: 15px; margin-right: 11px; color: #6C7597; }
.enterprise .edb-search i { width: 36px; height: 34px; display: grid; place-items: center; background: #634AFC; color: #fff; } .enterprise .edb-search i svg { width: 16px; height: 16px; }
.enterprise .edb-me { position: absolute; right: 22px; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 9px; font: 500 13.5px/1 var(--font-body); color: #2C2853; }
.enterprise .edb-me b { font-weight: 500; } .enterprise .edb-me > svg { width: 10px; height: 10px; }
.enterprise .edb-bell { position: relative; width: 21px; height: 21px; margin-right: 8px; } .enterprise .edb-bell svg { display: block; width: 100%; height: 100%; }
.enterprise .edb-bell i { position: absolute; right: -6px; top: -5px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; display: grid; place-items: center; background: #EF4444; color: #fff; font: 600 9.5px/1 var(--font-body); font-style: normal; }
.enterprise .edb-me-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; } .enterprise .edb-me-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the dashboard: greeting, Ask AMI, tabs, then the widgets on the grid */
.enterprise .edb-body { flex: 1; min-height: 0; display: flex; align-items: flex-start; }
.enterprise .edb-main { position: relative; flex: 1; min-width: 0; padding: 42px 38px 0; }   /* the SME dashboard's spacing (hr-dashboard.png at 1164px): greeting, tabs, first row */
.enterprise .edb-hi { display: flex; align-items: center; justify-content: space-between; }
.enterprise .edb-hi b { font: 600 24px/1.2 var(--font-body); letter-spacing: -0.01em; color: #2C2853; }
.enterprise .edb-ask { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #E4E4EC; font: 500 13px/1 var(--font-body); color: #2C2853; }
.enterprise .edb-ask .ami-spark { width: 17px; height: 17px; }
.enterprise .edb-tabs { display: flex; gap: 28px; margin-top: 16px; box-shadow: inset 0 -1px 0 #ECEBF3; }
.enterprise .edb-tabs span { padding: 0 4px 14px; font-size: 14px; color: #5C5980; }
.enterprise .edb-tabs .is-on { color: #634AFC; box-shadow: inset 0 -2px 0 #634AFC; }
.enterprise .edb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 216px; gap: 26px; margin-top: 31px; }   /* every widget: a 48px header, three 56px rows */
.enterprise .edb-w { display: flex; flex-direction: column; width: auto; overflow: hidden; box-shadow: 0 0 0 1px #ECEBF3; }   /* an outline, no drop shadow: as the product (user, 16 Nov) */
.enterprise .edb .mi-os-head { flex: none; height: 48px; gap: 8px; padding: 0 16px; background: #F0EFFF; box-shadow: inset 0 -1px 0 #E6E3FF; }   /* the purple pages' header strip, 48px in every widget */
.enterprise .edb .mi-os-head b { font-size: 15px; }
.enterprise .edb .mi-os-ic { width: 16px; height: 16px; }
.enterprise .edb .mi-os-add { font-size: 12.5px; } .enterprise .edb .mi-os-add svg { width: 13px; height: 13px; }
.enterprise .edb :is(.mi-ul-foot) { margin-top: auto; padding: 11px; font-size: 13px; }
.enterprise .edb .edb-total { margin-left: auto; font-size: 12.5px; color: #5C5980; } .enterprise .edb .edb-total b { font: 600 14px/1 var(--font-body); color: #2C2853; }
/* Headcount by site: Census's bars (census_board), the largest site purple with its figure */
.enterprise .edb-hc .cbp-bars { flex: 1; height: auto; padding: 30px 18px 12px; gap: 12px; }
.enterprise .edb-hc .cbp-bar i { background: #E4E0FF; transition-delay: calc(var(--k) * 80ms), .5s; }
.enterprise .edb-hc .is-top .cbp-bar i { background: #634AFC; }
.enterprise .edb-hc .cbp-bar em { font-size: 11px; padding: 4px 7px; }
.enterprise .edb-hc .is-top em { opacity: 1; translate: -50% 0; transition-delay: .7s; }
.enterprise .edb-hc .cbp-site { margin: 8px -6px 0; overflow: visible; text-overflow: clip; font-size: 11.5px; color: #5C5980; }   /* the names run into the gaps (as census_board on phones) */
.enterprise .edb.is-pre .edb-hc .cbp-bar i { height: 0; transition-delay: 0s; }
.enterprise .edb.is-pre .edb-hc .is-top .cbp-bar i { background: #E4E0FF; }
.enterprise .edb.is-pre .edb-hc .is-top em { opacity: 0; translate: -50% 4px; transition-delay: 0s; }
/* Open sickness: the SME dashboard's widget (open_sickness's classes); the fit note's row in yellow */
.enterprise .edb-os .mi-os-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; height: 56px; padding: 0 16px; }
.enterprise .edb-os .mi-os-av, .enterprise .edb .mi-ul-av { width: 32px; height: 32px; }
.enterprise .edb-os .mi-os-who b { font-size: 13.5px; }
.enterprise .edb-os .mi-os-btn { padding: 7px 10px; font-size: 12px; }
.enterprise .edb-os .mi-os-row.is-note { background: #FFFBEA; }
/* the toast under Ask AMI, right-aligned over the tabs' empty side, so it never covers a widget (user, 16 Nov) */
.enterprise .edb-main > .mi-toast { left: auto; right: 38px; top: 84px; bottom: auto; transform: translateY(-6px) scale(.96); }
.enterprise .edb-main > .mi-toast.is-on { transform: none; }
/* My team and Upcoming (Figma Dashboard V3 › My information; upcoming_leave's classes) */
.enterprise .edb .mi-ul-list { list-style: none; margin: 0; padding: 0; }
.enterprise .edb .mi-ul-row { gap: 10px; height: 56px; padding: 0 16px; transition: background-color .5s; }   /* the same 56px rows as Open sickness */
.enterprise .edb .mi-ul-ic { width: 32px; height: 32px; }
.enterprise .edb .mi-ul-txt b { font-size: 13.5px; } .enterprise .edb .mi-ul-txt > span { font-size: 12px; }
.enterprise .edb .mi-ul-seg { margin-left: auto; } .enterprise .edb .mi-ul-seg span { padding: 5px 9px; font-size: 12px; }
.enterprise .edb .is-hol { --bg: #FFF7D8; --fg: #965509; } .enterprise .edb .is-train { --bg: #E5FDF0; --fg: #007C66; } .enterprise .edb .is-mat { --bg: #FFF2F2; --fg: #BA1A1A; }
.enterprise .edb-legend { margin-left: auto; display: flex; gap: 12px; font-size: 12px; color: #5C5980; }
.enterprise .edb-st { display: inline-flex; align-items: center; gap: 6px; } .enterprise .edb-st em { font-style: normal; }
.enterprise .edb-st i { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; transition: background-color .4s; } .enterprise .edb-st.is-in i { background: #1BCAA7; }
.enterprise .edb .edb-st i { display: block; min-width: 0; height: 7px; padding: 0; }   /* round: not the Open sickness count badge (.mi-os-head i) that the legend sits in */
.enterprise .edb .mi-ul-row.is-flash { background: #F3FFF8; }
/* AMI, docked: the AMI assistant card (ami_absence's classes) as the dashboard's side panel, down to the bottom of what the hero shows */
.enterprise .edb-ami { position: relative; z-index: 1; flex: 0 0 320px; height: calc(var(--edv, 560px) - 55px); display: flex; background: #fff;
  box-shadow: inset 1px 0 0 #ECEBF3; }
.enterprise .edb-ami > .mi-ami { display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 0 !important; box-shadow: none; background: none; }
.enterprise .edb-ami .mi-ami-head { padding: 13px 16px; }
.enterprise .edb-ami .mi-da-body { flex: 1; height: auto; min-height: 0; gap: 12px; }
.enterprise .edb-ami .mi-da-a p { font-size: 13px; }
.enterprise .edb-ami .mi-aa-row { grid-template-columns: 84px minmax(0, 1fr) 36px; }
.enterprise .edb-ami .mi-as-ask { flex: none; align-items: center; min-height: 52px; margin-bottom: 14px; padding: 8px 9px 8px 14px; }   /* "Ask anything" centred in the field, the send button beside it */
.enterprise .edb-ami .mi-as-ask > span:first-child { align-self: center; gap: 8px; font-size: 13.5px; }
.enterprise .edb-ami .mi-as-ask .ami-spark { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .enterprise .edb-hc .cbp-bar i, .enterprise .edb-hc .cbp-bar em { transition: none; } }

/* css/feature.css */
/* ==========================================================================
   HR feature pages (employee records onwards) — additions on top of product.css.
   Hero: Features.avif background, copy left, visual right. Plus the 3×3 "What's inside" grid and "Explore more" links.
   ========================================================================== */

/* ---------- 03 WHAT'S INSIDE — 3×3 grid (pay-co feature set) ---------- */
.enterprise .pd-tile9-ic { background: var(--brand-10); color: var(--brand); box-shadow: none; }

/* ---------- 05 EXPLORE MORE — linked cards ---------- */
.enterprise .ft-connects .wfp-more-head h2 { font-size: var(--fs-h2); }
.enterprise .pd-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.enterprise .pd-link-card { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 26px 26px 28px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); color: var(--text);
  transition: transform .35s var(--ease-out), box-shadow .35s; }
.enterprise .pd-link-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-md); }
.enterprise .pd-link-body { display: flex; flex-direction: column; gap: 8px; }
.enterprise .pd-link-body b { font: 500 20px/1.25 var(--font-display); letter-spacing: -0.015em; }
.enterprise .pd-link-body span { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.enterprise .pd-link-go { position: absolute; right: 22px; top: 26px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-10); color: var(--brand); transition: background-color .3s, color .3s, transform .3s var(--ease-out); }
.enterprise .pd-link-go svg { width: 15px; height: 15px; }
.enterprise .pd-link-card:hover .pd-link-go { background: var(--brand); color: #fff; transform: translate(2px, -2px); }
@media (max-width: 1024px) { .enterprise .pd-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .enterprise .pd-links { grid-template-columns: 1fr; } }
.enterprise .ft-connects .wfp-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- 07 FAQ — lists inside answers ---------- */
.enterprise .ami-faq-a ul { margin: 10px 0 0; padding-left: 20px; }
.enterprise .ami-faq-a li { margin: 4px 0; }
.enterprise .ami-faq-a p + p, .enterprise .ami-faq-a ul + p { margin-top: 10px; }

/* css/pricing.css */
/* ==========================================================================
   Pricing (sense-pricing.html, tools/product/gen_pricing.py), body.pc-page
   01 hero: Devsonic's pricing hero on our dark inset frame (bars left, copy right)
   02 plans + 03 comparison: Zyntexa's pricing cards and table
   04 the live bands as our stacking panels (css/product.css .pd-stack) · 05 advice card
   ========================================================================== */

.enterprise .pc-soon { display: inline-flex; align-items: center; height: 22px; margin-left: 6px; padding: 0 9px; border-radius: 100px; font: 500 11.5px/1 var(--font-body); font-style: normal; color: var(--brand-hover); background: var(--brand-10); vertical-align: 1px; }

/* ---------- 03 compare all features ---------- */
.enterprise .pc-compare h2 { max-width: 560px; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.enterprise .pc-table-wrap { margin-top: clamp(32px, 4vw, 56px); }
.enterprise .pc-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; }
.enterprise .pc-table th, .enterprise .pc-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.enterprise .pc-table td, .enterprise .pc-table thead th + th { border-left: 1px solid var(--line); }
.enterprise .pc-table thead th { position: sticky; top: 72px; z-index: 2; padding-top: 22px; padding-bottom: 22px; background: var(--page); border-bottom-color: var(--line-strong); }
.enterprise .pc-table thead th:first-child { width: 38%; text-align: left; vertical-align: bottom; font: 500 16px/1.3 var(--font-body); color: var(--text); }
.enterprise .pc-th-name { display: block; font: 500 13px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.enterprise .pc-table .is-pop .pc-th-name { color: var(--brand-hover); }
.enterprise .pc-table tbody th { text-align: left; font-weight: 400; color: var(--text); }
.enterprise .pc-table tbody td:nth-child(3), .enterprise .pc-table thead th.is-pop { background-color: #F0EEFC; }
.enterprise .pc-grp th { padding-top: 34px; padding-bottom: 12px; text-align: left; font: 600 12.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-hover); border-bottom-color: var(--line-strong); }
.enterprise .pc-yes svg { width: 20px; height: 20px; margin: auto; color: var(--brand); }
.enterprise .pc-no { color: var(--text-3); }
.enterprise .pc-txt { font-size: 14px; color: var(--text-2); }
.enterprise .pc-table .pc-soon { margin: 0; }
@media (max-width: 767px) {
  .enterprise .pc-table { font-size: 13px; }
  .enterprise .pc-table th, .enterprise .pc-table td { padding: 12px 6px; }
  .enterprise .pc-table thead th { padding: 14px 4px; }
  .enterprise .pc-table thead th:first-child { width: 34%; padding-left: 0; font-size: 13px; }
  .enterprise .pc-table tbody th { padding-left: 0; }
  .enterprise .pc-th-name { font-size: 10.5px; letter-spacing: .06em; }
  .enterprise .pc-txt { font-size: 12px; }
  .enterprise .pc-yes svg { width: 17px; height: 17px; }
  .enterprise .pc-grp th { padding-left: 0; font-size: 11.5px; }
  .enterprise .pc-table .pc-soon { height: auto; padding: 4px 6px; font-size: 10.5px; line-height: 1.15; }
}

/* ---------- 04 stacking panels: the live bands' tiles, chips, buttons and notes ---------- */
.enterprise .pc-tile { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background-color .4s, box-shadow .4s, transform .4s var(--ease-out); }
.enterprise .pc-tile > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.enterprise .pc-tile b { font: 600 15px/1.25 var(--font-body); color: #fff; }
.enterprise .pc-tile span span { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.enterprise .pc-tile.is-active { background: rgba(255, 255, 255, .17); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); transform: translateX(6px); }
/* the clock and the integrations orbit fill their frame; the orbit is bare (no card) on the same dark backdrop as every animation (cards-image-bg) */
.enterprise .pd-stack-card .pd-stack-visual .pd-frame:has(> .pc-orbit) { display: block; padding: 0; background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.enterprise .pd-stack-card .pd-stack-visual .pd-frame:has(> .pc-orbit)::before { display: none; }
.enterprise .pc-orbit.is-bare { position: absolute; left: 50%; top: 50%; height: 100%; width: auto; max-width: 100%; aspect-ratio: 1.5; translate: -50% -50%; }   /* sized by the frame's height: the arches never leave it */
.enterprise .pc-orbit .au-arc { border-color: rgba(255, 255, 255, .6); }   /* white arches on the dark backdrop */
.enterprise .pc-orbit .au-arc, .enterprise .pc-orbit .au-orbit-hub, .enterprise .pc-orbit .au-arm { bottom: 12%; }   /* the group centred in its box */
@media (max-width: 900px) {
  .enterprise .pd-stack-card .pd-stack-visual .pd-frame:has(> .pc-orbit) { flex: none; width: 100%; aspect-ratio: 1.12; }
  .enterprise .pc-orbit.is-bare { width: 100%; height: auto; }   /* width-bound on narrow frames, still centred */
}

@media (prefers-reduced-motion: reduce) {
  .enterprise .pc-tile.is-active { transform: none; }
}

/* css/smb.css */
/* ==========================================================================
   Small and mid-sized businesses (sense-small-medium-businesses.html; tools/product/gen_smb.py). The Core HR overview's layout and purple;
   these are the page's own blocks: the chapter intro paragraph, the before / after lists, the bento
   ========================================================================== */

/* ---------- before and after: the live page's two lists, paired; each old way crosses out as its Sense HR way ticks in ---------- */
.enterprise .smb-vs { margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r-panel, 32px); background: var(--card, #fff); box-shadow: var(--shadow-sm); }
.enterprise .smb-vs-heads, .enterprise .smb-vs-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.enterprise .smb-vs-heads { padding: 0 6px 18px; }
.enterprise .smb-vs-h { display: flex; flex-direction: column; gap: 6px; font: 600 clamp(18px, 1.7vw, 22px)/1.2 var(--font-display); letter-spacing: -0.01em; }
.enterprise .smb-vs-h b { font: 600 11.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.enterprise .smb-vs-h.is-old { color: #6C7597; } .enterprise .smb-vs-h.is-old b { color: #9AA3B5; }
.enterprise .smb-vs-h.is-new { color: var(--brand); } .enterprise .smb-vs-h.is-new b { color: var(--brand); opacity: .75; }
.enterprise .smb-vs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.enterprise .smb-vs-old, .enterprise .smb-vs-new { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border-radius: 16px; font-size: 16px; line-height: 1.4; transition: background-color .5s, color .5s, box-shadow .5s, opacity .5s; }
.enterprise .smb-vs-old { background: #F4F5F8; color: #4A5470; }
.enterprise .smb-vs-new { background: var(--brand-10, #EFECFF); color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px rgba(99, 74, 252, .14); }
.enterprise .smb-vs-old i, .enterprise .smb-vs-new i { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; } .enterprise .smb-vs-old i svg, .enterprise .smb-vs-new i svg { width: 14px; height: 14px; }
.enterprise .smb-vs-old i { background: #E3E6EC; color: #8A93AB; } .enterprise .smb-vs-new i { background: var(--brand); color: #fff; }
.enterprise .smb-vs-old > span { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: #9AA3B5; transition: text-decoration-color .5s, color .5s; }   /* a real line-through, so wrapped lines are each struck */
.enterprise .smb-vs-arrow { display: grid; place-items: center; width: 36px; height: 36px; margin: auto; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), opacity .4s; } .enterprise .smb-vs-arrow svg { width: 16px; height: 16px; }
/* .is-run: rows start "before" (no strike, no new); .is-on brings each row over */
.enterprise .smb-vs.is-run .smb-vs-row:not(.is-on) .smb-vs-old > span { text-decoration-color: transparent; }
.enterprise .smb-vs.is-run .smb-vs-row:not(.is-on) .smb-vs-old { color: #2C3550; background: #EEF0F4; }
.enterprise .smb-vs.is-run .smb-vs-row:not(.is-on) .smb-vs-new { opacity: .25; }
.enterprise .smb-vs.is-run .smb-vs-row:not(.is-on) .smb-vs-arrow { transform: translateX(-6px); opacity: .4; }
@media (max-width: 760px) {
  .enterprise .smb-vs-heads { display: none; }
  .enterprise .smb-vs-row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .enterprise .smb-vs-arrow { transform: rotate(90deg); width: 28px; height: 28px; } .enterprise .smb-vs.is-run .smb-vs-row:not(.is-on) .smb-vs-arrow { transform: rotate(90deg); }
  .enterprise .smb-vs-list { gap: 22px; } .enterprise .smb-vs-old, .enterprise .smb-vs-new { min-height: 0; font-size: 15px; }
}

/* css/shift.css */
/* ==========================================================================
   Shift, site and field teams pages (body.shift-page): sense-shift-*.html (tools/product/gen_shift_*.py).
   The ATS feature-page layout (css/feature.css) with blue as the menu's accent, the way ATS uses magenta and the HR pages purple (user, 12 Oct).
   Rule of thumb, as ATS and Automate: Sense purple stays on everything you can click (buttons, links, eyebrow pills);
   blue marks the product (light panels, icons, chips, tints, glows, placeholders).
   ========================================================================== */

/* ---------- stacking panels: .is-sky is the light blue panel in place of the ATS .is-blush; the dark panel glows blue ---------- */
.enterprise .pd-stack-card.is-sky .pd-stack-inner { background: radial-gradient(90% 70% at 85% 110%, rgba(40, 110, 200, .13), transparent 60%), #EAF2FB; color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(30, 80, 150, .11), 0 -20px 60px -30px rgba(15, 45, 90, .28); }
.enterprise .pd-stack-card.is-sky p { color: var(--text-2); }
.enterprise .pd-stack-card.is-sky .pd-bullets svg { background: #fff; color: var(--sh-d); }

/* ---------- how it works (tasks on site): four numbered steps on a white band, joined by a dashed line ---------- */
.enterprise .sh-steps-wrap { padding: clamp(44px, 5vw, 80px) clamp(24px, 4vw, 64px); border-radius: var(--r-panel);
  background: #fff; box-shadow: var(--shadow-sm); }   /* white: the quote card that follows is the light blue one */
.enterprise .sh-steps { position: relative; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.enterprise .sh-step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 31px); width: calc(100% - 38px); height: 2px; background-image: linear-gradient(90deg, #B9CEEE 55%, transparent 0); background-size: 10px 2px; }   /* number to next number, 8px clear of each */
.enterprise .sh-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.enterprise .sh-step-n { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sh-soft); color: var(--sh-d); font: 600 18px/1 var(--font-display);
  box-shadow: 0 0 0 1px var(--sh-line), 0 12px 24px -14px rgba(26, 111, 216, .6); }
.enterprise .sh-step h3 { margin-top: 22px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.enterprise .sh-step p { margin-top: 10px; max-width: 30ch; font-size: 15px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 1024px) { .enterprise .sh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .enterprise .sh-step::after { display: none; } }
@media (max-width: 600px) { .enterprise .sh-steps { grid-template-columns: minmax(0, 1fr); } }

/* css/integration.css */
/* ==========================================================================
   Integrations pages (body.ig-page): sense-integration-*.html (tools/product/integration.py, one gen_integration_<name>.py each).
   The Core HR feature-page layout in Sense purple, as the HR feature pages (css/feature.css), with the Shift pages' numbered
   steps band (css/shift.css .sh-steps) turned purple. Minis: tools/product/minis.py ig_pair / ig_record / ig_bank; loops in js/minis.js.
   ========================================================================== */

/* ---------- How It Works: the numbered steps in purple; in turn each number fills and the line draws on to the next (js/integration.js) ---------- */
.enterprise .ig-line { position: absolute; z-index: 1; top: 22px; left: calc(50% + 31px); width: calc(100% - 38px); height: 2px; border-radius: 2px; background: #634AFC;   /* over the dashed line (.sh-step::after) */
  transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.45, 0, .25, 1), opacity .35s; }
.enterprise .sh-step.is-line .ig-line { transform: scaleX(1); }
.enterprise .is-resetting .ig-line { opacity: 0; transition: opacity .35s; }   /* the lines fade rather than run backwards */
@media (max-width: 1024px) { .enterprise .ig-line { display: none; } }   /* no dashed line there either (css/shift.css): the numbers still fill in turn */

/* css/enterprise.css */
/* ==========================================================================
   Enterprise (sense-enterprise.html; tools/product/gen_enterprise.py). The Small and mid-sized businesses page's layout and purple
   (css/smb.css: before / after); these are the page's own blocks. Prefix ent-.
   ========================================================================== */
.enterprise .pd-chapter-head p { margin-top: 18px; max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.enterprise .pd-dark .pd-chapter-head p { color: var(--text-inv-2); }

/* ---------- 01 hero: the doc's two buttons in place of the SMB trial form ---------- */
.enterprise .ent-hero-cta { justify-content: center; margin-top: 36px; }
/* the window holds the doc's brief, an enterprise dashboard (minis.css .edb, zoomed to the window by js/enterprise.js), cropped by the bottom edge as the
   other heroes' screenshots. The three badges on its left and right edges, overlapping a little as on the SME hero (user, 16 Nov), where the dashboard
   has nothing to cover: UK-Based Support over AMI's header (its close button), Secure over the navigation, Customisable in the gap between the rows of
   widgets. The connected systems' tiles (sh_orbit's) float between them */
.enterprise .ent-window .edb { display: flex; }
.enterprise .ent-hero .chip-4 { left: auto; right: -44px; top: 10%; bottom: auto; }
.enterprise .ent-hero .chip-3 { left: -40px; top: 40%; }
.enterprise .ent-hero .chip-1 { left: -40px; right: auto; top: 70%; }
.enterprise .ent-logo { position: absolute; width: 56px; height: 56px; border-radius: 26%; overflow: hidden; animation: floatY 6s ease-in-out infinite;
  box-shadow: 0 16px 30px -12px rgba(11, 10, 20, .6), 0 0 0 1px rgba(11, 10, 20, .06); }
.enterprise .ent-logo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.enterprise .ent-logo-1 { left: -46px; top: 13%; animation-delay: -.8s; }
.enterprise .ent-logo-2 { left: -40px; top: 56%; width: 50px; height: 50px; animation-delay: -2.6s; }
.enterprise .ent-logo-3 { right: -46px; top: 28%; animation-delay: -1.7s; }
.enterprise .ent-logo-4 { right: -40px; top: 48%; width: 50px; height: 50px; animation-delay: -3.9s; }
.enterprise .ent-logo-5 { right: -46px; top: 68%; animation-delay: -5s; }
.enterprise .hero-floats.in .ent-logo-1 { transition-delay: .2s; } .enterprise .hero-floats.in .ent-logo-2 { transition-delay: .35s; } .enterprise .hero-floats.in .ent-logo-3 { transition-delay: .5s; }
.enterprise .hero-floats.in .ent-logo-4 { transition-delay: .65s; } .enterprise .hero-floats.in .ent-logo-5 { transition-delay: .8s; }
@media (max-width: 1300px) { .enterprise .ent-logo-1, .enterprise .ent-logo-3, .enterprise .ent-logo-5 { --o: -28px; } .enterprise .ent-logo-2, .enterprise .ent-logo-4 { --o: -22px; } .enterprise .ent-logo:is(.ent-logo-1, .ent-logo-2) { left: var(--o); } .enterprise .ent-logo:is(.ent-logo-3, .ent-logo-4, .ent-logo-5) { right: var(--o); } }
/* up to 1100 the window fills the container and everything can only hang into the gutter: the badges closer in, Customisable down into the gap
   between the rows; the tiles down the left edge, over the navigation and between the badges, so none covers AMI */
@media (max-width: 1100px) {
  .enterprise .ent-hero .chip-4 { right: -20px; } .enterprise .ent-hero :is(.chip-1, .chip-3) { left: -12px; } .enterprise .ent-hero .chip-1 { top: 79%; }   /* UK-Based Support clears most of "AMI assistant" */
  .enterprise .ent-logo, .enterprise .ent-logo:is(.ent-logo-1, .ent-logo-2, .ent-logo-3, .ent-logo-4, .ent-logo-5) { left: -14px; right: auto; width: 42px; height: 42px; }
  .enterprise .ent-logo-1 { top: 3%; } .enterprise .ent-logo-2 { top: 15%; } .enterprise .ent-logo-3 { top: 27%; } .enterprise .ent-logo-4 { top: 55%; } .enterprise .ent-logo-5 { top: 67%; }
}
@media (max-width: 900px) { .enterprise .ent-hero .hero-visual { height: auto; min-height: 0; aspect-ratio: 2.04; } }   /* the dashboard's top ~570px, cropped as on desktops */
@media (prefers-reduced-motion: reduce) { .enterprise .ent-logo { animation: none; } }

/* ---------- 02 why: the doc's eyebrow over the sliding claim; the intro under it a little wider than the SMB sub ---------- */
.enterprise .ent-claim-eyebrow { margin-bottom: clamp(10px, 1.4vw, 20px); }   /* the SMB claim: the tile on top (order -1), then the doc's eyebrow, the line, the intro */
.enterprise .ent-claim .pd-claim-text { padding-bottom: .2em; }   /* room for the "y" descender: the marquee clips at the line box (as the ATS and Shift claims) */
.enterprise .ent-claim .pd-claim-sub { max-width: 760px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--text-2); }
.enterprise .ent-why { padding-top: clamp(16px, 2vw, 32px); }
.enterprise .ent-vs { margin-top: 0; }
.enterprise .ent-vs .smb-vs-heads, .enterprise .ent-vs .smb-vs-row { align-items: stretch; }
.enterprise .ent-vs .smb-vs-arrow { align-self: center; }
.enterprise .ent-vs .smb-vs-old, .enterprise .ent-vs .smb-vs-new { align-items: flex-start; min-height: 0; padding: 20px 22px; }
.enterprise .ent-vs .smb-vs-old i, .enterprise .ent-vs .smb-vs-new i { margin-top: -2px; }
.enterprise .ent-vs .smb-vs-old { align-items: center; }
.enterprise .ent-vs .smb-vs-old > span { text-decoration: none; }   /* the strike is on the text, not the label */
.enterprise .ent-vs-x { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: #9AA3B5; transition: text-decoration-color .5s; }
.enterprise .ent-vs.is-run .smb-vs-row:not(.is-on) .ent-vs-x { text-decoration-color: transparent; }
.enterprise .ent-vs-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* read out; shown on phones, where the column heads go */
.enterprise .ent-vs-t { display: flex; flex-direction: column; gap: 6px; }
.enterprise .ent-vs-t h3 { font: 600 17px/1.3 var(--font-body); letter-spacing: -0.005em; color: var(--text); }
.enterprise .ent-vs-t p { font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 760px) {
  .enterprise .ent-vs-lbl { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; margin-bottom: 4px; font: 600 11px/1.2 var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #9AA3B5; }
  .enterprise .ent-vs .smb-vs-old, .enterprise .ent-vs .smb-vs-new { padding: 16px; }
  .enterprise .ent-vs .smb-vs-old { align-items: flex-start; }
}

/* ---------- 02b before / after peeks (user, 16 Nov): on desktop, hovering a Sense HR way opens a peek of the system doing it, over the off-the-shelf
   side of its row (the arrow between them points from the peek to the way). An animation already on the site in the panels' dark frame, its cards
   with the glass outline; it plays from the start each time it opens (minis.js loops only while it's shown). js/enterprise.js zooms it to the frame */
.enterprise .ent-peek { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .enterprise .ent-vs .smb-vs-row { position: relative; }
  .enterprise .ent-vs .smb-vs-new { cursor: default; }
  .enterprise .ent-vs .smb-vs-new:hover { background: #E7E2FF; box-shadow: inset 0 0 0 1.5px rgba(99, 74, 252, .45); }
  .enterprise .ent-peek { position: absolute; z-index: 6; left: 0; top: 50%; width: calc((100% - 72px) / 2); height: 360px; translate: 0 -50%; pointer-events: none; }
  .enterprise .ent-vs .smb-vs-row:first-child .ent-peek { top: -10px; translate: none; }        /* the first opens downwards, the last upwards: inside the card */
  .enterprise .ent-vs .smb-vs-row:last-child .ent-peek { top: auto; bottom: -10px; translate: none; }
  .enterprise .ent-vs .smb-vs-new:hover + .ent-peek { display: block; animation: entPeek .3s var(--ease-out) both; }
  .enterprise .ent-peek-frame { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; padding: 22px; border-radius: 24px;
    background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -28px rgba(10, 5, 40, .5); }
  .enterprise .ent-peek-frame > .mi { zoom: var(--pz, .8); margin: 0; border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 24px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); }
  /* the Automate page's stages (workflow builder, connectors, specialist chat) are drawn for its light tiles: a light grey surface here, filling the frame */
  .enterprise .ent-peek-frame > .mi-b { background: #F4F5F8 !important; }   /* light grey (user, 16 Nov: not lilac) */
  /* ...in Sense HR purple, not Automate green: the connectors' hub (the Sense HR mark), the data moving, the Publish button; the statuses stay green */
  .enterprise .ent-peek .ent-hub { display: grid; place-items: center; background: #634AFC; color: #fff; box-shadow: 0 0 0 5px #E6E3FF, 0 12px 24px -10px rgba(99, 74, 252, .6); }
  .enterprise .ent-peek .ent-hub svg { width: 52%; height: 52%; }
  .enterprise .ent-peek .au2-pkt { background: #634AFC; box-shadow: 0 0 0 4px rgba(99, 74, 252, .22), 0 0 12px rgba(99, 74, 252, .9); }
  .enterprise .ent-peek .au2-app.is-flash .au2-card { box-shadow: inset 0 0 0 1.5px #634AFC, 0 8px 18px -10px rgba(99, 74, 252, .5); }
  .enterprise .ent-peek .au1-pub:not(.is-live) { background: #634AFC; }
}
@keyframes entPeek { from { opacity: 0; transform: translateX(-12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .enterprise .ent-vs .smb-vs-new:hover + .ent-peek { animation: none; } }

/* ---------- 03 the six feature sections: the doc's headings are h2s, sized as the panels' h3s ---------- */
.enterprise .ent-features { padding-top: clamp(24px, 3vw, 48px); }
.enterprise .ent-features .pd-stack { margin-top: 0; }
.enterprise .pd-stack-copy h2 { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.enterprise .ent-features .pd-stack-card .pd-bullets { margin-top: 24px; }
.enterprise .ent-features #reporting .pd-frame { display: grid; place-items: center; }   /* Census's board pack (census_board): the two cards centred */
@media (max-width: 600px) { .enterprise .ent-features #reporting .pd-frame { padding: 14px 10px; } }   /* phones: the cards as wide as the frame allows */
/* "The HR System That Adapts…" (user, 16 Nov): the animation's frame as tall as the copy, from the "Configurable" label to the link, and level with it;
   js/enterprise.js sets --ft (the label's top in the panel) and --fh (label to the link's foot) */
@media (min-width: 901px) {
  .enterprise .ent-features #configurable .pd-stack-visual { align-self: start; margin-top: var(--ft, 0px); }
  .enterprise .ent-features #configurable .pd-stack-visual .pd-frame { height: var(--fh, auto); display: grid; place-items: center; }
}
/* "Automate Even Your Most Complex HR Processes": custom_data_flow is two cards (the screen, the workflow), each with the panels' glass outline, as
   the other card stacks in dark frames (user, 16 Nov; the Customisation page keeps its own) */
.enterprise .ent-features .pd-stack-visual .mi-cf :is(.mi-cf-src, .mi-cf-flow) { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 26px 44px -24px rgba(0, 0, 0, .6); }
.enterprise .ent-features .mi-as-ask .ami-spark { width: 19px; height: 19px; }   /* the AI agents panel's ask field: the AMI sparkle, as the hero's */
/* AMI's chats on this page (the hero, the AI agents panel): the question bubble and the asker's photo appear with the first word typed, not as an
   empty bubble before it (user, 16 Nov) */
.enterprise .mi-da-q { transition: opacity .25s; }
.enterprise .mi-da-q:has(> p:empty) { opacity: 0; }
/* the integrations orbit (pricing.css .pc-orbit) centred in its frame: the arches' base sits half the group's height (the largest arch's radius, 44% of
   the width) below the middle, rather than 12% up from the bottom, so the group no longer sits low */
.enterprise .ent-features #integrations .pd-frame { container-type: inline-size; }
.enterprise .ent-features #integrations .pc-orbit :is(.au-arc, .au-orbit-hub, .au-arm) { bottom: calc(50% - 22cqw); }
/* six panels pile up, so each must show in full before the next covers it (user, 16 Nov: the AI agents panel was cut off by the time it stuck).
   Desktop: the panels a little more compact (the AMI and the automation visuals drove them past 690px), the pile's step 12px a panel rather
   than 22, and a pause after each before the next slides on. js/enterprise.js then sets each panel's sticky top so all of it shows on short screens */
@media (min-width: 901px) {
  .enterprise .ent-features .pd-stack-card { top: calc(96px + var(--i) * 12px); margin-bottom: clamp(36px, 22vh, 200px); }
  .enterprise .ent-features .pd-stack-card:last-child { margin-bottom: 0; }
  .enterprise .ent-features .pd-stack-inner { padding-block: clamp(32px, 3vw, 44px); }
  .enterprise .ent-features .pd-stack-visual .pd-frame:has(> .mi) { padding: 24px; }
  .enterprise .ent-features #integrations .pd-frame { aspect-ratio: 1.3; }
}

/* ---------- 04 security: the six assurances as glass cards on the dark frame ---------- */
.enterprise .ent-sec { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.enterprise .ent-sec-item { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card-lg); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.enterprise .ent-sec-item h3 { margin-top: 22px; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.enterprise .ent-sec-item p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text-inv-2); }
.enterprise .ent-sec-foot { margin-top: 32px; }
.enterprise .ent-sec-foot .pd-more { margin-top: 0; color: #fff; }
@media (max-width: 1024px) { .enterprise .ent-sec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .enterprise .ent-sec { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- 05 beyond HR: three device tiles, each with its own page's hero animation on the dark card backdrop ---------- */
.enterprise .ent-hw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 5vw, 72px); }
.enterprise .ent-hw { display: flex; flex-direction: column; align-items: flex-start; }
.enterprise .ent-hw-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.enterprise .ent-hw-vis { position: relative; width: 100%; aspect-ratio: 1.12; margin-bottom: 26px; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); container-type: size; }
.enterprise .ent-hw h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.enterprise .ent-hw p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.enterprise .ent-hw .pd-more { margin-top: auto; padding-top: 20px; }
/* the Clock and the Gateway are drawn in px for their heroes: js/enterprise.js zooms each to fill its tile (designed boxes: the Clock 470 × 461, its
   list inside the box here, so it's centred; the Gateway relaid below as 480 × 413). The --zc / --zg zooms are the no-JS fallback.
   The Badge's box is drawn in cq units: it fills the tile as on the security page's .in-cq */
.enterprise .ent-hw-vis > .mi-shh { width: 470px; zoom: var(--zc, .6); }
.enterprise .ent-hw-vis > .mi-bds { position: absolute; inset: 0; width: auto; zoom: 1; border: 0; background: none; box-shadow: none; overflow: visible; }
.enterprise .ent-hw-vis > .mi-bds .bd-box { width: min(94cqw, calc(94cqh * 1.45), 520px); }
/* the Gateway, bigger in its tile (user, 16 Nov: "too small for this format"): its hero layout cropped of the empty space above the device and beside the
   list, so it zooms larger; the device larger in the box, the list a little wider */
.enterprise .ent-hw-vis > .mi-gwh { width: 480px; aspect-ratio: 1 / .86; overflow-x: visible; zoom: var(--zg, .66); }
.enterprise .ent-hw-vis .gwh-dev { position: absolute; left: 1.5%; top: 0; width: 56%; margin: 0; }   /* a little up and smaller: clears the centred list with all three listed */
.enterprise .ent-hw-vis .gwh-feed { position: absolute; left: 15%; right: auto; bottom: 1.5%; width: 70%; margin-top: 0; }   /* "Who's where" centred in the tile (user, 16 Nov) */
.enterprise .ent-hw-vis .gwh-chip { top: 20%; }
.enterprise .ent-hw-vis .mi-gwh.is-in .gwh-chip.is-on { left: 52.5%; } .enterprise .ent-hw-vis .mi-gwh.is-tap .gwh-chip.is-on { left: 47.5%; }
.enterprise .ent-hw-vis .gwh-row.is-pre { max-height: 0; padding-block: 0; }   /* phones too: the list grows as each person arrives (minis.css keeps it full there) */
/* desktop: each animation inset 10px in its card rather than 40, so all three draw about 17% bigger (user, 16 Nov: the Gateway "still a bit small for
   desktops"); the copy keeps the card's own padding */
@media (min-width: 1101px) {
  .enterprise .ent-hw { padding: 10px 10px clamp(26px, 3vw, 40px); }
  .enterprise .ent-hw-vis { border-radius: calc(var(--r-card-lg) - 10px); --zc: .72; --zg: .8; }
  .enterprise .ent-hw-copy { padding-inline: calc(clamp(26px, 3vw, 40px) - 10px); }
}
@media (max-width: 1239px) { .enterprise .ent-hw-grid { gap: 18px; } }
@media (min-width: 1101px) and (max-width: 1239px) { .enterprise .ent-hw-vis { --zc: .58; --zg: .62; } }
@media (max-width: 1100px) {   /* tablets: one tile a row, the animation beside the copy */
  .enterprise .ent-hw-grid { grid-template-columns: 1fr; }
  .enterprise .ent-hw { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 48px); align-items: center; }
  .enterprise .ent-hw-vis { margin-bottom: 0; aspect-ratio: 1.4; --zc: .72; --zg: .82; }
  .enterprise .ent-hw-copy { flex: none; }
}
@media (max-width: 680px) { .enterprise .ent-hw { display: flex; } .enterprise .ent-hw-vis { margin-bottom: 26px; aspect-ratio: 1.12; --zc: .55; --zg: .6; } }
@media (max-width: 380px) { .enterprise .ent-hw-vis { --zc: .5; --zg: .55; } }
@media (max-width: 600px) {   /* phones: the Clock keeps its wide layout in the tile (minis.css stacks the feed under the clock on phones) */
  .enterprise .ent-hw-vis > .mi-shh { aspect-ratio: 1 / .98; height: auto; overflow-x: visible; }
  .enterprise .ent-hw-vis .shh-clock { position: absolute; width: 82%; }
  .enterprise .ent-hw-vis .shh-feed { position: absolute; width: 58%; margin-top: 0; }
}

/* ---------- 06 implementation: the integration pages' "How It Works" (css/shift.css .sh-steps, purple as css/integration.css's .ig-page);
   in turn each number fills and the line draws on to the next (js/integration.js) ---------- */
.enterprise { --sh: #634AFC; --sh-d: #4931DC; --sh-soft: #F0EFFF; --sh-glow: #C9BFFF; --sh-line: rgba(99, 74, 252, .2); }
.enterprise .sh-step:not(:last-child)::after { background-image: linear-gradient(90deg, #CFC8FB 55%, transparent 0); }
.enterprise .sh-step-n { z-index: 1; box-shadow: 0 0 0 1px var(--sh-line), 0 12px 24px -14px rgba(99, 74, 252, .6); transition: background-color .4s, color .4s, box-shadow .4s; }
.enterprise .sh-step.is-on .sh-step-n { background: #634AFC; color: #fff; box-shadow: 0 0 0 5px rgba(99, 74, 252, .14), 0 14px 26px -12px rgba(99, 74, 252, .75); }

/* ---------- 07 support: spotlight row; the support chat on the dark card backdrop ---------- */
.enterprise .ent-spot .pd-spot-copy h2 { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.enterprise .ent-spot .pd-spot-copy .pd-bullets { margin-top: 24px; }
.enterprise .ent-spot .pd-frame { aspect-ratio: auto; min-height: 420px; display: grid; place-items: center; background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.enterprise .ent-spot .pd-frame::before { display: none; }
.enterprise .ent-spot .pd-frame > .mi { width: min(440px, 100%); }
/* the glass border and 24px corners of the panels' animations (minis.css .pd-stack-visual .mi; as the ATS dark spotlight, ats.css), not the bare 16px card
   (user, 16 Nov: "the same round corners as the rest?") */
.enterprise .ent-spot .pd-frame > .mi { border: 8px solid rgba(255, 255, 255, .16); background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .6); border-radius: 24px !important; }
.enterprise .ent-spot .sms-body { gap: 18px; padding: 26px 14px 18px; min-height: 168px; }   /* more air between the question and the reply (user, 16 Nov) */
@media (max-width: 600px) { .enterprise .ent-spot .pd-frame { min-height: 0; padding: 18px 10px; } }

/* ---------- 08 plans: the pricing page's table, two plans, Enterprise highlighted; the doc's prices in the display face ---------- */
.enterprise .ent-plans .pc-table-wrap { margin-top: clamp(40px, 5vw, 64px); }
.enterprise .ent-table thead th:first-child { width: 40%; }
.enterprise .ent-table tbody td:nth-child(2) { background-color: transparent; }
.enterprise .ent-table .pc-th-name { font-size: 14px; }
.enterprise .ent-table td.ent-price { font: 500 clamp(22px, 2vw, 28px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.enterprise .ent-nw { white-space: nowrap; }
.enterprise .ent-plan-note { max-width: 760px; margin-top: 24px; font-size: 14.5px; line-height: 1.6; color: var(--text-3); }
@media (max-width: 767px) { .enterprise .ent-table thead th:first-child { width: 36%; } .enterprise .ent-table td.ent-price { font-size: 19px; } .enterprise .ent-plan-note { font-size: 13px; } }

/* ===== KIT OPTIONS (design-port) */
/* While a stacking card holds keyboard focus it scrolls with the page instead of sticking (WCAG 2.4.11). */
.enterprise .pd-stack-card:has(:focus-visible) { position: relative; top: auto; }
/* Phones: a zero minimum keeps a stacking card's single column inside the card, however wide its mock-up. */
@media (max-width: 900px) { .enterprise .pd-stack-inner { grid-template-columns: minmax(0, 1fr); } }

/* Keyboard focus rings (checks run 1; WCAG 2.4.7, 1.4.11), as the SMB page (smb.css). The export's base rule draws a brand-purple
   ring, and its lighter variant for dark surfaces targets .hero, a class this page's hero (.pd-hero) doesn't carry. */
/* hero: the two buttons sit on the dark artwork, where brand purple is too dark to see (2.8-2.9:1) */
.enterprise .pd-hero :focus-visible { outline-color: var(--brand-soft); }
/* purple stacking panels: brand purple is the panel's own colour (1.0-1.1:1) */
.enterprise .pd-stack-card.is-purple :focus-visible { outline-color: #fff; }

/* Hero dashboard without the script (checks run 1: at 320px it ran 48px past its window). enterprise.js zooms the 1164px dashboard to the
   window (--edz, set inline, so it wins over these); the export's fallback has five steps, each right for the middle of its range, so
   the dashboard overshot the window at the start of every range (by up to 117px at 901px). These steps are each the window's inner
   width at the range's lower edge (viewport - 42px to 767px, - 64px from 768px) over 1164. */
@media (max-width: 339.98px) { .enterprise .edb { --edz: .238; } }
@media (min-width: 340px) and (max-width: 359.98px) { .enterprise .edb { --edz: .255; } }
@media (min-width: 360px) and (max-width: 389.98px) { .enterprise .edb { --edz: .273; } }
@media (min-width: 390px) and (max-width: 429.98px) { .enterprise .edb { --edz: .298; } }
@media (min-width: 430px) and (max-width: 480.98px) { .enterprise .edb { --edz: .333; } }
@media (min-width: 481px) and (max-width: 559.98px) { .enterprise .edb { --edz: .377; } }
@media (min-width: 560px) and (max-width: 679.98px) { .enterprise .edb { --edz: .445; } }
@media (min-width: 680px) and (max-width: 767.98px) { .enterprise .edb { --edz: .548; } }
@media (min-width: 768px) and (max-width: 819.98px) { .enterprise .edb { --edz: .604; } }
@media (min-width: 820px) and (max-width: 900.98px) { .enterprise .edb { --edz: .649; } }
@media (min-width: 901px) and (max-width: 959.98px) { .enterprise .edb { --edz: .719; } }
@media (min-width: 960px) and (max-width: 1023.98px) { .enterprise .edb { --edz: .769; } }
@media (min-width: 1024px) and (max-width: 1100.98px) { .enterprise .edb { --edz: .824; } }
@media (min-width: 1101px) and (max-width: 1159.98px) { .enterprise .edb { --edz: .89; } }
@media (min-width: 1160px) and (max-width: 1227.98px) { .enterprise .edb { --edz: .941; } }

/* Integrations orbit on phones (checks run 1: a logo tile cut at 320px). The tiles are clamp(50px, 13.5cqw, 68px) wide (minis.css
   .au-app), and the 50px floor is more than the frame has room for under about 412px: over its swing the outer tile ran up to 9px past
   the frame's edge (measured at 300-390px). A 30px floor lets the tile keep its 13.5% of the frame there; wider frames are unchanged. */
.enterprise #integrations .pc-orbit .au-app { width: clamp(30px, 13.5cqw, 68px); }

/* Beyond HR tiles without the script (checks run 2: the Gateway ran past its tile at 320px). enterprise.js zooms the Clock and the
   Gateway to their tiles (an inline zoom, so it wins over these); the export's --zc / --zg fallback has five steps, and where a step
   starts the tile is smaller than the step allows for: both ran past their tiles at 300-359px, 681-1023px (by up to 121px, where the
   tile sits beside its copy) and 1240-1279px, and the Gateway alone at 1024-1100px and 1280-1359px. Each value here is what the script
   sets at the range's lower edge; the ranges the export's steps already fit are left alone. */
@media (max-width: 319.98px) { .enterprise .ent-hw-vis { --zc: .39; --zg: .43; } }
@media (min-width: 320px) and (max-width: 339.98px) { .enterprise .ent-hw-vis { --zc: .43; --zg: .475; } }
@media (min-width: 340px) and (max-width: 359.98px) { .enterprise .ent-hw-vis { --zc: .465; --zg: .515; } }
@media (min-width: 681px) and (max-width: 719.98px) { .enterprise .ent-hw-vis { --zc: .445; --zg: .51; } }
@media (min-width: 720px) and (max-width: 767.98px) { .enterprise .ent-hw-vis { --zc: .47; --zg: .545; } }
@media (min-width: 768px) and (max-width: 819.98px) { .enterprise .ent-hw-vis { --zc: .495; --zg: .57; } }
@media (min-width: 820px) and (max-width: 899.98px) { .enterprise .ent-hw-vis { --zc: .535; --zg: .615; } }
@media (min-width: 900px) and (max-width: 959.98px) { .enterprise .ent-hw-vis { --zc: .59; --zg: .68; } }
@media (min-width: 960px) and (max-width: 1023.98px) { .enterprise .ent-hw-vis { --zc: .635; --zg: .73; } }
@media (min-width: 1024px) and (max-width: 1100px) { .enterprise .ent-hw-vis { --zg: .78; } }   /* 1100px, not 1100.98: the export's tablet layout ends there */
@media (min-width: 1240px) and (max-width: 1279.98px) { .enterprise .ent-hw-vis { --zc: .655; --zg: .73; } }
@media (min-width: 1280px) and (max-width: 1359.98px) { .enterprise .ent-hw-vis { --zg: .755; } }

/* Gateway tile without the script or with reduced motion (review): the "Who's where" rows ship collapsed (is-pre: no height, no
   padding) and the export's end state only fades them in, so the list was empty. The end state opens them too, as on the Gateway
   page (shift-feature.css); reset() removes is-end before a run. */
.enterprise .ent-hw-vis .mi-gwh.is-end .gwh-row { max-height: 60px; padding-block: 8px; }
.enterprise .mi-gwh.is-end .gwh-row + .gwh-row { border-color: #F1F2F6; }

/* A feature panel with keyboard focus inside (review): the kit's focus rule takes the panel out of the pile (position: relative; top:
   auto), but enterprise.js sets each panel's sticky top inline, which outranks it, so the focused panel jumped down by that top (96 to
   156px) and back on blur. */
@media (min-width: 901px) { .enterprise .ent-features .pd-stack-card:has(:focus-visible) { top: auto !important; } }

/* Swept 2026-11-18. The sweep also wrote 16 rules for the Clock (shh) and 25 for the Gateway (gwh): taken out by hand. enterprise.js zooms
   both to their Beyond HR tiles with an inline zoom, and the sweep replays the states it records at 1440px, inline zoom included, at
   every narrower width, where that zoom is too big for the tile (its "was" values are the script's own, correct, zooms). As rules they
   would do nothing with the script on and would undo the design's --zc / --zg fallback with it off. A rerun of the sweep replaces this
   file: take the shh and gwh rules out again. */
@supports (zoom: 1) {
  /* enterprise */
  @media (max-width: 309.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.6; } }   /* worst -82.1 px at 300 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.65; } }   /* worst -72.1 px at 310 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 320px) and (max-width: 329.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.7; } }   /* worst -62.1 px at 320 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 330px) and (max-width: 349.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.75; } }   /* worst -52.1 px at 330 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.8; } }   /* worst -32.1 px at 350 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 359px) and (max-width: 369.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.85; } }   /* worst -26.3 px at 359 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 370px) and (max-width: 374.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.9; } }   /* worst -23.6 px at 370 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (min-width: 375px) and (max-width: 388.98px) { .enterprise .mi[data-mini="sd"] { zoom: 0.95; } }   /* worst -12.2 px at 375 (SPAN.mi-sd-chip, mid-animation), was 1 */
  @media (max-width: 309.98px) { .enterprise .mi[data-mini="cf"] { zoom: 0.95; } }   /* worst -9.7 px at 300 (DIV.mi.mi-cf), was 1 */
  @media (max-width: 309.98px) { .enterprise .mi[data-mini="aa"] { zoom: 0.8; } }   /* worst -27.6 px at 300 (P.), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .enterprise .mi[data-mini="aa"] { zoom: 0.85; } }   /* worst -17.6 px at 310 (P.), was 1 */
  @media (min-width: 320px) and (max-width: 329.98px) { .enterprise .mi[data-mini="aa"] { zoom: 0.9; } }   /* worst -7.6 px at 320 (P.), was 1 */
  @media (max-width: 319.98px) { .enterprise .mi[data-mini="cbp"] { zoom: 0.85; } }   /* worst -33.5 px at 300 (DIV.mi.mi-cbp.is-sched), was 1 */
  @media (min-width: 320px) and (max-width: 329.98px) { .enterprise .mi[data-mini="cbp"] { zoom: 0.9; } }   /* worst -13.5 px at 320 (DIV.mi.mi-cbp.is-sched), was 1 */
  @media (min-width: 330px) and (max-width: 339.98px) { .enterprise .mi[data-mini="cbp"] { zoom: 0.95; } }   /* worst -3.5 px at 330 (DIV.mi.mi-cbp.is-sched), was 1 */
}
