/* ==========================================================================
   join-us.css — the open-roles page.

   SCOPE: loaded ONLY by /join-us/. Everything structural comes from the shared
   editorial system (editorial.css): the hero family, the chapter bands, the
   next-chapter close. This file adds only what is specific to a job listing —
   the shared baseline, the capability groups and the role cards.

   HONESTY RULE (the site's own evidence rule, applied to hiring): no salary is
   shown and no benefits, perks or culture copy is invented. What IS stated is
   what the work requires, which is what a candidate needs to self-assess.
   ========================================================================== */

/* ---- Transparency note (spec §31.3) ------------------------------------
   The page lists capabilities Kuneo looks for, not live vacancies. Saying so
   is a truthfulness requirement, not a disclaimer, so it sits ABOVE the list
   in normal weight — visible, never fine print. Quiet enough that it does not
   fight the baseline grid below it. */
.cr-note {
  margin-top: var(--space-4);
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--gray-600);
}

.cr-note strong {
  font-weight: 600;
  color: var(--brand-ink);
}

/* ---- The shared baseline: stated ONCE, not on every card ---------------
   Repeating "Senior / Remote / English" on 23 cards made the tags meaningless
   (maintainer: "ahora tienen todos los mismos tags... sino no tienen mucho
   sentido"). The bar everyone must clear lives here; each card carries only its
   own specifics. */
.cr-baseline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: clamp(24px, 4vh, 40px) 0 0;
  padding: 0;
}

.cr-baseline__item {
  display: grid;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 2px solid var(--kuneo-blue);
}

.cr-baseline__key {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--kuneo-blue);
}

.cr-baseline__val {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gray-600);
  max-width: 30ch;
}

/* ---- Groups: a heading column beside the role list --------------------- */
.cr-flow {
  display: grid;
  gap: clamp(64px, 10vh, 128px);
}

.cr-group {
  display: grid;
  gap: var(--space-6);
  /* Scroll landing: the sticky header must not cover a group heading when a
     footer anchor jumps here. Derived from the header token so it tracks the
     bar's real height (104px desktop / 64px phone) instead of assuming 104. */
  scroll-margin-top: 24px; /* the bar itself is reserved by html scroll-padding-top */
}

/* ON A PHONE THE STICKY RAIL STACKS UNDER THE HEADER, SO THE ANCHOR OFFSET
   HAS TO CLEAR BOTH.
   The generic `[id]` rule in layout.css reserves the bar plus 16px, which is
   correct for every other anchor on the site — but /join-us/ adds a second
   sticky element (the category rail, ~70px tall) directly beneath the bar.
   With only the header accounted for, the group heading landed 54px BEHIND
   the rail on all four categories: measured, targetTop 80 against railBottom
   134.

   The offset is the bar + the rail's own height + the same breathing room.
   The rail height comes from the `--cr-nav-h` token declared on `.cr-nav`,
   so the two numbers cannot drift apart. */
@media (max-width: 1023px) {
  .cr-group {
    scroll-margin-top: calc(var(--cr-nav-h) + 16px); /* + bar via html scroll-padding-top */
  }
}

.cr-group__head {
  display: grid;
  gap: var(--space-2);
  max-width: 62ch;
}

.cr-group__title {
  font-size: clamp(1.75rem, min(3.2vw, 5svh), 2.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.cr-group__blurb {
  font-size: var(--fs-body-lg);
  color: var(--gray-500);
  max-width: 54ch;
}

.cr-group__count {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ---- Role cards -------------------------------------------------------
   ONE card per role, stacked. The old two-column list forced each role into a
   narrow cell where a description plus four requirements would have been
   unreadable; requirements need a real reading measure. */
.cr-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--gray-200);
}

.cr-role {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  max-width: 72ch;
  padding-block: clamp(28px, 3.5vh, 44px);
  border-bottom: 1px solid var(--gray-200);
}

.cr-role__title {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* The role's OWN stack. Specific per card — that is the whole point. */
.cr-role__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.cr-tag {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background-color: var(--blue-050);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

/* What the person does here, in one sentence. */
.cr-role__does {
  color: var(--gray-600);
  max-width: 68ch;
}

/* The requirements block. A real checklist with visible markers, so a reader
   can scan and self-assess rather than parse prose. */
.cr-role__reqs-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);                  /* 5.6:1 on White — AA at 12px */
  margin-top: var(--space-2);
}

.cr-role__reqs {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 68ch;
}

.cr-role__reqs li {
  position: relative;
  padding-left: var(--space-8);
  color: var(--gray-600);
}

.cr-role__reqs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 1px;
  background-color: var(--kuneo-blue);
}

