/* VÉO v850 — haut de fiche compact, sans plage blanche inutile.
   Conserve la photo écran bord à bord (v849) et les onglets beige v845–847.
   Budget, livraison, avancement et suivi réunis sur UNE ligne. */
html body.veo-template-d .project-new-grid .project-new-copy {
  width:100%!important;
  max-width:1100px!important;
  align-self:center!important;
  margin:0 auto!important;
  padding:13px 0 8px!important;
  gap:0!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-kicker {
  margin:0 0 2px!important;
  font:630 11px/1.35 'Inter',Arial,sans-serif!important;
  letter-spacing:.025em!important;
}
html body.veo-template-d .project-new-grid .project-new-copy h1,
html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-long,
html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-xlong {
  margin:0 0 5px!important;
  font:650 clamp(23px,2.1vw,27px)/1.2 'Inter',Arial,sans-serif!important;
  letter-spacing:-.018em!important;
}
html body.veo-template-d .project-new-grid .project-new-badges {
  margin:0 0 6px!important;
  gap:6px 13px!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .veo-d-original-status{
  padding:3px 7px!important;
  font-size:11.5px!important;
}
html body.veo-template-d .project-new-grid .project-new-summary {
  max-width:1000px!important;
  margin:0!important;
  font:400 14px/1.5 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
}
html body.veo-template-d .project-new-grid .project-new-owner {
  margin:7px 0 0!important;
  padding:0!important;
  border:0!important;
}
html body.veo-template-d .project-new-grid .project-new-owner>span {
  font:500 11.5px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-owner strong {
  font:600 12px/1.4 'Inter',Arial,sans-serif!important;
}

/* One-row metadata and action. */
html body.veo-template-d .project-new-grid .veo-project-quick-row {
  order:6!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:28px!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:11px 0 5px!important;
  border-top:1px solid #e2e8ea!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-facts.veo-d-keyfacts {
  display:grid!important;
  grid-template-columns:minmax(0,.7fr) minmax(0,.9fr) minmax(170px,1.3fr)!important;
  align-items:center!important;
  column-gap:16px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-facts.veo-d-keyfacts>div {
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  min-height:0!important;
  background:transparent!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-facts.veo-d-keyfacts>div>span,
html body.veo-template-d .veo-project-quick-row .project-new-progress span {
  display:block!important;
  font:530 11px/1.32 'Inter',Arial,sans-serif!important;
  letter-spacing:0!important;
  color:#687a83!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-facts.veo-d-keyfacts>div>strong {
  display:block!important;
  margin:3px 0 0!important;
  color:#195B6E!important;
  font:630 13.5px/1.36 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-progress {
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-progress>div:first-child {
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:8px!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-progress strong {
  font:650 13px/1.3 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
}
html body.veo-template-d .veo-project-quick-row .project-new-progress-track {
  height:5px!important;
  margin-top:5px!important;
  border-radius:4px!important;
}
html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-actions {
  order:0!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:0!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-actions .pill {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:37px!important;
  width:auto!important;
  margin:0!important;
  padding:8px 14px!important;
  border-radius:5px!important;
  font:610 12.5px/1.35 'Inter',Arial,sans-serif!important;
  white-space:nowrap;
}

/* Secondary project facts do not take a full extra strip of whitespace. */
html body.veo-template-d .project-new-grid .veo-project-more-facts.veo-d-more{
  order:7!important;
  display:block!important;
  width:100%!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
html body.veo-template-d .project-new-grid .veo-project-more-facts.veo-d-more>summary{
  padding:6px 0 7px!important;
  margin:0!important;
  min-height:0!important;
  color:#195B6E!important;
  font:540 12px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .veo-project-more-facts-grid{
  background:#fff!important;
}

/* Keep a little spacing between header and beige lower section. */
html body.veo-template-d .project-new-body{
  padding-top:15px!important;
}
@media(max-width:1120px){
  html body.veo-template-d .project-new-grid .project-new-copy{
    width:100%!important;
    max-width:100%!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row{
    column-gap:18px!important;
  }
}
@media(max-width:760px){
  html body.veo-template-d .project-new-grid .project-new-copy{
    padding:12px 0 7px!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:10px 0 5px!important;
    margin-top:9px!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-facts.veo-d-keyfacts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px 12px!important;
  }
  html body.veo-template-d .veo-project-quick-row .project-new-progress{
    grid-column:1/-1!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-actions{
    justify-content:flex-start!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-actions .pill{
    min-height:36px!important;
    padding:8px 13px!important;
  }
}
@media(max-width:600px){
  html body.veo-template-d .project-new-grid .project-new-copy h1,
  html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-long,
  html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-xlong{
    font-size:22px!important;
    margin:0 0 5px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-summary{
    font-size:13.5px!important;
    line-height:1.45!important;
  }
  html body.veo-template-d .project-new-grid .project-new-owner{
    margin-top:6px!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-quick-row .project-new-facts.veo-d-keyfacts>div>strong{
    font-size:13px!important;
  }
}