/* DSA CRM v11.68 — bandeau mandat compact, statut lisible et informations agrandies. */
#v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head{
  min-height:0!important;
  height:auto!important;
}

/* Une ancienne règle positionnait tous les enfants du bandeau en relatif :
   le grand statut occupait alors une ligne entière et créait la zone blanche. */
#v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head>.v1167-status-watermark{
  position:absolute!important;
  z-index:1!important;
  top:auto!important;
  right:28px!important;
  bottom:-14px!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:72%!important;
  margin:0!important;
  color:var(--v1167-state)!important;
  opacity:.12!important;
  font-size:clamp(86px,7.8vw,124px)!important;
  font-weight:850!important;
  line-height:.82!important;
  letter-spacing:-.072em!important;
  text-shadow:0 1px 0 color-mix(in srgb,var(--v1167-state) 16%,transparent);
}
#v-mandat-detail.v1167-polished .v1165-headerbar{z-index:4!important}
#v-mandat-detail.v1167-polished .v1165-primary-grid{
  position:relative!important;
  z-index:auto!important;
  min-height:0!important;
}
#v-mandat-detail.v1167-polished .v1165-primary-section{
  position:relative;
  z-index:2;
  min-height:0!important;
  padding:19px 24px 20px!important;
}
#v-mandat-detail.v1167-polished .v1165-primary-section>header{margin-bottom:15px}

/* Lisibilité du bandeau principal. */
#v-mandat-detail.v1167-polished .v1165-primary-section>header span{font-size:9.75px}
#v-mandat-detail.v1167-polished .v1165-primary-section>header strong{font-size:22px;line-height:1.18}
#v-mandat-detail.v1167-polished .v1165-fact>span{font-size:9.25px;line-height:1.3}
#v-mandat-detail.v1167-polished .v1165-fact>strong,
#v-mandat-detail.v1167-polished .v1165-fact>div{font-size:13.5px;line-height:1.48}
#v-mandat-detail.v1167-polished .v1165-vehicle-tags b{font-size:11.5px}
#v-mandat-detail.v1167-polished .v1165-vehicle-tags span{font-size:10.5px}
#v-mandat-detail.v1167-polished .v1165-file-line>span,
#v-mandat-detail.v1167-polished .v1165-file-line>small{font-size:11.5px}

/* Même progression légère dans les informations secondaires. */
#v-mandat-detail.v1167-polished .mandat-tab{font-size:13px!important}
#v-mandat-detail.v1167-polished #mandat-section-overview .mandat-summary-title{font-size:15px}
.v1167-card-heading span{font-size:9.75px}
.v1167-card-heading small{font-size:11.5px}
.v1167-detail-group>header{font-size:13px}
.v1167-detail-fact span{font-size:8.75px}
.v1167-detail-fact strong{font-size:12.5px;line-height:1.45}

body.dark #v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head>.v1167-status-watermark{
  opacity:.17!important;
}

@media(max-width:1180px){
  #v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head>.v1167-status-watermark{
    right:20px!important;
    bottom:-10px!important;
    font-size:clamp(78px,10vw,112px)!important;
  }
}
@media(max-width:760px){
  #v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head>.v1167-status-watermark{
    right:12px!important;
    bottom:-7px!important;
    max-width:88%!important;
    opacity:.095!important;
    font-size:64px!important;
  }
  #v-mandat-detail.v1167-polished .v1165-primary-section{padding:17px 18px 18px!important}
  #v-mandat-detail.v1167-polished .v1165-primary-section>header strong{font-size:20px}
  #v-mandat-detail.v1167-polished .v1165-fact>strong,
  #v-mandat-detail.v1167-polished .v1165-fact>div{font-size:13px}
}
@media(max-width:430px){
  #v-mandat-detail.v1167-polished .mandat-page-head.v1165-unified-head>.v1167-status-watermark{
    right:7px!important;
    bottom:-4px!important;
    font-size:52px!important;
  }
}