/* The per-role action. A quiet text link with the shared arrow: the whole
   page funnels to one intake, so a second visual language would be noise. */
.cr-role__cta {
  margin: var(--space-2) 0 0;
}

.cr-role__cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;                        /* WCAG 2.2 AA target */
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--kuneo-blue);                /* 5.2:1 on White — AA at 14px */
  text-decoration: none;
}

.cr-role__cta a:hover,
.cr-role__cta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cr-role__cta a:hover .p-arrow__shaft,
.cr-role__cta a:focus-visible .p-arrow__shaft {
  transform: scaleX(1);
}

.cr-role__cta .p-arrow {
  width: 26px;
  height: 26px;
  flex: none;
}

.cr-role__cta .p-arrow__shaft {
  width: 14px;
}

/* ---- Category rail (mobile refinement §34) ----------------------------
   The page's own index over 23 profiles. Desktop shows all four group
   headings in one scroll, so the rail would be redundant there; below 1024px
   it is the only wayfinding the page has.

   Its height is a ROOT-level token for one reason: the group headings have to
   know how far down the rail reaches so an anchor never lands behind it, and
   the rail and the groups are SIBLINGS — a custom property declared on the
   rail would not inherit across to the groups, leaving their `calc()`
   invalid and their scroll-margin silently zero (measured: scrollMarginTop
   resolved to `0px`, worse than the 80px it replaced). Both numbers now move
   together from one declaration. Scoped to this stylesheet, which only
   /join-us/ loads. */
:root {
  /* 44px chip + 12px padding above and below + the 1px borders. */
  --cr-nav-h: 70px;
}

.cr-nav {
  /* Above the profiles, below the header, so the index stays reachable while
     the reader moves through the groups. The offset is derived from the bar
     token, not hard-coded to the desktop 104px — that literal would leave the
     rail floating 40px below a 64px phone header (measured at 390px: the rail
     painted at top: 104 while the bar ended at 64, leaving a 40px strip of
     page showing through between them). */
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-sticky);
  background: var(--off-white);
  border-block: var(--border-subtle);
}

@media (max-width: 1023px) {
  .cr-nav {
    top: var(--header-h-mobile);
  }
}

