:root { color-scheme: light; font-family: system-ui, sans-serif; --palette-forest: oklch(27% 0.065 155deg); --palette-leaf: oklch(51% 0.14 154deg); --palette-coral: oklch(65% 0.17 48deg); --palette-paper: oklch(96% 0.015 90deg); --palette-ink: oklch(25% 0.04 155deg); --palette-white: oklch(100% 0 0deg); --color-background: var(--palette-paper); --color-foreground: var(--palette-ink); --color-forest: var(--palette-forest); --color-leaf: var(--palette-leaf); --color-accent: var(--palette-coral); --color-surface: var(--palette-white); --color-on-dark: var(--palette-white); --color-muted: oklch(from var(--palette-ink) calc(l + 0.2) calc(c * 0.35) h); --color-subtle: oklch(from var(--palette-ink) calc(l + 0.25) calc(c * 0.2) h); --color-border: oklch(from var(--palette-forest) calc(l + 0.6) calc(c * 0.12) h); --color-border-subtle: oklch(from var(--palette-forest) calc(l + 0.65) calc(c * 0.12) h); --color-input-border: oklch(from var(--palette-forest) calc(l + 0.55) calc(c * 0.16) h); --color-secondary-surface: oklch(from var(--palette-leaf) calc(l + 0.43) calc(c * 0.16) h); --color-notice-surface: oklch(from var(--palette-leaf) calc(l + 0.39) calc(c * 0.2) h); --color-notice-text: oklch(from var(--palette-forest) calc(l + 0.18) calc(c * 0.8) h); --color-error-surface: oklch(from var(--palette-coral) calc(l + 0.31) calc(c * 0.25) h); --color-error-text: oklch(from var(--palette-coral) calc(l - 0.28) calc(c * 0.8) h); --color-panel-shadow: oklch(from var(--palette-forest) l c h / 5%); --color-focus: oklch(from var(--palette-leaf) l c h / 40%); --color-plot-surface: oklch(from var(--palette-paper) calc(l + 0.03) calc(c * 0.35) h); --color-plot-surface-overlay: oklch(from var(--color-plot-surface) l c h / 90%); --color-plot-grid: var(--color-border-subtle); --color-profile-grid-x: var(--palette-white); --color-profile-grid-y: oklch(0% 0 0deg); --color-accent-fill: oklch(from var(--palette-coral) l c h / 12%); --color-profile-fill: oklch(from var(--palette-leaf) l c h / 16%); --color-profile-line: var(--color-forest); --color-climb-label: oklch(40% 0.12 35deg); --color-crossing: oklch(from var(--palette-leaf) l c h / 60%); --color-crossing-label: var(--color-notice-text); --color-hover-line: oklch(from var(--palette-forest) l c h / 60%); --color-climb-route: var(--palette-leaf); --color-climb-focus-fill: oklch(from var(--palette-leaf) l c h / 18%); --color-profile-downhill: oklch(58% 0.02 155deg); --color-profile-0-3: oklch(58% 0.15 145deg); --color-profile-3-6: oklch(58% 0.17 255deg); --color-profile-6-9: oklch(58% 0.2 25deg); --color-profile-9-plus: oklch(0% 0 0deg); } * { box-sizing: border-box; } body { margin: 0; background: var(--color-background); color: var(--color-foreground); } a { color: var(--color-leaf); } .site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(1rem, calc((100vw - 70rem) / 2)); background: var(--color-forest); color: var(--color-on-dark); } .site-header a { color: var(--color-on-dark); text-decoration: none; } .brand { font-weight: 750; letter-spacing: .02em; } .nav { display: flex; gap: 1rem; font-size: .95rem; } .container { width: min(70rem, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 4rem; } .eyebrow { margin: 0 0 .4rem; color: var(--color-leaf); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; } h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; } .ride-detail-title { margin: 0 0 .4rem; color: var(--color-leaf); font-size: .78rem; font-weight: 700; letter-spacing: .12em; line-height: normal; } .lead { max-width: 42rem; color: var(--color-muted); } .panel { margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: 1rem; background: var(--color-surface); box-shadow: 0 1rem 2.5rem var(--color-panel-shadow); } .toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .button { display: inline-block; border: 0; border-radius: .65rem; padding: .7rem 1rem; background: var(--color-accent); color: var(--color-on-dark); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; } .button.secondary { background: var(--color-secondary-surface); color: var(--color-forest); } label { display: grid; gap: .35rem; color: var(--color-muted); font-size: .85rem; font-weight: 650; } input { border: 1px solid var(--color-input-border); border-radius: .55rem; padding: .65rem .7rem; font: inherit; color: inherit; background: var(--color-surface); } .form-row { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; } .sync-progress { display: grid; gap: .7rem; margin-top: 1.25rem; } .progress-heading { display: flex; justify-content: space-between; gap: 1rem; } progress { width: 100%; height: .8rem; accent-color: var(--color-accent); } .notice { margin: 1rem 0 0; border-radius: .6rem; padding: .75rem 1rem; background: var(--color-notice-surface); color: var(--color-notice-text); } .error { margin: 1rem 0 0; border-radius: .6rem; padding: .75rem 1rem; background: var(--color-error-surface); color: var(--color-error-text); } .ride-detail-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; align-items: start; } .ride-detail-columns { display: grid; grid-template-columns: minmax(16rem, .85fr) minmax(0, 1.75fr); gap: 1.25rem; align-items: start; min-width: 0; } .ride-detail-columns-single > .ride-detail-main { grid-column: 1 / -1; } .ride-detail-main { display: grid; gap: 1.25rem; min-width: 0; } .ride-detail-grid .panel { margin-top: 0; } table { width: 100%; border-collapse: collapse; } th, td { padding: .85rem .5rem; border-bottom: 1px solid var(--color-border-subtle); text-align: left; } th { color: var(--color-subtle); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; } .sort-link { color: inherit; text-decoration: none; } .sort-link:hover, .sort-link:focus-visible, th.active .sort-link { color: var(--color-accent); } .sort-indicator { display: inline-block; margin-left: .2rem; } .numeric { text-align: right; white-space: nowrap; } .empty { padding: 2.5rem 1rem; text-align: center; color: var(--color-subtle); } .ride-filters-panel { margin-top: 1.25rem; } .ride-filters { display: grid; gap: 1.25rem; margin-top: 1.25rem; } .ride-filters > .section-heading { flex-wrap: wrap; } .ride-filter-ranges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; } .ride-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; } .ride-filter-group legend { padding: 0; color: var(--color-forest); font-size: .9rem; font-weight: 750; } .range-values { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: .45rem; color: var(--color-muted); font-size: .85rem; } .range-values output { color: var(--color-foreground); font-weight: 700; } .range-control { position: relative; height: 2rem; margin: .35rem .55rem 0; } .range-track { position: absolute; top: 50%; right: 0; left: 0; height: .35rem; transform: translateY(-50%); border-radius: 999px; background: linear-gradient(to right, var(--color-border-subtle) 0%, var(--color-border-subtle) var(--range-start, 0%), var(--color-accent) var(--range-start, 0%), var(--color-accent) var(--range-end, 100%), var(--color-border-subtle) var(--range-end, 100%), var(--color-border-subtle) 100%); pointer-events: none; } .range-input { position: absolute; inset: 0; width: 100%; height: 2rem; margin: 0; padding: 0; border: 0; background: transparent; outline: none; pointer-events: none; touch-action: none; } .range-input-min { z-index: 2; } .range-input-max { z-index: 1; } .range-input::-webkit-slider-runnable-track { height: .35rem; background: transparent; } .range-input::-moz-range-track { height: .35rem; background: transparent; } .range-input::-webkit-slider-thumb { width: 1rem; height: 1rem; margin-top: -.325rem; border: 2px solid var(--color-surface); border-radius: 50%; background: var(--color-accent); box-shadow: 0 .15rem .4rem var(--color-panel-shadow); appearance: none; pointer-events: auto; cursor: pointer; } .range-input::-moz-range-thumb { width: 1rem; height: 1rem; border: 2px solid var(--color-surface); border-radius: 50%; background: var(--color-accent); box-shadow: 0 .15rem .4rem var(--color-panel-shadow); appearance: none; pointer-events: auto; cursor: pointer; } .range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 .2rem var(--color-focus); } .range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 .2rem var(--color-focus); } .ride-filter-meta { display: grid; grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr); align-items: end; gap: 1rem; } .date-filter-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .5rem; } .route-filter { align-self: end; } select { border: 1px solid var(--color-input-border); border-radius: .55rem; padding: .65rem .7rem; font: inherit; color: inherit; background: var(--color-surface); } .ride-filter-actions { display: flex; justify-content: flex-end; gap: .75rem; flex-wrap: wrap; } .map-panel { padding: 0; overflow: hidden; } .ride-map { min-height: 24rem; height: min(65vh, 40rem); } .ride-map-pass-icon { display: grid; place-items: center; width: 1.75rem !important; height: 1.75rem !important; border: 2px solid var(--color-surface); border-radius: 50%; background: var(--color-leaf); color: var(--color-on-dark); box-shadow: 0 .15rem .4rem var(--color-panel-shadow); } .ride-map-pass-icon svg { width: 1.15rem; height: 1.15rem; } .ride-map-climb-start-icon, .ride-map-climb-end-icon { display: grid; place-items: center; width: 1.625rem !important; height: 1.625rem !important; border: 2px solid var(--color-surface); box-shadow: 0 .15rem .4rem var(--color-panel-shadow); } .ride-map-climb-start-icon { border-radius: 50%; background: var(--color-forest); color: var(--color-on-dark); } .ride-map-climb-end-icon { border-radius: .3rem; background: var(--color-accent); color: var(--color-on-dark); } .ride-map-climb-start-icon svg, .ride-map-climb-end-icon svg { width: 1.1rem; height: 1.1rem; } .profile-panel { padding-bottom: 1rem; } .profile-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .profile-heading h2 { margin: 0; font-size: 1.2rem; } .profile-heading p { margin: 0; color: var(--color-subtle); font-size: .9rem; } .profile-chart { margin-top: 1rem; } .profile-chart canvas { display: block; width: 100%; height: 22rem; border-radius: .65rem; background: var(--color-plot-surface); outline: none; } .profile-chart canvas:focus-visible { box-shadow: 0 0 0 .2rem var(--color-focus); } .profile-hover { display: block; min-height: 1.4rem; margin: .7rem 0 0; color: var(--color-muted); font-size: .9rem; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .section-heading .eyebrow { margin-bottom: .2rem; } .section-heading h2 { margin: 0; font-size: 1.2rem; } .section-count { display: grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 999px; background: var(--color-secondary-surface); color: var(--color-forest); font-weight: 800; } .official-climbs-panel { padding: 0; border: 0; background: transparent; box-shadow: none; } .official-climbs-panel .section-heading { margin-bottom: .75rem; } .official-climb-list { display: grid; gap: 0; } .official-climb-card { overflow: hidden; border: 1px solid var(--color-border); border-bottom: 0; border-radius: 0; background: var(--color-plot-surface); } .official-climb-card:last-child { border-bottom: 1px solid var(--color-border); } .official-climb-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; color: var(--color-forest); cursor: pointer; list-style: none; } .official-climb-card > summary::-webkit-details-marker { display: none; } .official-climb-card > summary::marker { display: none; } .official-climb-card > summary:hover, .official-climb-card > summary:focus-visible { background: var(--color-secondary-surface); } .official-climb-card > summary:focus-visible { outline: .2rem solid var(--color-focus); outline-offset: -.2rem; } .official-climb-card-title { display: flex; align-items: baseline; gap: .2rem; min-width: 0; } .official-climb-card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .official-climb-summary-stats { display: flex; gap: .8rem; margin: 0 0 0 auto; } .official-climb-summary-stats dt { font-size: .6rem; } .official-climb-summary-stats dd { margin-top: .1rem; font-size: .85rem; } .official-climb-chevron { color: var(--color-accent); font-size: 1.5rem; font-weight: 500; line-height: 1; } .official-climb-card[open] .official-climb-chevron { transform: rotate(180deg); } .official-climb-card-body { padding: .9rem 1rem 1rem; border-top: 1px solid var(--color-border-subtle); background: var(--color-surface); } .official-climb-profile { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; margin-top: .75rem; border-radius: .55rem; background: var(--color-plot-surface); outline: none; } .official-climb-profile:focus-visible { box-shadow: 0 0 0 .2rem var(--color-focus); } .official-climb-profile-legend { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: .65rem; color: var(--color-muted); font-size: .72rem; } .official-climb-profile-legend > span { display: inline-flex; align-items: center; gap: .3rem; } .profile-band-swatch { display: inline-block; width: .65rem; height: .65rem; border-radius: .15rem; } .profile-band-downhill { background: var(--color-profile-downhill); } .profile-band-0-3 { background: var(--color-profile-0-3); } .profile-band-3-6 { background: var(--color-profile-3-6); } .profile-band-6-9 { background: var(--color-profile-6-9); } .profile-band-9-plus { background: var(--color-profile-9-plus); } .climb-list { display: grid; gap: 1rem; margin-top: 1.25rem; } .climb-item { padding-top: 1rem; border-top: 1px solid var(--color-border-subtle); } .climb-item.focused { background: var(--color-plot-surface); } .climb-item-heading { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .climb-number { display: inline-block; margin-right: .45rem; color: var(--color-accent); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; } .climb-item-heading > span, .climb-status { color: var(--color-muted); font-size: .9rem; } .climb-metrics { margin: .35rem 0 0; color: var(--color-muted); font-size: .9rem; } .climb-status { margin: .35rem 0 0; } .climb-status.matched { color: var(--color-notice-text); } .official-climb-form { display: grid; gap: .8rem; margin-top: .8rem; padding: .8rem; border: 1px solid var(--color-border-subtle); border-radius: .65rem; background: var(--color-plot-surface); } .boundary-controls { display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr) max-content; align-items: center; gap: .35rem; white-space: nowrap; } .boundary-controls > div { display: contents; } .boundary-controls .button { width: 100%; padding: .45rem .6rem; font-size: .8rem; } .boundary-controls output { color: var(--color-muted); font-size: .85rem; } .boundary-controls .button.active { outline: .2rem solid var(--color-focus); } .boundary-preview { color: var(--color-notice-text); font-size: .9rem; } .climb-navigation { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; } .climbs-panel > .climb-navigation { margin-top: 0; } .climb-navigation output { color: var(--color-muted); font-size: .9rem; font-weight: 700; } .climb-navigation .button:disabled { opacity: .45; cursor: default; } dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; } dt { color: var(--color-subtle); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } dd { margin: .25rem 0 0; font-size: 1.2rem; font-weight: 700; } @media (width <= 900px) { .ride-detail-columns { grid-template-columns: 1fr; } } @media (width <= 700px) { .container { width: min(100% - 1rem, 70rem); padding-top: 1.5rem; } .site-header { padding-inline: 1rem; } th:nth-child(n+4), td:nth-child(n+4) { display: none; } .panel { padding: .8rem; } } @media (width <= 700px) { .ride-filter-ranges, .ride-filter-meta { grid-template-columns: 1fr; } } @media (width <= 500px) { dl { grid-template-columns: repeat(2, 1fr); } .official-climb-summary-stats { gap: .55rem; } .official-climb-card-title { display: block; } .date-filter-inputs { grid-template-columns: 1fr; } }