/* Minification failed. Returning unminified contents.
(2,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,54): run-time error CSS1039: Token not allowed after unary operator: '-white'
(14,75): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(16,17): run-time error CSS1039: Token not allowed after unary operator: '-green'
(17,23): run-time error CSS1039: Token not allowed after unary operator: '-green-dark'
(19,134): run-time error CSS1039: Token not allowed after unary operator: '-line'
(19,159): run-time error CSS1039: Token not allowed after unary operator: '-white'
(22,47): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(24,78): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(25,26): run-time error CSS1039: Token not allowed after unary operator: '-card'
(25,57): run-time error CSS1039: Token not allowed after unary operator: '-line'
(32,22): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(34,28): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(37,33): run-time error CSS1039: Token not allowed after unary operator: '-green'
(37,54): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(38,39): run-time error CSS1039: Token not allowed after unary operator: '-green-dark'
(38,65): run-time error CSS1039: Token not allowed after unary operator: '-white'
(39,51): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(39,81): run-time error CSS1039: Token not allowed after unary operator: '-line'
(41,48): run-time error CSS1039: Token not allowed after unary operator: '-white'
(41,69): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(41,99): run-time error CSS1039: Token not allowed after unary operator: '-line'
(42,22): run-time error CSS1039: Token not allowed after unary operator: '-hr'
(46,23): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(51,91): run-time error CSS1039: Token not allowed after unary operator: '-line'
(67,47): run-time error CSS1039: Token not allowed after unary operator: '-hr'
(73,55): run-time error CSS1039: Token not allowed after unary operator: '-green'
(73,76): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(75,72): run-time error CSS1039: Token not allowed after unary operator: '-green'
(75,93): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(80,24): run-time error CSS1039: Token not allowed after unary operator: '-green'
(81,24): run-time error CSS1039: Token not allowed after unary operator: '-power'
(83,24): run-time error CSS1039: Token not allowed after unary operator: '-hr'
(92,120): run-time error CSS1039: Token not allowed after unary operator: '-line'
(96,98): run-time error CSS1039: Token not allowed after unary operator: '-line'
(100,24): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(114,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(117,33): run-time error CSS1039: Token not allowed after unary operator: '-line'
(119,15): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(126,26): run-time error CSS1039: Token not allowed after unary operator: '-line'
(130,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(132,37): run-time error CSS1039: Token not allowed after unary operator: '-green'
(132,73): run-time error CSS1039: Token not allowed after unary operator: '-green'
(146,85): run-time error CSS1039: Token not allowed after unary operator: '-green-dark'
(148,95): run-time error CSS1039: Token not allowed after unary operator: '-line'
(148,141): run-time error CSS1039: Token not allowed after unary operator: '-white'
(150,65): run-time error CSS1039: Token not allowed after unary operator: '-white'
(152,93): run-time error CSS1039: Token not allowed after unary operator: '-muted'
 */
