/* Aptibit family UI kit v1.1.9: the shared shell for aptibit.com, visylix.com and cognilox.com.
   Island and Dock nav, search, theme toggle, cookie consent, footer shell and the micro-interaction kit.
   Needs tokens.css v2 first (brand and theme tokens on <html data-brand data-theme>).
   Motion: every duration and easing comes from motion.css. Only transform (translate, scale, rotate),
   opacity and clip-path are ever animated, through CSS transitions, so every change is interruptible. */
@import url("motion.css?v=8f2f3e35");
@import url("components.css?v=f4634559");

@layer kit.base, kit.components;

@property --kit-cookie-h { syntax: '<length>'; inherits: false; initial-value: 0px; }
/* the Island's motion variables are registered as non-inherited: they live on the six elements that move, and a state
   change then restyles those six only, never the logo, labels and icons inside them */
@property --off { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ki-d { syntax: '<time>'; inherits: false; initial-value: 0s; }
@property --ki-e { syntax: '*'; inherits: false; }

@layer kit.base {
  :root {
    --kit-isl-w: min(1120px, calc(100vw - 32px));
    --kit-isl-h: 56px;
    --kit-isl-top: 12px;
    --kit-isl-r: 28px;
    --kit-chips-h: 44px;
    --kit-mbar-h: 48px;
    --kit-dock-h: 64px;
    --kit-dock-gap: 12px;
    --kit-dock-space: calc(var(--kit-dock-h) + var(--kit-dock-gap) * 2 + env(safe-area-inset-bottom));
    /* identity: what a site may change (accent, primary button, toggle icon colours, glass tint) */
    --kit-primary: var(--accent-fill);
    --kit-on-primary: var(--on-accent);
    --kit-primary-hover: var(--accent-fill-hover);
    --kit-raise: var(--accent-fill);
    --kit-on-raise: var(--on-accent);
    --kit-tt-system: var(--accent-text);
    --kit-tt-sun: #EE832D;
    --kit-logo-node: #F0A630;
    /* the logo keeps the brand's own ink (the page fg, resolved here at the root), inside the neutral shell too */
    --kit-logo-color: var(--fg);
    /* surfaces */
    /* 0.86: every text on the glass keeps 4.5:1 whatever scrolls behind it (worst case: black or white content) */
    --kit-glass: rgb(255 255 255 / 0.86);
    --kit-glass-solid: rgb(255 255 255 / 0.86);
    --kit-glass-open: rgb(255 255 255 / 0.97);
    --kit-glass-line: var(--kit-n-line-hover);
    --kit-shadow-a: 0.08;
    --kit-hl: color-mix(in srgb, var(--kit-n-fg) 6%, transparent);
    --kit-scrim: rgb(0 0 0 / 0.08);
    --kit-mark: color-mix(in srgb, var(--accent) 22%, transparent);
  }
  /* One neutral shell (owner X11, 15 Nov): the Island, the Dock, the sheet, the footer and the cookie bar render in one
     neutral palette on all three sites, so only the logo, the accent and the link data differ between them. */
  :root {
    --kit-n-bg: #F5F5F7; --kit-n-card: #FFFFFF; --kit-n-fg: #1D1D1F; --kit-n-fg-2: #424245; --kit-n-fg-3: #636366;
    --kit-n-line: rgb(0 0 0 / 0.08); --kit-n-line-soft: rgb(0 0 0 / 0.06); --kit-n-line-hover: rgb(0 0 0 / 0.22); --kit-n-line-strong: #86868B;
    --kit-n-field: rgb(0 0 0 / 0.035); --kit-n-field-hover: rgb(0 0 0 / 0.05); --kit-n-sunk: #E8E8ED;
  }
  :root[data-theme="dark"] {
    --kit-n-bg: #161617; --kit-n-card: #1D1D1F; --kit-n-fg: #F5F5F7; --kit-n-fg-2: #D2D2D7; --kit-n-fg-3: #A1A1A6;
    --kit-n-line: rgb(255 255 255 / 0.11); --kit-n-line-soft: rgb(255 255 255 / 0.08); --kit-n-line-hover: rgb(255 255 255 / 0.28); --kit-n-line-strong: #86868B;
    --kit-n-field: rgb(255 255 255 / 0.06); --kit-n-field-hover: rgb(255 255 255 / 0.08); --kit-n-sunk: #0A0A0B;
  }
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie) {
    --fg: var(--kit-n-fg); --fg-2: var(--kit-n-fg-2); --fg-3: var(--kit-n-fg-3);
    --line: var(--kit-n-line); --line-soft: var(--kit-n-line-soft); --line-hover: var(--kit-n-line-hover); --line-strong: var(--kit-n-line-strong);
    --field: var(--kit-n-field); --field-hover: var(--kit-n-field-hover); --sunk: var(--kit-n-sunk);
    --bg: var(--kit-n-card); --bg-alt: var(--kit-n-bg); --surface: var(--kit-n-card); --surface-2: var(--kit-n-card);
  }
  :root[data-brand="aptibit"] { --kit-tt-sun: #C83B56; }
  :root[data-brand="cognilox"] {
    --kit-primary: var(--fg); --kit-on-primary: var(--bg); --kit-primary-hover: color-mix(in srgb, var(--fg) 86%, var(--bg));
    --kit-tt-system: var(--fg); --kit-tt-sun: var(--accent);
  }
  :root[data-theme="dark"] {
    --kit-glass: rgb(29 29 31 / 0.86); --kit-glass-solid: rgb(29 29 31 / 0.88); --kit-glass-open: rgb(29 29 31 / 0.97);
    --kit-shadow-a: 0.4; --kit-scrim: rgb(0 0 0 / 0.28); --kit-logo-node: #F6B54A;
    --kit-mark: color-mix(in srgb, var(--accent) 34%, transparent);
  }

  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-toast, .kit-ui),
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-toast, .kit-ui) *,
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-toast, .kit-ui) *::before,
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-toast, .kit-ui) *::after,
  .kit-btn, .kit-input, .kit-switch { box-sizing: border-box; }
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-ui) [hidden] { display: none !important; }
  /* themed images (v1.1.4): a light and a dark <img loading="lazy">; the one for the other theme is not rendered, so it is
     never fetched. data-theme on <html> is set by the boot script before the body parses. */
  :root:not([data-theme="dark"]) img[data-theme-img="dark"], :root[data-theme="dark"] img[data-theme-img="light"] { display: none !important; }
  .kit-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .kit-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .kit-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .kit-i[data-glyph] { stroke: none; }
  .kit-i[data-glyph] rect { fill: currentColor; opacity: .22; }
  .kit-i[data-glyph] .on { opacity: 1; }
  .kit-logo { display: block; height: var(--h); width: var(--w); color: var(--kit-logo-color); flex: none; }
  .kit-logo-text { width: auto; font: 600 18px/1 var(--font-sans); letter-spacing: -.02em; }
  .kit-kbd { display: inline-block; font: 500 12px/1 var(--font-sans); letter-spacing: .01em; padding: 3px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-2); background: color-mix(in srgb, var(--bg) 50%, transparent); }

  /* Body offsets so the fixed shell never covers content */
  html.kit-on { scroll-padding-top: 96px; }
  html.kit-on body { padding-top: 84px; padding-bottom: var(--kit-cookie-h); }
  @media (max-width: 767px) {
    html.kit-on { scroll-padding-top: 64px; }
    html.kit-on body { padding-top: var(--kit-mbar-h); padding-bottom: calc(var(--kit-dock-space) + var(--kit-cookie-h)); }
    /* the Dock's clearance sits inside the footer (v1.1.8, VR-C4/VR-A4), so the footer colour reaches the bottom of the
       page instead of an 85 px band of page colour under it */
    html.kit-on body:has(#kit-footer) { padding-bottom: var(--kit-cookie-h); }
    html.kit-on #kit-footer { padding-bottom: calc(24px + var(--kit-dock-space)); }
  }

  /* No lone words (v1.1.8, owner): headings, titles, eyebrows and stat captions balance their lines, so the last line
     is never one short word ("...audit / trail"); running text wraps "pretty", which only re-breaks the last few lines
     to avoid a one-word last line. Fonts and sizes are unchanged. In the base layer, so a site rule still wins.
     Supported in Chromium 114+/117+ and Safari 17.4+/26 (balance/pretty); where unsupported it is ignored. */
  :where(h1, h2, h3, h4, dt, th, .k-page-title, .k-section-title, .k-title, .k-title-sm, .k-eyebrow, .k-card-t, .k-post-t b,
    .k-short-t, .kf-cta-t) { text-wrap: balance; }
  :where(p, li, dd, td, blockquote, figcaption, .k-lead, .k-body, .k-caption) { text-wrap: pretty; }
  /* stat, KPI and metric captions (any site class containing "stat", "kpi" or "metric"), after the rule above */
  :where([class*="stat"], [class*="kpi"], [class*="metric"]), :where([class*="stat"], [class*="kpi"], [class*="metric"]) :where(dt, dd, p, span, small, b, strong) { text-wrap: balance; }
}

