/*
 * Guided ride results entry (2026-11-14). Same look as the Intro roster (intro-roster.css):
 * white cards, soft borders, one brand blue, green/amber/red states. Scoped to .gr so nothing
 * else on the site changes; rules that touch the original form sit under body.gr-on.
 */
.gr {
    --gr-ink: #1f2328;
    --gr-soft: #57606a;
    --gr-line: #d0d7de;
    --gr-bg: #fff;
    --gr-tint: #f6f8fa;
    --gr-brand: #0b5cad;
    --gr-brand-tint: #eaf2fb;
    --gr-ok: #1a7f37;
    --gr-ok-bg: #dafbe1;
    --gr-warn: #9a6700;
    --gr-warn-bg: #fff8c5;
    --gr-bad: #cf222e;
    --gr-bad-bg: #ffebe9;
    --gr-radius: 14px;
    --gr-pad: 24px;
    --gr-shadow: 0 1px 2px rgba(31, 35, 40, .06), 0 4px 16px rgba(31, 35, 40, .06);
    color: var(--gr-ink);
    font-size: 16px;
    line-height: 1.45;
    box-sizing: border-box;
}
.gr *,
.gr *::before,
.gr *::after {
    box-sizing: border-box;
}
.gr :focus-visible {
    outline: 3px solid var(--gr-brand);
    outline-offset: 2px;
}
.gr-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- shared pieces ---------- */
.gr-eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gr-brand);
}
.gr-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    color: var(--gr-ink);
}
.gr-lede {
    margin: 0;
    max-width: 62ch;
    color: var(--gr-soft);
}
.gr-hint {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--gr-soft);
}
.gr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--gr-brand);
    border-radius: 10px;
    background: var(--gr-brand);
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .05s;
}
.gr-btn:hover {
    background: #094b8e;
    color: #fff;
}
.gr-btn:active {
    transform: translateY(1px);
}
.gr-btn--ghost {
    background: var(--gr-bg);
    color: var(--gr-brand);
    border-color: var(--gr-line);
}
.gr-btn--ghost:hover {
    background: var(--gr-brand-tint);
    color: var(--gr-brand);
    border-color: var(--gr-brand);
}
.gr-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}
.gr-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--gr-brand);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.gr-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
    margin-top: 6px;
}
.gr-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
    background: var(--gr-tint);
    color: var(--gr-soft);
}
.gr-badge--done {
    background: var(--gr-ok-bg);
    color: var(--gr-ok);
}
.gr-badge--open,
.gr-badge--todo {
    background: var(--gr-warn-bg);
    color: var(--gr-warn);
}
.gr-badge--upcoming {
    background: var(--gr-brand-tint);
    color: var(--gr-brand);
}
.gr-badge--cancelled {
    background: var(--gr-tint);
    color: var(--gr-soft);
}
.gr-chip {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--gr-line);
    border-radius: 6px;
    font-size: 13px;
    color: var(--gr-ink);
    background: var(--gr-bg);
}
.gr-count {
    display: inline-block;
    min-width: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--gr-tint);
    color: var(--gr-soft);
    font-size: 13px;
    text-align: center;
}
.gr-warn {
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px solid #d4a72c;
    border-radius: 10px;
    background: var(--gr-warn-bg);
    color: #6b4a00;
}
.gr-warn[hidden] {
    display: none;
}

/* ---------- hero ---------- */
.gr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px 40px;
    align-items: start;
    margin: 0 0 24px;
    padding: var(--gr-pad);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    background: linear-gradient(180deg, #fff 0%, var(--gr-tint) 100%);
    box-shadow: var(--gr-shadow);
}
.gr-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-bottom: 8px;
    color: var(--gr-brand);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.gr-back:hover {
    text-decoration: underline;
}
.gr-hero__aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gr-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* progress */
.gr-progress,
.gr-steps-mini {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.gr-progress li,
.gr-steps-mini li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--gr-soft);
    text-align: center;
}
.gr-progress li span,
.gr-steps-mini li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid var(--gr-line);
    border-radius: 50%;
    background: var(--gr-bg);
    color: var(--gr-soft);
    font-weight: 700;
}
.gr-progress li.is-current {
    color: var(--gr-brand);
}
.gr-progress li.is-current span {
    border-color: var(--gr-brand);
    color: var(--gr-brand);
    box-shadow: 0 0 0 4px var(--gr-brand-tint);
}
.gr-progress li.is-done {
    color: var(--gr-ok);
}
.gr-progress li.is-done span {
    border-color: var(--gr-ok);
    background: var(--gr-ok);
    color: transparent;
    position: relative;
}
.gr-progress li.is-done span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: translateY(-2px) rotate(45deg);
}
.gr-steps-mini li {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    font-weight: 500;
    color: var(--gr-ink);
}
.gr-steps-mini {
    grid-template-columns: 1fr;
}
.gr-steps-mini li span {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    font-size: 13px;
    border-color: var(--gr-brand);
    color: var(--gr-brand);
}

