: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-accent-fill: oklch(from var(--palette-coral) l c h / 12%); --color-climb-label: oklch(from var(--palette-coral) calc(l - 0.21) calc(c * 0.72) h); --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); } .map-panel { padding: 0; overflow: hidden; } .ride-map { min-height: 24rem; height: min(65vh, 40rem); } .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: 10rem; 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-heading { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .todo-item { padding-left: .8rem; border-left: .2rem solid var(--color-accent); } .todo-item.focused { border-left-color: var(--color-forest); background: var(--color-plot-surface); } .todo-check { display: inline-block; width: .9rem; height: .9rem; margin-right: .5rem; border: 2px solid var(--color-accent); border-radius: .2rem; vertical-align: -.05rem; } .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: flex; gap: .75rem; flex-wrap: wrap; } .boundary-controls > div { display: grid; gap: .35rem; } .boundary-controls > div > div { display: flex; gap: .35rem; flex-wrap: wrap; } .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 <= 500px) { dl { grid-template-columns: repeat(2, 1fr); } .official-climb-summary-stats { gap: .55rem; } .official-climb-card-title { display: block; } }