@layer kit.components {
/* =================== Reduced motion: a 150 ms fade, nothing moves =================== */
@media (prefers-reduced-motion: reduce) {
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-sheet-back, .kit-scrim, .kit-footer, .kit-cookie, .kit-toast, .kit-ui),
  :where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-sheet-back, .kit-scrim, .kit-footer, .kit-cookie, .kit-toast, .kit-ui) * {
    transition-property: opacity !important; transition-duration: var(--kit-rm-fade) !important; transition-delay: 0s !important; transition-timing-function: linear !important; animation: none !important; }
}
:root[data-kit-motion="reduce"] :is(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-sheet-back, .kit-scrim, .kit-footer, .kit-cookie, .kit-toast, .kit-ui),
:root[data-kit-motion="reduce"] :is(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-sheet-back, .kit-scrim, .kit-footer, .kit-cookie, .kit-toast, .kit-ui) * {
  transition-property: opacity !important; transition-duration: var(--kit-rm-fade) !important; transition-delay: 0s !important; transition-timing-function: linear !important; animation: none !important; }
/* =================== Micro-interaction kit =================== */
:where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-ui) :focus-visible,
:root[data-kit-focus] :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-halo); }
:where(.kit-island, .kit-mbar, .kit-dock, .kit-sheet, .kit-footer, .kit-cookie, .kit-ui) :focus:not(:focus-visible) { outline: none; }

.kit-btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font: 500 var(--text-body)/1 var(--font-sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  isolation: isolate;
  transition: scale var(--kit-press) var(--kit-ease-standard), translate var(--ki-d, var(--kit-expand)) var(--ki-e, var(--kit-ease-settle));
}
/* hover: a tint layer that fades in (opacity only, so it runs on the compositor) */
.kit-btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--kit-btn-tint, currentColor); opacity: 0; pointer-events: none; transition: opacity var(--kit-micro) var(--kit-ease-standard); }
.kit-btn:hover::before { opacity: var(--kit-btn-tint-a, .07); }
.kit-btn-primary, .kit-btn-accent { --kit-btn-tint: #000; --kit-btn-tint-a: .12; }
:root[data-theme="dark"] .kit-btn-primary { --kit-btn-tint: #fff; --kit-btn-tint-a: .14; }
.kit-btn:active:not([disabled]):not([aria-disabled="true"]), .kit-btn.is-pressed { scale: var(--kit-press-scale); }
.kit-btn-sm { --h: 36px; padding: 0 16px; font-size: var(--text-small); }
.kit-btn-lg { --h: 52px; padding: 0 28px; }
.kit-btn-block { width: 100%; }
.kit-btn-primary { background: var(--kit-primary); color: var(--kit-on-primary); }
.kit-btn-accent { background: var(--accent-fill); color: var(--on-accent); }
.kit-btn-secondary { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.kit-btn-secondary:hover { border-color: var(--fg-3); }
.kit-btn-ghost { background: transparent; color: var(--fg); }
.kit-btn[disabled], .kit-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.kit-btn .kit-i { width: 16px; height: 16px; }
.kit-arr { transition: translate var(--kit-micro) var(--kit-ease-settle); }
.kit-btn:hover .kit-arr, .kit-arrowlink:hover .kit-arr, a:hover > .kit-arrowlink .kit-arr { translate: 2px 0; }
.kit-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: kit-spin 700ms linear infinite; }
.kit-btn[aria-busy="true"] .kit-spin { display: inline-block; }
@keyframes kit-spin { to { rotate: 360deg; } }

.kit-arrowlink { display: inline-flex; align-items: center; gap: 6px; font: 500 var(--text-small)/1.2 var(--font-sans); color: var(--accent-text); }
.kit-arrowlink .kit-i { width: 16px; height: 16px; }
/* Text links: an underline that grows from the left (scale only) */
.kit-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.kit-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; scale: 0 1; transform-origin: 0 50%; transition: scale var(--kit-micro) var(--kit-ease-settle); }
.kit-link:hover { color: var(--fg); }
.kit-link:hover::after, .kit-link:focus-visible::after { scale: 1 1; }
.kit-link .kit-i { width: 14px; height: 14px; }

/* Fields: lift on focus, a single gentle shake on error, a crafted tick on success */
/* Fields (owner X10): a soft fill and a 1 px hairline edge that firms on hover. A 1 px --line-strong bottom edge
   (3:1 on every ground) identifies the field, as WCAG 1.4.11 asks of a field's visual indicator; focus adds the ring.
   Colour changes are instant (no colour transitions); the field lifts 1 px on focus. */
.kit-input { min-width: 0; min-height: 48px; padding: 0 var(--kit-field-pad-lg); padding-inline: var(--kit-field-pad-lg); border: 0; border-radius: 12px;
  background: var(--field, rgb(0 0 0 / .035)); box-shadow: inset 0 0 0 1px var(--line), inset 0 -1px 0 0 var(--line-strong);
  color: var(--fg); font: 400 var(--text-body)/1.25 var(--font-sans); -webkit-appearance: none; appearance: none;
  transition: translate var(--kit-micro) var(--kit-ease-settle); }
.kit-input::placeholder { color: var(--fg-3); opacity: 1; }
.kit-input:hover { background: var(--field-hover, rgb(0 0 0 / .05)); box-shadow: inset 0 0 0 1px var(--line-hover, rgb(0 0 0 / .22)), inset 0 -1px 0 0 var(--line-strong); }
.kit-input:focus { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: inset 0 0 0 1px var(--line-hover, rgb(0 0 0 / .22)), inset 0 -1px 0 0 var(--line-strong), 0 0 0 6px var(--focus-halo); translate: 0 -1px; }
.kit-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--error), inset 0 -1px 0 0 var(--error); }
.kit-input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--error), inset 0 -1px 0 0 var(--error), 0 0 0 6px var(--focus-halo); }
.kit-shake { animation: kit-shake 320ms var(--kit-ease-standard) 1; }
@keyframes kit-shake { 20% { translate: -6px 0; } 45% { translate: 5px 0; } 70% { translate: -3px 0; } 100% { translate: 0 0; } }
select.kit-input { padding-inline-end: calc(var(--kit-field-pad-lg) + 24px); background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea.kit-input { min-height: 132px; padding: 12px var(--kit-field-pad-lg); line-height: 1.5; resize: vertical; }

/* Switch (cookie settings and anywhere else) */
.kit-switch { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kit-switch-track { position: relative; width: 48px; height: 28px; border-radius: var(--radius-pill); background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line-strong); }
.kit-switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: translate var(--kit-micro) var(--kit-ease-settle), scale var(--kit-press) var(--kit-ease-standard); transform-origin: 50% 50%; }
.kit-switch:hover .kit-switch-track { box-shadow: inset 0 0 0 1px var(--fg-3); }
.kit-switch:active .kit-switch-knob { scale: 1.12 1; }
.kit-switch[aria-checked="true"] .kit-switch-track { background: var(--fg); box-shadow: none; }
.kit-switch[aria-checked="true"] .kit-switch-knob { translate: 20px 0; background: var(--bg); }
.kit-switch:focus-visible { outline: none !important; box-shadow: none !important; }
.kit-switch:focus-visible .kit-switch-track { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 7px var(--focus-halo); }