/* ---------- ride chooser ---------- */
.gr-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 12px;
    font-size: 20px;
    color: var(--gr-ink);
}
.gr-ride-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gr-ride-grid li {
    margin: 0;
    padding: 0;
}
.gr-ride-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    background: var(--gr-bg);
    color: var(--gr-ink);
    text-decoration: none;
    box-shadow: var(--gr-shadow);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.gr-ride-card:hover {
    border-color: var(--gr-brand);
    box-shadow: 0 6px 24px rgba(11, 92, 173, .14);
    transform: translateY(-2px);
    color: var(--gr-ink);
}
.gr-ride-card .gr-badge {
    align-self: flex-start;
}
.gr-ride-card__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.gr-ride-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--gr-soft);
}
.gr-ride-card__meta .fa {
    width: 16px;
    text-align: center;
}
.gr-ride-card__miles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gr-ride-card__go {
    margin-top: auto;
    padding-top: 6px;
    color: var(--gr-brand);
    font-weight: 700;
}
.gr-empty {
    padding: var(--gr-pad);
    border: 1px dashed var(--gr-line);
    border-radius: var(--gr-radius);
    background: var(--gr-tint);
}
.gr-empty h3 {
    margin-top: 0;
}
.gr-empty-inline {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--gr-soft);
}

/* ---------- steps ---------- */
.gr-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 20px;
    margin-bottom: 20px;
}
.gr-step {
    padding: var(--gr-pad);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    background: var(--gr-bg);
    box-shadow: var(--gr-shadow);
    transition: opacity .2s;
}
section.gr-step.gr {
    margin-bottom: 20px;
}
.gr-step[inert] {
    opacity: .5;
}
.gr-step__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.gr-step__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gr-brand);
    color: #fff;
    font-weight: 700;
}
.gr-step__title,
.gr-step .gr-step__head h3.gr-step__title {
    /* the theme paints every .aerc-panel h3 as a centred blue banner */
    margin: 0;
    padding: 6px 0 0;
    border: 0;
    background: none;
    font-size: 20px;
    line-height: 1.3;
    text-align: left;
    color: var(--gr-ink);
}
/* the legacy submit/summary buttons sit in a 4-column theme grid */
.gr-step--submit .aerc-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.gr-step--submit .form-column {
    min-width: 0;
}
.gr-step--submit input.btn-highlight,
.gr-step--submit .btn {
    max-width: 100%;
    white-space: normal;
}
.gr-loading {
    margin: 0;
    color: var(--gr-soft);
}

/* distance cards */
.gr-distance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.gr-dcard {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 44px;
    padding: 14px 16px;
    border: 2px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-bg);
    color: var(--gr-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.gr-dcard:hover {
    border-color: var(--gr-brand);
}
.gr-dcard.is-checked {
    border-color: var(--gr-brand);
    background: var(--gr-brand-tint);
    box-shadow: 0 0 0 3px rgba(11, 92, 173, .15);
}
.gr-dcard__miles {
    font-size: 15px;
    color: var(--gr-soft);
}
.gr-dcard__miles strong {
    font-size: 26px;
    line-height: 1;
    color: var(--gr-ink);
}
.gr-dcard__date {
    font-weight: 600;
}
.gr-dcard__meta {
    font-size: 13px;
    color: var(--gr-soft);
}
.gr-dcard .gr-badge {
    margin-top: 6px;
}
.gr-dcard__tick {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gr-brand);
    color: #fff;
    font-size: 12px;
}
.gr-dcard.is-checked .gr-dcard__tick {
    display: inline-flex;
}

