/* Running Pace Calculator — track red + lime */
.pc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 20px; }
.pc-inline { display: flex; gap: 8px; }
.pc-inline input { flex: 1; font-size: 20px; font-weight: 700; min-height: 50px; }
.pc-inline select { width: auto; min-height: 50px; }
.pc-races { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pc-races button { font: 600 13px var(--body); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.pc-races button:hover { border-color: var(--accent); color: var(--ink); }
.pc-lbl { font-weight: 650; font-size: 14px; color: var(--ink-2); }
.pc-hms { display: flex; gap: 8px; }
.pc-hms label { position: relative; flex: 1; }
.pc-hms input { font-size: 20px; font-weight: 700; text-align: center; min-height: 50px; padding-right: 30px; }
.pc-hms small { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; font-weight: 600; }
.pc-pace select { width: auto; min-height: 50px; }

.pc-out { margin: 8px 0 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
@media (max-width: 760px) { .pc-out { grid-template-columns: minmax(0, 1fr); } }
.pc-big { border-radius: var(--r-lg); padding: 18px 20px; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 62%, black)); box-shadow: 0 12px 30px -16px var(--accent); }
.pc-big span { display: block; font-size: 13.5px; font-weight: 650; opacity: .85; }
.pc-big b { display: block; font: 800 clamp(36px, 6vw, 52px)/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-big small { font-size: 14px; opacity: .85; }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pc-stats div { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.pc-stats span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pc-stats b { font: 750 19px/1.3 var(--display); font-variant-numeric: tabular-nums; }

.pc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; }
@media (max-width: 760px) { .pc-cols { grid-template-columns: minmax(0, 1fr); } }
.pc-split-unit { display: flex; gap: 4px; margin-bottom: 8px; }
.pc-split-unit .check { margin: 0; padding: 5px 10px; font-size: 13.5px; }
.pc-table-wrap { border: 1px solid var(--line); border-radius: var(--r); max-height: 380px; overflow: auto; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.pc-table th, .pc-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.pc-table thead th { position: sticky; top: 0; background: var(--tint); font-size: 13px; }
.pc-table tbody tr:last-child td { border-bottom: 0; }
.pc-small { font-size: 13px; margin: 8px 0 0; }