/* =================== Theme toggle: the existing aptibit.com / visylix.com toggle =================== */
.kit-tt { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(245 245 247 / .85); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .04), 0 2px 8px rgb(0 0 0 / .04);
  isolation: isolate; transition: translate 300ms, scale 300ms, opacity var(--kit-fade) var(--kit-ease-standard); }
.kit-tt::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgb(245 245 247 / .92); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06), 0 8px 32px rgb(0 0 0 / .08); opacity: 0; transition: opacity .35s cubic-bezier(.4, 0, .2, 1); }
.kit-tt:hover { translate: 0 -2px; scale: 1.05; }
.kit-tt:hover::before { opacity: 1; }
:root[data-theme="dark"] .kit-tt { background: rgb(17 17 24 / .75); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
:root[data-theme="dark"] .kit-tt::before { background: rgb(26 26 36 / .82); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .10), 0 8px 32px rgb(0 0 0 / .30); }
.kit-tt-i { grid-area: 1 / 1; width: 16px; height: 16px; opacity: 0; rotate: 90deg; scale: .5; transition: opacity 200ms, rotate 200ms, scale 200ms; }
.kit-tt-light { rotate: -90deg; }
.kit-tt-system { color: var(--kit-tt-system); }
.kit-tt-light { color: var(--fg-2); }
.kit-tt-dark { color: var(--kit-tt-sun); }
/* two states (v1.1.8): the icon follows the theme in use, pinned or from the OS; the system icon is no longer shown */
:root[data-theme="light"] .kit-tt-light, :root[data-theme="dark"] .kit-tt-dark { opacity: 1; rotate: 0deg; scale: 1; transition: none; }
/* AnimatePresence mode="wait": the old icon leaves (200 ms), then the new one arrives (200 ms) */
.kit-tt[data-anim] .kit-tt-i { transition: opacity 200ms, rotate 200ms, scale 200ms; }
:root[data-theme="dark"] .kit-tt[data-anim] .kit-tt-dark { animation: kit-tt-in 200ms 200ms both; }
:root[data-theme="light"] .kit-tt[data-anim] .kit-tt-light { animation: kit-tt-in-moon 200ms 200ms both; }
@keyframes kit-tt-in { from { opacity: 0; rotate: -90deg; scale: .5; } to { opacity: 1; rotate: 0deg; scale: 1; } }
@keyframes kit-tt-in-moon { from { opacity: 0; rotate: 90deg; scale: .5; } to { opacity: 1; rotate: 0deg; scale: 1; } }
@media (max-width: 639px) { .kit-tt { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .kit-tt-i, .kit-tt[data-anim] .kit-tt-i { transition: none !important; animation: none !important; rotate: 0deg !important; scale: 1 !important; } .kit-tt:hover { translate: none; scale: none; } }
:root[data-kit-motion="reduce"] .kit-tt-i { transition: none !important; animation: none !important; rotate: 0deg !important; scale: 1 !important; }

/* =================== The Island (>= 768 px) =================== */
.kit-island {
  position: fixed; z-index: var(--z-sticky); top: var(--kit-isl-top); left: 50%; width: var(--kit-isl-w); height: var(--kit-isl-h);
  margin-left: calc(var(--kit-isl-w) / -2); pointer-events: none; font-family: var(--font-sans); color: var(--fg);
}
/* The motion and offset variables live on the few elements that move, never on the Island root: a custom property
   on the root is inherited by every descendant, and changing it would restyle the whole menu on each state change. */
.ki-skin, .ki-rim, .ki-shade i, .ki-left, .ki-cta, .ki-pillhit { --ki-d: var(--kit-expand); --ki-e: var(--kit-ease-settle); --off: 0px; }
.kit-island[data-motion="condense"] .ki-skin, .kit-island[data-motion="condense"] .ki-rim, .kit-island[data-motion="condense"] .ki-shade i, .kit-island[data-motion="condense"] .ki-left, .kit-island[data-motion="condense"] .ki-cta, .kit-island[data-motion="condense"] .ki-pillhit { --ki-d: var(--kit-condense); }
.kit-island[data-motion="settle"] .ki-skin, .kit-island[data-motion="settle"] .ki-rim, .kit-island[data-motion="settle"] .ki-shade i, .kit-island[data-motion="settle"] .ki-left, .kit-island[data-motion="settle"] .ki-cta, .kit-island[data-motion="settle"] .ki-pillhit { --ki-d: var(--kit-settle); }
.kit-island[data-motion="open"] .ki-skin, .kit-island[data-motion="open"] .ki-rim, .kit-island[data-motion="open"] .ki-shade i, .kit-island[data-motion="open"] .ki-left, .kit-island[data-motion="open"] .ki-cta, .kit-island[data-motion="open"] .ki-pillhit { --ki-d: var(--kit-open); }
.kit-island[data-motion="close"] .ki-skin, .kit-island[data-motion="close"] .ki-rim, .kit-island[data-motion="close"] .ki-shade i, .kit-island[data-motion="close"] .ki-left, .kit-island[data-motion="close"] .ki-cta, .kit-island[data-motion="close"] .ki-pillhit { --ki-d: var(--kit-close); --ki-e: var(--kit-ease-close); }
.kit-island[data-state="compact"] .ki-left, .kit-island[data-state="compact"] .ki-cta, .kit-island[data-state="compact"] .ki-pillhit { --off: var(--ki-off, 0px); }
/* the shape: one fixed-size box per layer, revealed by an animated clip path, so nothing lays out per frame */
.ki-skin, .ki-rim { position: absolute; left: 0; top: 0; width: 100%; height: 56px; }
.ki-skin { background: var(--kit-glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
/* an open menu or the search palette sits on near-solid glass: page colour behind the panel (a pink hero, say) can no
   longer bleed through as a blurred glow (owner R10, 15 Nov). The switch is instant, under the clip morph. */
.kit-island:is([data-state="open"], [data-state="search"]) .ki-skin { background: var(--kit-glass-open); }
.ki-rim { background: var(--kit-glass-line); }
.ki-shade { position: absolute; left: -64px; top: -64px; width: calc(100% + 128px); height: 184px; filter: blur(16px); translate: 0 8px; opacity: var(--kit-shadow-a); }
.ki-shade i { position: absolute; inset: 0; background: #000; }
.kit-island[data-ready] :is(.ki-skin, .ki-rim, .ki-shade i) { transition: clip-path var(--ki-d) var(--ki-e); }

.ki-bar { position: relative; z-index: 1; height: var(--kit-isl-h); display: flex; align-items: center; gap: 8px; padding: 0 8px 0 20px; }
.ki-left { position: relative; z-index: 1; flex: none; display: flex; align-items: center; height: var(--kit-isl-h); translate: var(--off) 0; pointer-events: auto; }
.kit-island[data-ready] .ki-left, .kit-island[data-ready] .ki-cta, .kit-island[data-ready] .ki-pillhit { transition: translate var(--ki-d) var(--ki-e), scale var(--kit-press) var(--kit-ease-standard); }
/* the logo sits in one fixed slot on every site, so the menu starts at the same place whatever the logo's width (X11) */
.ki-logo { display: flex; align-items: center; min-width: var(--kit-logo-slot, 104px); height: 40px; padding: 0 4px; margin-left: -4px; border-radius: var(--radius-pill); color: var(--fg); text-decoration: none; }
.ki-page { position: absolute; left: var(--ki-logo-end, 100%); top: 0; height: var(--kit-isl-h); display: flex; align-items: center; gap: 12px; padding-left: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--kit-fade) var(--kit-ease-standard); }
.ki-div { width: 1px; height: 18px; background: var(--line-strong); opacity: .7; }
.ki-page-t { font: 500 var(--text-small)/1 var(--font-sans); color: var(--fg-2); }
.ki-nav { position: relative; margin-inline: auto; pointer-events: none; transition: opacity var(--kit-fade) var(--kit-ease-standard); }
.ki-ul { position: relative; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ki-li { display: block; }
/* hit testing is switched on the items themselves (leaves), never on the nav: pointer-events is inherited, and
   toggling it on the nav restyled every element inside it on the state-change frame */
.ki-li > .ki-item { pointer-events: auto; }
/* the list itself stays hit-testable in the expanded bar, so the pointer never falls through the 2 px gaps between
   items (which would bounce the hover pill); its items set their own value, so switching it restyles one element */
.ki-ul { pointer-events: auto; }
.ki-li { pointer-events: none; }
.ki-li[hidden], .ki-more-sec[hidden] { display: none; }
.ki-item { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: none;
  /* primary text colour: the hover pill is a full-width layer revealed by clip-path, and checkers that ignore the clip
     composite it under every item; fg keeps 4.5:1 even then, on every brand */
  color: var(--fg); font: 500 var(--text-small)/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.ki-item:hover, .ki-item[aria-expanded="true"], .ki-item[data-current] { color: var(--fg); }
.ki-chev { width: 14px; height: 14px; transition: rotate var(--kit-micro) var(--kit-ease-settle); }
.ki-item[aria-expanded="true"] .ki-chev { rotate: 180deg; }
/* the gliding hover pill: a full-width layer revealed by clip-path, so it glides without width animation */
.ki-hl { position: absolute; left: 0; top: 0; width: 100%; height: 40px; background: var(--kit-hl); clip-path: var(--hl, inset(0 100% 0 0 round 20px)); opacity: 0; pointer-events: none; }
.kit-island[data-ready] .ki-hl { transition: clip-path var(--kit-glide) var(--kit-ease-settle), opacity var(--kit-fade) var(--kit-ease-standard); }
.ki-hl.on { opacity: 1; }
.ki-right { position: relative; z-index: 3; flex: none; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.ki-right > * { pointer-events: auto; }
.ki-search { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border: 0; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fg) 5%, transparent);
  color: var(--fg-2); font: 500 12px/1 var(--font-sans); cursor: pointer; transition: opacity var(--kit-fade) var(--kit-ease-standard), scale var(--kit-press); }
.ki-search:hover, .ki-search[aria-expanded="true"] { color: var(--fg); background: color-mix(in srgb, var(--fg) 9%, transparent); }
.ki-search:active { scale: var(--kit-press-scale); }
.ki-search .kit-i { width: 16px; height: 16px; }
.ki-cta { margin-inline-start: 4px; translate: calc(-1 * var(--off)) 0; }
.ki-pillhit { position: absolute; z-index: 2; left: 0; top: 0; height: var(--kit-isl-h); width: var(--ki-cw, 360px); translate: var(--off) 0; padding: 0; border: 0; border-radius: var(--kit-isl-r); background: none; cursor: pointer; pointer-events: none; }
/* condensed: logo and name, page name, CTA flush right */
.kit-island[data-state="compact"] .ki-nav, .kit-island[data-state="compact"] .ki-search, .kit-island[data-state="compact"] .ki-right .kit-tt { opacity: 0; pointer-events: none; }
.kit-island[data-state="compact"] .ki-ul, .kit-island[data-state="compact"] .ki-li > .ki-item { pointer-events: none; }
/* everything inside those controls sets its own pointer-events, so switching the control's value never propagates
   into its icons and labels (pointer-events is inherited) */
.ki-item *, .ki-search *, .ki-right .kit-tt *, .ki-logo * { pointer-events: none; }
.kit-island[data-state="compact"] .ki-page { opacity: 1; transition-delay: 80ms; }
.kit-island[data-state="compact"] .ki-pillhit { pointer-events: auto; }
.kit-island[data-state="compact"] .ki-logo { pointer-events: none; }

/* the parts that fade or glide on a state change keep their own compositor layers from first paint, so the first frame
   of a morph only updates layer properties: nothing is painted or re-layerized when the scroll turns */
.ki-nav, .ki-search, .ki-right .kit-tt, .ki-page, .ki-chips { will-change: opacity; }
.ki-left, .ki-cta, .ki-pillhit { will-change: translate; }

/* section chips (product pages) and the progress line: expanded Island only */
.ki-chips { position: absolute; z-index: 1; left: 20px; right: 20px; top: var(--kit-isl-h); height: var(--kit-chips-h); display: flex; align-items: center; justify-content: center; gap: 14px; opacity: 0; pointer-events: none; transition: opacity var(--kit-fade) var(--kit-ease-standard); }
.ki-chips::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.ki-chips-t { font: 600 var(--text-small)/1 var(--font-sans); color: var(--fg); white-space: nowrap; }
.ki-chips ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ki-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--fg); font: 500 var(--text-small)/1 var(--font-sans); text-decoration: none; white-space: nowrap; }
.ki-chip:hover { color: var(--fg); }
.ki-chip[aria-current="true"] { background: var(--kit-hl); color: var(--fg); }
.kit-island[data-chips-on] .ki-chips { opacity: 1; pointer-events: auto; transition-delay: 80ms; }
.ki-prog { position: absolute; z-index: 1; left: 28px; right: 28px; top: calc(var(--kit-isl-h) - 2px); height: 2px; border-radius: 1px; overflow: hidden; opacity: 0; transition: opacity var(--kit-fade) var(--kit-ease-standard); }
.kit-island[data-chips] .ki-prog { top: calc(var(--kit-isl-h) + var(--kit-chips-h) - 2px); }
.ki-prog i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; scale: var(--kit-p, 0) 1; }
.kit-island[data-prog-on] .ki-prog { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .kit-island:is([data-chips], [data-progress]) .ki-prog i { scale: none; animation: kit-prog linear both; animation-timeline: scroll(root block); }
  @keyframes kit-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* mega menus and the search palette grow out of the Island */
.ki-panels { position: absolute; z-index: 1; left: 0; top: var(--kit-isl-h); width: 100%; }
/* A panel is made visible one frame before it fades in (.is-live, then .is-cur): an animation that starts on an
   element that is still visibility: hidden cannot run on the compositor, so it would tick on the main thread. */
.ki-panel { position: absolute; left: 0; top: 0; width: 100%; visibility: hidden; pointer-events: none; }
.ki-panel.is-live { visibility: visible; }
.ki-panel.is-cur { pointer-events: auto; }
.ki-panel-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px 32px; padding: 12px 20px 16px; }
.ki-panel-in.no-feat { grid-template-columns: minmax(0, 1fr); }
.ki-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 0 16px; align-content: start; }
/* Menu choreography: the container (the Island's clip) opens first; the content fades up 5 px 60 ms later, in its
   own layer. Moving between menus crossfades contents inside the same container while the clip resizes. */