/* time type choice */
.gr-seg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.gr-seg__opt {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}
.gr-seg__opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.gr-seg__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-bg);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.gr-seg__body strong {
    font-size: 16px;
    color: var(--gr-ink);
}
.gr-seg__body small {
    font-size: 14px;
    color: var(--gr-soft);
    font-weight: 400;
}
.gr-seg__opt:hover .gr-seg__body {
    border-color: var(--gr-brand);
}
.gr-seg__opt input:checked + .gr-seg__body,
.gr-seg__opt.is-checked .gr-seg__body {
    border-color: var(--gr-brand);
    background: var(--gr-brand-tint);
    box-shadow: 0 0 0 3px rgba(11, 92, 173, .15);
}
.gr-seg__opt input:focus-visible + .gr-seg__body {
    outline: 3px solid var(--gr-brand);
    outline-offset: 2px;
}

/* fields */
.gr-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.gr-field {
    position: relative;
    min-width: 0;
}
.gr-field > label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gr-ink);
}
.gr .form-control {
    min-height: 44px;
    border: 1px solid var(--gr-line);
    border-radius: 8px;
    background: var(--gr-bg);
    color: var(--gr-ink);
    font-size: 16px; /* 16px keeps iOS from zooming on focus */
}
.gr .form-control:focus {
    border-color: var(--gr-brand);
    box-shadow: 0 0 0 3px rgba(11, 92, 173, .18);
    outline: none;
}
.gr-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--gr-line);
    border-radius: 50%;
    background: var(--gr-tint);
    color: var(--gr-brand);
    font: 700 13px/1 inherit;
    cursor: pointer;
    position: relative;
}
.gr-tip::before {
    /* 44px hit area around the small dot */
    content: "";
    position: absolute;
    inset: -10px;
}
.gr-tip[aria-expanded="true"] {
    background: var(--gr-brand);
    border-color: var(--gr-brand);
    color: #fff;
}
.gr-tip-text {
    display: none;
    margin-top: 8px;
    padding: 10px 12px;
    border-left: 3px solid var(--gr-brand);
    border-radius: 0 8px 8px 0;
    background: var(--gr-brand-tint);
    color: var(--gr-ink);
}
.gr-tip-text.is-open {
    display: block;
}
.gr-subhead {
    margin: 22px 0 10px;
    padding-top: 18px;
    border-top: 1px solid var(--gr-line);
}
.gr-subhead h4 {
    margin: 0;
    font-size: 16px;
    color: var(--gr-ink);
}
body.gr-on .gr-counts.aerc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
body.gr-on .gr-counts[style*="display: none"] {
    display: none;
}
.gr-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--gr-soft);
    cursor: pointer;
}
.gr-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}
#call-intro-modal {
    color: var(--gr-brand);
    font-weight: 600;
}

/* hand / upload choice */
.gr-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.gr-choice__opt {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 12px 16px;
    border: 2px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-bg);
    color: var(--gr-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.gr-choice__opt > .fa {
    font-size: 24px;
    color: var(--gr-brand);
}
.gr-choice__opt span {
    display: flex;
    flex-direction: column;
}
.gr-choice__opt small {
    font-size: 13px;
    color: var(--gr-soft);
}
.gr-choice__opt:hover,
.gr-choice__opt.is-active {
    border-color: var(--gr-brand);
    background: var(--gr-brand-tint);
}

/* legend */
.gr-legend {
    margin: 0 0 16px;
    border: 1px solid var(--gr-line);
    border-radius: 10px;
    background: var(--gr-tint);
}
.gr-legend summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--gr-brand);
    cursor: pointer;
}
.gr-legend ul {
    margin: 0;
    padding: 0 14px 14px;
    list-style: none;
}
.gr-legend li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 0;
    font-size: 14px;
}
.gr-key {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    background: #ccc;
    color: #000;
    font-size: 12px;
    font-weight: 700;
}
.gr-backup-hint {
    margin-top: 14px;
}

