:root{--fond:#fff4d6;--texte:#141414;--discret:#4d4a42;--accent:#c9f27b;--carte:#fff;--bord:#141414;--trait:3px solid var(--bord);--ombre:5px 5px 0 var(--bord);--rayon:18px;--erreur:#ffb3a7;--succes:#c9f27b;--couleur:#c9f27b;--niveau-0:#fff;--niveau-2:#e3f7b8;--niveau-3:#a8e05f;--niveau-4:#4f9a2a}[data-couleur=vert]{--couleur:#c9f27b}[data-couleur=bleu]{--couleur:#9ed8ff}[data-couleur=rose]{--couleur:#ff9ec4}[data-couleur=orange]{--couleur:#ffb25b}[data-couleur=violet]{--couleur:#c8b6ff}[data-couleur=jaune]{--couleur:#ffe066}*{box-sizing:border-box}body{background:var(--fond);color:var(--texte);margin:0;font-family:Bricolage Grotesque,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6}a{color:var(--texte);text-underline-offset:3px;text-decoration-thickness:2px}h1,h2,h3{letter-spacing:-.02em;font-weight:800;line-height:1.1}h1{margin:16px 0;font-size:clamp(2.2rem,6vw,4rem)}h2{font-size:clamp(1.6rem,4vw,2.2rem)}[hidden]{display:none!important}header.site{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;max-width:1100px;margin:0 auto;padding:20px 16px;display:flex}.site .actions{flex-wrap:wrap;gap:12px;display:flex}.marque{align-items:center;gap:12px;text-decoration:none;display:flex}.marque img,.marque svg{flex-shrink:0;width:112px;height:112px}.marque span{letter-spacing:-.03em;font-size:2.3rem;font-weight:800;line-height:.9}@media (width<=600px){.marque img,.marque svg{width:80px;height:80px}.marque span{font-size:1.8rem}}footer.site{max-width:1100px;color:var(--discret);text-align:center;margin:0 auto;padding:32px 16px 48px}footer.site p{margin:0 0 8px}footer.site .sources{font-size:.85rem}.page{max-width:1100px;margin:0 auto;padding:16px 16px 64px}.bouton{border:var(--trait);background:var(--carte);min-height:48px;box-shadow:4px 4px 0 var(--bord);font:inherit;color:var(--texte);cursor:pointer;border-radius:14px;align-items:center;gap:8px;padding:0 20px;font-weight:700;text-decoration:none;transition:transform .1s,box-shadow .1s;display:inline-flex}.bouton:hover{box-shadow:6px 6px 0 var(--bord);transform:translate(-2px,-2px)}.bouton:active{box-shadow:1px 1px 0 var(--bord);transform:translate(2px,2px)}.bouton:disabled{opacity:.6;cursor:wait;transform:none}.bouton.noir{background:var(--texte);color:var(--fond);box-shadow:5px 5px 0 var(--accent)}.bouton.accent{background:var(--accent)}.bouton.danger{background:var(--erreur)}.pastille{border:var(--trait);background:var(--carte);border-radius:999px;padding:4px 14px;font-size:.95rem;font-weight:700;display:inline-block}.penchee{background:var(--accent);transform:rotate(-3deg)}.une{background:var(--carte);border:var(--trait);box-shadow:10px 10px 0 var(--bord);border-radius:28px;margin:8px 0 48px;padding:clamp(24px,5vw,48px)}.une p{max-width:60ch;margin:0 0 24px;font-size:1.15rem}.une .boutons{flex-wrap:wrap;gap:14px;display:flex}.vide{color:var(--discret);font-style:italic}.boite{background:var(--carte);border:var(--trait);max-width:520px;box-shadow:8px 8px 0 var(--bord);border-radius:24px;margin:0 auto 40px;padding:clamp(20px,4vw,36px)}.boite h1,.boite h2{margin-top:0}.boite.large{max-width:720px}form.formulaire{flex-direction:column;gap:18px;display:flex}form.formulaire .bouton{align-self:flex-start}.champ{flex-direction:column;gap:6px;display:flex}.champ label{font-weight:700}.champ .aide{color:var(--discret);font-size:.9rem}.champ input,.champ textarea{font:inherit;color:var(--texte);background:var(--fond);border:var(--trait);border-radius:12px;min-height:48px;padding:10px 14px}.champ textarea{resize:vertical;min-height:110px}.champ input:focus-visible,.champ textarea:focus-visible,.bouton:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.case{align-items:flex-start;gap:10px;font-weight:600;display:flex}.case input{width:22px;height:22px;accent-color:var(--texte);margin-top:3px}.message{border:var(--trait);border-radius:12px;margin:0;padding:10px 14px;font-weight:600}.message.erreur{background:var(--erreur)}.message.succes{background:var(--succes)}.sous-boite{text-align:center;color:var(--discret);margin:16px 0 0}.pseudo-entete{font-weight:800}.separation{border:none;border-top:3px dashed var(--bord);margin:32px 0}details.zone-danger summary{cursor:pointer;font-weight:700}.visuellement-cache{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.boutons-ligne{flex-wrap:wrap;gap:14px;display:flex}.pastille.petite{border-width:2px;align-self:flex-start;padding:1px 10px;font-size:.8rem}.compte{color:var(--discret);font-size:.8em;font-weight:600}.entete-liste{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.bouton.petit{min-height:40px;padding:0 14px;font-size:.95rem}.aide{color:var(--discret);margin:0;font-size:.9rem}.hors-ligne{background:#ffe066;max-width:1068px;margin:0 auto 8px}@media (width<=1100px){.hors-ligne{margin:0 16px 8px}}.navigation .bouton[aria-current=page]{background:var(--texte);color:var(--fond);box-shadow:4px 4px 0 var(--accent)}.navigation .lien-compte{padding:0 14px;font-size:1.2rem}@media (width<=600px){header.site{padding:14px 16px 8px}.marque img,.marque svg{width:64px;height:64px}.marque span{font-size:1.5rem}header.site{position:relative}.navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;display:grid!important}.navigation[hidden]{display:none!important}.navigation .bouton{min-height:44px;box-shadow:3px 3px 0 var(--bord);justify-content:center;padding:0 4px;font-size:.8rem}.navigation .lien-compte{padding:0 14px;font-size:1.2rem;position:absolute;top:24px;right:16px}}.choix{flex-wrap:wrap;gap:8px;display:flex}.pilule{cursor:pointer;position:relative}.pilule input{opacity:0;pointer-events:none;position:absolute}.pilule span,.onglet{border:var(--trait);background:var(--carte);font:inherit;color:var(--texte);cursor:pointer;border-radius:999px;padding:6px 16px;font-weight:700;display:inline-block}.pilule input:checked+span,.onglet[aria-pressed=true]{background:var(--texte);color:var(--fond)}.pilule input:focus-visible+span,.onglet:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.pilule.jour span{text-align:center;min-width:58px;padding:6px 10px}.pilule.couleur span{background:var(--couleur);width:44px;height:44px;padding:0}.pilule.couleur input:checked+span{background:var(--couleur);box-shadow:3px 3px 0 var(--bord);outline:3px solid var(--bord);outline-offset:2px}.onglets{flex-wrap:wrap;gap:10px;display:flex}fieldset{border:none;min-width:0;margin:0;padding:0}fieldset legend{margin-bottom:8px;padding:0;font-weight:700}fieldset .aide{margin-top:8px}.ligne-champs{grid-template-columns:96px 1fr;gap:14px;display:grid}.champ-emoji input{text-align:center;font-size:1.4rem}.compteur{align-items:center;gap:8px;display:inline-flex}.compteur input{text-align:center;width:4.5em;font:inherit;color:var(--texte);background:var(--fond);border:var(--trait);border-radius:12px;min-height:48px;font-size:1.2rem;font-weight:800}.compteur .bouton{padding:0 16px;font-size:1.3rem}.journee{background:var(--carte);border:var(--trait);box-shadow:10px 10px 0 var(--bord);border-radius:28px;margin:8px 0 32px;padding:clamp(18px,4vw,32px)}.navigation-jour{justify-content:space-between;align-items:center;gap:12px;display:flex}.titre-jour{text-align:center;flex:1;min-width:0}.titre-jour h1{margin:10px 0 0;font-size:clamp(1.8rem,5vw,3rem)}.bouton.fleche{padding:0 16px;font-size:1.3rem}.bouton.fleche:disabled{opacity:.3;cursor:default}.score-jour{text-align:center;margin-top:18px}.score-jour .chiffre{color:var(--discret);margin:0 0 8px;font-weight:700}.score-jour .chiffre strong{color:var(--texte);font-size:2rem}.barre-jour{border:var(--trait);background:var(--fond);border-radius:999px;max-width:520px;height:18px;margin:0 auto;overflow:hidden}.barre-jour span{background:var(--accent);border-right:3px solid var(--bord);width:0;height:100%;transition:width .3s;display:block}.barre-jour span[style*="width: 0%"]{border-right:none}.bravo{border:var(--trait);background:var(--niveau-4);color:#fff;box-shadow:3px 3px 0 var(--bord);border-radius:999px;margin:14px 0 0;padding:4px 16px;font-weight:800;display:inline-block;transform:rotate(-2deg)}.groupe h2{margin:0 0 14px}.groupe{margin-bottom:28px}.habitudes-du-jour{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.habitude-jour{background:var(--carte);border:var(--trait);border-radius:var(--rayon);box-shadow:5px 5px 0 var(--bord);align-items:center;gap:14px;padding:12px 16px 12px 12px;transition:background .15s;display:flex}.habitude-jour.faite{background:color-mix(in srgb, var(--couleur) 45%, var(--carte))}.coche{cursor:pointer;background:0 0;border:none;border-radius:14px;flex:none;padding:0}.coche:focus-visible{outline:3px solid var(--bord);outline-offset:3px}.case-a-cocher{border:var(--trait);background:var(--fond);width:52px;height:52px;color:var(--texte);border-radius:14px;place-items:center;font-size:1.8rem;font-weight:800;line-height:1;transition:transform .1s,box-shadow .1s;display:grid}.coche:hover .case-a-cocher{box-shadow:3px 3px 0 var(--bord);transform:translate(-2px,-2px)}.coche[aria-pressed=true] .case-a-cocher{background:var(--couleur);box-shadow:3px 3px 0 var(--bord);transform:rotate(-4deg)}.habitude-jour .texte{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.habitude-jour .nom{overflow-wrap:anywhere;font-size:1.15rem;font-weight:800}.habitude-jour .emoji{margin-right:6px}.habitude-jour .detail{color:var(--discret);flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:.9rem;display:flex}.objectif{border:2px solid var(--bord);background:var(--carte);color:var(--texte);border-radius:999px;padding:0 8px;font-weight:800}.objectif.atteint{background:var(--couleur)}.points{flex-wrap:wrap;gap:3px;display:inline-flex}.point{border:2px solid var(--bord);background:var(--carte);border-radius:50%;width:10px;height:10px}.point.plein{background:var(--texte)}.flamme{white-space:nowrap;flex:none;font-size:1.05rem;font-weight:800}.repos{margin-top:-8px}.editeur{margin-top:20px;scroll-margin-top:16px}.liste-habitudes{flex-direction:column;gap:16px;margin:20px 0 32px;padding:0;list-style:none;display:flex}.carte-habitude{background:var(--carte);border:var(--trait);border-radius:var(--rayon);box-shadow:5px 5px 0 var(--bord);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding:14px 16px;display:flex}.en-pause .carte-habitude{box-shadow:none;opacity:.8}.carte-habitude .identite{flex:260px;align-items:center;gap:14px;min-width:0;display:flex}.carte-habitude .identite>div{flex-direction:column;min-width:0;line-height:1.3;display:flex}.carte-habitude .nom{overflow-wrap:anywhere;font-size:1.15rem}.carte-habitude .detail{color:var(--discret);font-size:.9rem}.pastille-habitude{border:var(--trait);background:var(--couleur);width:52px;height:52px;box-shadow:3px 3px 0 var(--bord);border-radius:14px;flex:none;place-items:center;font-size:1.6rem;font-weight:800;display:grid;rotate:-4deg}.carte-habitude .boutons-ligne{gap:8px}.carte-habitude .bouton{box-shadow:3px 3px 0 var(--bord)}.bouton:disabled.monter,.bouton:disabled.descendre{opacity:.3;cursor:default}.reglages-calendrier{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin:12px 0 20px;display:flex}.reglage{flex-direction:column;gap:4px;min-width:0;font-size:.9rem;font-weight:700;display:flex}.reglage select{font:inherit;color:var(--texte);background:var(--carte);border:var(--trait);border-radius:12px;max-width:100%;min-height:44px;padding:0 10px;font-weight:700}.navigation-periode{align-items:center;gap:12px;display:flex}.navigation-periode h2{text-align:center;min-width:7.5em;margin:0;font-size:clamp(1.3rem,3.5vw,1.8rem)}.navigation-periode .bouton:disabled{opacity:.3;cursor:default}.calendrier-mois{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:760px;margin-bottom:18px;display:grid}.calendrier-mois.avec-semaines{grid-template-columns:repeat(7,minmax(0,1fr)) minmax(44px,.8fr)}.entete-jour{text-align:center;color:var(--discret);text-transform:uppercase;letter-spacing:.04em;font-size:.85rem;font-weight:800}.cellule{aspect-ratio:1;border:var(--trait);background:var(--fond);color:var(--texte);border-radius:12px;text-decoration:none;display:block;position:relative}a.cellule{transition:transform .1s,box-shadow .1s}a.cellule:hover{box-shadow:3px 3px 0 var(--bord);transform:translate(-2px,-2px)}a.cellule:focus-visible{outline:3px solid var(--bord);outline-offset:2px}.cellule.hors-mois{background:0 0;border:none}.cellule[data-niveau="-2"]{background:0 0;border-style:dashed;border-color:#b9b09a}.cellule[data-niveau="-1"],.cellule-legende[data-niveau="-1"]{background:repeating-linear-gradient(-45deg, var(--fond) 0 4px, #e6dcc0 4px 6px)}.cellule[data-niveau="0"],.cellule-legende[data-niveau="0"]{background:var(--niveau-0)}.cellule[data-niveau="2"],.cellule-legende[data-niveau="2"]{background:var(--niveau-2)}.cellule[data-niveau="3"],.cellule-legende[data-niveau="3"]{background:var(--niveau-3)}.cellule[data-niveau="4"],.cellule-legende[data-niveau="4"]{background:var(--niveau-4);color:#fff}.cellule.aujourdhui{box-shadow:0 0 0 3px var(--fond), 0 0 0 6px var(--bord)}.cellule .numero{font-size:clamp(.8rem,2.4vw,1.05rem);font-weight:800;position:absolute;top:4px;left:8px}.cellule .etoile{font-size:clamp(.8rem,2.6vw,1.2rem);position:absolute;bottom:2px;right:6px}.cellule .bonus{border:2px solid var(--bord);background:#ff9ec4;border-radius:50%;width:10px;height:10px;position:absolute;bottom:7px;left:8px}.semaine,.semaine-vide{place-items:center;font-size:clamp(.75rem,2.2vw,1rem);font-weight:800;display:grid}.semaine{border:2px dashed var(--bord);border-radius:12px}.semaine.reussie{background:var(--niveau-4);color:#fff;border-style:solid}.semaine.ratee{color:var(--discret)}@media (width<=600px){.calendrier-mois{gap:5px}.cellule{border-width:2px;border-radius:9px}.cellule .numero{top:1px;left:5px}.cellule .bonus{width:8px;height:8px;bottom:5px;left:5px}}.defilement-annee{margin:0 -4px 12px;padding:4px 4px 12px;overflow-x:auto}.calendrier-annee{gap:3px;width:max-content;display:flex}.colonne-semaine{grid-template-rows:18px repeat(7,14px);gap:3px;display:grid}.colonne-semaine .cellule{aspect-ratio:auto;border-width:1.5px;border-radius:3px;width:14px;height:14px}.colonne-semaine .cellule.aujourdhui{box-shadow:0 0 0 2px var(--bord)}.mois-annee{white-space:nowrap;width:14px;font-size:.7rem;font-weight:800;overflow:visible}.jours-annee{margin-right:4px}.nom-jour{color:var(--discret);font-size:.65rem;font-weight:700;line-height:14px}.legende{color:var(--discret);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;font-size:.85rem;font-weight:700;display:flex}.cellule-legende{border:2px solid var(--bord);border-radius:5px;place-items:center;width:20px;height:20px;font-size:.7rem;display:inline-grid}.cellule-legende[data-niveau="-1"]{margin-left:12px}.explication{max-width:70ch;margin-bottom:28px}.liste-objectifs{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.objectif-mois{background:var(--carte);border:var(--trait);border-radius:var(--rayon);box-shadow:4px 4px 0 var(--bord);grid-template-columns:minmax(0,1.3fr) minmax(80px,2fr) auto;align-items:center;gap:14px;padding:10px 16px;display:grid}.objectif-mois .nom{overflow-wrap:anywhere;font-weight:800}.barre-objectif{border:2px solid var(--bord);background:var(--fond);border-radius:999px;height:14px;display:block;overflow:hidden}.barre-objectif span{background:var(--couleur);height:100%;display:block}.stats{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin:0 0 22px;padding:0;list-style:none;display:grid}.stats li{background:var(--carte);border:var(--trait);border-radius:var(--rayon);box-shadow:4px 4px 0 var(--bord);flex-direction:column;padding:12px 16px;display:flex}.stats li:nth-child(odd){rotate:-.6deg}.stats li:nth-child(2n){rotate:.6deg}.stats strong{font-size:1.8rem;line-height:1.1}.stats span{color:var(--discret);font-size:.9rem;font-weight:700}.stats li.vedette{background:var(--accent)}.stats li.vedette span{color:var(--texte)}.cartes-rigueur{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px;margin:0 0 28px;padding:0;list-style:none;display:grid}@media (width<=400px){.cartes-rigueur{grid-template-columns:minmax(0,1fr)}}.carte-rigueur{background:var(--carte);border:var(--trait);box-shadow:6px 6px 0 var(--bord);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.carte-rigueur .bandeau{background:var(--couleur);border-bottom:var(--trait);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding:10px 18px;font-size:1.1rem;font-weight:800;display:flex}.carte-rigueur .frequence{font-size:.8rem;font-weight:700}.chiffres{grid-template-columns:1fr 1fr;gap:12px 16px;margin:0;padding:16px 18px 8px;display:grid}.chiffres dt{color:var(--discret);text-transform:uppercase;letter-spacing:.04em;font-size:.8rem;font-weight:700}.chiffres dd{margin:0;font-size:1.35rem;font-weight:800;line-height:1.2}.chiffres small{color:var(--discret);font-size:.8rem;font-weight:700}.historique{flex-direction:column;gap:6px;padding:6px 18px 18px;display:flex}.cases-historique{flex-wrap:wrap;gap:3px;display:flex}.cases-historique span{border:2px solid var(--bord);background:var(--niveau-0);border-radius:4px;width:14px;height:14px}.cases-historique span.reussie{background:var(--niveau-4)}@media (width<=600px){.cellule .etoile{display:none}.stats{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}.stats li{padding:8px 10px}.stats strong{font-size:1.4rem}.stats span{font-size:.8rem;line-height:1.3}}