/* outgoing content fades on the standard (decelerating) curve, so a crossfade between menus never ends on a hard edge */
.ki-panel-in, .ki-strip { opacity: 0; translate: 0 var(--kit-panel-rise); transition: opacity var(--kit-close) var(--kit-ease-standard), translate var(--kit-close) var(--kit-ease-standard); }
.ki-panel.is-cur .ki-panel-in, .ki-panel.is-cur .ki-strip { opacity: 1; translate: 0 0.01px; transition: opacity var(--kit-open) var(--kit-ease-settle) var(--kit-content-delay), translate var(--kit-open) var(--kit-ease-settle) var(--kit-content-delay); }
.ki-panel.is-cur .ki-strip { transition-delay: calc(var(--kit-content-delay) + var(--kit-stagger)); }
/* the rise lands on 0.01 px, not 0: WebKit re-snaps text by a whole pixel the frame a translate reaches exactly zero,
   which reads as a tick at the end of the open. 0.01 px is invisible and keeps the landing frame identical to the rest. */
.ki-col-h { margin: 6px 0 6px 10px; font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.ki-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ki-link { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 9px 10px; border-radius: var(--radius-md); color: var(--fg); text-decoration: none; }
.ki-link:hover { background: var(--kit-hl); }
.ki-link-i { color: var(--fg-2); padding-top: 1px; }
.ki-link-i .kit-i { width: 20px; height: 20px; }
.ki-link-t b { display: block; font: 600 var(--text-small)/1.3 var(--font-sans); }
.ki-link-t small { display: block; margin-top: 2px; font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-2); }
.ki-feat { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 20px; background: var(--kit-n-field); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--fg); text-decoration: none; }
.ki-feat:hover { background: var(--kit-n-field-hover); }
.kf-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--sunk); margin-bottom: 6px; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line-soft); }