/* stats */
.gr-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gr-stats li {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-tint);
}
.gr-stats strong {
    font-size: 28px;
    line-height: 1.1;
    color: var(--gr-ink);
}
.gr-stats span {
    font-size: 13px;
    color: var(--gr-soft);
}
body.gr-on #submit-offline-distance input[type="submit"] {
    min-height: 52px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
}

/* ---------- the original result rows, tidied ---------- */
body.gr-on #new-ride-results-entry {
    padding-bottom: 0;
}
body.gr-on #add-ride-results-row,
body.gr-on div#calculate-ride-results {
    position: static;
}
body.gr-on #new-ride-results-entry {
    display: flex;
    flex-direction: column;
}
body.gr-on #add-ride-results-row {
    order: 10;
    margin-top: 14px;
}
body.gr-on div#calculate-ride-results {
    order: 11;
    margin-top: 10px;
    font-size: 14px;
    color: var(--gr-soft);
}
body.gr-on #add-ride-result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px dashed var(--gr-brand);
    border-radius: 10px;
    color: var(--gr-brand);
    font-weight: 700;
    text-decoration: none;
}
body.gr-on #add-ride-result:hover {
    background: var(--gr-brand-tint);
}
body.gr-on #calculate-ride-results a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 6px;
    color: var(--gr-soft);
    font-size: 13px;
    text-decoration: underline;
}
body.gr-on #calculate-ride-results .gr-older-method {
    font-size: 13px;
    color: var(--gr-soft);
}
body.gr-on .ride-results-row {
    align-items: center;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
}
body.gr-on .ride-results-row:nth-of-type(odd) {
    background: var(--gr-tint);
}
body.gr-on .ride-results-row:focus-within {
    border-color: var(--gr-brand);
    background: var(--gr-brand-tint);
}
body.gr-on .ride-result-place {
    font-weight: 700;
    color: var(--gr-brand);
    text-align: center;
}
body.gr-on .delete_ride_result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    border-radius: 8px;
}
body.gr-on .ride-results-row .form-control {
    min-height: 36px;
    font-size: 15px;
}
body.gr-on .gr-legacy-select {
    display: none !important;
}

/* Column headings over the rider rows (2026-11-16). The widths mirror offline_results.css
   so each heading sits over its box; rows wrap below 1081px, so there each box gets its
   own small label instead. */
.gr-row-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: 14px;
    padding: 0 9px 4px;
    border-bottom: 1px solid #d0d7de;
    color: #57606a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
}
.gr-row-head > span {
    margin: 0 3px;
    padding-left: 2px;
}
.gr-row-head .gr-row-head__place {
    display: flex;
    justify-content: center;
    width: 3%;
    min-width: 30px;
    margin: 0;
    padding: 0;
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
}
.gr-row-head__rider {
    width: 8%;
    min-width: 60px;
}
.gr-row-head__mid {
    width: 13%;
    min-width: 105px;
}
.gr-row-head__name {
    width: 20%;
    min-width: 150px;
}
@media screen and (max-width: 1080px) {
    .gr-row-head {
        display: none;
    }
    body.gr-on .ride-results-row .ride-result-group:not(.delete_group)::before {
        display: block;
        margin: 2px 0 3px 2px;
        color: #57606a;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.2;
        text-transform: uppercase;
    }
    body.gr-on .ride-results-row .rider_id_group::before { content: "Rider #"; }
    body.gr-on .ride-results-row .member_id_group::before { content: "Member ID"; }
    body.gr-on .ride-results-row .rider_name_group::before { content: "Rider name"; }
    body.gr-on .ride-results-row .horse_id_group::before { content: "Horse ID"; }
    body.gr-on .ride-results-row .horse_name_group::before { content: "Horse name"; }
    body.gr-on .ride-results-row .finish_time_group::before { content: "Finish time / code"; }
    body.gr-on .ride-results-row {
        align-items: flex-end;
    }
}
@media screen and (max-width: 1080px) {
    /* Without the heading row the place slot needs its own label, like every other box. */
    body.gr-on .ride-results-row .ride-result-place {
        align-self: stretch;
        min-width: 46px;
        min-height: 58px;
        font-size: 18px;
        line-height: 36px;
    }
    body.gr-on .ride-results-row .ride-result-place::before {
        content: "Place";
        display: block;
        margin: 2px 0 3px 2px;
        color: #57606a;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.2;
        text-transform: uppercase;
    }
}

