:root{--accent:#0b6e74;--texte:#1a1a1a;--fond:#fff;color:var(--texte);background:var(--fond);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:18px}*{box-sizing:border-box}body{margin:0}.page{max-width:720px;margin:0 auto;padding:16px}h1{color:var(--accent);font-size:1.6rem}.formulaire{flex-direction:column;gap:12px;display:flex}label{font-weight:600}input{border:1px solid #999;border-radius:8px;width:100%;padding:14px;font-size:1rem}button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:14px 18px;font-size:1rem;font-weight:600}button:disabled{opacity:.6}.erreur{color:#b00020}.info{background:#e6f2f3;border-radius:8px;padding:12px}.saisie{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.saisie-options{flex-wrap:wrap;gap:8px;display:flex}.saisie-options select,.saisie-options input{flex:140px;width:auto}select{background:#fff;border:1px solid #999;border-radius:8px;padding:14px;font-size:1rem}.onglets{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px;display:grid}@media (width<=480px){.onglets{grid-template-columns:repeat(2,1fr)}}.onglet{color:var(--accent);border:2px solid var(--accent);background:#fff}.onglet.actif{background:var(--accent);color:#fff}.ecran h2{margin:8px 0;font-size:1.3rem}.vide{color:#666}.pied{border-top:1px solid #ddd;margin-top:40px;padding-top:12px;font-size:.9rem}button.secondaire{color:var(--texte);background:#eee}.sujets{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.sujet{color:var(--texte);background:#fff;border:1px solid #999;padding:10px 14px;font-weight:600}.sujet.actif{background:var(--texte);color:#fff;border-color:var(--texte)}.sujet.a-classer{border-style:dashed}.compteur{min-width:1.6em;color:var(--accent);text-align:center;background:#e6f2f3;border-radius:999px;margin-left:4px;padding:1px 6px;font-size:.85rem;display:inline-block}.sujet.actif .compteur{background:#fff}.liste{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.carte{background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px}.texte-saisie{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 6px}.meta{color:#555;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:.85rem;display:flex}.etiquette{color:var(--accent);font-weight:700}.etiquette.idee{color:#8a5a00}.etiquette.rdv{color:#5b3a99}.sous-titre{color:#555;margin:24px 0 8px;font-size:1rem}.carte.tache{align-items:flex-start;gap:12px;display:flex}.case{cursor:pointer;padding:2px;display:flex}.case input{width:26px;height:26px;accent-color:var(--accent);cursor:pointer;margin:0}.carte.terminee .texte-saisie{color:#777;text-decoration:line-through}.retard{color:#b00020;font-weight:700}.du-jour{color:var(--accent);font-weight:700}.haut-carte{align-items:flex-start;gap:8px;display:flex}.haut-carte .texte-saisie{flex:1}.corps-carte{flex:1;min-width:0}.croix{color:#b00020;background:0 0;border:0;min-width:36px;min-height:36px;padding:0 6px;font-size:1.6rem;font-weight:400;line-height:1}.confirmation{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;font-size:.9rem;font-weight:600;display:flex}.confirmation button{padding:8px 12px;font-size:.9rem}.confirmation .oui{background:#b00020}.confirmation .non{color:var(--texte);background:#eee}.carte.en-retard{border-color:#b00020;border-left-width:4px}.carte.a-ranger{flex-direction:column;gap:8px;display:flex}.carte.a-ranger select{width:100%}.cartes-sujets{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;display:grid}.carte-sujet{text-align:left;color:var(--texte);border:1px solid #ddd;border-left:4px solid var(--accent);background:#fff;flex-direction:column;align-items:flex-start;gap:4px;font-size:.9rem;font-weight:400;display:flex}.carte-sujet strong{color:var(--accent);font-size:1.05rem}.carte.objectif{flex-direction:column;gap:8px;display:flex}.carte.objectif.atteint{border-left:4px solid var(--accent)}.compteur-objectif{align-items:center;gap:12px;display:flex}.compteur-objectif button{min-width:52px;min-height:48px;padding:0 12px;font-size:1.4rem}.compteur-objectif .moins{color:var(--texte);background:#eee}.compteur-objectif .valeur{text-align:center;min-width:4.5em;font-size:1.5rem;font-weight:700}.compteur-objectif .sur{color:#555;font-size:1rem;font-weight:400}.barre{background:#e6e6e6;border-radius:999px;height:12px;overflow:hidden}.barre-remplie{background:var(--accent);height:100%;transition:width .2s}.edition-cible{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.edition-cible input{width:7em}button.lien{color:var(--accent);background:0 0;align-self:flex-start;padding:4px 0;font-weight:600;text-decoration:underline}.total{margin:16px 0;font-weight:700}.nouvel-objectif{width:100%;margin-top:16px}.nouvel-objectif-form{margin-top:16px}.nouvel-objectif-form .sous-titre{margin-top:0}.semaine{border:1px solid #ddd;border-radius:8px;flex-direction:column;gap:8px;margin-bottom:12px;padding:12px;display:flex}.semaine.en-cours{border:2px solid var(--accent);background:#f3f9f9}.semaine-titre{align-items:center;gap:8px;display:flex}.semaine-titre h3{margin:0;font-size:1.1rem}.badge{background:var(--accent);color:#fff;border-radius:999px;padding:2px 8px;font-size:.8rem;font-weight:700}.semaine .carte.tache{align-items:center}.semaine .carte.tache .texte-saisie{margin:0}.ajout-plan{gap:8px;display:flex}.ajout-plan input{flex:1;min-width:0}.sujet.ajout-sujet{color:var(--accent);border-style:dashed;border-color:var(--accent)}.nouveau-sujet{flex-wrap:wrap;gap:8px;margin:-8px 0 16px;display:flex}.nouveau-sujet input{flex:200px;width:auto}.nouveau-sujet .erreur{flex-basis:100%;margin:0}.champ-mdp{gap:8px;display:flex}.champ-mdp input{flex:1;min-width:0}.secours{margin-top:24px}.mot-de-passe{margin:12px 0}.voir-mdp{align-items:center;gap:8px;font-weight:400;display:flex}.voir-mdp input{width:22px;height:22px}.export{flex-direction:column;align-items:flex-start;gap:8px;margin:16px 0;display:flex}.rappel{margin:0}.rappel.retard{color:#b00020;font-weight:700}
