:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18221c;background:#f7f8f5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}main{max-width:640px;margin:auto;min-height:100vh;padding:28px 20px 104px}.welcome,.onboarding{display:flex;flex-direction:column;justify-content:center;gap:18px;min-height:100vh}.mark{width:52px;height:52px;display:grid;place-items:center;background:#166534;color:#fff;font-size:28px;font-weight:800;border-radius:14px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;color:#66736a;margin:0}h1{font-size:34px;margin:0;letter-spacing:-.02em}h2{font-size:20px;margin:28px 0 14px}p{font-size:16px;line-height:1.55;color:#536057;margin:0}.button{border:0;border-radius:8px;background:#166534;color:#fff;min-height:52px;padding:0 18px;font-weight:700;margin-top:8px}.strava{display:grid;place-items:center;text-decoration:none;background:#fc4c02}.shell header{display:flex;justify-content:space-between;align-items:center}.icon{width:44px;height:44px;border-radius:50%;border:0;background:#e2ebe2;color:#166534;font-size:25px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metrics article,.row{background:#fff;border:1px solid #e4e8e3;border-radius:8px;padding:16px}.metrics span,small{display:block;color:#708077;font-size:13px}.metrics strong{display:block;margin-top:6px;font-size:24px}.row{display:flex;justify-content:space-between;align-items:center;margin:9px 0}.row strong{font-size:16px}.row span{font-size:25px;color:#708077}form{display:grid;gap:10px;margin-top:22px}input,textarea,select{width:100%;border:1px solid #cbd5cc;border-radius:8px;padding:14px;background:#fff;min-height:50px}textarea{min-height:120px;resize:vertical}.error{color:#b42318;background:#fef3f2;padding:10px;border-radius:8px;margin-top:12px}nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);max-width:640px;margin:auto;padding:8px;background:#fffffff5;border-top:1px solid #e4e8e3}nav button{border:0;background:transparent;color:#66736a;min-height:48px;font-size:12px}nav button.active{color:#166534;font-weight:800}.button-row{width:100%;text-align:left;border:1px solid #e4e8e3;font:inherit;color:inherit}.back,.text-button{border:0;background:transparent;color:#166534;padding:4px 0;font-weight:700}.back{margin:0 0 14px}.tabs,.choice{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid #dfe6df;margin:14px 0 18px}.tabs button,.choice button{white-space:nowrap;border:0;background:transparent;padding:10px 12px;color:#66736a}.tabs .selected,.choice .selected{color:#166534;background:#e7f2e8;border-radius:6px;font-weight:700}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h3,h3{margin:12px 0;font-size:17px}.row b{display:block;color:#166534;margin-top:7px;font-size:14px}.mini{border:1px solid #a7b8aa;background:#fff;border-radius:6px;color:#166534;min-height:36px;padding:0 10px;font-weight:700}.inline-form,.replace-form{background:#eef4ee;padding:12px;border-radius:8px;margin-top:12px}.replace-form{position:absolute;left:12px;right:12px;bottom:10px;display:flex;gap:6px}.row:has(.replace-form){position:relative;padding-bottom:74px}.check{font-size:14px;color:#4e5d53;display:flex;gap:8px;align-items:center}.check input{width:18px;min-height:18px}.ride select{max-width:140px;min-height:38px;padding:7px}@media(min-width:641px){body{background:#eaf0e9}.shell,.onboarding,.welcome{background:#f7f8f5}}
