:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1f2937;background:#f8fafc}body{margin:0}#app{min-height:100vh;display:flex;flex-direction:column}.header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;background:#1e40af;color:#fff}.header__brand{display:flex;align-items:center;gap:.5rem;font-weight:600}.header__actions{display:flex;align-items:center;gap:.5rem}.page{flex:1;width:100%;max-width:60rem;margin:0 auto;padding:2rem 1rem;box-sizing:border-box}.hero h1{margin:0 0 .5rem}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem;margin-top:2rem}.card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem 1.25rem}.card h2{margin:0 0 .5rem;font-size:1.125rem;color:#1e40af}.card p{margin:0}.footer{padding:1rem;text-align:center;font-size:.875rem;color:#6b7280}.btn{padding:.375rem .75rem;border:0;border-radius:.375rem;background:#fff;color:#1e40af;font-weight:600;cursor:pointer}.badge{display:inline-block;padding:.25rem .75rem;border-radius:999px;font-size:.875rem;margin:0}.badge--on{background:#dcfce7;color:#166534}.badge--off{background:#fee2e2;color:#991b1b}.update{position:fixed;bottom:1rem;left:1rem;right:1rem;display:flex;gap:.5rem;align-items:center;padding:.75rem 1rem;background:#1e40af;color:#fff;border-radius:.5rem}.update button{padding:.375rem .75rem;border:0;border-radius:.375rem;cursor:pointer}.btn--plein{background:#1e40af;color:#fff;padding:.75rem 1rem;font-size:1rem}.btn--lien{background:none;margin-top:1.5rem;text-decoration:underline}.badge--info{background:#dbeafe;color:#1e40af;margin-left:.5rem;vertical-align:middle}.form{display:flex;flex-direction:column;gap:1rem}.form h2{margin:0}.form__champ{display:flex;flex-direction:column;gap:.25rem;font-weight:600;border:0;padding:0;margin:0}.form__champ label{font-weight:400;padding:.25rem 0}.form input[type=date],.form input[type=number]{padding:.625rem;font-size:1rem;border:1px solid #cbd5e1;border-radius:.375rem}.form__erreur{color:#991b1b;margin:0}.onglets{display:flex;gap:.5rem;margin-bottom:1rem}.onglet{flex:1;padding:.625rem;border:1px solid #1e40af;border-radius:.5rem;background:#fff;color:#1e40af;font-weight:600;font-size:1rem;cursor:pointer}.onglet--actif{background:#1e40af;color:#fff}.toast{position:sticky;top:.5rem;z-index:1;margin:0 0 1rem;padding:.75rem 1rem;border-radius:.5rem;background:#166534;color:#fff;animation:apparition .3s ease-out}@keyframes apparition{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:none}}.semaine{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;margin-bottom:1rem}.semaine--allegee{border-color:#86efac}.semaine--affutage{border-color:#fcd34d}.semaine--course{border-color:#1e40af;border-width:2px}.semaine h3{margin:0;font-size:1.125rem}.semaine__dates{margin:.25rem 0 .75rem;color:#6b7280;font-size:.875rem}.seances{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.seance label{display:flex;gap:.75rem;align-items:flex-start;padding:.5rem;border-radius:.5rem;background:#f1f5f9;cursor:pointer}.seance input{width:1.5rem;height:1.5rem;flex-shrink:0}.seance__texte{display:flex;flex-direction:column;gap:.125rem;font-size:.9375rem}.seance--faite label{background:#dcfce7}.seance--faite .seance__texte{opacity:.75}.montagne h2{margin:0 0 .5rem}.montagne__image{width:100%;height:auto;border-radius:.75rem;display:block}.montagne__ciel{fill:#bfdbfe}.montagne__roche{fill:#64748b}.montagne__neige{fill:#fff}.montagne__sentier{stroke:#fbbf24;stroke-width:2;stroke-dasharray:4 4}.montagne__drapeau line{stroke:#1f2937;stroke-width:1.5}.montagne__drapeau polygon{fill:#dc2626}.montagne__coureur{fill:#f97316;stroke:#fff;stroke-width:2}.montagne__coureur--sommet{animation:victoire .8s ease-in-out infinite alternate}@keyframes victoire{0%{r:6}to{r:9}}.montagne__score{font-weight:600;margin:.75rem 0 .25rem}.montagne__message{margin:0;min-height:1.5rem;color:#166534}@media(prefers-reduced-motion:reduce){.toast,.montagne__coureur--sommet{animation:none}}.alerte{background:#fef3c7;color:#92400e;border:1px solid #f59e0b;border-radius:.5rem;padding:.75rem;margin:0 0 1rem}
