
body.v3-dossier #vue-travail #nav-dossier,
body.v3-dossier #vue-travail .dossier-identite-ligne,
body.v3-dossier #vue-travail .deroulement-bandeau .bandeau-identite{display:none}
body.v3-dossier #vue-travail{background:#F5F4F1;padding:0}
body.v3-dossier[data-v3-onglet="kedros"] #vue-travail,
body.v3-dossier[data-v3-onglet="chiffres"] #vue-travail,
body.v3-dossier[data-v3-onglet="mails"] #vue-travail{background:#FFFFFF}
body.v3-dossier #vue-travail>.corps{display:block;max-width:none;margin:0;padding:0}
body.v3-dossier #vue-travail>.corps>.colonne{max-width:1240px;margin:0 auto;padding:20px 28px 40px}
body.v3-dossier[data-v3-onglet="documents"] #vue-travail>.corps>.colonne,
body.v3-dossier[data-v3-onglet="kedros"] #vue-travail>.corps>.colonne{max-width:none}
body.v3-dossier[data-v3-onglet="documents"] #vue-travail>.corps>.colonne{padding-left:12px;padding-right:12px}
.v3-plus-dossier{min-width:40px;padding:0 10px;font-size:18px;line-height:1;letter-spacing:1px}
body.v3 #entete-v3 .onglet-v3{border-radius:0}
@media (min-width:821px){
  body.v3-dossier #entete-v3 .onglets{overflow:visible}
}
.v3-gen{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}
.v3-gen-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.v3-carte{background:#FFFFFF;border:1px solid #E3E0D8;border-radius:12px;padding:14px 18px}
.v3-carte-tete{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
#rub-general .v3-carte-tete h3{margin:0;font-family:var(--v3-titre);font-weight:500;font-size:17px;
  color:#33352B;letter-spacing:0;text-transform:none}
.v3-carte-liens{display:flex;gap:12px;flex:none}
.v3-carte-corps{font-size:14.5px}
#rub-general .v3-lien{font-size:14px;font-weight:400;padding:0;min-height:0;background:none;border:none;
  color:#3C4A36;box-shadow:none}
.v3-ligne{margin:0 0 4px}
.v3-petit{font-size:13px}
.v3-averif{color:#8A5A00}
.v3-manque{color:#6B503A;font-style:italic}
.v3-groupe{margin:8px 0 2px}
.v3-groupe:first-child{margin-top:0}
.v3-pers{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline;padding:2px 0}
.v3-pers b{font-weight:500}
.v3-kv{display:grid;grid-template-columns:110px 1fr;gap:8px;padding:3px 0;border-top:1px solid #EFEDE8}
.v3-point{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0;
  border-top:1px solid #EFEDE8}
.v3-point:first-child{border-top:none}
.v3-phases{display:flex;gap:4px;margin:2px 0 6px}
.v3-phase{flex:1;height:6px;border-radius:3px;background:#EDEAE3}
.v3-phase.faite{background:#3C4A36}
.v3-phase.en_cours{background:linear-gradient(90deg,#3C4A36 50%,#C9C2AE 50%)}
.v3-phase.vide{background:#F5F4F1;border:1px dashed #C9C2AE}
.v3-gen-portes{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:18px 2px 8px}
#vue-travail #rub-general :is(button,summary){font-family:var(--v3-ui)}
#vue-travail #rub-general .v3-gen-portes .v3-lien{color:#5E6152}
#vue-travail #rub-general .v3-gen-portes .v3-lien:hover{color:#3C4A36}
.v3-gen-detail{margin-top:2px;padding:4px 2px}
.v3-gen-detail[open]{background:#FFFFFF;border:1px solid #E3E0D8;border-radius:12px;padding:10px 18px}
.v3-gen-detail>summary{cursor:pointer;color:#5E6152;font-size:14px;width:max-content;max-width:100%}
.v3-gen-detail>summary:hover{color:#3C4A36}
.v3-gen-detail[open]>summary{margin-bottom:10px}
.v3-gen-etapes>*{margin:8px 0}
.v3-telechargement{position:fixed;right:20px;bottom:20px;z-index:95;width:min(360px,calc(100vw - 32px));
  background:#FFFFFF;border:1px solid #E3E0D8;border-radius:12px;padding:12px 14px;
  box-shadow:0 6px 24px rgba(51,53,43,.12);font-size:14px;color:#33352B}
.v3-telechargement[hidden]{display:none}
.v3-telechargement progress{display:block;width:100%;height:8px;margin-top:8px;accent-color:#3C4A36}
.v3-dialogue{width:min(760px,calc(100vw - 32px));max-height:min(80vh,760px);padding:0;border:1px solid #E3E0D8;
  border-radius:14px;background:#FFFFFF;color:#33352B;font-family:var(--v3-ui);box-shadow:0 12px 40px rgba(51,53,43,.18)}
.v3-dialogue::backdrop{background:rgba(51,53,43,.28)}
.v3-dialogue-tete{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;
  border-bottom:1px solid #EFEDE8}
.v3-dialogue-tete h2,.v3-dialogue-tete h2{margin:0;font-family:var(--v3-titre);font-weight:500;font-size:19px}
.v3-dialogue-corps{padding:14px 18px 18px;overflow:auto;max-height:calc(min(80vh,760px) - 70px)}
.v3-biens .documents-cartes{grid-template-columns:1fr}
.v3-biens-dit,.dp-vigilance-dit{margin:10px 0 0;font-size:13px;color:#5E6152}
.v3-biens-dit:empty,.dp-vigilance-dit:empty{display:none}
:is(.v3-biens-dit,.dp-vigilance-dit).ok{color:#3F5A2E}
:is(.v3-biens-dit,.dp-vigilance-dit).erreur{color:#8A5A00}
.v3-versions{list-style:none;margin:8px 0 0;padding:0}
.v3-version{display:flex;flex-direction:column;gap:2px;padding:8px 0;border-top:1px solid #EFEDE8}
.v3-note-texte{white-space:pre-wrap;font-size:14.5px;line-height:1.55;margin-top:8px}
.v3-couverture-detail h3{margin:14px 0 2px;font-family:var(--v3-titre);font-weight:500;font-size:16px}
.v3-couverture-hors{margin-top:14px}
.v3-couverture-hors summary{cursor:pointer;font-size:13.5px;color:#6B6D62}
.v3-couverture-hors ul{margin:6px 0 0;padding-left:18px}
body.v3-dossier #vue-travail .rubrique>.carte>h2,
body.v3-dossier #vue-travail .rubrique>.carte>h3{font-family:var(--v3-titre);font-weight:500}
.v3-portes-calculs{display:none}
.v3-portes-calculs{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:0 2px 12px}
.v3-portes-calculs .v3-lien{font-size:14px;font-weight:400;padding:0}
@media (min-width:821px){
  body.v3-dossier #vue-travail>.corps>.colonne{padding-bottom:16px}
  #rub-general .v3-carte-corps{max-height:22dvh;overflow:auto}
  #v3-gen-parties .v3-carte-corps{max-height:26dvh}
  #rub-general.v3-gen-detail-ouvert>.v3-gen,
  #rub-general.v3-gen-detail-ouvert>.v3-gen-portes{display:none}
  #v3-gen-detail[open] .v3-gen-etapes{max-height:calc(100dvh - 250px);overflow:auto}
  #v3-gen-etapes .frise-pas{flex:1 1 60px;min-width:60px}
  #v3-gen-etapes .frise-pas button{padding-left:1px;padding-right:1px}
  #v3-gen-etapes .frise-nom{font-size:11.5px}
  #rub-calculs #cx-principaux{max-height:calc(100dvh - 330px);overflow:auto}
  #rub-calculs:has(.cx-autres[open]) #cx-principaux{max-height:34dvh}
  #rub-calculs .cx-autres[open] .cx-outils{max-height:calc(100dvh - 470px);min-height:140px;overflow:auto}
  body.v3-dossier #correspondance-emis,
  body.v3-dossier #correspondance-recu{max-height:calc(100dvh - 520px);min-height:140px;overflow:auto}
  body.v3-dossier #antecedent-resultats{max-height:34dvh;overflow:auto}
}
@media (max-width:820px){
  #vue-travail .contenu{padding:12px 16px 80px}
  body.v3-dossier #vue-travail>.corps>.colonne{padding:12px 12px 80px}
  .v3-gen{grid-template-columns:1fr}
  .v3-kv{grid-template-columns:90px 1fr}
}
#rub-correspondance .champ.mligne{display:flex;flex-direction:column;gap:2px;margin:0;
  padding:9px 12px;border:0;border-bottom:1px solid #ECE7DA;border-radius:0;
  background:none;font-size:13px;line-height:1.35}
#rub-correspondance .mligne-1,#rub-correspondance .mligne-3{display:flex;align-items:baseline;
  gap:8px;min-width:0}
#rub-correspondance .mligne-de{flex:1 1 auto;min-width:0;font-weight:500;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
#rub-correspondance .mligne-date{flex:none;font-size:12px;color:#6f6c62}
#rub-correspondance .mligne-2{min-width:0;color:#2f3a33;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
#rub-correspondance .mligne-3{font-size:12px;color:#7d7a70}
#rub-correspondance .mligne-etat{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
#rub-correspondance .mligne-etat .statut{margin-right:6px}
#rub-correspondance .mligne-gestes{flex:none;display:flex;gap:4px;align-items:baseline}
#rub-correspondance .mligne-gestes button{min-height:0;margin:0;padding:1px 8px;font-size:12px}
#rub-correspondance .mligne-format{flex:none;font-style:italic;white-space:nowrap}
body.v3-dossier #entete-v3 .meta .v3-nature{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
body.v3-dossier #entete-v3 .meta .v3-nature-geste{min-height:0;padding:1px 10px;font-size:13px;border-radius:7px}
body.v3-dossier #entete-v3 .meta .v3-nature-choix{font-size:13px;padding:1px 4px}
.v3-etapes-succ{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 4px}
.v3-etape-succ{border:1px solid #C9C2AE;background:#FFFFFF;border-radius:12px;padding:1px 9px;
  font-size:12px;line-height:1.5;color:#5E6152;cursor:pointer}
.v3-etape-succ.faite-fait{background:#3C4A36;border-color:#3C4A36;color:#FFFFFF}
.v3-etape-succ.faite-presume{background:#EDEAE3;border-style:dashed;color:#3C4A36}
.v3-etape-succ.faite-question{border-color:#8A5A00;color:#8A5A00}
@media (max-width:480px){
  body.v3-dossier #entete-v3 .onglets{gap:14px}
  body.v3-dossier #entete-v3 .onglet-v3{font-size:14px}
  .v3-carte{min-width:0;overflow-wrap:anywhere}
  .v3-carte-tete{flex-wrap:wrap;row-gap:0}
  .v3-carte-liens{flex:1 1 100%;flex-wrap:wrap;gap:0 16px}
  #rub-general .v3-carte-liens .v3-lien,#rub-general .v3-point .v3-lien{min-height:44px}
}