.kf-media img { display: block; width: 100%; height: 100%; object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%); }
.kf-eyebrow { font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.kf-title { font: 600 var(--text-title-sm)/1.3 var(--font-sans); letter-spacing: var(--tracking-title-sm); }
.kf-text { font: 400 var(--text-small)/var(--leading-small) var(--font-sans); color: var(--fg-2); }
.ki-feat .kit-arrowlink { margin-top: 4px; }
.ki-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 20px; padding: 14px 10px 18px; border-top: 1px solid var(--line); font: 500 var(--text-small)/1 var(--font-sans); }
/* Search: the palette is a shared element with the search button. It opens from the button's position (clip from
   the button's rect, scale 0.96 from its centre) on Settle, and closes back into it, shorter (200 ms, ease in).
   Rows stagger in 24 ms apart, the first 6 only. */
/* the clip (set in island.js) runs from the search button's pill to the whole palette, in px with a constant radius.
   The clip and the scale live on two layers (clip on the palette, scale and opacity on its inner box): each one then
   animates on the compositor; on one element together, the clip would tick on the main thread */
.ki-pal { padding: 4px 20px 0; clip-path: var(--pal-clip0, none);
  transition: clip-path var(--kit-close) var(--kit-ease-close); }
.ki-pal.is-cur { clip-path: var(--pal-clip1, none); transition: clip-path var(--kit-open) var(--kit-ease-settle); }
.ki-pal-in { transform-origin: var(--pal-ox, 90%) 0; opacity: 0; scale: var(--kit-from-scale);
  transition: opacity var(--kit-close) var(--kit-ease-close), scale var(--kit-close) var(--kit-ease-close); }
.ki-pal.is-cur .ki-pal-in { opacity: 1; scale: 1; transition: opacity var(--kit-open) var(--kit-ease-settle), scale var(--kit-open) var(--kit-ease-settle); }
.ki-pal .ki-panel-in, .ki-pal .ki-strip { opacity: 1; translate: none; }
.kr-fresh .kr-o, .kr-fresh .kr-gh, .kr-fresh .kr-recent { animation: kit-row var(--kit-open) var(--kit-ease-settle) both; animation-delay: calc(var(--r, 6) * var(--kit-row-stagger) + var(--kit-content-delay)); }
@keyframes kit-row { from { opacity: 0; translate: 0 6px; } }
.ki-pal .kit-sres { height: min(400px, calc(100vh - 230px)); }
.ki-pal-foot { display: flex; gap: 20px; margin: 0 -20px; padding: 12px 20px 14px; border-top: 1px solid var(--line); font: 500 var(--text-caption)/1 var(--font-sans); color: var(--fg-3); }
.ki-pal-foot .kit-kbd { margin-right: 4px; }
.kit-scrim { position: fixed; inset: 0; z-index: calc(var(--z-sticky) - 1); background: var(--kit-scrim); opacity: 0; pointer-events: none; transition: opacity var(--kit-close) var(--kit-ease-close) var(--kit-scrim-lag); }
.kit-scrim.on { opacity: 1; pointer-events: auto; transition: opacity var(--kit-open) var(--kit-ease-settle) var(--kit-scrim-lag); }
.ki-more-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 16px; max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.ki-link-s { grid-template-columns: minmax(0, 1fr); padding: 7px 10px; }
/* panels stay mounted and laid out while hidden; their paint is contained so warming one never touches the page */
.ki-panel { contain: layout paint style; }
.ki-panel.is-warm { visibility: visible; }
.ki-panel.is-warm .ki-panel-in, .ki-panel.is-warm .ki-strip { opacity: 0.001; transition: none; }
@media (max-width: 1023px) {
  .ki-item { padding: 0 11px; }
  .ki-search .kit-kbd { display: none; }
  .ki-panel-in { grid-template-columns: minmax(0, 1fr); }
  .ki-feat { display: none; }
}
@media (max-width: 899px) { .ki-item { padding: 0 9px; font-size: 13px; } .ki-chev { display: none; } .ki-bar { padding-left: 16px; } }
@media (max-width: 767px) { .kit-island, .kit-scrim { display: none; } }

/* =================== Search: one field and one results design =================== */
.kit-sfield { position: relative; display: flex; align-items: center; height: 52px; padding: 0; border-radius: 16px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line), inset 0 -1px 0 0 var(--line-strong); }
.kit-sfield:hover { background: var(--field-hover); box-shadow: inset 0 0 0 1px var(--line-hover), inset 0 -1px 0 0 var(--line-strong); }
.kit-sfield:focus-within { box-shadow: inset 0 0 0 1px var(--line-hover), inset 0 -1px 0 0 var(--line-strong), 0 0 0 2px var(--focus), 0 0 0 6px var(--focus-halo); }
.kit-sfield-i { position: absolute; left: var(--kit-field-pad); top: 50%; width: var(--kit-field-icon); height: var(--kit-field-icon); margin-top: calc(var(--kit-field-icon) / -2); color: var(--fg-3); pointer-events: none; }
.kit-sfield .kit-kbd { position: absolute; right: var(--kit-field-pad); top: 50%; translate: 0 -50%; pointer-events: none; }
/* the input owns the whole field: its own padding reserves the icon on the left and the Esc hint on the right */
.kit-sinput { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0 calc(var(--kit-field-pad) + 36px) 0 calc(var(--kit-field-pad) + var(--kit-field-icon) + var(--kit-field-gap)); border-radius: inherit; box-sizing: border-box; border: 0; background: none; outline: none !important; box-shadow: none !important; color: var(--fg); font: 400 var(--text-body)/1 var(--font-sans); -webkit-appearance: none; appearance: none; }
.kit-sinput::-webkit-search-cancel-button, .kit-sinput::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.kit-sinput::placeholder { color: var(--fg-3); }
.kit-sres { margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; scroll-padding-block: 8px; }
.kr-g { padding-top: 4px; }
.kr-gh { margin: 8px 12px 4px; font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.kr-o { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 9px 12px; border-radius: 12px; color: var(--fg); text-decoration: none; cursor: pointer; scroll-margin-block: 8px; }
.kr-o .kit-i { grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--fg-3); }
.kr-o[aria-selected="true"] { background: var(--kit-hl); }
.kr-o[aria-selected="true"] .kit-i { color: var(--fg); }
.kr-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 var(--text-small)/1.3 var(--font-sans); }
.kr-t .kr-in { font-weight: 400; color: var(--fg-3); }
.kr-s { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-2); }
.kit-sres mark { background: var(--kit-mark); color: inherit; border-radius: 3px; padding: 0 1px; }
.kr-none { padding: 14px 12px 6px; }
.kr-none-t { margin: 0; font: 600 var(--text-small)/1.4 var(--font-sans); color: var(--fg); overflow-wrap: anywhere; }
.kr-none-p { margin: 4px 0 0; font: 400 var(--text-small)/var(--leading-small) var(--font-sans); color: var(--fg-2); }
.kr-none-l { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; font: 500 var(--text-small)/1 var(--font-sans); }
.kr-recent { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 12px 6px; }
.kr-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); background: var(--kit-hl); color: var(--fg-2); font: 500 var(--text-caption)/1 var(--font-sans); cursor: pointer; }
.kr-chip:hover { color: var(--fg); }
.kr-chip .kit-i { width: 14px; height: 14px; }

