/* RC Greenlight — racing skin for STANDALONE pages (rev212, owner 2026-10-06: "coach-queue is not updated to
   racing — check all pages"). For pages that load neither the site nav (mobile-nav.css/js) nor the app skin
   (racing-app.css): the release queue + lesson progress (private/), the round intake forms, the progress
   check-in, and the three decks/cards. Shape, type and line only — never a colour that carries meaning.
   racing-page.js paints the logo, the kerb and (non-deck pages) the slanted boxes. Decks (html.rp-deck)
   get the CSS only: their slides are laid out to the pixel, so nothing there is skewed or widened. */

/* Nothing rounded. html.rc-scan lifts it for one synchronous read in racing-page.js. */
html:not(.rc-scan) *:not(input[type="checkbox"]):not(input[type="radio"]):not(.rcgl-lights i),
html:not(.rc-scan) *::before,html:not(.rc-scan) *::after{border-radius:0!important;}
:root{--rc-cut:12px;}
.rc-slant{clip-path:polygon(var(--rc-cut) 0,100% 0,calc(100% - var(--rc-cut)) 100%,0 100%);}
.rc-edge{background-image:
  linear-gradient(to bottom right,transparent calc(50% - .2px),var(--rc-edge,rgba(16,25,20,.16)) calc(50% - .2px),var(--rc-edge,rgba(16,25,20,.16)) calc(50% + 1.2px),transparent calc(50% + 1.2px)),
  linear-gradient(to bottom right,transparent calc(50% - 1.2px),var(--rc-edge,rgba(16,25,20,.16)) calc(50% - 1.2px),var(--rc-edge,rgba(16,25,20,.16)) calc(50% + .2px),transparent calc(50% + .2px))!important;
  background-size:var(--rc-cut) 100%,var(--rc-cut) 100%!important;background-position:left top,right top!important;
  background-repeat:no-repeat!important;background-origin:border-box!important;}
.rc-lean{transform:skewX(-12deg);}

/* Racing type: italic heavy display lines everywhere; wide only off the decks. */
h1,h2,h3{font-style:italic!important;font-weight:900!important;letter-spacing:-.025em;}
html:not(.rp-deck) h1,html:not(.rp-deck) h2,html:not(.rp-deck) h3{font-family:'Archivo',sans-serif!important;font-stretch:116%;}
html:not(.rp-deck) h1{text-transform:uppercase;font-stretch:120%;}

/* Buttons: slanted blocks in racing type (labels keep their case — the intake forms carry data words). */
html:not(.rp-deck) button:not([role="switch"]):not(.rcgl-pw-eye):not([class*="eye"]),
html:not(.rp-deck) input[type="submit"],html:not(.rp-deck) .btn,html:not(.rp-deck) a.cta{
  transform:skewX(-12deg);font-family:'Archivo',sans-serif!important;font-stretch:112%;font-weight:800!important;letter-spacing:.02em;}

/* Dashed lines. */
td,th{border-bottom-style:dashed!important;}
hr{border-style:dashed!important;}

/* The logo: pin + chequered flag, wide italic wordmark, five lights (fifth lit). */
.rp-logo{display:inline-flex;align-items:center;gap:.5em;vertical-align:middle;line-height:1;text-transform:none;letter-spacing:0;}
.rp-logo .rc-pin{width:2.3em;height:2.3em;flex:0 0 auto;}
.rp-logo .rp-lock{display:flex;flex-direction:column;}
.rp-logo .rcgl-wm{font-family:'Archivo',sans-serif!important;font-style:italic!important;font-stretch:120%!important;font-weight:900!important;text-transform:uppercase;letter-spacing:-.03em!important;white-space:nowrap;font-size:1.15em;}
.rp-logo.rp-dark .rcgl-wm{color:#fff;}.rp-logo.rp-dark .rcgl-wm .lt{color:#B4EA32;}
.rp-logo.rp-light .rcgl-wm{color:#0E2018;}.rp-logo.rp-light .rcgl-wm .lt{color:#1E7048;}
.rp-logo.rp-light .rc-pin ellipse{stroke:#1E7048;}.rp-logo.rp-light .rc-pin circle{fill:#1E7048;}.rp-logo.rp-light .rc-pin path:first-of-type{stroke:#1E7048;}
.rcgl-lights{display:flex;gap:.3em;margin-top:.35em;}
.rcgl-lights i{display:block;width:.42em;height:.42em;min-width:4px;min-height:4px;border-radius:50%;background:currentColor;opacity:.22;}
.rcgl-lights i.on{opacity:1;background:#B4EA32;box-shadow:0 0 6px rgba(180,234,50,.85);}
.rp-brand{margin-bottom:14px;font-size:14px;}

/* The kerb along the bottom of the page's top band. */
.rp-kerb{position:absolute;left:0;right:0;bottom:0;height:4px;pointer-events:none;
  background:repeating-linear-gradient(-60deg,#B4EA32 0 10px,transparent 10px 20px);}

@media print{.rc-slant{clip-path:none;}.rc-lean,html:not(.rp-deck) button{transform:none;}}
@media(prefers-reduced-motion:reduce){.rc-lean,button{transition:none;}}
