/* Página Propriedades: ajuste isolado e reversível. */
body.bovigestor-properties-page .properties-main-v1{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding-right:clamp(18px,3vw,42px)!important;
}
body.bovigestor-properties-page .properties-intro-v1{
  width:100%!important;
  max-width:none!important;
}
body.bovigestor-properties-page .properties-card-v1{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-top:24px!important;
  padding:clamp(20px,2.4vw,32px)!important;
  border:1px solid #dbe6df!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 26px rgba(20,72,43,.07)!important;
}
body.bovigestor-properties-page .properties-form-v1{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px 22px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  align-items:start!important;
}
body.bovigestor-properties-page .properties-field-v1{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
body.bovigestor-properties-page .properties-field-v1 label,
body.bovigestor-properties-page .properties-field-v1 small,
body.bovigestor-properties-page .properties-field-v1 p{
  overflow-wrap:anywhere!important;
}
body.bovigestor-properties-page .properties-control-v1{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:46px!important;
}
body.bovigestor-properties-page .properties-action-v1{
  min-height:46px!important;
}
body.bovigestor-properties-page .properties-form-v1 > .properties-action-v1,
body.bovigestor-properties-page .properties-form-v1 > div:has(.properties-action-v1){
  grid-column:1/-1!important;
}

/* Com propriedades existentes, o cadastro deixa de competir com a ação diária de abrir a fazenda. */
body.bovigestor-properties-page .properties-register-details-v1{
  box-sizing:border-box!important;
  width:100%!important;
  margin:18px 0 22px!important;
  border:1px solid #d8e5dd!important;
  border-radius:16px!important;
  background:#fbfdfc!important;
  overflow:hidden!important;
}
body.bovigestor-properties-page .properties-register-details-v1>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:15px 18px!important;
  cursor:pointer!important;
  list-style:none!important;
  color:#24533d!important;
  font-weight:800!important;
}
body.bovigestor-properties-page .properties-register-details-v1>summary::-webkit-details-marker{display:none!important}
body.bovigestor-properties-page .properties-register-details-v1>summary:after{
  content:'＋';
  color:#27714d!important;
  font-size:19px!important;
  line-height:1!important;
}
body.bovigestor-properties-page .properties-register-details-v1[open]>summary:after{content:'−'}
body.bovigestor-properties-page .properties-register-details-v1>summary small{
  display:block!important;
  margin-top:3px!important;
  color:#6d7d75!important;
  font-size:12px!important;
  font-weight:500!important;
}
body.bovigestor-properties-page .properties-register-details-v1 .properties-card-v1{
  margin:0!important;
  border:0!important;
  border-top:1px solid #e3ece7!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Confirmações de arquivar/restaurar/excluir: mais respiro e hierarquia visual. */
body.bovigestor-properties-page .properties-confirm-modal-v1{
  box-sizing:border-box!important;
  width:min(92vw,620px)!important;
  max-width:620px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(20,72,43,.10)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(18,46,31,.24)!important;
}
body.bovigestor-properties-page .properties-confirm-modal-v1 > *{
  box-sizing:border-box!important;
}
body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-title-v1{
  margin:0!important;
  padding:24px 30px 18px!important;
}
body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-message-v1{
  margin:0!important;
  padding:0 30px 26px!important;
  line-height:1.55!important;
}
body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-actions-v1{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  padding:18px 30px 26px!important;
}
body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-actions-v1 button,
body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-actions-v1 a{
  min-height:44px!important;
  padding:10px 18px!important;
  border-radius:11px!important;
}

@media(max-width:1180px){
  body.bovigestor-properties-page .properties-form-v1{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.bovigestor-properties-page .properties-main-v1{padding-left:10px!important;padding-right:10px!important}
  body.bovigestor-properties-page .properties-card-v1{padding:16px!important;border-radius:14px!important}
  body.bovigestor-properties-page .properties-form-v1{grid-template-columns:1fr!important;gap:16px!important}
  body.bovigestor-properties-page .properties-action-v1{width:100%!important}
  body.bovigestor-properties-page .properties-register-details-v1{margin:12px 0 18px!important;border-radius:14px!important}
  body.bovigestor-properties-page .properties-register-details-v1>summary{padding:13px 14px!important}
  body.bovigestor-properties-page .properties-register-details-v1 .properties-card-v1{border-radius:0!important}
  body.bovigestor-properties-page .properties-confirm-modal-v1{width:calc(100vw - 28px)!important;border-radius:18px!important}
  body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-title-v1{padding:20px 20px 14px!important}
  body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-message-v1{padding:0 20px 22px!important}
  body.bovigestor-properties-page .properties-confirm-modal-v1 .properties-confirm-actions-v1{padding:16px 20px 20px!important;flex-wrap:wrap!important}
}