/* Ride managers missed the pay button (Giulia, 2026-11-16): a real primary button.
   2026-11-22 (Giulia): it sits in the payment form's two-column grid, so it was stretching
   to the full height of the card fields. Now it keeps its own size and matches the
   Credit / Debit Card choice (.aerc-pm-opt in payment_form.php): same padding, type and radius. */
#ride_results_payment_offline #payRR {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: end;
    justify-self: start;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    min-height: 0;
    margin-top: 16px;
    padding: 16px 18px;
    border: 2px solid #115fa7;
    border-radius: 12px;
    background: #115fa7;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.25;
    box-shadow: 0 3px 10px rgba(17, 95, 167, .28);
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}
#ride_results_payment_offline #payRR:hover {
    background: #0d4c86;
    border-color: #0d4c86;
}
#ride_results_payment_offline #payRR:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}
#ride_results_payment_offline #payRR[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

/* Upload report: the riders are on another distance's tab than the one open (Giulia, 2026-11-22). */
.gu-mismatch {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 12px 0 0;
    padding: 16px 18px;
    border: 2px solid #eac54f;
    border-radius: 12px;
    background: var(--gr-warn-bg);
    color: var(--gr-ink);
}
.gu-mismatch > .fa {
    color: var(--gr-warn);
    font-size: 26px;
    line-height: 1.2;
}
.gu-mismatch p {
    margin: 0 0 6px;
}
.gu-mismatch p:last-child {
    margin-bottom: 0;
}
.gu-mismatch__head {
    font-weight: 700;
    font-size: 17px;
}

/* Rider counts are worked out from the riders (server recounts on submit), so they show as
   read-only figures, not boxes to fill in (Giulia, 2026-11-22). */
body.gr-on .gr-counts input[readonly] {
    background: #f6f8fa;
    border-color: #d0d7de;
    box-shadow: none;
    color: var(--gr-ink, #1f2328);
    font-weight: 700;
    cursor: default;
    -moz-appearance: textfield;
}
body.gr-on .gr-counts input[readonly]::-webkit-inner-spin-button,
body.gr-on .gr-counts input[readonly]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---------- upload panel ---------- */
.gr-upload {
    margin: 0 0 24px;
    padding: var(--gr-pad);
    border: 2px solid var(--gr-brand);
    border-radius: var(--gr-radius);
    background: var(--gr-bg);
    box-shadow: 0 6px 24px rgba(11, 92, 173, .12);
}
.gr-upload[hidden] {
    display: none;
}
.gr-upload__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.gr-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gr-line);
    border-radius: 50%;
    background: var(--gr-bg);
    color: var(--gr-ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.gr-close:hover {
    background: var(--gr-tint);
}
.gr-upload__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}
.gr-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 180px;
    padding: 24px;
    border: 2px dashed var(--gr-line);
    border-radius: 12px;
    background: var(--gr-tint);
    color: var(--gr-ink);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.gr-drop .fa {
    font-size: 36px;
    color: var(--gr-brand);
}
.gr-drop small {
    color: var(--gr-soft);
}
.gr-drop:hover,
.gr-drop.is-over,
.gr-drop:focus-visible {
    border-color: var(--gr-brand);
    background: var(--gr-brand-tint);
}
.gr-upload__status {
    min-height: 1.45em;
    margin: 10px 0 0;
    font-weight: 600;
}
.gr-upload__help h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.gr-upload__help ol {
    margin: 0 0 16px;
    padding-left: 20px;
}
.gr-upload__help li {
    margin-bottom: 6px;
    font-size: 15px;
}
.gr-upload__report:empty {
    display: none;
}
.gr-upload__report {
    margin-top: 20px;
}
.gr-drop.is-busy {
    opacity: .6;
    pointer-events: none;
}
.gr-upload__status[data-tone="ok"] { color: var(--gr-ok); }
.gr-upload__status[data-tone="warn"] { color: var(--gr-warn); }
.gr-upload__status[data-tone="bad"] { color: var(--gr-bad); }
.gr-btn--danger {
    background: var(--gr-bad);
    border-color: var(--gr-bad);
    color: #fff;
}
.gr-btn--danger:hover { filter: brightness(.92); }

