/* HR guides (guides/index.html and the guides under guides/). Converted once on 2026-11-12 from the design exports sense-guides-share.html and sense-guide-*-share.html (their tokens, base, sections, agents, minis, blog, guides, workflows and blog-post; nav.css is left to nav-footer-new.css), scoped to main.guides and trimmed to the rules these pages can match; maintained by hand from here on. */

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

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).
   ========================================================================== */
.guides {
  /* 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) {
  .guides {
    --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
   ========================================================================== */
.guides *, .guides *::before, .guides *::after { box-sizing: border-box; }
.guides {
  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;
}
.guides img, .guides picture, .guides svg { display: block; max-width: 100%; }
.guides img { height: auto; }
.guides a { color: inherit; text-decoration: none; }
.guides button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.guides ul { list-style: none; margin: 0; padding: 0; }
.guides p { margin: 0; }
.guides h1, .guides h2, .guides h3, .guides h4, .guides h5 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-display); color: inherit; }
.guides h1 { font-size: var(--fs-h1); line-height: 1.06; }
.guides h2 { font-size: var(--fs-h2); line-height: 1.12; }
.guides h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }
.guides h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; }
.guides h5 { font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.guides b, .guides strong { font-weight: 600; }

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

.guides .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;
}

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

/* Eyebrow pill */
.guides .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;
}
.guides .eyebrow.on-dark { background: rgba(255, 255, 255, .08); color: #DCD6FF; box-shadow: inset 0 0 0 1px var(--line-inv); }

/* ---------- Buttons ---------- */
.guides .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;
}
.guides .btn:hover { transform: scale(.97); }            /* standing rule: every button scales to .97 */
.guides .btn:active { transform: scale(.95); }
.guides .btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 16px; }
.guides .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); }
.guides .btn-primary:hover { background: var(--btn-primary-bg-hover); }
.guides .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.guides .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-hover); }

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

/* ---------- Scroll reveal (fade-up, staggered by JS via --i) ---------- */
.js .guides .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 .guides .reveal.in { opacity: 1; transform: none; }

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

/* css/sections.css */

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

.js .guides .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; } }
.guides .word-reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.guides .word-reveal { display: inline-block; transform: translateY(110%); animation: wordUp .8s var(--ease-out) forwards; }
@keyframes wordUp { to { transform: none; } }

/* ==========================================================================
   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.
   ========================================================================== */
.guides .ta-frame { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.guides .ta-frame.is-active { opacity: 1; transform: none; }
.guides .ta-frame:nth-child(1) img { max-width: 80%; max-height: 80%; }
.guides .ta-frame:nth-child(2) img { box-shadow: none; border-radius: 0; }
.guides .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); }

/* ==========================================================================
   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) {
  .js .guides .hero-anim { opacity: 1; transform: none; }
}

/* 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 */
.guides .ami-meet-wrap { position: relative; }
.guides .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; }
.guides .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%); }
.guides .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%); }
.guides .ami-meet-copy { max-width: 720px; margin: 0 auto; }
.guides .ami-meet-copy h2 { color: var(--text); }
.guides .ami-meet-copy p { margin: 18px auto 0; color: var(--text-2); font-size: var(--fs-lede); max-width: 620px; }
.guides .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 */
.guides .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); }
.guides .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) {
  .guides .ami-meet-shot { height: 220px; }
}

/* ---------- 06 FAQ — single rounded container with square toggles ---------- */
.guides .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; }
.guides .ami-faq-item + .ami-faq-item { border-top: 1px solid var(--line); }
.guides .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; }
.guides .ami-faq-q::-webkit-details-marker { display: none; }
.guides .ami-faq-q:hover { background: var(--page); }
.guides .ami-faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 12px; }
.guides .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; }
.guides .ami-faq-ic svg { width: 14px; height: 14px; }
.guides .ami-faq-ic svg { transition: transform .35s var(--ease-out); }
.guides .ami-faq-item[open] .ami-faq-ic { background: var(--brand); }
.guides .ami-faq-item[open] .ami-faq-ic svg { transform: rotate(45deg); }
.guides .ami-faq-a { padding: 0 104px 26px 40px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
@supports (interpolate-size: allow-keywords) {
  .guides .ami-faq { interpolate-size: allow-keywords; }
  .guides .ami-faq-item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .guides .ami-faq-item[open]::details-content { height: auto; }
}
@media (max-width: 767px) { .guides .ami-faq { margin-top: 40px; } .guides .ami-faq-q { padding: 20px; } .guides .ami-faq-a { padding: 0 20px 20px; font-size: 15px; } }

/* css/workflows.css */
/* ==========================================================================
   Automate — workflow library (sense-automate-workflows.html)
   Structure + copy from Figma "Automate - Workflow Library"; styling follows the home + agent pages.
   ========================================================================== */

/* supplied card artwork (outline baked into the image) */
.guides.gd-index .hc { display: block; }
.guides.gd-index .hc img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(20, 10, 90, .45)); }

/* ---------- 02 LIBRARY — sticky frosted filter bar + grid ---------- */
.guides.gd-index .wf-filterbar { position: sticky; top: 72px; z-index: 20; padding: 32px 0 20px; margin-bottom: 32px; background: rgba(244, 244, 247, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.guides.gd-index .wf-filter-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guides.gd-index .wf-search { display: flex; align-items: center; gap: 8px; width: min(320px, 100%); height: 44px; padding: 0 14px; border-radius: var(--btn-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-3); transition: box-shadow .2s; }
.guides.gd-index .wf-search:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.guides.gd-index .wf-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.guides.gd-index .wf-search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 15px/1 var(--font-body); color: var(--text); outline: none; }
.guides.gd-index .wf-search input::placeholder { color: var(--text-3); }
.guides.gd-index .wf-count { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.guides.gd-index .wf-chips-row { position: relative; margin-top: 16px; }
/* 22 categories: one scrollable row (arrows + edge fades) keeps the sticky bar compact */
.guides.gd-index .wf-chips { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.guides.gd-index .wf-chips::-webkit-scrollbar { display: none; }

.guides.gd-index .wf-chip { height: 40px; padding: 0 16px; border-radius: 100px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font: 400 14px/1 var(--font-body); color: var(--text); white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out); }
.guides.gd-index .wf-chip:hover { box-shadow: inset 0 0 0 1px var(--brand); transform: scale(.97); }
.guides.gd-index .wf-chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 767px) {
  .guides.gd-index .wf-filterbar { top: 64px; padding: 16px 0 12px; }
  .guides.gd-index .wf-filter-top { flex-wrap: wrap; }
  .guides.gd-index .wf-search { width: 100%; }
  .guides.gd-index .wf-chips-row { margin: 12px calc(var(--gutter) * -1) 0; }
  .guides.gd-index .wf-chips { padding: 2px var(--gutter) 4px; }
}

.guides.gd-index .wf-empty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 64px 16px; text-align: center; color: var(--text-2); }
.guides.gd-index .wf-empty[hidden] { display: none; }

/* 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.
   ========================================================================== */
.guides .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); }
.guides .mi svg { display: block; }

/* cursor (moved by js/minis.js) */
.guides .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)); }
.guides .mi.is-cursor .mi-cursor { opacity: 1; }
.guides .mi-cursor.is-press svg { transform: scale(.82); transition: transform .12s; }
.guides .mi-cursor svg { width: 22px; height: 22px; transition: transform .2s; transform-origin: 20% 15%; }

/* toast */
.guides .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); }
.guides .mi-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.guides .mi-toast-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #E5FDF0; color: #007C66; }
.guides .mi-toast-ic svg { width: 12px; height: 12px; }

/* ---------- AMI assistant (291×329 export) ---------- */
.guides .mi-ami-x { margin-left: auto; color: #B0B0B0; }
.guides .mi-ami-x svg { width: 16px; height: 16px; }

.guides .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; } }

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

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

/* ---------- inside the home T&A frames: undo the screenshot rules, centre, glass border ---------- */
.guides .ta-frame:has(> .mi) { display: grid; place-items: center; }
.guides .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; }

