* {box-sizing:border-box}
:root {color-scheme:light; font:100%/1.55 system-ui,sans-serif; color:#203833; background:#f5f4ed}
body {margin:0}
main {max-width:46rem; margin:auto; padding:1rem clamp(.85rem,4vw,2rem) 3rem}
header {display:flex; align-items:baseline; gap:1rem; padding:.5rem 0 .85rem; border-bottom:2px solid #426c60}
header strong {font: bold 2.3rem Georgia,serif; color:#17594c}
header span,footer,small {color:#4a6059}
h1 {font:normal 1.8rem Georgia,serif; margin:1.25rem 0}
fieldset {padding:0; margin:0; border:0; min-width:0}
nav,#actions,.boutons {display:flex; flex-wrap:wrap; align-items:center; gap:.45rem}
button,textarea,input {font:inherit}
button,summary {cursor:pointer}
button {min-height:2.75rem; max-width:100%; border:1px solid #96ada3; background:#fff; color:#194f44; padding:.45rem .85rem; border-radius:.6rem; text-align:left}
.principal,[aria-current="page"] {background:#19594b; color:white; border-color:#19594b}
button:disabled {color:#626e68; background:#e9ebe5; cursor:default}
:focus-visible {outline:3px solid #b85c17; outline-offset:2px}
#connexion,.saisie {display:grid; gap:.65rem; width:100%}
#connexion {max-width:24rem}
input,textarea {width:100%; padding:.7rem; border:1px solid #718c80; border-radius:.55rem; background:white; color:inherit}
textarea {min-height:5.5rem; resize:vertical}
.saisie button,#connexion button {justify-self:start}
#fil {display:grid; gap:.6rem; margin:.8rem 0}
.bulle {margin:0; padding:.75rem 1rem; border:1px solid #d8dfd5; border-radius:.9rem; white-space:pre-wrap; overflow-wrap:anywhere; background:#fff; max-width:95%; justify-self:start}
.moi {justify-self:end; background:#deece2; border-color:#c1d8ca}
.recap {display:grid; gap:.3rem; width:100%; margin:.45rem 0}
footer {display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-top:2rem; padding-top:1rem; border-top:1px solid #bdc9bd}
.discret,summary {font-size:.92rem; text-decoration:underline; color:#395b50}
.discret {border:0; background:transparent; white-space:nowrap}
#fiche-progres {white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; color:#203833}
footer {flex-wrap:wrap}
footer details[open] {flex-basis:100%; min-width:0}
#etat:not(:empty) {color:#743e1a; padding:.5rem; background:#fbefdc}
[hidden] {display:none !important}
@media(max-width:32rem){nav {display:grid; grid-template-columns:1fr 1fr} footer {flex-wrap:wrap}}