.cr-nav__list {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  /* Native horizontal scrolling: the cut-off chip is the affordance, so no
     arrow controls are needed. `max()` keeps the first chip aligned with the
     page gutter while still allowing the row to run edge to edge. */
  overflow-x: auto;
  scrollbar-width: none;
  padding: var(--space-3) max(20px, calc((100% - var(--shell-wide)) / 2));
  scroll-padding-inline: max(20px, calc((100% - var(--shell-wide)) / 2));
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.cr-nav__list::-webkit-scrollbar {
  display: none;
}

.cr-nav__link {
  display: inline-flex;
  align-items: center;
  /* 44px floor: a chip is a control, not a label. */
  min-height: 44px;
  padding: 0 var(--space-4);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
}

.cr-nav__link:hover,
.cr-nav__link:focus-visible {
  border-color: var(--kuneo-blue);
  color: var(--kuneo-blue);
}

/* Desktop: the four headings are already in view, so the rail is noise. */
@media (min-width: 1024px) {
  .cr-nav {
    display: none;
  }
}

/* DESKTOP READS IT AS IF IT WERE NOT THERE — but only above 1024px.

   THE TRAP, AND HOW IT WAS FOUND. `display: contents` on the <details> looked
   like the whole answer, and on its own it does nothing: Chromium wraps the
   element's children in an internal box (exposed as `::details-content`), so
   the children never became grid items of the role. Laid out that way, each
   role's grid collapsed from six rows to four with the three children stacked
   inside one 198px row, losing both 16px gaps — 32px off every card, and the
   whole page pulled up by ~700px. The desktop fingerprint caught it as a
   `gridTemplateRows` change on `li.cr-role`.

   THE RULE WAS PICKED BY MEASUREMENT: four candidate treatments were built
   side by side against a wrapper-free reference card and compared on the exact
   y of the label, the list and the CTA plus the total height. Only putting
   `display: contents` on BOTH the element and the pseudo-element reproduced
   the reference on all four numbers — `display: grid` on the details, or
   `display: block` with margins, each came up 8–32px short.

   WHY THIS IS SCOPED TO A MIN-WIDTH. Overriding `display` on `::details-content`
   opts that box out of the UA's collapse behaviour: the summary would toggle
   while every requirement stayed on screen (measured at 390px: 216px of list
   with the details closed, and no combination of `content-visibility` or
   `block-size` brought the hiding back). Leaving the pseudo-element with NO
   author `display` below 1024px is what keeps the native open/closed state
   working, so the mobile block does not touch it at all.

   NOT IN THE ROLE BROWSER. Once js/join-roles.js has turned the groups into a
   paginated list (`.cr-enhanced`), the disclosure is real at every width so a
   page of ten profiles stays scannable; see the role browser block below. */
@media (min-width: 1024px) {
  html:not(.cr-enhanced) .cr-role__detail,
  html:not(.cr-enhanced) .cr-role__detail::details-content {
    display: contents;
  }
}

/* The summary is the phone's control, so it does not exist on desktop. */
.cr-role__summary {
  display: none;
}

@media (max-width: 1023px) {
  /* ON A PHONE THE DISCLOSURE BECOMES REAL.
     The card opens as: title, tags, one-sentence summary, and a control that
     reveals what the role actually asks for (§34's progressive disclosure —
     not content removal).

     Note what is NOT here: any rule on `::details-content`. Above 1024px that
     pseudo-element is forced to `display: contents`, which is what makes the
     wrapper vanish on desktop — but it also opts the box out of the UA's
     collapse behaviour, so leaving it untouched below 1024px is exactly what
     lets the native open/closed state work. Both halves of the split are
     deliberate. */
  .cr-role__detail {
    display: block;
    border-top: 1px solid var(--gray-200);
  }

  .cr-role__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    /* 56px: the summary is the whole control, so its hit area must clear the
       44px floor with room for the two-line label at a narrow width. */
    min-height: 56px;
    cursor: pointer;
    list-style: none;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--kuneo-blue);
  }

  .cr-role__summary::-webkit-details-marker { display: none; }
  .cr-role__summary::marker { content: ""; }

  /* The chevron: two borders on a rotated box, the same primitive the site's
     arrows use. Drawn rather than shipped as an icon so the state can be
     expressed by the transform alone. */
  .cr-role__summary-icon {
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform var(--duration-fast) var(--ease-standard);
  }

  .cr-role__detail[open] .cr-role__summary-icon {
    transform: rotate(-135deg) translate(-2px, -2px);
  }

  /* The label is redundant on a phone: the summary already says it, and two
     "What we look for" lines in a row reads as a mistake. Hidden visually and
     from the accessibility tree, because the summary carries the same words. */
  .cr-role__reqs-label {
    display: none;
  }

  .cr-role__detail[open] {
    padding-bottom: var(--space-2);
  }

  /* Tighten the card's own rhythm: on a phone the 16px grid gap plus the
     disclosure's own borders is enough structure without extra padding. */
  .cr-role {
    gap: var(--space-3);
    padding-block: clamp(24px, 5vw, 34px);
  }
}

