@font-face {
  font-family: Fraunces;
  src: url('/fraunces-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --fond: #f9f5ee;
  --papier: #fffdfa;
  --encre: #143933;
  --second: #49655e;
  --sarcelle: #0c4f4c;
  --vert: #1c8a83;
  --pale: #e7f1eb;
  --orange: #f29a4a;
  --trait: #dedfd4;
  --danger: #8a382c;
  --rayon: 20px;
  font: 16px/1.5 system-ui,sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  min-width: 0;
}
h1,h2,h3,p {
  margin: 0;
}
h1,h2 {
  font-family: Fraunces,Georgia,serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1 {
  font-size: clamp(2rem,5vw,3.45rem);
}
h2 {
  font-size: clamp(1.4rem,2vw,1.85rem);
}
h3 {
  font-size: 1rem;
  line-height: 1.35;
}
a {
  color: var(--sarcelle);
  text-underline-offset: .2em;
}
button,input,textarea,select {
  font: inherit;
}
button,select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: .55;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #a65928;
  outline-offset: 3px;
}
[hidden] {
  display: none!important;
}
.charge {
  padding: 2rem;
}
.icone {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.marque {
  font: 800 1.65rem/1 Fraunces,Georgia,serif;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.identite {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.boitier {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 14.25rem minmax(0,1fr);
}
.rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  height: 100dvh;
  padding: 1.75rem 1.05rem 1rem;
  background: #103f3c;
  color: #fff9ee;
  overflow: auto;
}
.rail .identite {
  margin-left: .38rem;
}
.espace {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem;
  background: #ffffff0d;
  border: 1px solid #ffffff25;
  border-radius: 13px;
  min-width: 0;
}
.espace strong,.espace small {
  display: block;
  overflow-wrap: anywhere;
}
.espace strong {
  font-size: .87rem;
}
.espace small {
  font-size: .8rem;
  color: #e0eee7;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--sarcelle);
  font-size: .8rem;
  font-weight: 800;
  object-fit: cover;
}
.espace .avatar {
  border-radius: 10px;
  background: #ddede5;
}
.navigation {
  display: grid;
  gap: .25rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: .68rem;
  min-height: 46px;
  text-align: left;
  padding: .5rem .75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-weight: 650;
  font-size: .94rem;
}
.rail .nav:hover,.rail .nav[aria-current=page] {
  background: #ffffff19;
}
.rail .nav[aria-current=page] .icone {
  color: #ffc38c;
}
.sortie {
  margin-top: auto;
}
.rail .profil-nom {
  margin: .3rem .7rem .25rem;
  color: #e0eee7;
  font-size: .88rem;
  overflow-wrap: anywhere;
}
.trame {
  min-width: 0;
}
.bandeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 75px;
  padding: .55rem clamp(1rem,3.4vw,3.1rem);
  border-bottom: 1px solid var(--trait);
  background: #fffdf8;
}
.bandeau .identite,.navigation-mobile {
  display: none;
}
.emplacement {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  min-width: 0;
}
.emplacement select {
  width: auto;
  max-width: 100%;
  background: #fffdf8;
  margin: 0;
}
.etiquette {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: .18rem .55rem;
  border: 1px solid #e5d7bd;
  background: #fbebd2;
  color: #70441c;
  border-radius: 20px;
  font-size: .79rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.etiquette.vert {
  color: #155241;
  background: #e8f1e8;
  border-color: #d8e8db;
}
.pastille {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .35rem;
  border-radius: 99px;
  color: #583015;
  background: #ffdbb5;
  font-size: .77rem;
  font-weight: 800;
  line-height: 1;
}
.contenu {
  width: min(100%,81rem);
  margin: auto;
  padding: 1.9rem clamp(1rem,3.4vw,3.1rem) 3rem;
  min-width: 0;
}
.titre-page {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .7rem 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.titre-page .date-titre {
  color: var(--second);
  font-size: .9rem;
  font-weight: 680;
  margin-bottom: .18rem;
}
.sous-texte {
  color: var(--second);
  font-size: .91rem;
}
.rangee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
}
.bouton,.bouton-icone {
  border: 1px solid var(--trait);
  border-radius: 10px;
  background: var(--papier);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .5rem .82rem;
  text-decoration: none;
  font-weight: 710;
  font-size: .91rem;
  line-height: 1.25;
  text-align: center;
}
.bouton:hover,.bouton-icone:hover {
  background: #edf1e9;
}
.bouton-icone {
  width: 44px;
  padding: .5rem;
}
.bouton.primaire {
  background: var(--sarcelle);
  color: #fffdf4;
  border-color: var(--sarcelle);
}
.bouton.primaire:hover {
  background: #176662;
}
.bouton.texte {
  border-color: transparent;
  background: transparent;
  padding-inline: .45rem;
}
.bouton.danger {
  color: var(--danger);
}
.bouton[aria-pressed=true],.onglet[aria-pressed=true] {
  background: var(--pale);
  border-color: #91b1a4;
  color: #164d43;
}
.carte {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.25rem;
  min-width: 0;
}
.carte h2 .icone {
  display: inline-block;
  vertical-align: middle;
  margin-right: .3rem;
}
.grille-accueil {
  display: grid;
  grid-template-columns: minmax(0,1.62fr) minmax(16rem,1fr);
  gap: 1rem;
  align-items: start;
}
.colonne {
  display: grid;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}
.service {
  color: #fff9ea;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 0;
  padding: 1.28rem 1.35rem 1.35rem;
  background: linear-gradient(115deg,#0c4f4c,#146b64);
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 100% 119%,#fff6ea20 0 1px,transparent 1px 22px);
  pointer-events: none;
}
.service .bouton {
  background: #ffffff10;
  color: #fff9ea;
  border-color: #ffffff60;
}
.service .bouton:hover {
  background: #ffffff27;
}
.service .sous-texte {
  color: #e1f0e8;
}
.chiffres {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: .95rem;
}
.chiffre {
  padding: .3rem .65rem .2rem 0;
}
.chiffre+.chiffre {
  border-left: 1px solid #ffffff55;
  padding-left: .95rem;
}
.chiffre strong {
  display: block;
  color: #ffd0a3;
  font: 800 2.25rem/1 Fraunces,Georgia,serif;
}
.chiffre span {
  display: block;
  font-size: .88rem;
  margin-top: .3rem;
}
.barre {
  display: block;
  width: 100%;
  height: .47rem;
  margin: .8rem 0 .55rem;
  appearance: none;
  border: 0;
  border-radius: 1rem;
  background: #e3ebe3;
  overflow: hidden;
  accent-color: var(--sarcelle);
}
.barre::-webkit-progress-bar {
  background: #e3ebe3;
}
.barre::-webkit-progress-value {
  background: #207568;
}
.barre::-moz-progress-bar {
  background: #207568;
}
.liste {
  display: grid;
  gap: 0;
  margin: .55rem 0 0;
  padding: 0;
  list-style: none;
}
.liste>li+li {
  border-top: 1px solid var(--trait);
}
.tache {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .3rem;
  min-height: 53px;
}
.tache label {
  display: grid;
  grid-template-columns: 1.55rem minmax(0,1fr);
  gap: .65rem;
  align-items: center;
  min-height: 53px;
  cursor: pointer;
  padding: .3rem 0;
}
.tache input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--sarcelle);
}
.tache small,.jour-quart small,.bloc-liste small {
  display: block;
  color: var(--second);
  font-size: .84rem;
}
.tache .termine {
  color: var(--second);
  text-decoration: line-through;
}
.phase {
  margin-top: 1.15rem;
  color: #33544b;
  font-weight: 800;
}
.bloc-liste {
  border-bottom: 1px solid var(--trait);
  padding: .72rem 0;
  overflow-wrap: anywhere;
}
.bloc-liste:last-child {
  border-bottom: 0;
}
.bloc-liste p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.entete-carte {
  margin-bottom: .5rem;
}
.aucun {
  padding: .5rem 0;
  color: var(--second);
}
.onglets {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
}
.onglet {
  min-height: 44px;
  padding: .45rem .75rem;
  border: 1px solid var(--trait);
  border-radius: 9px;
  background: var(--papier);
  font-weight: 700;
  font-size: .9rem;
}
.calendrier {
  margin-top: 1rem;
  display: grid;
  gap: .5rem;
}
.calendrier.semaine {
  grid-template-columns: repeat(7,minmax(0,1fr));
}
.calendrier.mois {
  grid-template-columns: repeat(7,minmax(0,1fr));
}
.case-date {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 44px;
  padding: .35rem .5rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-weight: 800;
  font-size: .88rem;
}
.case-date[aria-current=date] {
  background: var(--pale);
  color: #0e554a;
}
.case-date:hover {
  background: #e8efe7;
}
.jour-cal {
  min-width: 0;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 12px;
  padding: .28rem;
}
.jour-cal.hors-mois {
  background: transparent;
}
.jour-quart {
  padding: .4rem .35rem;
  border-top: 1px solid var(--trait);
  overflow-wrap: anywhere;
  font-size: .9rem;
}
.jour-quart strong {
  display: block;
}
.jour-quart .actions {
  gap: 0;
}
.jour-quart .bouton {
  justify-content: flex-start;
  text-align: left;
  font-size: .83rem;
}
.liste-jours {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}
.outils-horaire {
  margin-top: 1rem;
}
.flex-message {
  display: grid;
  grid-template-columns: minmax(11rem,.65fr) minmax(0,1.8fr);
  gap: 1rem;
}
.canaux .nav {
  width: 100%;
  justify-content: space-between;
}
.canaux .nav[aria-pressed=true],.canaux .nav:hover {
  background: var(--pale);
}
.discussion {
  min-width: 0;
}
.messages {
  height: min(47vh,32rem);
  min-height: 15rem;
  overflow: auto;
  padding: .4rem .25rem .5rem 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.message {
  max-width: 86%;
  padding: .62rem .8rem;
  margin: .6rem 0;
  background: #f2eee5;
  border-radius: 13px 13px 13px 4px;
  overflow-wrap: anywhere;
}
.message.moi {
  margin-left: auto;
  background: var(--pale);
  border-radius: 13px 13px 4px 13px;
}
.message p {
  white-space: pre-wrap;
}
.message small {
  color: var(--second);
  display: block;
  font-size: .78rem;
}
.ecrire {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .45rem;
  align-items: end;
  margin-top: .55rem;
}
.ecrire label {
  margin-bottom: 0;
}
.ecrire textarea {
  resize: vertical;
  min-height: 53px;
}
.champs {
  display: grid;
  gap: .75rem;
  margin-top: .85rem;
}
label.champ {
  display: grid;
  gap: .25rem;
  font-weight: 650;
}
input:not([type=checkbox]),textarea,select {
  width: 100%;
  min-width: 0;
  border: 1px solid #a9b6ab;
  border-radius: 8px;
  padding: .45rem .65rem;
  background: white;
  color: var(--encre);
  min-height: 44px;
}
input[type=file] {
  padding: .4rem;
}
fieldset {
  margin: 0;
  border: 1px solid var(--trait);
  border-radius: 9px;
  padding: .6rem;
}
fieldset label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: .6rem;
  gap: .25rem;
}
fieldset input[type=checkbox] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--sarcelle);
}
.duo {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .55rem;
}
.calcule {
  margin: 1rem 0 0;
  border: 1px solid #dbc8a7;
  border-radius: 12px;
  background: #ffefd6;
  padding: 1rem;
}
.calcule ul {
  margin: .4rem 0 0;
  padding-left: 1.3rem;
}
dialog {
  width: min(92vw,31rem);
  max-height: 90dvh;
  border: 1px solid var(--trait);
  border-radius: 18px;
  padding: 1.2rem;
  background: var(--papier);
  color: var(--encre);
  overflow: auto;
}
dialog::backdrop {
  background: #0e302bae;
}
dialog h2 {
  padding-right: .25rem;
}
dialog form+.actions,dialog form .actions {
  margin-top: .35rem;
}
dialog .erreur,.erreur {
  color: var(--danger);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  z-index: 4;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: min(89vw,26rem);
  background: #123f39;
  color: white;
  padding: .72rem 1rem;
  border-radius: 12px;
  box-shadow: 0 3px 15px #10201d3b;
  overflow-wrap: anywhere;
}
.toast[data-erreur] {
  background: #813b30;
}
.connexion {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: radial-gradient(ellipse at 98% -10%,#deeee2,transparent 56%),var(--fond);
}
.connexion .carte {
  width: min(100%,29rem);
  padding: clamp(1.1rem,4vw,2rem);
}
.connexion h1 {
  font-size: 2.25rem;
  margin-top: 1.25rem;
}
.connexion .sous-texte {
  margin-top: .35rem;
}
.connexion .bouton {
  margin-top: .35rem;
}
.sr {
  width: 1px;
  height: 1px;
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1100px){
  .calendrier.semaine {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .boitier {
    grid-template-columns: 12rem minmax(0,1fr);
  }
}
@media (max-width: 850px){
  .boitier {
    grid-template-columns: minmax(0,1fr);
  }
  .rail {
    display: none;
  }
  .bandeau {
    min-height: 64px;
  }
  .bandeau .identite {
    display: flex;
  }
  .bandeau .logo {
    width: 37px;
    height: 37px;
  }
  .bandeau .marque {
    font-size: 1.4rem;
  }
  .bandeau>.etiquette {
    display: none;
  }
  .emplacement .icone {
    display: none;
  }
  .emplacement select {
    min-height: 44px;
    padding: .35rem;
  }
  .navigation-mobile {
    position: fixed;
    z-index: 3;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--papier);
    border-top: 1px solid var(--trait);
    padding: .18rem .15rem calc(.18rem + env(safe-area-inset-bottom));
    box-shadow: 0 -3px 16px #3738280e;
  }
  .navigation-mobile .nav {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: .2rem;
    font-size: .78rem;
    min-height: 53px;
    padding: .28rem .1rem;
    overflow-wrap: anywhere;
  }
  .navigation-mobile .nav[aria-current=page] {
    background: var(--pale);
    color: var(--sarcelle);
  }
  .contenu {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(4rem + env(safe-area-inset-bottom));
    right: .8rem;
  }
}
@media (max-width: 640px){
  .grille-accueil,.flex-message {
    grid-template-columns: minmax(0,1fr);
  }
  .carte {
    padding: 1rem;
  }
  .contenu {
    padding-top: 1rem;
  }
  .titre-page {
    margin-bottom: 1rem;
  }
  .calendrier.semaine {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .calendrier.mois .case-date {
    min-height: 44px;
    padding: 0;
    text-align: center;
  }
  .calendrier.mois {
    gap: .18rem;
  }
  .calendrier.mois .jour-cal {
    padding: 0;
  }
  .flex-message .canaux {
    padding: .45rem;
  }
  .canaux .navigation {
    display: flex;
    gap: .15rem;
    flex-wrap: wrap;
  }
  .canaux .nav {
    width: auto;
    font-size: .86rem;
    padding: .3rem .55rem;
    gap: .25rem;
  }
  .duo {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,8.2rem),1fr));
  }
}
@media (max-width: 390px){
  .navigation-mobile .nav {
    font-size: .70rem;
  }
  .bandeau {
    padding-inline: .55rem;
  }
  .emplacement select {
    max-width: 47vw;
  }
  .service .rangee .bouton {
    font-size: .83rem;
  }
}
.centre {
  text-align: center;
}
.connexion .etiquette {
  margin-top: 1rem;
}
.notice-mobile {
  display: none;
}
.jour-entete {
  padding: .2rem;
  color: var(--second);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}