/* =================== Phones: top bar, the Dock and its sheet =================== */
.kit-mbar, .kit-dock, .kit-sheet, .kit-sheet-back { display: none; }
@media (max-width: 767px) {
  .kit-mbar { position: fixed; z-index: var(--z-sticky); top: 0; left: 0; right: 0; height: var(--kit-mbar-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);   /* V28 (v1.1.8): the toggle sits the same 16 px from the right edge as the logo from the left */
    background: var(--kit-glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line);
    transition: translate var(--kit-bars) var(--kit-ease-settle); }
  .kit-mbar.is-away { translate: 0 -100%; transition-timing-function: var(--kit-ease-close); }
  .km-logo { display: flex; align-items: center; min-height: 44px; color: var(--fg); }
  .kit-dock { position: fixed; z-index: var(--z-sticky); left: var(--kit-dock-gap); right: var(--kit-dock-gap); bottom: calc(var(--kit-dock-gap) + env(safe-area-inset-bottom)); height: var(--kit-dock-h);
    display: flex; align-items: center; gap: 4px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--kit-glass-solid);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px var(--kit-glass-line), 0 8px 32px rgb(0 0 0 / var(--kit-shadow-a));
    font-family: var(--font-sans); transition: translate var(--kit-bars) var(--kit-ease-settle), visibility 0s; }
  .kit-dock.is-away { translate: 0 calc(100% + var(--kit-dock-gap) + env(safe-area-inset-bottom) + 12px); transition-timing-function: var(--kit-ease-close); }
  .kit-dock.is-kb { translate: 0 calc(100% + var(--kit-dock-gap) + env(safe-area-inset-bottom) + 12px); visibility: hidden; transition: translate var(--kit-bars) var(--kit-ease-close), visibility 0s linear var(--kit-bars); }
  .kd-tabs { position: relative; flex: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: 52px; margin: 0; padding: 0; list-style: none; }
  .kd-tabs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% / var(--n)); border-radius: 20px; background: var(--kit-hl);
    translate: calc(var(--ti, 0) * 100%) 0; opacity: var(--to, 0); transition: translate var(--kit-tab) var(--kit-ease-settle), opacity var(--kit-fade) var(--kit-ease-standard); }
  .kd-tabs li { display: flex; }
  .kd-tab { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 48px; height: 52px; padding: 0; border: 0; border-radius: 20px; background: none;
    color: var(--fg-2); font: 500 var(--text-caption)/1 var(--font-sans); letter-spacing: var(--tracking-caption); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: scale var(--kit-press) var(--kit-ease-standard); }
  .kd-tab .kit-i { width: 22px; height: 22px; }
  .kd-tab[aria-current="page"], .kd-tab[aria-expanded="true"], .kd-tab[data-current] { color: var(--fg); }
  .kd-tab:active, .kd-cta:active { scale: var(--kit-tap-scale); }
  .kd-cta { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 64px; height: 64px; margin: -18px 0 0 2px; border-radius: 50%;
    background: var(--kit-raise); color: var(--kit-on-raise); font: 600 var(--text-caption)/1 var(--font-sans); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--kit-raise) 60%, transparent), 0 0 0 4px var(--bg); transition: scale var(--kit-press) var(--kit-ease-standard); }
  .kd-cta .kit-i { width: 20px; height: 20px; }
  /* dockCtaTone: "navy" keeps a site to one accent element per screen (Cognilox: amber is a fill used once) */
  .kit-dock[data-cta-tone="navy"] { --kit-raise: var(--kit-primary); --kit-on-raise: var(--kit-on-primary); }
  .kd-cta:focus-visible { outline-offset: 5px; }

  /* The sheet grows out of the Dock: one clip-path morph from the Dock's capsule to the full sheet */
  .kit-sheet { --ks-d: var(--kit-open); --ks-e: var(--kit-ease-settle);
    position: fixed; z-index: var(--z-modal); left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: min(86vh, 760px); max-height: min(86dvh, 760px);
    background: var(--bg); color: var(--fg); font-family: var(--font-sans); border-radius: 28px 28px 0 0;
    clip-path: inset(calc(100% - var(--kit-dock-h) - var(--kit-dock-gap) - env(safe-area-inset-bottom)) var(--kit-dock-gap) calc(var(--kit-dock-gap) + env(safe-area-inset-bottom)) var(--kit-dock-gap) round 32px);
    visibility: hidden; transition: clip-path var(--kit-close) var(--kit-ease-close), translate var(--kit-close) var(--kit-ease-close); }
  .kit-sheet.is-live { visibility: visible; }
  .kit-sheet > * { opacity: 0; transition: opacity var(--kit-fade) var(--kit-ease-close); }
  .kit-sheet.is-open { clip-path: inset(0 0 0 0 round 28px 28px 0 0); translate: 0 var(--drag, 0px);
    transition: clip-path var(--kit-open) var(--kit-ease-settle), translate var(--kit-open) var(--kit-ease-settle); }
  .kit-sheet.is-open > * { opacity: 1; transition: opacity var(--kit-open) var(--kit-ease-settle) 60ms; }
  .kit-sheet.is-drag { transition: none; }
  .kit-sheet-back { display: block; position: fixed; inset: 0; touch-action: none; z-index: calc(var(--z-modal) - 1); background: rgb(0 0 0 / .32); opacity: 0; pointer-events: none; transition: opacity var(--kit-close) var(--kit-ease-close); }
  .kit-sheet-back.on { opacity: 1; pointer-events: auto; transition: opacity var(--kit-open) var(--kit-ease-settle); }
  .ks-handle { flex: none; display: grid; place-items: center; height: 28px; touch-action: none; cursor: grab; }
  .ks-close { display: grid; place-items: center; width: 64px; height: 28px; padding: 0; border: 0; background: none; cursor: grab; }
  .ks-close i { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); opacity: .7; }
  .ks-search { flex: none; padding: 0 var(--gutter) 8px; }
  .ks-search .kit-sfield { height: 48px; }
  .ks-search .kit-sinput { font-size: 16px; padding-inline-end: var(--kit-field-pad); }
  .ks-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 16px; }
  .ks-scroll .kit-sres { margin: 0 -8px; padding-bottom: 0; }
  .ks-scroll .kit-sres:empty { display: none; }
  .ks-sec { border-bottom: 1px solid var(--line); }
  .ks-sec[hidden] { display: none; }
  .ks-sec-h { margin: 0; }
  .ks-top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; color: var(--fg); font: 600 20px/1.2 var(--font-sans); letter-spacing: -.02em; text-align: left; cursor: pointer; }
  .ks-chev { width: 20px; height: 20px; color: var(--fg-3); transition: rotate var(--kit-micro) var(--kit-ease-settle); }
  .ks-top[aria-expanded="true"] .ks-chev { rotate: 180deg; }
  .ks-panel { padding-bottom: 14px; }
  .ks-panel:not([hidden]) { animation: kit-acc var(--kit-open) var(--kit-ease-settle) both; }
  @keyframes kit-acc { from { opacity: 0; translate: 0 calc(-1 * var(--kit-panel-rise)); } to { opacity: 1; translate: 0 0; } }
  .ks-h { margin: 12px 0 4px; font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
  .ks-panel .ki-link { min-height: 48px; padding: 10px 8px; margin: 0 -8px; }
  .ks-feat { display: grid; gap: 6px; margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--bg-alt); color: var(--fg); text-decoration: none; }
  .ks-feat .kf-media { display: none; }
  .ks-extra { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font: 500 var(--text-small)/1 var(--font-sans); }
  .ks-extra .kit-link { min-height: 44px; }
  .ks-extra[hidden] { display: none; }
  .ks-foot { flex: none; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}