:root {
  --ink: #141414;
  --green: #2DB84A;
  --green-dark: #23963C;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --muted: #5C665E;
  --hr: #E24B4B;
  --power: #F5C542;
  --line: #E5E5E5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--white); color: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.brand img { height: 36px; display: block; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a, .nav input, .nav button { color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; }
.site-main { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; }
.site-footer { max-width: 1200px; margin: 0 auto; padding: 20px; color: var(--muted); display: flex; justify-content: space-between; font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

h1, h2, h3 { margin: 0 0 12px; font-weight: 650; }

.muted { color: var(--muted); }
.stat { }
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.stat .value { font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 700; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; border: 0; cursor: pointer; font: inherit; }
.btn-primary { background: var(--green); color: var(--ink); font-weight: 700; }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field input, .field select { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.error { color: var(--hr); margin-bottom: 12px; }

.hero { padding: 48px 0; }
.hero h1 { font-size: 42px; }
.hero p { color: var(--muted); max-width: 90%; line-height: 1.5; }

.plan-copy p { margin: 0 0 1em; line-height: 1.6; max-width: 72ch; }
.plan-copy p:last-child { margin-bottom: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table th.date, .table td.date { text-align: left; }
#recentTable th.date, #recentTable td.date { white-space: nowrap; }
.table th.dir, .table td.dir { text-align: left; white-space: nowrap; }
.table tr { cursor: pointer; }
.table tr:hover { background: #F3F7F4; }
.table tr.empty-row, .table tr.empty-row:hover { cursor: default; background: transparent; }
.table th.act-type, .table td.act-type { width: 48px; text-align: center; }
.table td.act-type .act-icon { margin: 0 auto; }
.table.plain tr { cursor: default; }
.table.plain tr:hover { background: #F3F7F4; }
.admin-stats { margin: 0 0 12px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.pill-run { background: #EAF8EE; }
.pill-queue { background: #FFF6D6; }
.pill-fail { background: #FDECEC; color: var(--hr); }
.pill-ok { background: #F3F7F4; }
.place { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: middle; }
.place-1 { background: #F5C542; color: #141414; }
.place-2 { background: #C5C5C5; color: #141414; }
.place-3 { background: #C47A3A; color: #fff; }
.banner { background: #EAF8EE; border: 1px solid var(--green); color: var(--ink); padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }

.save-ok { display: block; background: #EAF8EE; border: 2px solid var(--green); color: var(--ink); padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 700; font-size: 16px; }

.zone-bar { display: flex; height: 18px; border-radius: 9px; overflow: hidden; margin: 8px 0 16px; }
.zone-bar span { display: block; height: 100%; }
.z1 { background: #3d7a4a; }
.z2 { background: var(--green); }
.z3 { background: var(--power); }
.z4 { background: #e0893a; }
.z5 { background: var(--hr); }
.z6 { background: #b13ae0; }
.z7 { background: #141414; }

.ride-chart { position: relative; height: 220px; width: 100%; }
.map { height: 380px; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.map-sm { height: 220px; }
.forecast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.forecast-day { }
.forecast-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: center; }
.forecast-row img { width: 28px; height: 28px; }
.wx-wrap { overflow-x: auto; }
.wx-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.wx-table th, .wx-table td { text-align: center; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 12px; }
.wx-table th:first-child, .wx-table td:first-child, .wx-table tbody th { text-align: left; font-weight: 650; min-width: 90px; }
.wx-table img { width: 28px; height: 28px; }
.wx-temp { font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-meta { color: var(--muted); display: block; line-height: 1.35; margin-top: 2px; }
.auth-card { max-width: 420px; margin: 40px auto; }
.strava-btn img { height: 48px; }
.segment-extra { background: #F7F7F7; padding: 12px; }

.cal-head, .cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  gap: 8px;
}
.cal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--white);
  padding: 8px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 650;
}
.cal-week-wrap { margin-bottom: 22px; overflow-x: auto; }
.cal-day {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  min-height: 156px;
  background: var(--white);
}
.cal-day.today { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.cal-day.future { background: #FAFAFA; }
.cal-day-num { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.cal-empty { font-size: 12px; }
.cal-ride {
  display: block;
  background: #F3F7F4;
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
  color: inherit;
}
.cal-ride:hover { background: #EAF8EE; color: inherit; }
.cal-ride-name { display: flex; align-items: flex-start; gap: 6px; font-weight: 650; font-size: 12px; line-height: 1.3; margin-bottom: 4px; }
.act-icon { flex: 0 0 auto; width: 32px; height: 32px; margin-top: 1px; color: var(--green-dark); }
.act-icon svg { display: block; width: 32px; height: 32px; }
.effort-history { max-height: 480px; overflow: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.effort-history .table { margin: 0; border-collapse: separate; border-spacing: 0; }
.effort-history th { position: sticky; top: 0; background: var(--white); z-index: 1; }
.effort-history th.date, .effort-history td.date, .effort-history td.time-taken { white-space: nowrap; }
.cal-ride-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; color: var(--muted); }
.cal-spark-host { display: block; width: 100%; height: 36px; margin-top: 6px; }
.cal-spark { display: block; width: 100%; height: 36px; }

@media (max-width: 900px) {
  .grid-2, .grid-4, .forecast { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: 12px; }
}
@media (max-width: 800px) {
  .wx-table { min-width: 0; }
  .wx-h2 { display: none; }
}