/* ---- Role browser (js/join-roles.js) -----------------------------------
   Progressive enhancement over the grouped list above. Three states:

     no JS             the toolbar does not exist, every group shows (the
                       page as it always was).
     .js, pending      the toolbar's space is reserved but invisible and the
                       static list is held invisible, so the reader never
                       watches 33 profiles collapse into 10.
     .cr-enhanced      the module is running: toolbar visible, one paginated
                       list, the category rail retired (the toolbar's own
                       category links replace it).
     .cr-fallback      the module failed to load: back to the static page. */
.cr-tools {
  display: none;
}

.js .cr-tools {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  padding: clamp(20px, 3vw, 36px);
  background-color: var(--off-white);
  border: var(--border-subtle);
  border-radius: var(--radius-large);
  /* Landing spot for a category anchor (/join-us/#data-ai): the panel's top
     edge clears the sticky bar with the same breathing room as any [id]. */
  scroll-margin-top: 24px;
}

@media (max-width: 1023px) {
  .js .cr-tools {
    scroll-margin-top: 16px;
  }
}

.js:not(.cr-enhanced) .cr-tools {
  visibility: hidden;
}

.cr-fallback .cr-tools {
  display: none;
}

.js:not(.cr-enhanced):not(.cr-fallback) .cr-flow {
  visibility: hidden;
}

.js:not(.cr-fallback) .cr-nav {
  display: none;
}

.cr-tools__fields {
  display: grid;
  gap: var(--space-4) var(--space-6);
}

@media (min-width: 768px) {
  .cr-tools__fields {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.cr-field {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

/* Same label voice as the role cards' "What we look for". Gray 500 on the
   Off-White panel is 5.3:1, AA at 12px bold. */
.cr-field__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.cr-field__control {
  position: relative;
}

.cr-field__icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
}

/* The site's form control (components.css .field__input): 52px, 8px radius,
   the 3:1 field border. */
.cr-field__input,
.cr-field__select {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  background-color: var(--white);
  border: var(--border-field);
  border-radius: var(--radius-control);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--brand-ink);
  transition: border-color var(--duration-fast) var(--ease-standard);
}

.cr-field__input {
  padding-left: 48px;
}

.cr-field__input::placeholder {
  color: var(--gray-500);                  /* 5.6:1 on White */
  opacity: 1;
}

.cr-field__select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.cr-field__control--select::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gray-600);
  border-bottom: 2px solid var(--gray-600);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.cr-field__input:hover,
.cr-field__select:hover {
  border-color: var(--brand-ink);
}

.cr-field__input:focus-visible,
.cr-field__select:focus-visible {
  border-color: var(--kuneo-blue);
}

/* Category links: real links to the group anchors, so they still work as
   links (open in a new tab, copy the address). Same chip as the rail. */
.cr-cats {
  display: grid;
  gap: var(--space-2);
}

.cr-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.cr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                        /* WCAG 2.2 AA target */
  padding: 0 var(--space-4);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.cr-chip:hover {
  border-color: var(--kuneo-blue);
  color: var(--kuneo-blue);
}

/* Selected: Kuneo Blue with White text, 5.4:1. */
.cr-chip[aria-current="true"] {
  background-color: var(--kuneo-blue);
  border-color: var(--kuneo-blue);
  color: var(--white);
}

.cr-tools__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-top: clamp(16px, 2vw, 20px);
  border-top: var(--border-subtle);
}

/* The results summary is also where focus lands after a page change, so a
   keyboard or screen-reader user starts reading at the top of the new page. */
.cr-tools__count {
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brand-ink);
  border-radius: 4px;
}

.cr-tools__clear {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  margin-right: calc(var(--space-4) * -1);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--kuneo-blue);                /* 5.2:1 on White, 4.9:1 on Off-White */
}

.cr-tools__clear:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cr-tools__clear:disabled {
  color: var(--gray-400);
  cursor: default;
  text-decoration: none;
}

.cr-results {
  margin-top: clamp(24px, 4vh, 40px);
}