/* done buttons stay purple; a green toast confirms instead */
.guides .mi-toast.is-green { background: #1BCAA7; color: #fff; box-shadow: 0 16px 34px -12px rgba(10, 143, 106, .55); }
.guides .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. ===== */
.guides .mi { border-radius: 16px !important; }

/* ===================== Performance (page 5) ===================== */
/* Interactive reviews — rating + two-way comments */
.guides .mi-rv { width: min(460px, 100%); overflow: hidden; }
.guides .mi-rv-head { display: flex; flex-direction: column; gap: 5px; padding: 14px 18px; background: #F0EFFF; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.guides .mi-rv-head b { font: 600 14.5px/1.2 var(--font-body); color: #4931DC; }
.guides .mi-rv-head span { font-size: 12.5px; color: #5B45E8; }
.guides .mi-rv-body { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.guides .mi-rv-rate { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 14px/1.2 var(--font-body); color: #3F4147; }
.guides .mi-rv-stars { display: inline-flex; gap: 4px; }
.guides .mi-rv-stars i { width: 17px; height: 17px; color: #D5D9E0; transition: color .25s, transform .35s var(--ease-out); }
.guides .mi-rv-stars i svg { width: 100%; height: 100%; display: block; }
.guides .mi-rv-stars i.is-on { color: #F5B700; transform: scale(1.12); }
.guides .mi-rv-stars i.is-set { transform: scale(1); }
.guides .mi-rv-bar { height: 6px; border-radius: 4px; background: #E3E6EB; overflow: hidden; }
.guides .mi-rv-bar i { display: block; height: 100%; border-radius: inherit; background: #7B5CFA; transform-origin: left; transform: scaleX(var(--v, .78)); transition: transform .9s var(--ease-out); }
.guides .mi-rv-msg { display: flex; align-items: flex-start; gap: 10px; transition: opacity .45s, transform .55s var(--ease-out); }
.guides .mi-rv-msg + .mi-rv-msg { margin-top: 2px; }
.guides .mi-rv-body .mi-rv-bar + .mi-rv-msg { margin-top: 4px; padding-top: 16px; border-top: 1px solid #F1F2F6; }
.guides .mi-rv-msg.is-off { opacity: 0; transform: translateY(10px); }
.guides .mi-rv-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.guides .mi-rv-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .mi .mi-rv-msg p { flex: 1; min-height: 4.4em; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; }
.guides .mi .mi-rv-msg.is-them p { background: #F2F4FA; box-shadow: inset 0 0 0 1px #E9EDF4; color: #3F4147; }
.guides .mi .mi-rv-msg.is-me p { min-height: 3em; background: #fff; box-shadow: inset 0 0 0 1px #E8E9F2; color: #2E1B8A; }

@media (max-width: 600px) {

  .guides .mi-rv-head, .guides .mi-rv-body { padding-left: 14px; padding-right: 14px; }

}

/* ==========================================================================
   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
   ========================================================================== */
/* planner event colours (shared by the calendar + upcoming widget) */
.guides .mi-hc .is-hol { --bg: #FFF7D8; --fg: #965509; }
.guides .mi-hc .is-visit { --bg: #E3F2FF; --fg: #0179BD; }
.guides .mi-hc .is-train { --bg: #E5FDF0; --fg: #007C66; }
.guides .mi-hc .is-sick { --bg: #FFF3E8; --fg: #BE4400; }
.guides .mi-hc .is-ooo { --bg: #F2E9E3; --fg: #774022; }
.guides .mi-hc .is-mat { --bg: #FFF2F2; --fg: #BA1A1A; }

/* ---------- Hero: month calendar + day pop-over (Holiday events.svg 1029×1042) ---------- */
.guides .mi-hc { width: min(560px, 100%); border-radius: 20px; overflow: hidden; background: #FDFCFF; container-type: inline-size; }
.guides .mi-hc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; background: #F8F8FF; }
.guides .mi-hc-top b { font: 600 19px/1 var(--font-body); color: #2C2853; letter-spacing: -.01em; }
.guides .mi-hc-seg { display: inline-flex; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #CFD3FF; }
.guides .mi-hc-seg span { padding: 8px 14px; font: 500 13px/1 var(--font-body); color: #5C5980; }
.guides .mi-hc-seg .is-on { background: #E6E7FF; color: #4931DC; box-shadow: inset 0 0 0 1px #CFD3FF; border-radius: 8px 0 0 8px; }
.guides .mi-hc-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #E6E7FF; box-shadow: inset 0 1px 0 #CFD3FF, inset 0 -1px 0 #CFD3FF; }
.guides .mi-hc-days span { padding: 9px 0; text-align: center; font: 500 13px/1 var(--font-body); color: #4931DC; }
.guides .mi-hc-days span + span { box-shadow: inset 1px 0 0 #CFD3FF; }
.guides .mi-hc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, 102px) 38px; }   /* room under "2+ more" (user, 2 Oct) */
.guides .mi-hc-cell { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; padding: 7px 7px 0; box-shadow: inset -1px -1px 0 #EBEEFF; transition: background-color .25s, box-shadow .25s; }
.guides .mi-hc-cell:nth-child(4n) { box-shadow: inset 0 -1px 0 #EBEEFF; }
.guides .mi-hc-n { align-self: flex-end; margin-bottom: 2px; font: 500 14px/1 var(--font-body); color: #5C5980; }
.guides .mi-hc-pill { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 5px 0 6px; border-radius: 5px; background: var(--bg); color: var(--fg); min-width: 0; flex-shrink: 0; }
.guides .mi-hc-pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.guides .mi-hc-pill span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 12px/1 var(--font-body); color: #2C2853; }
.guides .mi-hc-pill i { flex-shrink: 0; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: #fff; font: 500 9.5px/1 var(--font-body); font-style: normal; }
.guides .mi-hc-pill.is-pending { background: transparent; box-shadow: none; border: 1.2px dashed var(--fg); }
.guides .mi-hc-more { padding: 1px 0 0 3px; font: 400 12px/1.2 var(--font-body); color: #2C2853; }
.guides .mi-hc-cell.is-hover { background: #F8F7FF; }
.guides .mi-hc-cell.is-sel { background: #F8F7FF; box-shadow: inset 0 0 0 2px #634AFC; }
/* pop-over: open in the designed state (no JS / reduced motion); js/minis.js opens it on click */
.guides .mi-hc-pop { position: absolute; z-index: 3; left: 51.2%; right: 3.5%; top: 21%; bottom: 5%; display: flex; flex-direction: column; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px #E4E6FB, 0 32px 60px -22px rgba(44, 40, 83, .38), 0 8px 18px -10px rgba(44, 40, 83, .18); transform-origin: 15% 62%;
  transition: opacity .28s, transform .5s var(--ease-out), visibility 0s; }
.js .guides .mi-hc:not(.is-open) .mi-hc-pop { opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transition: opacity .22s, transform .3s, visibility 0s .3s; }
.guides .mi-hc-pop-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 13px 16px; box-shadow: inset 0 -1px 0 #EBEEFF; }
.guides .mi-hc-pop-head b { font: 600 15.5px/1 var(--font-body); color: #2C2853; }
.guides .mi-hc-x { color: #2C2853; } .guides .mi-hc-x svg { width: 16px; height: 16px; }
.guides .mi-hc-pop-body { flex: 1; min-height: 0; overflow: hidden; padding: 0 16px; }
.guides .mi-hc-grp { padding: 13px 0 12px; }
.guides .mi-hc-grp + .mi-hc-grp { box-shadow: inset 0 1px 0 #EBEEFF; }
.guides .mi-hc-gh { display: flex; align-items: center; gap: 9px; font: 500 14px/1.2 var(--font-body); color: #2C2853; }
.guides .mi-hc-gh svg { width: 16px; height: 16px; color: var(--fg); flex-shrink: 0; }
.guides .mi-hc-grp ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 25px; display: flex; flex-direction: column; gap: 9px; }
.guides .mi-hc-grp li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.guides .mi-hc-grp li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guides .mi-hc-grp li b { font: 500 12.5px/1.3 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .mi-hc-grp li span span { font-size: 11.5px; line-height: 1.4; color: #5C5980; }
.guides .mi-hc-av { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.guides .mi-hc-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .mi-hc-av.is-in { display: grid; place-items: center; background: #E6E7FF; color: #4931DC; font: 500 11px/1 var(--font-body); }
.guides .mi-hc-pop-foot { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; box-shadow: inset 0 1px 0 #EBEEFF; font: 500 13.5px/1 var(--font-body); color: #634AFC; }
.guides .mi-hc-pop-foot svg { width: 14px; height: 14px; }
/* groups land one by one as the pop-over opens */
.js .guides .mi-hc .mi-hc-grp { transition: opacity .35s, transform .45s var(--ease-out); }
.js .guides .mi-hc.is-open .mi-hc-grp:nth-child(2) { transition-delay: .07s; } .js .guides .mi-hc.is-open .mi-hc-grp:nth-child(3) { transition-delay: .14s; } .js .guides .mi-hc.is-open .mi-hc-grp:nth-child(4) { transition-delay: .21s; }
.js .guides .mi-hc:not(.is-open) .mi-hc-grp { opacity: 0; transform: translateY(8px); }
@container (max-width: 520px) {   /* narrower calendar (tablet hero): tighter pop-over rows so dates stay on one line */
  .guides .mi-hc-pop { left: 49.5%; right: 2.5%; }
  .guides .mi-hc-pop-head, .guides .mi-hc-pop-body { padding-left: 12px; padding-right: 12px; } .guides .mi-hc-pop-head b { font-size: 14px; }
  .guides .mi-hc-grp ul { padding-left: 0; } .guides .mi-hc-av { width: 26px; height: 26px; }
  .guides .mi-hc-grp li b { font-size: 12px; } .guides .mi-hc-grp li span span { font-size: 10.5px; }
}
@media (max-width: 600px) {
  .guides .mi-hc-top { padding: 11px 10px 11px 14px; } .guides .mi-hc-top b { font-size: 16px; } .guides .mi-hc-seg span { padding: 6px 10px; font-size: 12px; }
  .guides .mi-hc-days span { font-size: 11.5px; padding: 7px 0; }
  .guides .mi-hc-grid { grid-template-rows: repeat(4, 90px) 30px; }
  .guides .mi-hc-cell { gap: 3px; padding: 5px 4px 0; } .guides .mi-hc-n { font-size: 12px; }
  .guides .mi-hc-pill { height: 19px; gap: 4px; padding: 0 3px 0 4px; } .guides .mi-hc-pill svg { width: 10px; height: 10px; } .guides .mi-hc-pill span { font-size: 10.5px; }
  .guides .mi-hc-pill i { width: 13px; height: 13px; font-size: 8.5px; } .guides .mi-hc-more { font-size: 10.5px; }
  .guides .mi-hc-pop { left: 22%; right: 3%; top: 19%; bottom: 4%; }
}

/* ---------- Employee self service (self-service.svg 625×285) ---------- */
.guides .mi-ss { position: relative; width: min(500px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 0 0 58px; background: none !important; box-shadow: none !important; border: 0 !important; }
.guides .mi-ss-card { width: min(310px, 88%); padding: 18px 18px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #DCDFFF, 0 30px 52px -26px rgba(20, 12, 90, .55); }
.guides .mi-ss-card.is-hol { align-self: flex-start; }
.guides .mi-ss-card.is-sick { align-self: flex-end; }   /* staggered, never overlapping (user, 2 Oct) */
.guides .mi-ss-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guides .mi-ss-head b { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; }
.guides .mi-ss-chev { width: 15px; height: 15px; color: #6B6D80; }
.guides .mi-ss-btn { padding: 8px 12px; border-radius: 8px; background: #E6E7FF; color: #4931DC; font: 500 13px/1 var(--font-body); white-space: nowrap; transition: background-color .3s, color .3s, transform .15s; }
.guides .mi-ss-btn.is-press { transform: scale(.94); }
.guides .mi-ss-btn.is-done { background: #E5FDF0; color: #007C66; }
.guides .mi-ss-big { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.guides .mi-ss-big b { font: 600 34px/1 var(--font-body); color: #2C2853; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.guides .mi-ss-big > span { font-size: 15px; color: #6B6D80; }
.guides .mi-ss-info { width: 15px; height: 15px; align-self: center; color: #A3A2B1; }
.guides .mi-ss-bar { display: block; height: 8px; margin-top: 14px; overflow: hidden; border-radius: 4px; background: #EEECF0; }
.guides .mi-ss-bar i { display: block; height: 100%; border-radius: inherit; background: #634AFC; transform-origin: left; transform: scaleX(var(--v)); transition: transform .9s var(--ease-out); }
.guides .mi-ss.is-pre .mi-ss-bar i { transform: scaleX(0); }
.guides .mi-ss-sub { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: #6B6D80; }
.guides .mi-ss-sub.is-last { margin-top: 18px; }
.guides .mi-ss-clock { width: 15px; height: 15px; color: #BE4400; }
.guides .mi-ss .mi-toast { bottom: 4px; }
@media (max-width: 600px) {
  .guides .mi-ss { gap: 12px; } .guides .mi-ss-card { padding: 14px; }
  .guides .mi-ss-head b { font-size: 13.5px; } .guides .mi-ss-btn { padding: 7px 9px; font-size: 12px; } .guides .mi-ss-big b { font-size: 30px; } .guides .mi-ss-big > span { font-size: 13.5px; }
}

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

/* ---------- Managed return to work: open sickness (RTW.svg 447×255) ---------- */
.guides .mi-os { width: min(480px, 100%); border-radius: 16px; overflow: hidden; }
.guides .mi-os-head { display: flex; align-items: center; gap: 9px; padding: 14px 16px; background: #EFF1FF; box-shadow: inset 0 -1px 0 #EBEEFF; }
.guides .mi-os-ic { width: 17px; height: 17px; color: #634AFC; }
.guides .mi-os-head b { font: 600 16px/1 var(--font-body); color: #4931DC; }
.guides .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; }
.guides .mi-os-head i.is-bump { animation: miBump .4s var(--ease-out); }
.guides .mi-os-add { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px/1 var(--font-body); color: #634AFC; } .guides .mi-os-add svg { width: 15px; height: 15px; }
.guides .mi-os-list { list-style: none; margin: 0; padding: 0; }
.guides .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; }
.guides .mi-os-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; } .guides .mi-os-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .mi-os-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }   /* name over the date: full names fit the frame */
.guides .mi-os-who b { font: 500 14px/1.3 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .mi-os-who span { font-size: 12px; color: #5C5980; white-space: nowrap; }
.guides .mi-os-tag { justify-self: center; padding: 5px 8px; border-radius: 7px; background: #FFF7D8; color: #965509; font: 500 12px/1 var(--font-body); white-space: nowrap; transition: background-color .3s, color .3s; }
.guides .mi-os-row.is-long .mi-os-tag { background: #FFF2F2; color: #BA1A1A; }
.guides .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; }
.guides .mi-os-btn.is-hot { background: #F6F5FF; box-shadow: inset 0 0 0 1px #634AFC; color: #4931DC; }
.guides .mi-os-btn.is-press { transform: scale(.94); }
.guides .mi-os-row.is-back { background: #F3FFF8; }
.guides .mi-os-row.is-back .mi-os-tag { background: #E5FDF0; color: #007C66; }
.guides .mi-os-row.is-back .mi-os-btn { background: #1BCAA7; color: #fff; box-shadow: none; }

.guides .mi-os-foot { padding: 14px; text-align: center; font: 500 13.5px/1 var(--font-body); color: #4931DC; }
.guides .mi-os .mi-toast { bottom: 52px; }
@media (max-width: 600px) {
  .guides .mi-os-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .guides .mi-os-tag { display: none; } .guides .mi-os-who b { white-space: normal; }
}

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

/* ---------- Employee self-service page (Self service.svg, book holidays.svg, Register sickness.svg, personal details.svg) ---------- */
/* hero: Angela's self-service actions (319×365 export, shown ~1.2×) */
.guides .mi-sk-av img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* event request (book holidays.svg 389×404) */

.guides .mi-sk-btn { display: grid; place-items: center; height: 36px; border-radius: 5px; background: #634AFC; color: #fff; font: 500 13px/1 var(--font-body); transition: transform .15s, background-color .3s, opacity .3s; }
.guides .mi-sk-btn.is-ghost { background: #E6E7FF; color: #4931DC; }
.guides .mi-sk-btn.is-press { transform: scale(.95); }
/* confirmation toast drops in at the top of the card; the buttons keep their design */
.guides .mi-sk .mi-toast { top: 14px; bottom: auto; transform: translate(-50%, -10px) scale(.96); }
.guides .mi-sk .mi-toast.is-on { transform: translate(-50%, 0) scale(1); }

/* sickness event (Register sickness.svg 480×488 card, shown ~0.9×) */
.guides .mi-sk { width: min(440px, 100%); border-radius: 12px; overflow: hidden; }
.guides .mi-sk-head { display: flex; align-items: center; gap: 14px; padding: 26px 28px 24px; border-bottom: 1px solid #EBEEFF; }
.guides .mi-sk-ic { flex-shrink: 0; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: #FFF3E8; color: #BE4400; } .guides .mi-sk-ic svg { width: 100%; height: 100%; }
.guides .mi-sk-head b { font: 500 20px/1.2 var(--font-body); color: #2C2853; } .guides .mi-sk-head .mi-ami-x { margin-left: auto; } .guides .mi-sk-head .mi-ami-x svg { width: 16px; height: 16px; }
.guides .mi-sk-body { padding: 16px 28px 26px; border-bottom: 1px solid #EBEEFF; }
.guides .mi-sk-who { display: flex; align-items: center; gap: 14px; } .guides .mi-sk-who b { font: 400 14px/1.2 var(--font-body); color: #2C2853; }
.guides .mi-sk-av { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #EEE; }
.guides .mi-sk-label { display: block; margin-top: 18px; font: 500 13px/1.2 var(--font-body); color: #2C2853; }
.guides .mi-sk-table { list-style: none; margin: 10px 0 0; padding: 0 14px; border-radius: 6px; background: #FDFCFF; box-shadow: inset 0 0 0 1px #DCDFFF; }
.guides .mi-sk-table li { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; min-height: 33px; border-bottom: 1px solid #EBEEFF; font-size: 12.5px; color: #2C2853;
  transition: opacity .4s, transform .5s var(--ease-out); transition-delay: calc(var(--k) * 260ms); }
.guides .mi-sk-table li:last-child { border-bottom: 0; }
.guides .mi-sk-table li > span:first-child { color: #5C5980; }
.guides .mi-sk-table em { color: #A3A2B1; }
.guides .mi-sk.is-pre .mi-sk-table li { opacity: 0; transform: translateX(-6px); transition-delay: 0s; }
.guides .mi-sk-chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 8px 3px 6px; border-radius: 7px; background: #EBEEFF; color: #4931DC; }
.guides .mi-sk-chip svg { width: 11px; height: 11px; color: #634AFC; }
.guides .mi-sk-foot { display: flex; justify-content: flex-end; gap: 14px; padding: 22px 28px; }
.guides .mi-sk-btn { height: 40px; padding: 0 22px; }

/* personal details (personal details.svg 797×476, shown ~0.75×) */

@media (max-width: 600px) {   /* phones: event request + sickness event keep their rows on one line */

  .guides .mi-sk-head { gap: 10px; padding: 18px 16px 16px; } .guides .mi-sk-head b { font-size: 17px; } .guides .mi-sk-ic { width: 32px; height: 32px; padding: 8px; }
  .guides .mi-sk-body { padding: 14px 16px 18px; }
  .guides .mi-sk-table { padding: 0 10px; } .guides .mi-sk-table li { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; padding: 6px 0; font-size: 11.5px; }
  .guides .mi-sk-chip { white-space: nowrap; }
  .guides .mi-sk-foot { gap: 10px; padding: 16px; } .guides .mi-sk-btn { flex: 1 1 0; padding: 0 8px; font-size: 12.5px; white-space: nowrap; }
}
@media (max-width: 360px) {   /* narrowest phones: dates, table rows and buttons stack */

  .guides .mi-sk-head { padding: 16px 12px 14px; } .guides .mi-sk-body { padding: 12px 12px 16px; }
  .guides .mi-sk-table li { grid-template-columns: 1fr; gap: 3px; padding: 7px 0; }
  .guides .mi-sk-foot { flex-direction: column-reverse; gap: 8px; padding: 14px 12px; } .guides .mi-sk-btn { flex: none; }
}

/* ==========================================================================
   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.
   ========================================================================== */

/* ---------- Sense Automate — Active workflows (Different rules.svg): rows load, then each workflow runs step by step ---------- */
.guides .mi-auwf { width: min(490px, 100%); padding: 0; overflow: hidden; border-radius: 18px; container-type: inline-size; }
.guides .aw-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #EBFFF7; border-bottom: 1px solid #EFF2F8; color: #00A37C; }
.guides .aw-hic svg { width: 18px; height: 18px; }
.guides .aw-head b { font: 600 14px/1 var(--font-body); color: #00A37C; }
.guides .aw-rows { list-style: none; margin: 0; padding: 4px 14px 8px; }
.guides .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); }
.guides .aw-row + .aw-row::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 1px; background: #EFF2F8; }
.guides .aw-row.is-hot { background: #F6FFFB; }
.guides .aw-row.is-hot::before, .guides .aw-row.is-hot + .aw-row::before { opacity: 0; }
.guides .mi-auwf.is-pre .aw-row { opacity: 0; transform: translateY(8px); }
.guides .aw-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; }
.guides .aw-ic svg { width: 18px; height: 18px; }
.guides .aw-ic.is-green { background: #E5FBEF; color: #1FA463; } .guides .aw-ic.is-purple { background: #EDEAFF; color: #7358F8; } .guides .aw-ic.is-blue { background: #E6F1FF; color: #2F80ED; }
.guides .aw-ic.is-orange { background: #FFF1E5; color: #E8772E; } .guides .aw-ic.is-red { background: #FFECEC; color: #E5484D; }
.guides .aw-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.guides .aw-txt b { font: 500 13.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .aw-path { font-size: 11px; line-height: 1.2; color: #8A8DA0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .aw-path i, .guides .aw-path em { font-style: normal; transition: color .3s; }
.guides .aw-path em { margin: 0 4px; }
.guides .aw-path i.is-on { color: #007A5C; font-weight: 500; } .guides .aw-path em.is-on { color: #00CD9C; }
.guides .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; }
.guides .aw-run svg { width: 11px; height: 11px; }
.guides .aw-row.is-hot .aw-run { background: #00CD9C; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 163, 124, .7); }
.guides .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 */
  .guides .aw-rows { padding: 2px 8px 6px; } .guides .aw-row { gap: 10px; padding: 9px 4px; } .guides .aw-ic { width: 30px; height: 30px; } .guides .aw-ic svg { width: 16px; height: 16px; }
  .guides .aw-txt b { font-size: 12.5px; } .guides .aw-path { font-size: 10.5px; } .guides .aw-run { padding: 6px; font-size: 0; gap: 0; } .guides .aw-run svg { width: 12px; height: 12px; } .guides .aw-head { padding: 12px 14px; } }

/* ==========================================================================
   Recruitment: Pipelines page exports (user, 6 Oct) — tools/product/minis.py pipeline_board … benefit_roles.
   Same palette as the vacancies minis (#393940 text, #6B6D80 grey, #9802A0 / #B000BA magenta); stage colours from Pipeline.svg / Define.svg.
   ========================================================================== */
.guides .pl-sub { --st-bg: #FFF7D8; --st-fg: #965509; --st-chip: #FFF0B6; --st-line: #E2B23A; }
.guides .pl-rev { --st-bg: #F8E7F9; --st-fg: #9802A0; --st-chip: #F2CAF4; --st-line: #D27ADA; }
.guides .pl-scr { --st-bg: #E5FDF0; --st-fg: #007C66; --st-chip: #C0FFDD; --st-line: #2DB383; }
.guides .pl-n { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 6px; background: var(--st-chip); color: var(--st-fg); font: 500 11.5px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.guides .pl-n svg { width: 12px; height: 12px; } .guides .pl-n i { font-style: normal; }
.guides .pl-cb { flex-shrink: 0; width: 13px; height: 13px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px #E2E1E6; }
.guides .pl-card { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px 0 11px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; }
.guides .pl-card b { flex: 1; min-width: 0; font: 400 12.5px/1.2 var(--font-body); color: #393940; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .pl-dots { flex-shrink: 0; width: 16px; height: 16px; color: #4E4D54; }
.guides .pl-col { flex: 0 0 214px; display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #EFEEF3; overflow: hidden; }
.guides .pl-col-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 7px 8px; padding: 12px 11px 12px 13px; background: var(--st-bg); color: var(--st-fg); }
.guides .pl-col-h b { font: 600 13px/1.25 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .pl-col-x { width: 12px; height: 12px; margin-top: 2px; }
.guides .pl-col-h > span:not(.pl-n) { font-size: 11px; line-height: 1.4; }
.guides .pl-col-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.guides .pl-slot { display: block; flex-shrink: 0; height: 0; margin-top: -8px; transition: height .55s var(--ease-out), margin-top .55s var(--ease-out); }   /* closed: takes back its gap */
.guides .pl-slot.is-open { height: 38px; margin-top: 0; }
.guides .pl-card.is-float { position: absolute; left: 0; top: 0; z-index: 4; width: var(--w); transform: translate(var(--dx), var(--dy)) rotate(var(--rot, 0deg));
  transition: transform .9s cubic-bezier(.5, 0, .2, 1), box-shadow .3s, opacity .4s; }
.guides .pl-card.is-float.is-lift { --rot: -4deg; box-shadow: inset 0 0 0 1px #EFEEF3, 0 18px 30px -12px rgba(33, 18, 60, .35); }
.guides .pl-card.is-float.is-gone { opacity: 0; }

/* the export's grab hand replaces the arrow while dragging */
.guides .mi-cursor .mi-hand { display: none; width: 22px; height: 22px; color: #0B0A14; }
.guides .mi-cursor.is-grab > svg:first-child { display: none; } .guides .mi-cursor.is-grab .mi-hand { display: block; }

/* hero board (Pipeline.svg 450×474) */
.guides .mi-pb { width: min(520px, 100%); border-radius: 18px; overflow: hidden; background: #FBFBFB; }
.guides .mi-pb-head { padding: 22px 22px 0; } .guides .mi-pb-h { display: block; font: 600 21px/1.2 var(--font-body); color: #393940; letter-spacing: -.01em; }
.guides .mi-pb-loc { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: #6B6D80; } .guides .mi-pb-loc svg { width: 13px; height: 13px; }
.guides .mi-pb-tabs { display: flex; gap: 20px; margin: 16px 22px 0; border-bottom: 1px solid #EFEEF3; white-space: nowrap; overflow: hidden; font-size: 12.5px; color: #6B6D80; }
.guides .mi-pb-tabs span { position: relative; padding-bottom: 10px; } .guides .mi-pb-tabs .is-on { color: #9802A0; } .guides .mi-pb-tabs .is-on::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -1px; height: 2px; background: #9802A0; }
.guides .mi-pb-board { display: flex; gap: 14px; height: 340px; padding: 18px 20px 22px; overflow: hidden; }   /* 4 cards fit in a column */
.guides .mi-pb .pl-col { height: 100%; }
@media (max-width: 600px) { .guides .mi-pb-head { padding: 18px 16px 0; } .guides .mi-pb-h { font-size: 18px; } .guides .mi-pb-tabs { margin: 14px 16px 0; gap: 16px; font-size: 12px; }
  .guides .mi-pb-board { padding: 16px; gap: 12px; height: 324px; } .guides .mi-pb .pl-col { flex-basis: 184px; } }

/* ==========================================================================
   Shift, site and field teams: Verify hours (sense-shift-verify-hours.html) — colours from the exports
   ========================================================================== */
/* ---------- the day, verified (Verify every hour.svg 462×382): rows arrive from the first clock-in up, then their tags pop in ---------- */
.guides .mi-shd { width: min(500px, 100%); border-radius: 18px; overflow: hidden; }   /* 462 in the export: wider, so the longer tags keep their lines */
.guides .mi-shd-head { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #EBF6FF; box-shadow: inset 0 -1px 0 #EFF2F8; }
.guides .mi-shd-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; } .guides .mi-shd-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .mi-shd-who { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.guides .mi-shd-who b { font: 500 14px/1.2 var(--font-body); color: #495066; } .guides .mi-shd-who span { font-size: 11.5px; color: #6C7597; }
.guides .mi-shd-badge { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--font-body); color: #4E71FF; white-space: nowrap; }
.guides .mi-shd-badge svg { width: 16px; height: 16px; }
.guides .mi-shd-list { list-style: none; margin: 0; padding: 8px 16px 12px; }
.guides .mi-shd-row { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 13px 0;
  transition: opacity .45s, transform .55s var(--ease-out); }
.guides .mi-shd-dot { position: relative; width: 15px; height: 15px; border-radius: 50%; align-self: start; margin-top: 2px; }
.guides .mi-shd-row:not(:last-child) .mi-shd-dot::after { content: ""; position: absolute; left: 7px; top: 15px; width: 1px; height: 47px; background: #E8EEF6; }   /* the rail down to the next event */
.guides .mi-shd-row.is-red .mi-shd-dot { background: #FF5C4E; } .guides .mi-shd-row.is-green .mi-shd-dot { background: #1ED9A4; } .guides .mi-shd-row.is-yellow .mi-shd-dot { background: #FFD270; }
.guides .mi-shd-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guides .mi-shd-txt b { font: 500 13.5px/1.25 var(--font-body); color: #495066; } .guides .mi-shd-txt span { font-size: 11.5px; line-height: 1.3; color: #6C7597; }
.guides .mi-shd-r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.guides .mi-shd-r > b { font: 500 13.5px/1.2 var(--font-body); color: #495066; font-variant-numeric: tabular-nums; }
.guides .mi-shd-tag { padding: 4px 7px; border-radius: 6px; font: 500 10px/1.1 var(--font-body); white-space: nowrap; transition: opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.guides .mi-shd-tag.is-ok { background: #E4FFF0; color: #02847C; } .guides .mi-shd-tag.is-warn { background: #FFF3E8; color: #D34C00; } .guides .mi-shd-tag.is-bad { background: #FFEDED; color: #B90000; }
.guides .mi-shd-row.is-pre { opacity: 0; transform: translateY(12px); }
.guides .mi-shd-row.is-pre .mi-shd-tag, .guides .mi-shd-row.is-checking .mi-shd-tag { opacity: 0; transform: scale(.7); }
.guides .mi-shd-row.is-pre .mi-shd-dot::after { opacity: 0; }
.guides .mi-shd-row.is-checking .mi-shd-dot { animation: shdPulse 1s ease-out infinite; }
@keyframes shdPulse { from { box-shadow: 0 0 0 0 rgba(78, 113, 255, .45); } to { box-shadow: 0 0 0 9px rgba(78, 113, 255, 0); } }
@media (max-width: 520px) {
  .guides .mi-shd-row { grid-template-columns: 16px minmax(0, 1fr); row-gap: 8px; }
  .guides .mi-shd-r { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .guides .mi-shd-row:not(:last-child) .mi-shd-dot::after { height: 80px; }
  .guides .mi-shd-badge { display: none; }
}

/* ---------- one-use code (new graphic): the Sense Clock's code + countdown, a fingerprint match, a reused code rejected, Clockwise's flag ---------- */
.guides .mi-shc { width: min(440px, 100%); border-radius: 18px; overflow: hidden; padding-bottom: 14px; }
.guides .mi-shc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; box-shadow: inset 0 -1px 0 #EFF2F8; }
.guides .mi-shc-head b { display: inline-flex; align-items: center; gap: 9px; font: 500 14px/1 var(--font-body); color: #495066; }
.guides .mi-shc-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #EBF6FF; color: #4E71FF; } .guides .mi-shc-logo svg { width: 16px; height: 16px; }   /* a blue clock (user, 12 Oct) */
.guides .mi-shc-loc { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; background: #EBF6FF; color: #3A5BE0; font: 500 11px/1 var(--font-body); } .guides .mi-shc-loc svg { width: 12px; height: 12px; }
.guides .mi-shc-code { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; margin: 14px 14px 0; padding: 14px 16px; border-radius: 14px; background: #EBF6FF; }
.guides .mi-shc-lbl { font-size: 11.5px; color: #6C7597; }
.guides .mi-shc-digits { grid-row: 2; display: flex; gap: 5px; margin-top: 8px; }
.guides .mi-shc-digits i { width: 30px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px #DCE8FA; font: 600 22px/1 var(--font-body); font-style: normal; color: #2C3550; font-variant-numeric: tabular-nums;
  transition: transform .3s, opacity .3s; }
.guides .mi-shc-digits i.is-gap { width: 6px; background: none; box-shadow: none; }
.guides .mi-shc-digits.is-flip i:not(.is-gap) { transform: rotateX(90deg); opacity: .2; }
.guides .mi-shc-ring { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; width: 48px; height: 48px; }
.guides .mi-shc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.guides .mi-shc-ring circle { fill: none; stroke-width: 3; }
.guides .mi-shc-track { stroke: #D6E6FB; } .guides .mi-shc-arc { stroke: #4E71FF; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: var(--off, 0); transition: stroke-dashoffset 1s linear; }
.guides .mi-shc-ring em { position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px/1 var(--font-body); font-style: normal; color: #3A5BE0; font-variant-numeric: tabular-nums; }
.guides .mi-shc-list { list-style: none; margin: 0; padding: 4px 14px 0; }
.guides .mi-shc-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 12px 2px; transition: opacity .45s, transform .55s var(--ease-out); }
.guides .mi-shc-row + .mi-shc-row { border-top: 1px solid #F1F2F6; }
.guides .mi-shc-ic { position: relative; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.guides .mi-shc-ic svg { width: 19px; height: 19px; }
.guides .mi-shc-ic.is-fp { background: #EBF6FF; color: #4E71FF; } .guides .mi-shc-ic.is-key { background: #FFEDED; color: #B90000; }
.guides .mi-shc-ic.is-fp::after { content: ""; position: absolute; left: 4px; right: 4px; top: 0; height: 2px; border-radius: 2px; background: #4E71FF; box-shadow: 0 0 8px 2px rgba(78, 113, 255, .5); opacity: 0; }
.guides .mi-shc-row.is-scan .mi-shc-ic.is-fp::after { opacity: 1; animation: shcScan .9s ease-in-out infinite alternate; }
@keyframes shcScan { from { top: 4px; } to { top: 28px; } }
.guides .mi-shc-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guides .mi-shc-txt b { font: 500 13.5px/1.25 var(--font-body); color: #495066; } .guides .mi-shc-txt span { font-size: 11.5px; line-height: 1.3; color: #6C7597; }
.guides .mi-shc-tag { padding: 4px 8px; border-radius: 6px; font: 500 10.5px/1.1 var(--font-body); white-space: nowrap; transition: opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.guides .mi-shc-tag.is-ok { background: #E4FFF0; color: #02847C; } .guides .mi-shc-tag.is-bad { background: #FFEDED; color: #B90000; }
.guides .mi-shc-alert { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; margin: 6px 14px 0; padding: 12px 14px; border-radius: 12px; background: #FFF3E8; box-shadow: inset 0 0 0 1px #FFE0C2;
  transition: opacity .4s, transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.guides .mi-shc-alert .mi-shc-txt span { color: #D34C00; }
.guides .mi-shc-cw { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #634AFC; color: #fff; } .guides .mi-shc-cw svg { width: 18px; height: 18px; }   /* Clockwise is a Sense agent: Sense purple */
.guides .mi-shc .is-pre { opacity: 0; transform: translateY(10px); }
.guides .mi-shc-row.is-pre .mi-shc-tag, .guides .mi-shc-row.is-scan .mi-shc-tag { opacity: 0; transform: scale(.7); }
.guides .mi-shc-alert.is-pre { transform: translateY(12px) scale(.97); }

/* ==========================================================================
   Shift, site and field teams: Time and attendance (sense-shift-time-and-attendance.html) — colours from the exports
   ========================================================================== */
/* ---------- working hours (Working hours.svg 477×573): name + description type in, the pattern switch goes on, hours count up ---------- */
.guides .mi-shw { width: min(420px, 100%); padding: 26px 26px 24px; border-radius: 18px; color: #2C2853; }
.guides .mi-shw-h { display: block; font: 600 21px/1.15 var(--font-body); color: #2C2853; letter-spacing: -0.01em; }
.guides .mi-shw-p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #2C2853; }
.guides .mi-shw-f { margin-top: 16px; }
.guides .mi-shw-l { display: flex; justify-content: space-between; font: 500 12.5px/1 var(--font-body); color: #2C2853; }
.guides .mi-shw-l em { font-style: normal; font-weight: 400; color: #6B6D80; }
.guides .mi-shw-in { display: block; min-height: 38px; margin-top: 8px; padding: 11px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #CFD3FF; font-size: 12.5px; line-height: 1.3; color: #2C2853; }
.guides .mi-shw-in.is-area { min-height: 76px; }
.guides .mi-shw-in span.is-typing::after, .guides .mi-shk-typed.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #634AFC; animation: miBlink .8s steps(1) infinite; }
.guides .mi-shw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.guides .mi-shw-row b { font: 500 12.5px/1.2 var(--font-body); color: #2C2853; }
.guides .mi-shw-tg { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #D9DBE3; transition: background-color .3s; }
.guides .mi-shw-tg i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.guides .mi-shw-tg.is-on { background: #634AFC; } .guides .mi-shw-tg.is-on i { transform: translateX(16px); }
.guides .mi-shw-hrs { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; flex-shrink: 0; padding: 9px 9px 9px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #CFD3FF; font-size: 12.5px; color: #2C2853; font-variant-numeric: tabular-nums; }
.guides .mi-shw-hrs em { padding: 4px 7px; border-radius: 5px; background: #EBEEFF; color: #4931DC; font: 500 11.5px/1 var(--font-body); font-style: normal; }

/* ---------- clock in across sites (new graphic): three ways in, three wires, one central record ---------- */
.guides .mi-shm { width: min(470px, 100%); padding: 16px; border-radius: 18px; background: #F7F9FD; }
.guides .mi-shm-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guides .mi-shm-way { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E8EEF6; text-align: center; transition: box-shadow .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.guides .mi-shm-ic { position: relative; width: 38px; height: 38px; margin-bottom: 4px; border-radius: 12px; display: grid; place-items: center; background: #EBF6FF; color: #4E71FF; transition: background-color .3s, color .3s; }
.guides .mi-shm-ic svg { width: 20px; height: 20px; }
.guides .mi-shm-way b { font: 500 12.5px/1.2 var(--font-body); color: #495066; } .guides .mi-shm-way > span:last-child { font-size: 10.5px; color: #6C7597; }
.guides .mi-shm-way.is-on { box-shadow: 0 0 0 1.5px #9DB3FF, 0 14px 26px -16px rgba(78, 113, 255, .6); transform: translateY(-2px); }
.guides .mi-shm-way.is-on .mi-shm-ic { background: #4E71FF; color: #fff; }
.guides .mi-shm-way.is-on .mi-shm-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid #4E71FF; animation: shmPing .9s ease-out infinite; }
@keyframes shmPing { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.guides .mi-shm-wires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; height: 26px; }
.guides .mi-shm-wire { position: relative; } .guides .mi-shm-wire::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background-image: linear-gradient(180deg, #C9D6F5 55%, transparent 0); background-size: 2px 6px; }
.guides .mi-shm-wire i { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #4E71FF; box-shadow: 0 0 10px 2px rgba(78, 113, 255, .55); opacity: 0; }
.guides .mi-shm-wire.is-go i { animation: shmDrop .55s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes shmDrop { 0% { opacity: 1; top: 0; } 85% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
.guides .mi-shm-rec { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E8EEF6; overflow: hidden; }
.guides .mi-shm-rec-h { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: #EBF6FF; } .guides .mi-shm-rec-h b { font: 600 13px/1 var(--font-body); color: #145CEB; } .guides .mi-shm-rec-h span { font-size: 10.5px; color: #6C7597; }
.guides .mi-shm-rec ul { list-style: none; margin: 0; padding: 2px 14px 4px; }
.guides .mi-shm-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 9px 0; transition: opacity .45s, transform .55s var(--ease-out); }
.guides .mi-shm-row + .mi-shm-row { border-top: 1px solid #F1F2F6; }
.guides .mi-shm-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; } .guides .mi-shm-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .mi-shm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .guides .mi-shm-txt b { font: 500 12.5px/1.2 var(--font-body); color: #495066; } .guides .mi-shm-txt span { font-size: 10.5px; color: #6C7597; }
.guides .mi-shm-tag { padding: 4px 7px; border-radius: 6px; background: #EBF6FF; color: #3A5BE0; font: 500 10.5px/1 var(--font-body); white-space: nowrap; }
.guides .mi-shm-row.is-pre { opacity: 0; transform: translateY(-8px); }

/* ---------- clock-in proof (Check ins.svg 453×261, reworded): each row is scanned, then tagged; the anomaly turns red ---------- */
.guides .mi-shv-row { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 11px 0; }
.guides .mi-shv-row + .mi-shv-row { border-top: 1px solid #F3F4FC; }
.guides .mi-shv-row::before { content: ""; position: absolute; inset: 2px -10px; border-radius: 10px; background: rgba(20, 92, 235, .06); opacity: 0; transition: opacity .3s; }
.guides .mi-shv-row.is-scan::before { opacity: 1; }

/* ---------- attendance rules (new graphic): the grace period slides to 10 min, breaks switch on, overtime goes to TOIL, the workflow lights up ---------- */
.guides .mi-shr { width: min(450px, 100%); border-radius: 18px; overflow: hidden; padding-bottom: 14px; }
.guides .mi-shr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #EBF6FF; }
.guides .mi-shr-head b { font: 600 14px/1 var(--font-body); color: #145CEB; } .guides .mi-shr-head span { font-size: 10.5px; color: #6C7597; }
.guides .mi-shr-list { list-style: none; margin: 0; padding: 0 16px; }
.guides .mi-shr-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; }
.guides .mi-shr-row + .mi-shr-row { border-top: 1px solid #F1F2F6; }
.guides .mi-shr-k { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .guides .mi-shr-k b { font: 500 13px/1.2 var(--font-body); color: #495066; } .guides .mi-shr-k > span { font-size: 10.5px; color: #6C7597; font-variant-numeric: tabular-nums; }
.guides .mi-shr-pill { padding: 6px 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px #DCE8FA; font: 500 12px/1 var(--font-body); color: #2C3550; white-space: nowrap; }
.guides .mi-shr-slide { display: inline-flex; align-items: center; gap: 10px; }
.guides .mi-shr-track { position: relative; width: 108px; height: 6px; border-radius: 3px; background: #E3E8F2; }
.guides .mi-shr-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--g, 66%); border-radius: inherit; background: #4E71FF; transition: width .9s var(--ease-out); }
.guides .mi-shr-track b { position: absolute; top: 50%; left: var(--g, 66%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #4E71FF, 0 2px 5px rgba(0, 0, 0, .15); transition: left .9s var(--ease-out); }
.guides .mi-shr-slide em { min-width: 44px; font: 500 12px/1 var(--font-body); font-style: normal; color: #2C3550; font-variant-numeric: tabular-nums; }
.guides .mi-shr-tg { position: relative; flex-shrink: 0; width: 38px; height: 22px; border-radius: 11px; background: #D9DBE3; transition: background-color .3s; }
.guides .mi-shr-tg i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.guides .mi-shr-tg.is-on { background: #4E71FF; } .guides .mi-shr-tg.is-on i { transform: translateX(16px); }
.guides .mi-shr-seg { display: inline-flex; flex-shrink: 0; padding: 3px; border-radius: 8px; background: #EEF1F7; }
.guides .mi-shr-seg span { padding: 5px 9px; border-radius: 6px; font: 500 11px/1 var(--font-body); color: #6C7597; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.guides .mi-shr-seg:not(.is-toil) span:first-child, .guides .mi-shr-seg.is-toil span:last-child { background: #fff; color: #2C3550; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.guides .mi-shr-wf { display: flex; align-items: center; gap: 12px; margin: 6px 14px 0; padding: 12px 14px; border-radius: 12px; background: #F6F8FC; box-shadow: inset 0 0 0 1px #E8EEF6; transition: background-color .35s, box-shadow .35s; }
.guides .mi-shr-wf-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: #E3E8F2; color: #8994AA; transition: background-color .35s, color .35s; } .guides .mi-shr-wf-ic svg { width: 15px; height: 15px; }
.guides .mi-shr-wf .mi-shr-k { flex: 1; }
.guides .mi-shr-on { padding: 4px 8px; border-radius: 6px; background: #E4FFF0; color: #02847C; font: 500 10.5px/1 var(--font-body); transition: opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.guides .mi-shr-wf.is-on { background: #F1F5FF; box-shadow: inset 0 0 0 1.5px #B9C8FF; } .guides .mi-shr-wf.is-on .mi-shr-wf-ic { background: #4E71FF; color: #fff; }
.guides .mi-shr-wf:not(.is-on) .mi-shr-on { opacity: 0; transform: scale(.7); }

/* ---------- task flags (Flag.svg 455×255): three jobs land; two verified, the last one disputed ---------- */
.guides .mi-shf-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 15px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E7E8E9;
  transition: opacity .45s, transform .55s var(--ease-out); }

.guides .mi-shf-card.is-pre { opacity: 0; transform: translateY(12px); }

/* ==========================================================================
   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
   ========================================================================== */
/* ---------- hero: Priya's phone signs the contract; her checklist ticks through to ready ---------- */

.guides .shg-i { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #2C2853; }

/* ---------- site kiosk: tap the badge, fill in the details, done; the ways in below ---------- */

.guides .shn-f { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 7px 34px 7px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px #CFD3FF; transition: box-shadow .3s; }
.guides .shn-f small { font-size: 9.5px; color: #6C7597; } .guides .shn-f b { font: 500 12px/1.2 var(--font-body); color: #2C2853; transition: opacity .3s; }
.guides .shn-f > i { position: absolute; right: 9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; padding: 3.5px; border-radius: 50%; background: #1BCAA7; color: #fff; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); } .guides .shn-f > i svg { width: 100%; height: 100%; }
.guides .shn-f.is-off b, .guides .shn-f.is-off > i { opacity: 0; } .guides .shn-f.is-off > i { transform: scale(.6); }
.guides .shn-f.is-active { box-shadow: inset 0 0 0 1.5px #634AFC; }
.guides .shn-w { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 100px; background: #fff; color: #495066; font: 500 12px/1 var(--font-body); box-shadow: 0 0 0 1px #ECEBFA; transition: background-color .35s, color .35s, box-shadow .35s; }
.guides .shn-w svg { width: 15px; height: 15px; }
.guides .shn-w.is-on { background: #634AFC; color: #fff; box-shadow: 0 10px 20px -10px rgba(99, 74, 252, .7); }

/* ---------- bulk pack: one pack, one click, thirty starters tick in ---------- */

.guides .shb-seat { position: relative; aspect-ratio: 1; border-radius: 50%; background: #ECE8FF; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }

.guides .shb-seat > i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; padding: 2px; border-radius: 50%; background: #1BCAA7; color: #fff; box-shadow: 0 0 0 1.5px #fff; } .guides .shb-seat > i svg { width: 100%; height: 100%; }

/* ---------- onboarding status: steps tick in per person; the pending one is chased and ticks ---------- */
.guides .mi-shs { width: min(470px, 100%); padding: 14px 14px 16px; border-radius: 18px; }
.guides .shs-headrow, .guides .shs-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(5, 38px); column-gap: 6px; align-items: center; }
.guides .shs-title { display: flex; flex-direction: column; gap: 3px; } .guides .shs-title b { font: 600 14px/1.2 var(--font-body); color: #2C2853; } .guides .shs-title span { font-size: 10.5px; color: #6C7597; }
.guides .shs-col { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #634AFC; } .guides .shs-col svg { width: 15px; height: 15px; } .guides .shs-col small { font-size: 8.5px; line-height: 1.1; color: #6C7597; text-align: center; }
.guides .shs-rows { list-style: none; margin: 10px 0 0; padding: 0; }
.guides .shs-row { grid-template-columns: 28px minmax(0, 1fr) repeat(5, 38px); padding: 9px 0; border-top: 1px solid #F1F2F6; }
.guides .shs-headrow { grid-template-columns: minmax(0, 1fr) repeat(5, 38px); padding-left: 0; }
.guides .shs-av { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; } .guides .shs-av img { width: 100%; height: 100%; object-fit: cover; }
.guides .shs-row > b { padding-left: 8px; font: 500 12.5px/1.2 var(--font-body); color: #2C2853; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guides .shs-c { position: relative; justify-self: center; width: 24px; height: 24px; border-radius: 50%; background: #F1F2F6; }
.guides .shs-c i { position: absolute; inset: 0; padding: 5.5px; border-radius: 50%; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); } .guides .shs-c i svg { width: 100%; height: 100%; }
.guides .shs-ok { background: #1BCAA7; color: #fff; } .guides .shs-wait { background: #FFF3E8; color: #D34C00; opacity: 0; }
.guides .shs-c.is-todo .shs-ok { opacity: 0; transform: scale(.5); }
.guides .shs-c.is-pend .shs-ok { opacity: 0; transform: scale(.5); } .guides .shs-c.is-pend .shs-wait { opacity: 1; }
.guides .mi-shs.is-chased .shs-c.is-pend .shs-ok { opacity: 1; transform: none; } .guides .mi-shs.is-chased .shs-c.is-pend .shs-wait { opacity: 0; }
.guides .mi-shs:not(.is-ticked) .shs-c .shs-ok { opacity: 0; transform: scale(.5); }
.guides .mi-shs.is-ticking .shs-c.is-lit:not(.is-todo):not(.is-pend) .shs-ok { opacity: 1; transform: none; }
.guides .shs-toast { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 11px; border-radius: 9px; background: #F7F6FD; color: #2C2853; font: 500 11.5px/1 var(--font-body); box-shadow: inset 0 0 0 1px #ECEBFA; transition: opacity .35s, transform .45s var(--ease-out); }
.guides .shs-toast svg { width: 13px; height: 13px; color: #634AFC; }
.guides .mi-shs:not(.is-toast) .shs-toast { opacity: 0; transform: translateY(6px); }
.guides .mi-shs.is-toast.is-done .shs-toast, .guides .mi-shs.is-chased:not(.is-run) .shs-toast { opacity: 1; transform: none; }

/* ---------- timeline step details (mi-sht): small cards, one per step ---------- */

.guides .sht-f { padding-block: 6px; } .guides .sht-f small { font-size: 9px; } .guides .sht-f b { font-size: 11.5px; }

.guides .sht-doc { display: flex; align-items: center; gap: 9px; padding: 8px 0; } .guides .sht-doc + .sht-doc { border-top: 1px solid #F1F2F6; }

.guides .sht-doc b { flex: 1; font: 500 12px/1.2 var(--font-body); color: #2C2853; }

 .guides .sht-tav { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); } .guides .sht-tav + .sht-tav { margin-left: -8px; } .guides .sht-tav img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shift overview: "Integrate Your Systems" orbit (sh_orbit) — the System Connector (.au-orbit) in blue, logo tiles, the active group lit ---------- */
.guides .sh-orbit { background: radial-gradient(60% 70% at 50% 100%, rgba(99, 74, 252, .1), transparent 70%), #F7F9FC; }

/* field teams: an SVG road map, the van follows the route (SMIL; paused for reduced motion in js/minis.js) */
.guides .swk-field { display: grid; place-items: center; padding: 10px 12px; }
.guides .swk-field svg { width: 100%; height: auto; max-height: 100%; }

/* ---------- Shift overview: Health and Safety (site_safety) — SOS, hard fall, then roll call; the matching item on the left lights (js) ---------- */

.guides .sfy-pin { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; box-shadow: 0 0 0 2.5px #1A6FD8, 0 8px 14px -6px rgba(15, 50, 110, .6);
  transition: left 1.1s cubic-bezier(.5, 0, .2, 1), top 1.1s cubic-bezier(.5, 0, .2, 1), box-shadow .35s; }
.guides .sfy-pin[data-p="0"] { --x: 18%; --y: 58%; } .guides .sfy-pin[data-p="1"] { --x: 50%; --y: 34%; } .guides .sfy-pin[data-p="2"] { --x: 62%; --y: 78%; }
.guides .sfy-pin.is-out[data-p="0"] { --x: 84%; --y: 54%; } .guides .sfy-pin.is-out[data-p="1"] { --x: 92%; --y: 62%; } .guides .sfy-pin.is-out[data-p="2"] { --x: 85%; --y: 72%; }

.guides .sfy-pin::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; opacity: 0; }

 .guides .sfy-pin.is-safe { box-shadow: 0 0 0 2.5px #1BCAA7, 0 8px 14px -6px rgba(15, 110, 80, .5); }

@media (prefers-reduced-motion: reduce) { .guides .sfy-pin, .guides .sfy-pin::before { animation: none !important; transition: none; } }

/* ==========================================================================
   Lone worker safety (sense-shift-lone-worker-safety.html; user, 15 Oct) — prefix lw*
   ========================================================================== */

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

.guides .lwh-ok { width: 15cqw; height: 15cqw; padding: 3.6cqw; margin-bottom: 1.5cqw; border-radius: 50%; background: #1BCAA7; color: #fff; } .guides .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
   ========================================================================== */
.guides .mi-bdf { position: absolute; inset: 0; margin: 0; background: none; box-shadow: none; overflow: hidden; border-radius: inherit; }
.guides .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; }
.guides .mi-bdf .bd-box { width: min(100cqw, calc(100cqh * 1.45), 520px); aspect-ratio: 1.45; }

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

.guides .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; }

.guides .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; }
.guides .bdl-tag.is-on { opacity: 1; }

.guides .bdl-tech { display: inline-flex; gap: 5px; } .guides .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; }
.guides .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 ---------- */

.guides .bdt-rec { padding: 16px 14px 10px; border-radius: 16px; background: #fff; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .55); }
.guides .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; }
.guides .bdn-row + .bdn-row { margin-top: 4px; } .guides .bdn-row.is-on { background: #EEF5FD; box-shadow: inset 0 0 0 1.5px #BFDBFB; }

.guides .bdn-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .guides .bdn-rt b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; } .guides .bdn-rt span { font-size: 11px; line-height: 1.3; color: #6C7597; }
.guides .bdn-d { font: 600 12px/1 var(--font-body); color: #1563C4; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* tasks on the Badge screen */
.guides .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; }
.guides .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); } .guides .bdt-box svg { width: 100%; height: 100%; }
.guides .bdt-row > span { display: flex; flex-direction: column; gap: 1cqw; min-width: 0; } .guides .bdt-row b { font: 600 4.6cqw/1.2 var(--font-body); color: #2C3550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .guides .bdt-row span span { font-size: 3.7cqw; color: #6C7597; }
.guides .bdt-row.is-done { opacity: .55; } .guides .bdt-row.is-done .bdt-box { background: #3C7EFF; color: #fff; }
.guides .bdt-row.is-done b { text-decoration: line-through; }
.guides .bdt-row.is-pop .bdt-box { scale: 1.2; }
.guides .bdt-rec { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; transition: opacity .3s, translate .4s var(--ease-out); }
.guides .bdt-rec.is-flip { opacity: 0; translate: 0 6px; }

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

.guides .bdm-seg { flex: none; width: var(--w); height: 100%; transition: width .5s cubic-bezier(.5, 0, .2, 1); }
.guides .bdm-seg.is-a, .guides .bdm-row i.is-a { background: #1A6FD8; } .guides .bdm-seg.is-b, .guides .bdm-row i.is-b { background: #0F3F86; }  
.guides .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; }
.guides .bdm-row + .bdm-row { box-shadow: 0 -1px 0 #F1F2F6; } .guides .bdm-row.is-hot { background: #F4F8FE; }
.guides .bdm-row i { width: 10px; height: 10px; border-radius: 3px; } .guides .bdm-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guides .bdm-row > span b { font: 600 12.5px/1.2 var(--font-body); color: #2C3550; } .guides .bdm-row > span span { font-size: 11px; color: #6C7597; } .guides .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) */
@media (max-width: 600px) {
    .guides .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 ---------- */

.guides .bdg-mode { display: inline-flex; gap: .4cqw; padding: .6cqw; border-radius: 2cqw; background: #EEF1F6; } .guides .bdg-mode i { display: none; }
.guides .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; }
.guides .bdg-mode span.is-on { background: #fff; color: #1563C4; box-shadow: 0 .3cqw 1cqw rgba(15, 30, 70, .15); }

.guides .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); }
.guides .bdg-row + .bdg-row { border-top: 1px solid #F1F2F6; }

/* ---------- Verify Identity (user, 26 Oct: badge task.png with some UI): the location mismatch, then fingerprint and location checked, task verified ---------- */
.guides .bdf-dev { position: absolute; left: 5%; top: 50%; height: 94%; aspect-ratio: 362 / 609; translate: 0 -50%; container-type: inline-size; }
.guides .bdf-dev picture, .guides .bdf-dev img { display: block; width: 100%; height: auto; } .guides .bdf-dev img { filter: drop-shadow(0 2.4cqh 3cqh rgba(15, 30, 70, .3)); }
.guides .bdf-scr { position: absolute; left: 12.71%; top: 16.26%; width: 74.86%; height: 66.99%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw; padding: 0 5cqw; border-radius: 3cqw; background: #FAFAFA; text-align: center; opacity: 0; transition: opacity .35s; }
.guides .bdf-scr b { font: 600 7.4cqw/1.2 var(--font-body); color: #2C3550; } .guides .bdf-scr span { font-size: 5.4cqw; color: #4A5470; }
.guides .mi-bdf:is(.is-ok, .is-end) .bdf-scr { opacity: 1; }
.guides .bdf-card { position: absolute; left: 43%; right: 3%; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: flex-start; padding: 3cqw 3.2cqw; border-radius: 3cqw; background: #fff;
  box-shadow: 0 0 0 1px rgba(30, 80, 150, .06), 0 3cqw 5cqw -2cqw rgba(15, 30, 70, .35); }
.guides .bdf-k { font: 600 2.2cqw/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: #6C7597; } .guides .bdf-task { margin-top: 1.2cqw; font: 600 3.5cqw/1.15 var(--font-body); color: #2C3550; }
.guides .bdf-card ul { list-style: none; align-self: stretch; margin: 1.6cqw 0 0; padding: 0; }
.guides .bdf-row { display: flex; align-items: center; gap: 1.8cqw; padding: 1.5cqw 0; } .guides .bdf-row + .bdf-row { border-top: 1px solid #F1F2F6; }
.guides .bdf-row > span { display: flex; flex-direction: column; gap: .5cqw; min-width: 0; } .guides .bdf-row b { font: 600 2.6cqw/1.1 var(--font-body); color: #2C3550; } .guides .bdf-row span span { font-size: 2.2cqw; color: #6C7597; }
.guides .bdf-row .is-b { display: none; } .guides .bdf-row.is-ok .is-a { display: none; } .guides .bdf-row.is-ok .is-b { display: inline; }
.guides .bdf-ic { position: relative; flex-shrink: 0; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; background: #EEF1F6; }
.guides .bdf-ic > * { position: absolute; inset: 1.2cqw; width: auto; height: auto; opacity: 0; transition: opacity .25s; }
.guides .bdf-ic .is-wait { inset: .9cqw; border-radius: 50%; border: .5cqw solid #D6DEEA; border-top-color: #3C7EFF; animation: bdfSpin .8s linear infinite; }
@keyframes bdfSpin { to { rotate: 360deg; } }
.guides .bdf-row.is-wait .is-wait { opacity: 1; }
.guides .bdf-row.is-warn .bdf-ic { background: #FFF1E6; color: #E0560F; } .guides .bdf-row.is-warn .bdf-ic svg:first-of-type { opacity: 1; }
.guides .bdf-row.is-ok .bdf-ic, .guides .mi-bdf.is-end .bdf-ic { background: #1BCAA7; color: #fff; } .guides .bdf-row.is-ok .bdf-ic svg:last-of-type, .guides .mi-bdf.is-end .bdf-ic svg:last-of-type { opacity: 1; }
.guides .mi-bdf.is-end .bdf-row .is-a { display: none; } .guides .mi-bdf.is-end .bdf-row .is-b { display: inline; }
.guides .bdf-row.is-warn .is-a { color: #D34C00; }
.guides .bdf-st { display: grid; margin-top: 1.6cqw; } .guides .bdf-st > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 1cqw; padding: 1cqw 1.8cqw; border-radius: 1.4cqw; font: 600 2.4cqw/1 var(--font-body); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.guides .bdf-st svg { width: 2.4cqw; height: 2.4cqw; } .guides .bdf-st .is-a { background: #FFF3E8; color: #D34C00; } .guides .bdf-st .is-b { background: #E4FFF0; color: #02847C; }
.guides .mi-bdf.is-warn .bdf-st .is-a, .guides .mi-bdf:is(.is-ok, .is-end) .bdf-st .is-b { opacity: 1; }

/* list dividers as straight lines, no rounded corners between rows (user, 26 Oct): the timesheet, and the Redeploy list built the same way */
.guides .bdm-row { border-radius: 0; }
.guides .bdm-row + .bdm-row { box-shadow: none; border-top: 1px solid #F1F2F6; }
/* small tiles (phones): the labels keep a readable size */
@container (max-width: 360px) {
   .guides .bdg-mode span { font-size: 8.5px; padding: 3px 6px; } 

  .guides .bdf-k { font-size: 7.5px; } .guides .bdf-task { font-size: 11px; } .guides .bdf-row b { font-size: 9.5px; } .guides .bdf-row span span { font-size: 8px; } .guides .bdf-st > span { font-size: 8.5px; }

}

/* css/blog.css */

/* =====================================================================================================
   01 HERO — light frame (the industry hero's), left-aligned headline, the featured card overlapping the frame's foot
   ===================================================================================================== */
.guides .blg-hero { position: relative; isolation: isolate; padding: calc(var(--frame-inset) + clamp(150px, 13vw, 196px)) 0 0; }   /* more air under the nav (user, 4 Nov) */
.guides .blg-hero-bg { position: absolute; z-index: -1; inset: var(--frame-inset) var(--frame-inset) clamp(120px, 16vw, 240px); overflow: hidden; border-radius: var(--r-panel);
  background: #FFFFFF url("/assets/images/pages/blog/cta-bg.webp") center bottom / cover no-repeat;   /* BG features 2.webp, resized (user, 5 Nov): white at the top, purple diagonal stripes at the foot */
  box-shadow: inset 0 0 0 1px rgba(11, 10, 20, .04); }
.guides .blg-hero .container { padding-inline: calc(var(--frame-inset) + clamp(16px, 3.4vw, 44px)); }
.guides .blg-accent { display: block; color: var(--brand); }

@media (max-width: 767px) {
  .guides .blg-hero { padding-top: calc(var(--frame-inset) + 136px); }
  .guides .blg-hero-bg { bottom: 280px; }
}

/* =====================================================================================================
   02 LATEST — heading, chips, grid, pagination
   ===================================================================================================== */
/* filter bar: the workflow library's (css/workflows.css .wf-filterbar, .wf-search, .wf-chip), sticky under the nav (user, 4 Nov) */
.guides .blg-filterbar { margin-bottom: clamp(24px, 2.6vw, 32px); padding: 20px 0; }   /* one row, so less height (user, 5 Nov) */
.guides .blg-filterbar .wf-filter-top { gap: 12px 20px; }
.guides .blg-filterbar .wf-search { flex: 0 0 300px; }
.guides .blg-filterbar .wf-chips-row { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.guides .blg-filterbar .wf-count { flex-shrink: 0; }
@media (max-width: 1100px) {   /* narrower screens: search and count on top, the tabs on their own row */
  .guides .blg-filterbar .wf-filter-top { flex-wrap: wrap; }
  .guides .blg-filterbar .wf-chips-row { order: 3; flex-basis: 100%; }
}
@media (max-width: 767px) {
  .guides .blg-filterbar { padding: 14px 0 10px; }
  .guides .blg-filterbar .wf-search { flex: 1 1 100%; }
  .guides .blg-filterbar .wf-chips-row { margin: 0 calc(var(--gutter) * -1); }
}

/* =====================================================================================================
   03 CTA — the Core HR page's "Meet" card (css/agents.css .ami-meet), with the HR dashboard screen (user, 5 Nov)
   ===================================================================================================== */
.guides .blg-cta { padding-top: clamp(16px, 2vw, 32px); }
.guides .blg-cta .ami-meet-copy .eyebrow { margin-bottom: 18px; }
.guides .blg-meet-cta { justify-content: center; margin-top: 28px; }
@media (max-width: 767px) { .guides .blg-meet-cta { flex-direction: column; align-items: stretch; } }

/* css/guides.css */
/* ==========================================================================
   HR guides (body.gd-page): sense-guides.html and sense-guide-<slug>.html (tools/product/gen_guides.py), on top of css/blog.css
   (and css/blog-post.css on the guides). User, 10 Nov: the guides followed the blog's layout, "find a better way to display both".
   The blog is a feed; the guides are a reference, so they read as a handbook: a contents board of topics, one shelf per topic with
   text rows (no cover images), and guides with their video, a summary beside the contents, numbered headings and a product panel.
   Visuals: the site's minis on the cover studio's backdrops.
   ========================================================================== */

/* a mini on the site's dark blurred frame (cards-image-bg, as the product, industry and pricing pages; user, 10 Nov) */
.guides .gd-stage { position: relative; display: grid; place-items: center; padding: clamp(28px, 3.2vw, 44px) clamp(18px, 2.4vw, 32px); border-radius: var(--r-card);
  background: #0A0916 url("/assets/images/pages/homepage/ta-card-bg.webp") center / cover no-repeat; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* ==========================================================================
   INDEX
   ========================================================================== */
/* the HR core hero (product.css .pd-hero): its dark artwork fills the frame, everything centred (user, 10 Nov) */
.guides .gd-ihero-bg { background: #0A0B24; box-shadow: none; }
.guides .gd-ihero-bg picture, .guides .gd-ihero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 0; }
.guides .gd-ihead { display: flex; flex-direction: column; align-items: center; max-width: 920px; margin-inline: auto; text-align: center; color: var(--text-inv); }
.guides .gd-ihead h1 { margin-top: 22px; color: #fff; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.guides .gd-ihead .blg-accent { color: var(--brand-soft); }
.guides .gd-lede { max-width: 840px; margin-top: 24px; color: var(--text-inv-2); font-size: var(--fs-lede); line-height: 1.6; text-wrap: balance; }

/* the topics as a contents board, on the frame's foot */
.guides .gd-topics { position: relative; margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guides .gd-topic { display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-card); background: var(--card); box-shadow: 0 22px 44px -30px rgba(33, 18, 140, .28), var(--shadow-sm); }
.guides .gd-topic-head { display: flex; align-items: center; gap: 14px; padding: 12px 12px 14px; border-radius: 18px; background: #F0EFFF; transition: background .2s; }   /* card header strip (purple pages) */
.guides .gd-topic-head:hover { background: #E7E4FF; }
.guides .gd-topic-ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(33, 18, 140, .08); }
.guides .gd-topic-ic svg { width: 20px; height: 20px; }
.guides .gd-topic-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.guides .gd-topic-txt b { font: 600 17px/1.25 var(--font-display); letter-spacing: -0.015em; color: #4931DC; }
.guides .gd-topic-txt span { font-size: 13px; color: var(--text-3); }
.guides .gd-topic-go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #4931DC; transition: transform .25s var(--ease-out); }
.guides .gd-topic-go svg { width: 16px; height: 16px; transform: rotate(90deg); }
.guides .gd-topic-head:hover .gd-topic-go { transform: translateY(2px); }
.guides .gd-topic-list { display: flex; flex-direction: column; padding: 8px 12px 10px; }
.guides .gd-topic-list li + li { border-top: 1px solid var(--line); }
.guides .gd-topic-list a { display: block; padding: 10px 0; font-size: 15px; line-height: 1.4; color: var(--text); transition: color .2s; }
.guides .gd-topic-list a:hover { color: var(--brand-hover); }
@media (max-width: 1100px) { .guides .gd-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guides .gd-topics { grid-template-columns: minmax(0, 1fr); gap: 8px; } .guides .gd-topic-list { display: none; } .guides .gd-topic { padding: 6px; } }   /* phones: the six topics as compact headers; the shelves list the guides */

/* the sticky bar: the blog's, after the hero */
.guides .gd-filterbar { margin-top: clamp(56px, 6vw, 88px); margin-bottom: 0; }
.guides .gd-filterbar .wf-search { flex: 0 0 216px; }
.guides .gd-filterbar .wf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }   /* one row: search, then the topics (the count is read out only) */
.guides .gd-filterbar .wf-chips::-webkit-scrollbar { display: none; }
.guides .gd-filterbar .wf-chip { padding: 0 12px; }
@media (max-width: 1340px) { .guides .gd-filterbar .wf-chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* shelves: one per topic */
.guides .gd-shelves { padding-bottom: clamp(32px, 4vw, 56px); }
.guides .gd-shelf { padding: clamp(40px, 5vw, 72px) 0; scroll-margin-top: 150px; }
.guides .gd-shelf + .gd-shelf { border-top: 1px solid var(--line); }
.guides .gd-shelf[hidden] { display: none; }
.guides .gd-shelf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.guides .gd-shelf-head { display: flex; flex-direction: column; align-items: flex-start; }
.guides .gd-shelf-head h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.035em; color: var(--ink); }
.guides .gd-shelf-head p { margin-top: 12px; max-width: 460px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.guides .gd-shelf-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--text-3); }
.guides .gd-shelf-count svg { width: 16px; height: 16px; color: var(--brand); }
.guides .gd-shelf-head .gd-stage { align-self: stretch; height: 500px; margin-top: 28px; }   /* one height for every topic mini (user, 10 Nov); js/guides.js zooms a taller one down to fit */
.guides .gd-shelf-list { display: flex; flex-direction: column; gap: 14px; }

/* a guide row: text first, no cover */
.guides .gd-row { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease-out); }
.guides .gd-row.in.is-settled { transition: box-shadow .3s, transform .3s var(--ease-out); }
.guides .gd-row:hover { box-shadow: 0 22px 44px -30px rgba(33, 18, 140, .3), var(--shadow-sm); transform: translateY(-2px); }
.guides .gd-row[hidden] { display: none; }
.guides .gd-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--text-3); }
.guides .gd-meta-vid { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 100px; background: #F0EFFF; color: #4931DC; font-weight: 600; font-variant-numeric: tabular-nums; }
.guides .gd-meta-vid svg { width: 12px; height: 12px; }
.guides .gd-row h3 { margin-top: 14px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.guides .gd-row h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole card opens the guide */
.guides .gd-row > p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.guides .gd-row-qs { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.guides .gd-row-qs-h { font: 600 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.guides .gd-row-qs ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; margin-top: 12px; counter-reset: q; }
.guides .gd-row-qs li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.45; color: var(--text); counter-increment: q; }
.guides .gd-row-qs li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 600 12px/calc(14px * 1.45) var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.guides .gd-row-qs li.gd-row-more { color: var(--text-3); }
.guides .gd-row-qs li.gd-row-more::before { content: ""; }
.guides .gd-row-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 15px; color: var(--brand-hover); }
.guides .gd-row-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.guides .gd-row:hover .gd-row-go svg { transform: translateX(3px); }
.guides .gd-empty { padding-top: 24px; }
@media (max-width: 900px) {
  .guides .gd-shelf-grid { grid-template-columns: minmax(0, 1fr); }
  .guides .gd-shelf-head .gd-stage { display: none; }   /* phones and tablets: the rows first, no tall visual between topics */
}

/* ==========================================================================
   GUIDE
   ========================================================================== */
/* the header: the whole hero on the site's dark blurred frame (cards-image-bg, as every animation), centred; a smaller title, the intro under it,
   then the video (or the mini) in a glass rim overlapping the frame's foot, as the home hero's dashboard (user, 10 Nov) */
.guides .gd-ghero { padding-top: calc(var(--frame-inset) + clamp(128px, 10vw, 156px)); }
.guides .gd-ghero .blg-hero-bg { bottom: clamp(110px, 15vw, 230px); 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); }
.guides .gd-ghero-in { display: flex; flex-direction: column; align-items: center; }
.guides .gd-ghero-copy { display: flex; flex-direction: column; align-items: center; max-width: 860px; text-align: center; }
.guides .gd-ghero .bp-crumbs { justify-content: center; color: var(--text-inv-3); }
.guides .gd-ghero .bp-crumbs a { color: var(--text-inv-2); }
.guides .gd-ghero .bp-crumbs a:last-child { color: var(--brand-soft); }
.guides .gd-ghero .bp-crumbs a:hover { color: #fff; }
.guides .gd-ghero h1 { margin-top: 20px; color: #fff; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.guides .gd-ghero .blg-accent { color: var(--brand-soft); }
.guides .gd-ghero .bp-excerpt { max-width: 640px; margin-top: 18px; color: var(--text-inv-2); text-wrap: balance; }
.guides .gd-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }   /* no author or date (user, 10 Nov) */
.guides .gd-ghero-media { width: 100%; max-width: 860px; margin-top: clamp(40px, 4.4vw, 60px); padding: 8px; border-radius: calc(var(--r-card-lg) + 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08)); box-shadow: 0 40px 100px -30px rgba(33, 18, 140, .55), inset 0 0 0 1px rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* the video: a player poster on the dark blurred frame, 16:9; the video's name and length on top, the play pill in the middle. The page title
   and intro sit right above it, so it doesn't repeat them */
.guides .gd-video { position: relative; isolation: isolate; display: flex; flex-direction: column; aspect-ratio: 16 / 9; padding: clamp(14px, 2vw, 24px);
  border-radius: var(--r-card-lg); overflow: clip; color: #fff;
  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); }
.guides .gd-video-top { display: flex; align-items: center; gap: 12px; }
.guides .gd-video-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.guides .gd-video-ic svg { width: 20px; height: 20px; }
.guides .gd-video-title { flex: 1; min-width: 0; overflow: hidden; font: 600 15px/1.35 var(--font-body); color: rgba(255, 255, 255, .86); white-space: nowrap; text-overflow: ellipsis; }
.guides .gd-video-dur { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border-radius: 100px; background: rgba(255, 255, 255, .1); font: 600 13px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.guides .gd-video-dur svg { width: 12px; height: 12px; }
.guides .gd-video-mid { flex: 1; display: grid; place-items: center; padding-bottom: 40px; }   /* the top row's height, so the pill sits in the card's middle */
.guides .gd-video-pill { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 24px 0 8px; border-radius: 100px; background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 500 16px/1 var(--font-body); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, transform .25s var(--ease-out); }   /* as the feature pages' play pill */
.guides .gd-video-play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(99, 74, 252, .25); }
.guides .gd-video-play svg { width: 16px; height: 16px; margin-left: 2px; }
.guides .gd-video:hover .gd-video-pill { background: rgba(255, 255, 255, .14); transform: scale(.98); }
.guides .gd-video.is-playing { padding: 0; background: #000; }
.guides .gd-video.is-playing > span { display: none; }
.guides .gd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.guides .gd-stage-hero { min-height: 400px; border-radius: var(--r-card-lg); }
.guides .gd-stage-hero:has(> .mi-bdf) { container-type: size; height: 400px; padding: 0; }   /* the fingerprint guide's Badge (user, 11 Nov): sized from the frame, as on the Badge page; a real height, since cqh reads 0 from a min-height */
.guides .bdf-ic .is-wait { border-top-color: var(--brand); }   /* purple pages: the spinner in the brand, as the industry pages */
/* a clear gap between the Badge and the task card (user, 11 Nov; on the Badge page they touch): a wider box than the Badge page's 1.45,
   the Badge as tall as before, the card moved right (it grows with the box, about 7%): a 44px gap on desktop, 25px on phones */
.guides .gd-stage-hero .mi-bdf .bd-box { width: min(100cqw, calc(100cqh * 1.62), 580px); aspect-ratio: 1.62; }
.guides .gd-stage-hero .bdf-dev { left: 3%; }
.guides .gd-stage-hero .bdf-card { left: 45%; right: 3%; }
@media (max-width: 600px) {
  .guides .gd-ghero-media { padding: 6px; border-radius: calc(var(--r-card) + 6px); }
  .guides .gd-video, .guides .gd-stage-hero { border-radius: var(--r-card); }
  .guides .gd-video-mid { padding-bottom: 0; }
  .guides .gd-video-pill { height: 52px; gap: 12px; padding: 0 18px 0 6px; font-size: 15px; }
  .guides .gd-video-play { width: 40px; height: 40px; }
  .guides .gd-stage-hero { min-height: 0; }
  .guides .gd-stage-hero:has(> .mi-bdf) { height: auto; aspect-ratio: 1.35; }   /* phones: the Badge mini is absolute, so the frame takes a shape of its own */
}

/* the guide: "In this guide" as a sticky sidebar beside the text, so you can move around the guide (user, 10 Nov); the section being read is
   highlighted (js/guides.js). The reading column holds "In short", then the body. One column below 1080px: In short, the contents, the text */
.guides .gd-body { padding-top: clamp(48px, 5vw, 72px); }
.guides .gd-read { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 760px); justify-content: center; gap: clamp(40px, 4.4vw, 72px); }
.guides .gd-main { min-width: 0; }
.guides .gd-main .bp-article { max-width: none; margin-top: clamp(44px, 4.4vw, 60px); }
.guides .gd-short, .guides .gd-toc { padding: 8px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); }
.guides .gd-short h2, .guides .gd-toc h2 { padding: 14px 18px; border-radius: 18px; background: #F0EFFF; color: #4931DC; font: 600 16px/1.2 var(--font-body); letter-spacing: 0; }   /* card header strip */
.guides .gd-short ul { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 16px; }
.guides .gd-short li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
.guides .gd-tick { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: #fff; }
.guides .gd-tick svg { width: 13px; height: 13px; }
.guides .gd-short a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.guides .gd-toc { position: sticky; top: 100px; display: flex; flex-direction: column; max-height: calc(100vh - 124px); }   /* under the nav (72px) */
.guides .gd-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.guides .gd-toc a { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); border-radius: 12px; transition: color .2s, background .2s; }   /* numbers flush with the header's text (8 + 6 + 12 = 8 + 18) */
.guides .gd-toc a:hover { color: var(--brand-hover); background: #FAFAFF; }
.guides .gd-toc a.is-on { color: #4931DC; background: #F5F3FF; }
.guides .gd-n { flex-shrink: 0; min-width: 20px; font: 600 12px/calc(14px * 1.45) var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) {
  .guides .gd-read { grid-template-columns: minmax(0, 760px); gap: 16px; }
  .guides .gd-main { display: contents; }
  .guides .gd-short { order: 1; } .guides .gd-side { order: 2; } .guides .gd-main .bp-article { order: 3; margin-top: clamp(28px, 4vw, 44px); }
  .guides .gd-toc { position: static; max-height: none; }
  .guides .gd-toc ol { overflow: visible; }
  .guides .gd-toc a { font-size: 15px; }
}

/* the article: numbered headings, formulas, checklists, steps */
.guides .gd-article h2 { scroll-margin-top: 110px; }
.guides .gd-hn { color: var(--brand); font-variant-numeric: tabular-nums; }   /* the heading's number: same size and line as its words, flush with the text (user, 10 Nov) */
.guides .gd-article .gd-formula { padding: 18px 22px; border-radius: var(--r-md); background: #F0EFFF; color: #4931DC; font: 600 17px/1.5 var(--font-display); letter-spacing: -0.01em; }
.guides .gd-article .gd-calc { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink); font: 600 16px/1.4 var(--font-body); font-variant-numeric: tabular-nums; }
.guides .gd-article .gd-group { margin-top: 30px; color: var(--ink); font: 600 17px/1.3 var(--font-display); }
.guides .gd-article .gd-group + .gd-checks { margin-top: 12px; }
.guides .gd-article ul.gd-checks { padding: 8px 20px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); gap: 0; }
.guides .gd-article ul.gd-checks li { padding: 12px 0 12px 34px; font-size: 16px; line-height: 1.5; }
.guides .gd-article ul.gd-checks li + li { border-top: 1px solid var(--line); }
.guides .gd-article ul.gd-checks li::before { left: 0; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px #C9C2FF; }
.guides .gd-article ol { list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: st; }
.guides .gd-article ol li { position: relative; padding-left: 44px; counter-increment: st; }
.guides .gd-article ol li::before { content: counter(st); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F0EFFF; color: #4931DC; font: 600 14px/1 var(--font-display); }

/* the product panel: the guide's Sense HR section beside its mini */
.guides .gd-product { padding-top: clamp(64px, 7vw, 104px); }
.guides .gd-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: 10px 10px 10px clamp(28px, 4vw, 56px); border-radius: var(--r-panel); background: var(--card); box-shadow: var(--shadow-sm); }
.guides .gd-panel-copy h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.035em; color: var(--ink); }
.guides .gd-panel-copy p { margin-top: 16px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.guides .gd-panel-copy p a { color: var(--brand-hover); text-decoration: underline; text-decoration-color: rgba(99, 74, 252, .35); text-underline-offset: 3px; }
.guides .gd-panel-copy .btn { margin-top: 28px; }
.guides .gd-panel-copy .btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.guides .gd-panel-copy .btn:hover svg { transform: translateX(3px); }
.guides .gd-panel .gd-stage { min-height: 420px; border-radius: calc(var(--r-panel) - 10px); }
@media (max-width: 900px) { .guides .gd-panel { grid-template-columns: minmax(0, 1fr); padding: 28px 10px 10px; } .guides .gd-panel-copy { padding: 0 18px; } .guides .gd-panel .gd-stage { min-height: 0; } }
@media (max-width: 600px) {   /* the long "See how Sense HR handles…" labels wrap inside the button, as the industry pages' (they ran past the panel) */
  .guides .gd-panel-copy .btn { max-width: 100%; height: auto; min-height: var(--btn-h); padding-block: 12px; white-space: normal; line-height: 1.3; text-align: left; }
  .guides .gd-panel-copy .btn svg { flex-shrink: 0; }
}

/* FAQ, sources */
.guides .gd-faq { padding-top: clamp(72px, 8vw, 112px); }
.guides .gd-faq-h { text-align: center; font-size: var(--fs-h2); }
.guides .gd-faq .bp-faq { max-width: 820px; margin: clamp(28px, 3vw, 40px) auto 0; }
.guides .gd-sources { padding-top: clamp(48px, 5vw, 72px); }
.guides .gd-src { font-size: 15px; }
.guides .gd-src h2 { margin-top: 0; font-size: 20px; }
.guides .gd-src ul { gap: 8px; }
.guides .gd-src ul li::before { width: 5px; height: 5px; background: var(--text-3); }

/* previous / next */
.guides .gd-pn { padding-top: clamp(56px, 6vw, 88px); }
.guides .gd-pn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guides .gd-pn-link { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease-out); }
.guides .gd-pn-link:hover { box-shadow: 0 22px 44px -30px rgba(33, 18, 140, .3), var(--shadow-sm); transform: translateY(-2px); }
.guides .gd-pn-link.is-next { align-items: flex-end; text-align: right; }
.guides .gd-pn-link.is-empty { background: none; box-shadow: none; }
.guides .gd-pn-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-hover); }
.guides .gd-pn-label svg { width: 16px; height: 16px; }
.guides .gd-pn-title { font: 600 clamp(17px, 1.4vw, 20px)/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 700px) { .guides .gd-pn-grid { grid-template-columns: minmax(0, 1fr); } .guides .gd-pn-link.is-next { align-items: flex-start; text-align: left; } .guides .gd-pn-link.is-empty { display: none; } }

/* css/blog-post.css */
/* ==========================================================================
   Blog article (body.bp-page): sense-blog-<slug>.html (tools/product/gen_blog_post.py), on top of css/blog.css.
   After the Lattis article (user, 5 Nov): left-aligned header → the cover stretched across the page in the site's rounded frame
   (side margin, round corners) → one reading column, no sticky contents → author card → Keep reading.
   ========================================================================== */

/* ---------- 01 header ---------- */
.guides.bp-page .bp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 14px/1 var(--font-body); color: var(--text-3); }
.guides.bp-page .bp-crumbs a { color: var(--text-2); transition: color .2s; }
.guides.bp-page .bp-crumbs a:last-child { color: var(--brand-hover); }
.guides.bp-page .bp-crumbs a:hover { color: var(--brand); }
.guides.bp-page .bp-excerpt { margin-top: 22px; max-width: 680px; font-size: var(--fs-lede); line-height: 1.6; color: var(--text-2); }

/* ---------- 03 article: one reading column ---------- */
.guides.bp-page .bp-article { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.guides.bp-page .bp-article > * + * { margin-top: 22px; }
.guides.bp-page .bp-article .bp-lead { font-size: 20px; line-height: 1.65; color: var(--text); }
.guides.bp-page .bp-article h2 { margin-top: 64px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: 110px; }
.guides.bp-page .bp-article h3 { margin-top: 40px; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 110px; }
.guides.bp-page .bp-article h2 + *, .guides.bp-page .bp-article h3 + * { margin-top: 16px; }
.guides.bp-page .bp-article strong { color: var(--text); font-weight: 600; }
.guides.bp-page .bp-article a:not(.btn) { color: var(--brand-hover); text-decoration: underline; text-decoration-color: rgba(99, 74, 252, .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .2s, text-decoration-color .2s; }
.guides.bp-page .bp-article a:not(.btn):hover { color: var(--brand); text-decoration-color: currentColor; }
.guides.bp-page .bp-article ul { display: flex; flex-direction: column; gap: 10px; }
.guides.bp-page .bp-article ul li { position: relative; padding-left: 28px; }
.guides.bp-page .bp-article ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* FAQ: the site's accordion, fitted to the column */
.guides.bp-page .bp-article .bp-faq { max-width: none; margin: 20px 0 0; }
.guides.bp-page .bp-faq .ami-faq-q { padding: 20px 24px; font-size: 18px; }
.guides.bp-page .bp-faq .ami-faq-a p { font-size: 16px; }
.guides.bp-page .bp-faq .ami-faq-a a { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }

/* The guides' own stylesheet (blog-post.css) and the index's (workflows.css) are led by their page class (.bp-page, .gd-index),
   one class heavier than in the design, so they now beat a few later rules that won over them there. Those rules get the page
   class too, in the design's values. */
.guides.bp-page .gd-ghero .bp-crumbs { color: var(--text-inv-3); }
.guides.bp-page .gd-ghero .bp-crumbs a { color: var(--text-inv-2); }
.guides.bp-page .gd-ghero .bp-crumbs a:last-child { color: var(--brand-soft); }
.guides.bp-page .gd-ghero .bp-crumbs a:hover { color: #fff; }
.guides.bp-page .gd-ghero .bp-excerpt { max-width: 640px; margin-top: 18px; color: var(--text-inv-2); }
.guides.bp-page .gd-main .bp-article { max-width: none; margin-top: clamp(44px, 4.4vw, 60px); }
@media (max-width: 1080px) { .guides.bp-page .gd-main .bp-article { margin-top: clamp(28px, 4vw, 44px); } }
.guides.bp-page .gd-faq .bp-faq { max-width: 820px; margin: clamp(28px, 3vw, 40px) auto 0; }
.guides.gd-index .blg-filterbar { padding: 20px 0; }
.guides.gd-index .gd-filterbar { margin-bottom: 0; }
.guides.gd-index .gd-empty { padding-top: 24px; }
@media (max-width: 767px) {
  .guides.gd-index .blg-filterbar { padding: 14px 0 10px; }
}

/* Focus rings (WCAG 2.4.7, 1.4.11; the kit's focus-ring check), in the design's 2px ring, as on the blog:
   - the video card rings inside its own edge in white: around it are the dark frame, the white rim and the light page;
   - the search field rings its pill; the tab strip leaves the ring room (it scrolls, so it clips);
   - an inline link in the article rings close round its text, so a wrapped line keeps its ring clear of the next word. */
.guides .gd-video:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.guides.gd-index .wf-search input:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.guides.gd-index .wf-chips { padding: 6px; margin: -4px; scroll-padding-inline: 72px; }
@media (max-width: 767px) { .guides.gd-index .wf-chips { padding: 6px var(--gutter) 8px; margin: -4px 0; } }
.guides.bp-page .bp-article a:not(.btn):focus-visible { outline-offset: 0; border-radius: 2px; }

/* The article blocks (css/guides.css .gd-article: steps, checklists, formulas) override blog-post.css's list and heading rules by
   specificity in the design; led by .bp-page, those now weigh as much and come later, so these take the page class too. */
.guides.bp-page .gd-article h2 { scroll-margin-top: 110px; }
.guides.bp-page .gd-article .gd-formula { padding: 18px 22px; border-radius: var(--r-md); background: #F0EFFF; color: #4931DC; font: 600 17px/1.5 var(--font-display); letter-spacing: -0.01em; }
.guides.bp-page .gd-article .gd-calc { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink); font: 600 16px/1.4 var(--font-body); font-variant-numeric: tabular-nums; }
.guides.bp-page .gd-article .gd-group { margin-top: 30px; color: var(--ink); font: 600 17px/1.3 var(--font-display); }
.guides.bp-page .gd-article .gd-group + .gd-checks { margin-top: 12px; }
.guides.bp-page .gd-article ul.gd-checks { padding: 8px 20px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); gap: 0; }
.guides.bp-page .gd-article ul.gd-checks li { padding: 12px 0 12px 34px; font-size: 16px; line-height: 1.5; }
.guides.bp-page .gd-article ul.gd-checks li + li { border-top: 1px solid var(--line); }
.guides.bp-page .gd-article ul.gd-checks li::before { left: 0; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px #C9C2FF; }
.guides.bp-page .gd-article ol { list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: st; }
.guides.bp-page .gd-article ol li { position: relative; padding-left: 44px; counter-increment: st; }
.guides.bp-page .gd-article ol li::before { content: counter(st); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F0EFFF; color: #4931DC; font: 600 14px/1 var(--font-display); }

/* The tab strip fades its right edge below 1340px; scrolled to its end, the last tab sits under the fade, so its ring would fade
   too: no fade while the last tab has keyboard focus. */
.guides.gd-index .gd-filterbar .wf-chips:has(.wf-chip:last-child:focus-visible) { -webkit-mask-image: none; mask-image: none; }

@supports (zoom: 1) {
  /* calculating-holiday-entitlement */
  @media (max-width: 309.98px) { .guides.bp-page .mi[data-mini="ss"] { zoom: 0.95; } }   /* worst -1 px at 300 (SPAN.mi-ss-btn), was 1 */
  /* employee-onboarding-checklist */
  @media (max-width: 309.98px) { .guides.bp-page .mi[data-mini="shs"] { zoom: 0.75; } }   /* worst -60 px at 300 (DIV.mi.mi-shs.is-ticked.is-chased), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .guides.bp-page .mi[data-mini="shs"] { zoom: 0.8; } }   /* worst -50 px at 310 (DIV.mi.mi-shs.is-ticked.is-chased), was 1 */
  @media (min-width: 320px) and (max-width: 339.98px) { .guides.bp-page .mi[data-mini="shs"] { zoom: 0.85; } }   /* worst -40 px at 320 (DIV.mi.mi-shs.is-ticked.is-chased), was 1 */
  @media (min-width: 340px) and (max-width: 349.98px) { .guides.bp-page .mi[data-mini="shs"] { zoom: 0.9; } }   /* worst -20 px at 340 (DIV.mi.mi-shs.is-ticked.is-chased), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .guides.bp-page .mi[data-mini="shs"] { zoom: 0.95; } }   /* worst -10 px at 350 (DIV.mi.mi-shs.is-ticked.is-chased), was 1 */
  /* return-to-work-interviews */
  @media (max-width: 309.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.65; } }   /* worst -45.8 px at 300 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.7; } }   /* worst -40.8 px at 310 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 320px) and (max-width: 339.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.75; } }   /* worst -35.8 px at 320 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 340px) and (max-width: 349.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.8; } }   /* worst -25.8 px at 340 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.85; } }   /* worst -20.8 px at 350 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 359px) and (max-width: 373.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.9; } }   /* worst -12.3 px at 359 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  @media (min-width: 374px) and (max-width: 388.98px) { .guides.bp-page .mi[data-mini="os"] { zoom: 0.95; } }   /* worst -4.8 px at 374 (SPAN.mi-toast.is-on, mid-animation), was 1 */
  /* zero-hours-contract-changes-2027 */
  @media (max-width: 319.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.7; } }   /* worst -88 px at 300 (DIV.mi.mi-shw), was 1 */
  @media (min-width: 320px) and (max-width: 329.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.75; } }   /* worst -68 px at 320 (DIV.mi.mi-shw), was 1 */
  @media (min-width: 330px) and (max-width: 349.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.8; } }   /* worst -58 px at 330 (DIV.mi.mi-shw), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.85; } }   /* worst -38 px at 350 (DIV.mi.mi-shw), was 1 */
  @media (min-width: 359px) and (max-width: 373.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.9; } }   /* worst -21 px at 359 (DIV.mi.mi-shw), was 1 */
  @media (min-width: 374px) and (max-width: 379.98px) { .guides.bp-page .mi[data-mini="shw"] { zoom: 0.95; } }   /* worst -6 px at 374 (DIV.mi.mi-shw), was 1 */
  @media (max-width: 309.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.65; } }   /* worst -92 px at 300 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 310px) and (max-width: 319.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.7; } }   /* worst -82 px at 310 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 320px) and (max-width: 339.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.75; } }   /* worst -72 px at 320 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 340px) and (max-width: 349.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.8; } }   /* worst -52 px at 340 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 350px) and (max-width: 358.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.85; } }   /* worst -42 px at 350 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 359px) and (max-width: 373.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.9; } }   /* worst -25 px at 359 (SPAN.mi-shd-tag.is-warn), was 1 */
  @media (min-width: 374px) and (max-width: 388.98px) { .guides.bp-page .mi[data-mini="shd"] { zoom: 0.95; } }   /* worst -10 px at 374 (SPAN.mi-shd-tag.is-warn), was 1 */
}