/* =================== Footer shell (owner X4, X6, X11, R5; 15 Nov) ===================
   One structure, order and set of components on all three sites, on one neutral surface:
   CTA band, newsletter card, brand cards (the endorsing rule), link columns (8 links at most, then "All ... ->"),
   contact and security blocks with "Follow Aptibit", and the legal bar: copyright and CIN left, legal links in the
   centre, Back to top and the theme toggle grouped on the right behind a hairline divider. */
.kit-footer { padding: var(--section-y-tight) 0 24px; background: var(--kit-n-bg); border-top: 1px solid var(--line); color: var(--fg); font: 400 var(--text-small)/var(--leading-small) var(--font-sans); letter-spacing: var(--tracking-small); }
.kf-wrap { max-width: var(--w-wide); margin-inline: auto; padding-inline: var(--gutter); }
.kf-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: var(--stack-lg); border-bottom: 1px solid var(--line); }
.kf-cta-t { max-width: 16ch; margin: 0; font: var(--weight-headline) var(--text-headline)/var(--leading-headline) var(--font-sans); letter-spacing: var(--tracking-headline); text-wrap: balance; }
.kf-cta-p { max-width: 42ch; margin: var(--heading-lead-gap, 20px) 0 0; font: 400 var(--text-body)/var(--leading-body) var(--font-sans); letter-spacing: var(--tracking-body); color: var(--fg-2); }
.kf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--lead-cta-gap, 32px); }
.kf-cta-reply { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--fg-2); }
.kf-cta-reply .kit-i { width: 16px; height: 16px; color: var(--fg-3); }
.kf-news { display: grid; gap: 8px; min-width: 0; padding: var(--card-pad, 32px); border-radius: var(--radius-xl); background: var(--kit-n-card); box-shadow: inset 0 0 0 1px var(--line-soft); }
.kf-news > * { min-width: 0; margin: 0; }
.kf-news-t { font: var(--weight-title-sm) var(--text-title-sm)/var(--leading-title-sm) var(--font-sans); letter-spacing: var(--tracking-title-sm); }
.kf-news-p { color: var(--fg-2); }
.kf-news-row { display: flex; gap: 8px; margin-top: 8px; }
.kf-news-row .kit-input { flex: 1; width: 100%; }
.kf-news-row .kit-btn { flex: none; --h: 48px; }
.kf-news-c { font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.kf-news-err { color: var(--error); font-weight: 500; }
.kf-news-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-weight: 500; }
.kf-news-ok:not([hidden]) { animation: kit-rise var(--kit-open) var(--kit-ease-settle) both; }
.kf-news-ok .kit-i { animation: kit-tick var(--kit-open) var(--kit-ease-settle) 120ms both; }
@keyframes kit-tick { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }   /* the tick draws itself, left to right */
@keyframes kit-rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.kf-news-ok:focus { outline: none; }
.kf-fams { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--grid-gap); padding-block: var(--stack-lg); }
/* whole-pixel line boxes inside the brand cards: the cards' heights differ by site (the endorsing rule), and whole
   pixels keep everything below them on the same pixel grid on all three sites */
.kf-fam { --lh-s: round(nearest, calc(var(--text-small) * var(--leading-small)), 1px); --lh-c: round(nearest, calc(var(--text-caption) * var(--leading-caption)), 1px); --lh-t: round(nearest, calc(var(--text-title-sm) * var(--leading-title-sm)), 1px); }
.kf-fam p, .kf-fam .kit-arrowlink { line-height: var(--lh-s); }
.kf-fam .kf-fam-k { line-height: var(--lh-c); }
.kf-fam .kf-fam-n { line-height: var(--lh-t); }
.kf-fam { display: grid; grid-template-rows: 36px auto 1fr; align-content: start; gap: 12px; padding: var(--card-pad, 32px); border-radius: var(--radius-xl); background: var(--kit-n-card); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--fg); text-decoration: none; transition: translate var(--kit-micro) var(--kit-ease-settle); }
.kf-fam:hover { translate: 0 var(--kit-lift); box-shadow: inset 0 0 0 1px var(--line-hover); }
.kf-fam p { margin: 0; color: var(--fg-2); max-width: 44ch; }
.kf-fam .kit-arrowlink { align-self: end; }
.kf-fam-logo { display: flex; align-items: center; height: 36px; }
.kf-fam-logo .kit-logo { height: 28px; width: auto; aspect-ratio: calc(var(--w) / var(--h)); }
.kf-fam-head { display: flex; flex-direction: column; justify-content: center; height: 36px; }
.kf-fam-k { font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.kf-fam-n { font: var(--weight-title-sm) var(--text-title-sm)/var(--leading-title-sm) var(--font-sans); letter-spacing: var(--tracking-title-sm); }
.kf-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(min-content, 1fr)); gap: 32px; padding-bottom: var(--stack-lg); border-bottom: 1px solid var(--line); }
.kf-col summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: default; pointer-events: none; }
.kf-col summary::-webkit-details-marker { display: none; }
.kf-col-h { display: block; margin: 0 0 16px; font: 600 var(--text-small)/var(--leading-small) var(--font-sans); color: var(--fg); letter-spacing: var(--tracking-small); }
.kf-chev { display: none; width: 16px; height: 16px; color: var(--fg-3); transition: rotate var(--kit-micro) var(--kit-ease-settle); }
.kf-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kf-col .kit-link { min-height: 24px; }
.kf-col .kf-all { color: var(--fg); font-weight: 500; white-space: nowrap; }   /* K7: the label and its arrow never wrap; the column grows to fit (min-content) */
.kf-contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; gap: 24px 48px; align-items: start; padding-block: var(--stack-lg); }
.kf-cl { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 40px; align-items: start; margin: 0; padding: 0; list-style: none; }
.kf-cl li { display: flex; align-items: flex-start; gap: 10px; color: var(--fg-2); }
.kf-cl .kit-i { width: 18px; height: 18px; margin-top: 1px; color: var(--fg-3); }
.kf-adr { grid-column: 1 / -1; }
.kf-adr address { font-style: normal; max-width: 52ch; }
.kf-sec { display: flex; align-items: flex-start; gap: 10px; color: var(--fg-2); }
.kf-sec p { margin: 0; max-width: 46ch; }
.kf-sec .kit-i { width: 18px; height: 18px; margin-top: 1px; color: var(--fg-3); }
.kf-sec .kit-link { color: var(--fg); }
/* "How we handle reports" is styled as a link at rest (VR-C3/VR-A4), not only on hover */
.kf-sec .kf-sec-more { display: inline; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.kf-sec .kf-sec-more::after { display: none; }
.kf-socs-t { margin: 0; font-weight: 600; color: var(--fg); }
.kf-socs ul { display: flex; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.kf-soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); transition: translate var(--kit-micro) var(--kit-ease-settle); }
.kf-soc:hover { background: var(--kit-n-card); color: var(--fg); translate: 0 var(--kit-lift); box-shadow: inset 0 0 0 1px var(--line-hover); }
.kf-soc .kit-i { width: 18px; height: 18px; stroke: none; fill: currentColor; }
/* the legal bar: one row on desktop, copyright left, legal links centred, the action group right */
.kf-bot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--line);
  font: 500 var(--text-caption)/var(--leading-caption) var(--font-sans); letter-spacing: var(--tracking-caption); color: var(--fg-3); }
.kf-copy { margin: 0; }
/* the copyright sits on two clean lines at most: the company, then the CIN and the place (each part never breaks) */
.kf-copy-a, .kf-copy-b { display: block; white-space: nowrap; }
.kf-copy-sep { display: none; }
/* The legal links (v1.1.8, VR-C3/VR-A3): one row that wraps, with a dot between neighbours. Each item carries its dot in
   the gap to its left (12 px, the 3 px dot, 12 px), and the row clips 10 px before its own start, so the dot of whichever
   item starts a line is cut off while that item's focus ring (9 px) still shows: no line starts or ends with a dot. */
