/* Revisão de guia: conteúdo centralizado, menos esticado e paleta neutra. */
html body .p2-billing-dialog.bgr-dialog[open]{
 width:min(1440px,calc(100vw - 48px))!important;
 max-width:min(1440px,calc(100vw - 48px))!important;
 height:min(900px,calc(100dvh - 32px))!important;
 max-height:calc(100dvh - 32px)!important;
 background:#f7f6f1!important;
 border:1px solid #d9e1dc!important;
 box-shadow:0 24px 72px rgba(25,60,83,.20)!important;
}
html body .p2-billing-dialog.bgr-dialog>header,
html body .p2-billing-dialog.bgr-dialog .bgr-tabs,
html body .p2-billing-dialog.bgr-dialog .bgr-save-footer,
html body .p2-billing-dialog.bgr-dialog [data-modal-feedback]{
 background:#fbfaf6!important;
}
html body .p2-billing-dialog.bgr-dialog>.p2-billing-dialog-body{
 background:#f7f6f1!important;
 padding:14px 18px 20px!important;
}
html body .p2-billing-dialog.bgr-dialog .bgr-panel{
 width:min(1260px,100%)!important;
 margin:0 auto!important;
 background:#f7f6f1!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-complete,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-form,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-top,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-grid{
 background:#f7f6f1!important;
}
html body .p2-billing-dialog.bgr-dialog .bgr-tabs{
 justify-content:flex-start!important;
 gap:8px!important;
 padding:8px 18px 0!important;
 border-bottom:1px solid #d9e1dc!important;
}
html body .p2-billing-dialog.bgr-dialog .bgr-tabs button{
 min-height:38px!important;
 padding:8px 14px 9px!important;
 border:1px solid transparent!important;
 border-bottom:3px solid transparent!important;
 border-radius:9px 9px 0 0!important;
 color:#5d6b65!important;
}
html body .p2-billing-dialog.bgr-dialog .bgr-tabs button.is-active{
 background:#eef4ef!important;
 color:#176b58!important;
 border-color:#d5e4dc!important;
 border-bottom-color:#176b58!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-top{
 grid-template-columns:1fr!important;
 gap:8px!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-grid{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:9px 12px!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field.is-wide{
 grid-column:span 2!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field.is-full{
 grid-column:1/-1!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field input,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field select,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field textarea{
 background:#fff!important;
 border-color:#cedbd4!important;
 box-shadow:0 1px 2px rgba(31,72,60,.04)!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field input:focus,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field select:focus,
html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field textarea:focus{
 border-color:#7fb3a1!important;
 outline:2px solid rgba(23,107,88,.10)!important;
 outline-offset:0!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-billing-guide-procedures fieldset,
html body .p2-billing-dialog.bgr-dialog .p2-session-calendar,
html body .p2-billing-dialog.bgr-dialog .p2-billing-filters{
 background:#fff!important;
 border-color:#d8e2dc!important;
}
html body .p2-billing-dialog.bgr-dialog [data-bgr-panel="procedures"]{
 width:min(1180px,100%)!important;
}
html body .p2-billing-dialog.bgr-dialog [data-calendar]{
 grid-template-columns:minmax(520px,1.25fr) minmax(280px,.75fr)!important;
 gap:16px!important;
}
html body .p2-billing-dialog.bgr-dialog .p2-calendar-sessions{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:1100px){
 html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 html body .p2-billing-dialog.bgr-dialog [data-calendar]{
  grid-template-columns:1fr!important;
 }
}
@media(max-width:700px){
 html body .p2-billing-dialog.bgr-dialog[open]{
  width:calc(100vw - 10px)!important;
  max-width:calc(100vw - 10px)!important;
  height:calc(100dvh - 10px)!important;
  max-height:calc(100dvh - 10px)!important;
 }
 html body .p2-billing-dialog.bgr-dialog>.p2-billing-dialog-body{padding:10px!important}
 html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-grid{grid-template-columns:1fr!important}
 html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field.is-wide,
 html body .p2-billing-dialog.bgr-dialog .p2-guide-exact-field.is-full{grid-column:auto!important}
 html body .p2-billing-dialog.bgr-dialog .p2-calendar-sessions{grid-template-columns:1fr!important}
}
