/* Board 17 public website: what the live pages need on top of the board's own stylesheet (board17.css stays as the board made it).
   The board's artboard is a fixed-size scroll box; the live page fills the window and keeps that scroll box. */
html, body { margin: 0; height: 100%; background: var(--ground); }
.su--live { width: 100%; height: 100vh; height: 100dvh; }
.su [hidden] { display: none; }
form.w17-form { display: contents; }
.w17-hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
/* The board draws the industry cards as boxes; live they are links, so they must not pick up the link underline. */
a.w17-ind, a.w17-ind:hover { text-decoration: none; }
/* A card's button row is a direct child of the card in the board, so it keeps its 12px bottom margin; live it can sit inside a form (display: contents), where :last-child zeroes it although the card goes on. */
.su-card form.w17-form:not(:last-child) > .su-acts:last-child { margin-bottom: 12px; }
/* Likewise a card's last element: the board zeroes its bottom margin as the card's own child; live it can be the form's. */
.su-card > form.w17-form:last-child > :last-child { margin-bottom: 0; }
/* The board draws these as buttons; live the ones that only navigate are links, so their words centre like a button's. */
a.cp-btn { text-align: center; text-decoration: none; }
/* The product name (and a business's own name on its sign-in page) is real wordmark text, in the type of the board's wordmark position (.cp-logo), not the board's dashed placeholder chip (supervisor, 25 Nov 2026). */
.su-word { font: 700 calc(18.75px * var(--ts))/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; }

/* The green scroll bar (Neerav, 25 Nov 2026, relay r-sup-0541scroll). The public site scrolls inside .su__scroll, not the page. A business's own sign-in page (data-page="own") keeps the plain bar. Mouse and trackpad only: touch devices keep their own overlay bar. site.js puts .is-scrolling on the box while it scrolls. */
@media (hover: hover) and (pointer: fine) {
  .su:not([data-page="own"]) .su__scroll::-webkit-scrollbar { width: 12px; }
  /* The thumb's border is see-through, so the track shows round it and its 1px edge line is never covered. */
  .su:not([data-page="own"]) .su__scroll::-webkit-scrollbar-track { background: var(--ground); border-left: 1px solid var(--line); }
  .su:not([data-page="own"]) .su__scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 70%, transparent) padding-box; border: 3px solid transparent; border-radius: 999px; }
  /* The glow is the thumb's own 2px border: a box-shadow is clipped at the edge of a scroll bar part, so it never shows. */
  .su:not([data-page="own"]) .su__scroll.is-scrolling::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand), var(--brand)) padding-box, linear-gradient(90deg, color-mix(in srgb, var(--brand) 25%, transparent), color-mix(in srgb, var(--brand) 55%, transparent) 2px, color-mix(in srgb, var(--brand) 55%, transparent) calc(100% - 2px), color-mix(in srgb, var(--brand) 25%, transparent)) border-box; border-width: 2px; }
  /* Firefox only: where this is set, Chromium would drop the ::-webkit-scrollbar rules above. */
  @supports not selector(::-webkit-scrollbar) {
    .su:not([data-page="own"]) .su__scroll { scrollbar-color: var(--brand) var(--ground); }
  }
}

/* The homepage's scroll hint (same relay). Decorative: it takes no clicks and no room. site.js sets --on (shown), --out (leaving; dropped when the 150ms fade ends, or by a 200ms timer) and --run (the loop, paused while leaving). */
.w17-hint { position: fixed; z-index: 30; left: 50%; translate: -50% 0; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 9px; pointer-events: none; visibility: hidden; opacity: 0; }
.w17-hint--on { visibility: visible; opacity: 1; transition: opacity 400ms ease; }
.w17-hint--out { visibility: visible; transform: translateY(12px); transition: opacity 150ms ease, transform 150ms ease; }
.w17-hint__bob { display: block; }
.w17-hint__box { position: relative; display: block; width: 30px; height: 30px; }
.w17-hint__sq { position: absolute; inset: 0; box-sizing: border-box; border: 2px solid var(--brand); border-radius: 10px; box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 40%, transparent), inset 0 0 6px color-mix(in srgb, var(--brand) 20%, transparent); }
.w17-hint__chev { position: absolute; left: 9px; top: 9px; display: block; width: 12px; height: 12px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Letter-spacing trails the last letter, so the same space leads the first and the word sits centred. */
.w17-hint__word { display: block; padding-left: .16em; color: var(--ink-muted); font: 500 calc(10px * var(--ts))/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.w17-hint--run .w17-hint__sq { animation: w17-hint-spin 4s linear infinite, w17-hint-glow 4s linear infinite; }
.w17-hint--run .w17-hint__bob { animation: w17-hint-bob 4s ease-in-out infinite; }
.w17-hint--out .w17-hint__sq, .w17-hint--out .w17-hint__bob { animation-play-state: paused; }
@keyframes w17-hint-spin { 0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.45, 0, .4, 1); } 33% { transform: rotate(372deg); animation-timing-function: ease-out; } 40%, 100% { transform: rotate(360deg); } }
@keyframes w17-hint-glow { 0%, 33%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 40%, transparent), inset 0 0 6px color-mix(in srgb, var(--brand) 20%, transparent); } 17% { box-shadow: 0 0 18px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 0 6px color-mix(in srgb, var(--brand) 20%, transparent); } }
@keyframes w17-hint-bob { 0%, 45% { transform: translateY(0); } 50% { transform: translateY(8px); } 55% { transform: translateY(0); } 59% { transform: translateY(4px); } 63%, 100% { transform: translateY(0); } }
/* Less motion: it only fades. */
[data-a11y-motion="reduced"] .w17-hint--out, [data-a11y-motion="off"] .w17-hint--out { transform: none; }
[data-a11y-motion="reduced"] .w17-hint--run .w17-hint__sq, [data-a11y-motion="reduced"] .w17-hint--run .w17-hint__bob, [data-a11y-motion="off"] .w17-hint--run .w17-hint__sq, [data-a11y-motion="off"] .w17-hint--run .w17-hint__bob { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .w17-hint--out { transform: none; }
  .w17-hint--run .w17-hint__sq, .w17-hint--run .w17-hint__bob { animation: none; }
}
@media print { .w17-hint { display: none; } }