@media (max-width: 850px){
  .notice-mobile {
    display: block;
    padding: .32rem clamp(.55rem,3.4vw,3.1rem);
    background: #fbebd2;
    color: #70441c;
    font-weight: 700;
    font-size: .8rem;
  }
}
@media (max-width: 390px){
  .navigation-mobile .nav {
    font-size: .69rem;
  }
}
.notice-mobile .avatar {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}
@media (max-width: 850px){
  .notice-mobile {
    display: flex;
    align-items: center;
    gap: .4rem;
  }
}
@media (max-width: 640px){
  .calendrier.mois .quantite-quarts {
    display: none;
  }
}
.legende-calendrier {
  margin-top: .7rem;
}
.actions .bouton[aria-pressed=true]::before,.onglets .bouton[aria-pressed=true]::before {
  content: '✓';
  font-weight: 850;
}
.types-offre {
  display: grid;
  gap: .15rem;
}
.types-offre input[type=radio] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 .2rem 0 0;
  min-height: 0;
  accent-color: var(--sarcelle);
}
.message small:last-child {
  line-height: 1.55;
}
@media (max-width: 850px){
  .boitier {
    height: 100dvh;
    grid-template-rows: minmax(0,1fr) auto;
    overflow: hidden;
  }
  .trame {
    grid-row: 1;
    overflow: auto;
    scroll-padding-block-end: 1rem;
  }
  .navigation-mobile {
    position: static;
    grid-row: 2;
  }
  .contenu {
    padding-bottom: 1.75rem;
  }
  .navigation-mobile .nav span {
    white-space: nowrap;
    font-weight: 660;
  }
}
@media (max-width: 390px){
  .navigation-mobile .nav {
    font-size: .67rem;
    letter-spacing: -.02em;
  }
}
@media (max-width: 350px){
  .bandeau {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    padding-block: .45rem;
  }
  .emplacement select {
    width: 100%;
    max-width: none;
  }
}