/* ---------- upload report ---------- */
.gu-report {
    display: grid;
    gap: 20px;
}
.gu-summary {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.gu-summary > .fa {
    font-size: 26px;
    line-height: 1.2;
}
.gu-summary--ok { background: var(--gr-ok-bg); border-color: #aceebb; color: var(--gr-ink); }
.gu-summary--ok > .fa { color: var(--gr-ok); }
.gu-summary--warn { background: var(--gr-warn-bg); border-color: #eac54f; }
.gu-summary--warn > .fa { color: var(--gr-warn); }
.gu-summary--bad { background: var(--gr-bad-bg); border-color: #ffcecb; }
.gu-summary--bad > .fa { color: var(--gr-bad); }
.gu-summary__head {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.gu-summary__sub {
    margin: 4px 0 0;
    color: var(--gr-soft);
}
.gu-file {
    display: inline-block;
    max-width: 100%;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.gu-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 0;
}
.gu-stat {
    padding: 14px 16px;
    border: 1px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-tint);
}
.gu-stat dt {
    margin: 0;
    color: var(--gr-soft);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.gu-stat dd {
    margin: 4px 0 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.gu-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 16px;
}
.gu-h + .gr-tip-text {
    margin-top: -4px;
}
.gu-dists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gu-dist {
    padding: 14px 16px;
    border: 1px solid var(--gr-line);
    border-left: 4px solid var(--gr-brand);
    border-radius: 12px;
    background: var(--gr-bg);
}
.gu-dist--intro { border-left-color: var(--gr-ok); }
.gu-dist--had { border-left-color: var(--gr-warn); }
.gu-dist__name {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}
.gu-dist__meta {
    margin: 2px 0 8px;
    color: var(--gr-soft);
    font-size: 14px;
}
.gu-dist__nums {
    margin: 0;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.gu-dist__note {
    margin: 8px 0 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--gr-warn-bg);
    color: var(--gr-warn);
    font-size: 13px;
}
.gu-issues {
    max-height: 420px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border: 1px solid var(--gr-line);
    border-radius: 12px;
    list-style: none;
}
.gu-issue {
    display: grid;
    grid-template-columns: auto minmax(150px, 220px) minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--gr-line);
    font-size: 14px;
}
.gu-issue:last-child { border-bottom: 0; }
.gu-issue--bad { background: #fffafa; }
.gu-chip {
    display: inline-block;
    min-width: 64px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.gu-chip--bad { background: var(--gr-bad-bg); color: var(--gr-bad); }
.gu-chip--warn { background: var(--gr-warn-bg); color: var(--gr-warn); }
.gu-issue__where {
    color: var(--gr-soft);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.gu-issue__msg { overflow-wrap: anywhere; }
.gu-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.gu-actions .gr-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}
.gu-confirm,
.gu-done {
    padding: 16px 18px;
    border-radius: 12px;
}
.gu-confirm[hidden],
.gu-done[hidden] { display: none; }
.gu-confirm {
    border: 1px solid #eac54f;
    background: var(--gr-warn-bg);
}
.gu-confirm p { margin: 0 0 12px; }
.gu-confirm__go,
.gu-done__go {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gu-done {
    border: 1px solid #aceebb;
    background: var(--gr-ok-bg);
}
.gu-done__head {
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--gr-ok);
}
.gu-done__bad {
    margin: 0 0 12px;
    color: var(--gr-bad);
    font-weight: 600;
}
@media (max-width: 760px) {
    .gu-issue {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 4px 10px;
    }
    .gu-issue__msg { grid-column: 1 / -1; }
    .gu-dists { grid-template-columns: minmax(0, 1fr); }
    .gu-actions .gr-btn,
    .gu-confirm__go .gr-btn,
    .gu-done__go .gr-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
    .gu-stat dd { font-size: 24px; }
}

/* ---------- reports ---------- */
.gr-reports {
    margin: 24px 0;
    padding: var(--gr-pad);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    background: var(--gr-bg);
    box-shadow: var(--gr-shadow);
}
.gr-step__num--icon .fa {
    font-size: 16px;
}

/* reports: toolbar, stats and the card grid (guided-reports.js) */
.grr-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.grr-loading,
.grr-error {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 12px;
    background: var(--gr-tint);
    color: var(--gr-soft);
}
.grr-error {
    background: var(--gr-bad-bg);
    color: var(--gr-bad);
}
.grr-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--gr-line);
    border-top-color: var(--gr-brand);
    border-radius: 50%;
    animation: grr-spin .8s linear infinite;
}
@keyframes grr-spin {
    to { transform: rotate(360deg); }
}
.grr-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--gr-brand-tint);
}
.grr-bar__ride {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.grr-bar__stamp {
    margin: 2px 0 0;
}
.grr-bar__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.grr-bar__actions .gr-btn,
.grr-card__actions .gr-btn {
    min-height: 40px;
}
.grr-stale {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--gr-warn-bg);
    color: var(--gr-warn);
    font-weight: 600;
}
.grr-stale[hidden] {
    display: none;
}
.grr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.grr-stats > div {
    padding: 14px 16px;
    border: 1px solid var(--gr-line);
    border-radius: 12px;
    background: var(--gr-bg);
}
.grr-stats dt {
    font-size: 13px;
    color: var(--gr-soft);
}
.grr-stats dd {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.grr-stats dd small {
    font-size: 14px;
    font-weight: 600;
    color: var(--gr-soft);
}
.grr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}
.grr-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-radius);
    background: var(--gr-bg);
    box-shadow: var(--gr-shadow);
}
.grr-card--wide {
    grid-column: 1 / -1;
}
.grr-card.is-empty {
    background: var(--gr-tint);
    box-shadow: none;
}
.grr-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.grr-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.grr-card__sub {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--gr-soft);
}
.grr-card__actions {
    display: flex;
    gap: 6px;
}
.grr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.grr-chips li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gr-tint);
    font-size: 13px;
    color: var(--gr-soft);
}
.grr-chips li strong {
    color: var(--gr-ink);
}
.grr-chips li.is-ok {
    background: var(--gr-ok-bg);
}
.grr-chips li.is-ok strong {
    color: var(--gr-ok);
}
.grr-chips li.is-bad {
    background: var(--gr-bad-bg);
}
.grr-chips li.is-bad strong {
    color: var(--gr-bad);
}
.grr-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    padding: 4px;
    border-radius: 10px;
    background: var(--gr-tint);
    overflow-x: auto;
}
.grr-tab {
    flex: 1 0 auto;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gr-soft);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.grr-tab:hover {
    color: var(--gr-ink);
}
.grr-tab[aria-selected="true"] {
    background: var(--gr-bg);
    color: var(--gr-brand);
    box-shadow: 0 1px 3px rgba(31, 35, 40, .12);
}
.grr-tab__n {
    display: inline-block;
    min-width: 22px;
    margin-left: 4px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gr-line);
    color: var(--gr-ink);
    font-size: 12px;
    text-align: center;
}
.grr-tab[aria-selected="true"] .grr-tab__n {
    background: var(--gr-brand);
    color: #fff;
}
.grr-panel[hidden] {
    display: none;
}
.grr-note {
    margin: 8px 0 0;
}
.grr-empty {
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    background: var(--gr-tint);
    color: var(--gr-soft);
}
.grr-scroll {
    max-height: 520px;
    overflow: auto;
    border: 1px solid var(--gr-line);
    border-radius: 10px;
}
.grr-scroll:focus-visible {
    outline: 3px solid var(--gr-brand);
    outline-offset: 2px;
}
.grr-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.grr-table th,
.grr-table td {
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid var(--gr-line);
    text-align: left;
    vertical-align: middle;
}
.grr-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--gr-tint);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--gr-soft);
    white-space: nowrap;
}
.grr-table tbody tr:nth-child(even) {
    background: #fbfcfd;
}
.grr-table tbody tr:hover {
    background: var(--gr-brand-tint);
}
.grr-table tbody tr:last-child td {
    border-bottom: 0;
}
.grr-table tr.is-winner {
    background: #fff8e6;
}
.grr-num {
    text-align: right !important;
    white-space: nowrap;
}
.grr-muted {
    color: var(--gr-soft);
}
.grr-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
}
.grr-medal--1 { background: #f5d76e; color: #5c4400; }
.grr-medal--2 { background: #dfe3e8; color: #33383e; }
.grr-medal--3 { background: #f0c9a4; color: #5a3310; }
.grr-code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: help;
}
.grr-code--ok { background: var(--gr-ok-bg); color: var(--gr-ok); }
.grr-code--warn { background: var(--gr-warn-bg); color: var(--gr-warn); }
.grr-code--bad { background: var(--gr-bad-bg); color: var(--gr-bad); }
.grr-bc-win {
    color: #7a5800;
    font-weight: 700;
    white-space: nowrap;
}
.grr-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--gr-ink);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s, transform .2s;
}
.grr-toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}
@media (max-width: 960px) {
    .grr-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .grr-bar__actions {
        width: 100%;
    }
    .grr-bar__actions .gr-btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
    }
    /* the theme's .cnt already pads 30px a side; reclaim most of it so cards get the width */
    .gr-reports {
        margin-left: -20px;
        margin-right: -20px;
        padding: 12px;
    }
    .grr-card {
        padding: 12px;
    }
    /* three tabs share the row and wrap their label instead of scrolling off the edge */
    .grr-tabs {
        overflow-x: visible;
    }
    .grr-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 6px;
        font-size: 13px;
        line-height: 1.25;
        white-space: normal;
    }
    .grr-tab__n {
        margin-left: 2px;
    }
    .grr-icon-btn span {
        display: none;
    }
    .grr-scroll {
        max-height: none;
        border: 0;
        overflow: visible;
    }
    .grr-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .grr-table,
    .grr-table tbody,
    .grr-table tr,
    .grr-table td {
        display: block;
        width: 100%;
    }
    .grr-table tr {
        margin-bottom: 10px;
        padding: 6px 12px;
        border: 1px solid var(--gr-line);
        border-radius: 10px;
        background: var(--gr-bg) !important;
    }
    .grr-table tr.is-winner {
        background: #fff8e6 !important;
    }
    .grr-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 0;
        text-align: right !important;
    }
    .grr-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--gr-soft);
        text-align: left;
    }
    .grr-table tbody tr:last-child td {
        border-bottom: 1px solid var(--gr-line);
    }
    .grr-table td:last-child {
        border-bottom: 0 !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .grr-spinner { animation: none; }
    .grr-toast { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
    .gr-steps {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 899px) {
    .gr-hero {
        grid-template-columns: 1fr;
    }
    .gr-upload__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .gr {
        --gr-pad: 16px;
    }
    .gr-seg,
    .gr-choice,
    .gr-fields {
        grid-template-columns: 1fr;
    }
    body.gr-on .gr-counts.aerc-grid,
    .gr-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gr-distance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gr-hero__actions .gr-btn {
        flex: 1 1 auto;
    }
    /* each rider becomes its own card */
    body.gr-on .ride-results-row {
        margin-top: 12px;
        padding: 12px;
        border: 1px solid var(--gr-line);
        background: var(--gr-bg);
        box-shadow: var(--gr-shadow);
    }
    body.gr-on .ride-results-row:nth-of-type(odd) {
        background: var(--gr-bg);
    }
    body.gr-on .ride-results-row .form-control {
        min-height: 44px;
        font-size: 16px;
    }
    body.gr-on .ride-result-group {
        margin: 4px 0;
    }
    .gr-step__head {
        gap: 10px;
    }
    .gr-step__num {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .gr-step .gr-step__head h3.gr-step__title {
        padding-top: 3px;
        font-size: 18px;
    }
    .gr-step--submit .aerc-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .gr-step--submit input.btn-highlight,
    .gr-step--submit .btn {
        width: 100%;
        letter-spacing: .5px;
    }
    .ir-result {
        flex-wrap: wrap;
    }
}
@media (max-width: 420px) {
    .gr-progress li {
        font-size: 12px;
    }
    .gr-distance-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gr *,
    .gr-ride-card {
        transition: none !important;
    }
    .gr-ride-card:hover {
        transform: none;
    }
}
@media print {
    body.gr-on .gr-hero__aside,
    body.gr-on .gr-steps,
    body.gr-on #gr-step-3,
    body.gr-on #gr-step-4,
    body.gr-on .gr-upload,
    body.gr-on #gr-reports-load {
        display: none !important;
    }
}