/* Each card carries its category once the group headings are gone. */
.cr-role__cat {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kuneo-blue);                /* 5.2:1 on White, AA at 12px bold */
}

/* In the role browser the "What we look for" disclosure is real at every
   width (the phone treatment above, without the media query): a page of ten
   profiles reads as ten titles, not ten checklists. */
.cr-enhanced .cr-role__detail {
  display: block;
  border-top: 1px solid var(--gray-200);
}

.cr-enhanced .cr-role__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--kuneo-blue);
}

.cr-enhanced .cr-role__summary::-webkit-details-marker { display: none; }
.cr-enhanced .cr-role__summary::marker { content: ""; }

.cr-enhanced .cr-role__summary:hover .cr-role__summary-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cr-enhanced .cr-role__summary-icon {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.cr-enhanced .cr-role__detail[open] .cr-role__summary-icon {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.cr-enhanced .cr-role__reqs-label {
  display: none;
}

.cr-enhanced .cr-role__detail[open] {
  padding-bottom: var(--space-2);
}

.cr-enhanced .cr-role {
  gap: var(--space-3);
}

/* Empty state. */
.cr-empty {
  display: grid;
  justify-items: start;
  gap: var(--space-3);
  padding-block: clamp(32px, 5vw, 56px);
  border-block: 1px solid var(--gray-200);
}

.cr-empty__title {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.cr-empty__hint {
  color: var(--gray-600);
}

.cr-empty__clear {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: var(--space-2);
  padding: 0 var(--space-6);
  border-radius: var(--radius-control);
  background-color: var(--kuneo-blue);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--white);                     /* 5.4:1 on Kuneo Blue */
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.cr-empty__clear:hover {
  background-color: var(--blue-600);
}

/* Pagination. */
.cr-pager {
  margin-top: clamp(28px, 4vh, 48px);
}

.cr-pager__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.cr-pager__num,
.cr-pager__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brand-ink);
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.cr-pager__step {
  padding: 0 var(--space-4);
}

.cr-pager__num:hover,
.cr-pager__step:not(:disabled):hover {
  border-color: var(--kuneo-blue);
  color: var(--kuneo-blue);
}

.cr-pager__num[aria-current="page"] {
  background-color: var(--brand-ink);
  border-color: var(--brand-ink);
  color: var(--white);
}

.cr-pager__step:disabled {
  color: var(--gray-400);
  cursor: default;
}

.cr-pager__chevron {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.cr-pager__step--prev .cr-pager__chevron {
  transform: translateX(1px) rotate(135deg);
}

.cr-pager__step--next .cr-pager__chevron {
  transform: translateX(-1px) rotate(-45deg);
}

.cr-pager__gap {
  display: inline-flex;
  justify-content: center;
  min-width: 24px;
  color: var(--gray-500);
}

/* A phone keeps every page number and shows Previous / Next as arrows; the
   words stay in the accessible name. */
@media (max-width: 479px) {
  .cr-pager__step {
    padding: 0;
  }

  .cr-pager__step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-chip,
  .cr-pager__num,
  .cr-pager__step,
  .cr-empty__clear,
  .cr-field__input,
  .cr-field__select,
  .cr-enhanced .cr-role__summary-icon {
    transition: none;
  }
}

/* ---- Closing apply block (on the ink band) ----------------------------- */
.cr-apply__support {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--gray-300);                  /* 9.7:1 on Ink — AA */
  max-width: 56ch;
  margin-top: var(--space-6);
}

.cr-apply__actions {
  margin-top: clamp(24px, 4vh, 40px);
}

.cr-apply__primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-4) clamp(20px, 2.5vw, 32px);
  font-size: var(--fs-body-lg);
  font-weight: 700;
  color: var(--white);
  background-color: var(--kuneo-blue);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.cr-apply__primary:hover,
.cr-apply__primary:focus-visible {
  background-color: var(--blue-600);
}

.cr-apply__primary .p-arrow {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--white);
}

.cr-apply__primary .p-arrow__shaft {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .cr-apply__primary {
    transition: none;
  }
}