.kf-legal { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0 27px; margin: 0 0 0 -10px; padding: 0 0 0 10px; list-style: none;
  clip-path: inset(-12px -12px -12px 0); }
.kf-legal li { position: relative; }
.kf-legal li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .7; }
.kf-legal .kit-link, .kf-top { min-height: 36px; color: var(--fg-3); font: inherit; }
.kf-legal .kit-link:hover, .kf-top:hover { color: var(--fg); }
.kf-bot-a { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.kf-bot-div { width: 1px; height: 20px; background: var(--line); }
.kf-top .kit-i { width: 14px; height: 14px; }
@media (max-width: 1279px) {
  .kf-bot { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; }
  .kf-legal { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .kf-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kf-socs { grid-column: 1 / -1; }
}
/* K7: more than five columns do not fit their "all" links on one line between 1024 and 1279 px (seven Visylix columns
   would be 112 px each), so they take two rows of four there */
@media (min-width: 1024px) and (max-width: 1279px) { .kf-cols[data-many] { grid-template-columns: repeat(4, minmax(min-content, 1fr)); } }
@media (max-width: 1023px) { .kf-cols { grid-template-columns: repeat(3, minmax(min-content, 1fr)); } }
@media (max-width: 767px) {
  .kf-cta, .kf-fams { grid-template-columns: minmax(0, 1fr); }
  .kf-cols { display: block; padding-bottom: 0; border-bottom: 0; }
  .kf-col { border-top: 1px solid var(--line); }
  .kf-col:last-child { border-bottom: 1px solid var(--line); }
  .kf-col summary { min-height: 52px; pointer-events: auto; cursor: pointer; }
  .kf-col-h { margin: 0; }
  .kf-chev { display: block; }
  .kf-col[open] .kf-chev { rotate: 180deg; }
  .kf-col[open] ul { padding-bottom: 16px; animation: kit-acc var(--kit-open) var(--kit-ease-settle) both; }
  .kf-col .kit-link { min-height: 44px; }
  .kf-contact { grid-template-columns: minmax(0, 1fr); }
  .kf-cl { grid-template-columns: minmax(0, 1fr); }
  .kf-cl li { min-height: 32px; align-items: center; }
  .kf-adr { align-items: flex-start !important; }
  .kf-news-row { flex-wrap: wrap; }
  .kf-news-row .kit-btn { width: 100%; }
  /* phones: copyright, then the legal links, then the action group right-aligned above the Dock */
  .kf-bot { grid-template-columns: minmax(0, 1fr); }
  .kf-legal { grid-row: auto; }
  .kf-copy-a, .kf-copy-b { white-space: normal; }
  .kf-bot-a { justify-self: end; }
}

/* =================== Cookie consent: the Cognilox reference component =================== */
/* Desktop: a full-width bar flush to the bottom edge. Phones: a compact card above the Dock. */
.kit-cookie { --kc-hide: 100%;
  position: fixed; z-index: var(--z-cookie); left: 0; right: 0; bottom: 0; color: var(--fg); font-family: var(--font-sans);
  background: color-mix(in srgb, var(--kit-n-card) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgb(0 0 0 / .06);
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  translate: 0 var(--kc-hide); transition: translate var(--kit-cookie-out) var(--kit-ease-close); }
.kit-cookie.is-in { translate: 0 0; transition: translate var(--kit-cookie-in) var(--kit-ease-settle); }
.kc-card { max-width: var(--w-wide); margin-inline: auto; }
.kc-card > * { opacity: 0; translate: 0 8px; transition: opacity var(--kit-cookie-out) var(--kit-ease-close), translate var(--kit-cookie-out) var(--kit-ease-close); }
.kit-cookie.is-in .kc-card > * { opacity: 1; translate: 0 0; transition: opacity var(--kit-cookie-in) var(--kit-ease-settle) var(--kit-cookie-follow), translate var(--kit-cookie-in) var(--kit-ease-settle) var(--kit-cookie-follow); }
.kc-in { display: flex; align-items: center; gap: 12px 24px; }
.kc-text { flex: 1; min-width: 0; margin: 0; font: 400 var(--text-small)/var(--leading-small) var(--font-sans); color: var(--fg-2); }
.kc-text .kit-link { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }
.kc-text .kit-link::after { display: none; }
.kc-ctas { display: flex; flex: none; gap: 8px; }
.kit-cookie .kit-btn { --h: 44px; padding: 0 18px; font-size: var(--text-small); }
.kc-prefs { display: grid; gap: 4px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kc-prefs[hidden] { display: none; }
.kc-title { margin: 0 0 4px; font: 600 var(--text-title-sm)/1.3 var(--font-sans); letter-spacing: var(--tracking-title-sm); }
.kc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--line); }
.kc-row:first-of-type { border-top: 0; }
.kc-row-t b { display: block; font: 600 var(--text-small)/1.4 var(--font-sans); }
.kc-row-t span { display: block; font-size: var(--text-small); color: var(--fg-2); }
.kc-always { flex: none; font: 500 var(--text-small)/1 var(--font-sans); color: var(--fg-3); }
.kc-prefs-ctas { margin-top: 8px; }
@media (max-width: 767px) {
  .kit-cookie { --kc-hide: calc(100% + var(--kit-dock-space));
    left: var(--kit-dock-gap); right: var(--kit-dock-gap); bottom: calc(var(--kit-dock-space) + 4px); z-index: calc(var(--z-sticky) - 1);
    padding: 12px 14px; border: 0; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgb(0 0 0 / .12); }
  .kc-in { flex-wrap: wrap; gap: 10px; }
  .kc-text { flex-basis: 100%; }
  .kc-in .kc-ctas { width: 100%; display: grid; grid-template-columns: 1fr 1fr auto; }
  .kit-cookie .kit-btn { padding: 0 12px; }
  .kc-prefs { max-height: 52vh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .kit-cookie, .kit-cookie.is-in { translate: none !important; transition: opacity var(--kit-rm-fade) linear !important; }
  .kit-cookie { opacity: 0; } .kit-cookie.is-in { opacity: 1; }
}
:root[data-kit-motion="reduce"] .kit-cookie, :root[data-kit-motion="reduce"] .kit-cookie.is-in { translate: none !important; transition: opacity var(--kit-rm-fade) linear !important; }
:root[data-kit-motion="reduce"] .kit-cookie { opacity: 0; }
:root[data-kit-motion="reduce"] .kit-cookie.is-in { opacity: 1; }

.kit-toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(24px + var(--kit-cookie-h)); display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: var(--radius-pill); background: var(--fg); color: var(--bg); font: 500 var(--text-small)/1.3 var(--font-sans); box-shadow: var(--elevation-2);
  translate: -50% 12px; opacity: 0; pointer-events: none; transition: translate var(--kit-close) var(--kit-ease-close), opacity var(--kit-close) var(--kit-ease-close); }
.kit-toast.is-in { translate: -50% 0; opacity: 1; transition: translate var(--kit-open) var(--kit-ease-settle), opacity var(--kit-open) var(--kit-ease-settle); }
@media (max-width: 767px) { .kit-toast { bottom: calc(var(--kit-dock-space) + var(--kit-cookie-h) + 12px); } }
}

/* Skip link (K6, v1.1.6): one for all three sites, rendered first by island(). Fixed, so it never scrolls away; above the
   viewport until it has focus; the kit focus ring. The same inset, offset and style everywhere. */
.kit-skip { position: fixed; z-index: calc(var(--z-toast, 600) + 10); top: 12px; left: 16px; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--fg); color: var(--bg); font: 500 var(--text-small)/1.2 var(--font-sans); letter-spacing: var(--tracking-small); text-decoration: none; transform: translateY(calc(-100% - 24px)); transition: transform var(--kit-micro) var(--kit-ease-settle); }
.kit-skip:focus { transform: none; }
.kit-skip:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-halo); }
@media print { .kit-skip { display: none; } }
