/* GE 2.5.238 - targeted staff refinements loaded after legacy bundles. */
body.ge-staff-v2-template .gs-page-gestao-saloes .ge-hall-card__address{display:flex!important;align-items:flex-start!important;gap:8px!important}
body.ge-staff-v2-template .gs-page-gestao-saloes .ge-hall-card__address-icon{display:inline-flex!important;flex:0 0 17px!important;width:17px!important;height:17px!important;margin-top:2px!important;color:var(--fived-gold-light)!important}
body.ge-staff-v2-template .gs-page-gestao-saloes .ge-hall-card__address-icon svg{display:block!important;width:100%!important;height:100%!important}
body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-open{justify-self:start!important;margin-right:auto!important;margin-left:0!important}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-gallery-summary{display:flex!important;align-items:baseline!important;gap:8px!important;margin-top:12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:rgba(245,240,232,.72)!important;font-size:12px!important}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-gallery-summary strong{color:var(--fived-gold-light)!important;font-size:10px!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .gs-table{table-layout:auto!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .gs-table th:first-child,
body.ge-staff-v2-template .gs-page-extras-e-servicos .gs-table td:first-child{width:36%!important;min-width:280px!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .ge-service-title-flex,
body.ge-staff-v2-template .gs-page-extras-e-servicos .ge-service-title-flex>div{width:100%!important;min-width:0!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .ge-service-title-flex{grid-template-columns:minmax(0,1fr)!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .ge-service-title-flex small:not(.ge-service-type-pill){display:block!important;width:100%!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important}
body.ge-staff-v2-template .gs-page-extras-e-servicos .ge-service-title-flex .ge-service-order{color:var(--fived-gold-light)!important;font-size:9px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.ge-staff-v2-template .ge-cms-edit-card .ge-editor-premium .ge-service-order-field{grid-column:1!important}
body.ge-staff-v2-template .ge-cms-edit-card .gs-media-field>small{display:block!important;grid-column:1 / -1!important;order:10!important;margin:7px 0 0!important;padding:0!important;color:rgba(245,240,232,.62)!important;font-size:12px!important;line-height:1.5!important}
@media(max-width:768px){
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots{width:100%!important;max-width:100%!important;gap:5px!important;padding-inline:8px!important;overflow:hidden!important}
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots button{flex:0 0 6px!important;width:6px!important;min-width:6px!important;max-width:6px!important;height:8px!important;padding:0!important;border-radius:999px!important}
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots button.is-active{flex-basis:14px!important;width:14px!important;min-width:14px!important;max-width:14px!important}
}

/* GE 2.5.239 - acabamentos móveis em serviços e relatórios. */
.ge-staff-v2 .gsv2-global-filterbar .gsv2-filter-more{display:contents}
.ge-staff-v2 .gsv2-global-filterbar .gsv2-filter-more>summary{display:none}
.ge-staff-v2 .gsv2-global-filterbar .gsv2-filter-more>.gsv2-filter-grid{display:grid!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-doc-actions .gs-btn{
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
}
@media(max-width:768px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-extras-e-servicos .gs-table-card .ge-cms-list-head{
    width:100%!important;
    max-width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more{
    display:block!important;
    width:100%!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more>summary{
    display:flex!important;
    min-height:46px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:10px 14px!important;
    border:1px solid rgba(201,168,76,.32)!important;
    border-radius:14px!important;
    background:rgba(201,168,76,.06)!important;
    color:var(--fived-gold-light)!important;
    cursor:pointer!important;
    list-style:none!important;
    box-sizing:border-box!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more>summary::-webkit-details-marker{display:none!important}
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more>summary span{
    font-size:10px!important;
    font-weight:900!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more>summary small{
    flex:1!important;
    color:rgba(245,240,232,.58)!important;
    font-size:10px!important;
    line-height:1.3!important;
    text-align:right!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more>summary::after{
    content:""!important;
    flex:0 0 8px!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid currentColor!important;
    border-bottom:2px solid currentColor!important;
    transform:rotate(45deg) translateY(-2px)!important;
    transition:transform .2s ease!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more[open]>summary::after{
    transform:rotate(225deg) translate(-2px,-2px)!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more:not([open])>.gsv2-filter-grid{display:none!important}
  body.ge-staff-v2-template .gs-page-relatorios .gsv2-filter-more[open]>.gsv2-filter-grid{
    display:grid!important;
    margin-top:12px!important;
  }
}

/* GE refinement: compact reservation carousel navigation on mobile. */
@media(max-width:768px){
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    gap:12px!important;
    margin:14px 0 4px!important;
    padding:0!important;
    overflow:visible!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav button{
    display:grid!important;
    place-items:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:0!important;
    border:1px solid rgba(232,212,139,.28)!important;
    border-radius:50%!important;
    background:rgba(232,212,139,.06)!important;
    color:var(--fived-gold-light)!important;
    position:relative!important;
    font-size:0!important;
    line-height:0!important;
    cursor:pointer!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav button::before{
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    width:8px!important;
    height:8px!important;
    border-top:2px solid currentColor!important;
    border-right:2px solid currentColor!important;
    content:""!important;
    transform-origin:center!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav [data-ge-reservas-prev]::before{
    transform:translate(-38%,-50%) rotate(-135deg)!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav [data-ge-reservas-next]::before{
    transform:translate(-62%,-50%) rotate(45deg)!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots.is-compact-nav button:disabled{
    opacity:.28!important;
    cursor:default!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-counter{
    min-width:74px!important;
    color:rgba(245,240,232,.82)!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.12em!important;
    text-align:center!important;
  }
}

/* GE 2.5.243 - filtros dos relatórios: acções próximas no desktop e expansão no mobile/tablet. */
@media(min-width:1025px){
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"]{
    grid-template-columns:auto minmax(280px,420px) auto minmax(0,1fr)!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-title{
    grid-column:1!important;
    grid-row:1!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-search{
    grid-column:2!important;
    grid-row:1!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-footer{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:start!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more{
    display:contents!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary{
    display:none!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>.gsv2-filter-grid{
    grid-column:4!important;
    grid-row:1!important;
    display:grid!important;
  }
}

@media(max-width:1024px){
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more{
    display:block!important;
    width:100%!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary{
    display:flex!important;
    min-height:46px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:10px 14px!important;
    border:1px solid rgba(201,168,76,.32)!important;
    border-radius:14px!important;
    background:rgba(201,168,76,.06)!important;
    color:var(--fived-gold-light)!important;
    cursor:pointer!important;
    list-style:none!important;
    box-sizing:border-box!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary::-webkit-details-marker{
    display:none!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary span{
    font-size:10px!important;
    font-weight:900!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary small{
    flex:1!important;
    color:rgba(245,240,232,.58)!important;
    font-size:10px!important;
    line-height:1.3!important;
    text-align:right!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more>summary::after{
    content:""!important;
    flex:0 0 8px!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid currentColor!important;
    border-bottom:2px solid currentColor!important;
    transform:rotate(45deg) translateY(-2px)!important;
    transition:transform .2s ease!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more[open]>summary::after{
    transform:rotate(225deg) translate(-2px,-2px)!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more:not([open])>.gsv2-filter-grid{
    display:none!important;
  }
  body.ge-staff-v2-template .gsv2-global-filter-form[action*="/relatorios/"] .gsv2-filter-more[open]>.gsv2-filter-grid{
    display:grid!important;
    margin-top:12px!important;
  }
}

/* GE 2.5.244 - composição final: disclosure em linha própria e grelha a 100%. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]{
  grid-template-columns:auto minmax(280px,420px) auto minmax(0,1fr)!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
  display:block!important;
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:100%!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
  width:min(340px,100%)!important;
  margin-inline:auto!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
  grid-column:3!important;
  grid-row:1!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
  width:100%!important;
  margin-top:12px!important;
}

@media(max-width:1024px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]{
    grid-template-columns:1fr!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
    grid-column:1!important;
    grid-row:3!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
    grid-column:1!important;
    grid-row:4!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
    width:100%!important;
  }
}

/* GE 2.5.248 - barra de relatórios e protecção contra sobreposições. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-toolbar{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:end!important;
  min-width:0!important;
}
body.ge-staff-v2-template .gsv2-filter-toolbar .ge-report-doc-actions{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ge-staff-v2-template .gsv2-filter-toolbar .ge-report-doc-actions>.gs-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin:0!important;
  white-space:nowrap!important;
}

@media(min-width:1281px) and (max-width:1520px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-kpi-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-kpi-row .gsv2-metric:nth-child(2)::after{
    display:none!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-kpi-row .gsv2-metric:nth-child(n+3)::before{
    content:""!important;
    position:absolute!important;
    left:24px!important;
    right:24px!important;
    top:0!important;
    height:1px!important;
    background:linear-gradient(90deg,rgba(201,168,76,0),rgba(201,168,76,.34),rgba(201,168,76,0))!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-kpi-row .gsv2-metric>strong{
    width:auto!important;
    height:auto!important;
    line-height:1.18!important;
    overflow-wrap:anywhere!important;
  }
}

@media(max-width:1024px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-toolbar{
    grid-column:1!important;
    grid-row:4!important;
    justify-self:stretch!important;
    width:100%!important;
  }
  body.ge-staff-v2-template .gsv2-filter-toolbar .ge-report-doc-actions>.gs-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    white-space:normal!important;
  }
}

@media(max-width:768px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-toolbar{
    margin-top:12px!important;
  }
  body.ge-staff-v2-template .gsv2-filter-toolbar .ge-report-doc-actions>.gs-actions{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* GE 2.5.243 - estado vazio da auditoria centrado sem afectar registos reais. */
body.ge-staff-v2-template .gsv2-dashboard-audit .ge-audit-list>.ge-audit-empty{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:64px!important;
  margin-inline:auto!important;
  text-align:center!important;
}
body.ge-staff-v2-template .gsv2-dashboard-audit .ge-audit-list>.ge-audit-empty small{
  display:block!important;
  margin-top:6px!important;
  text-align:center!important;
}

/* GE 2.5.244 - "Mais filtros" visivel em todas as barras globais e breakpoints. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]{
  grid-template-columns:auto minmax(280px,420px) minmax(220px,300px) auto minmax(0,1fr)!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-title{
  grid-column:1!important;
  grid-row:1!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
  grid-column:2!important;
  grid-row:1!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
  display:contents!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
  display:flex!important;
  grid-column:3!important;
  grid-row:1!important;
  width:100%!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:9px 13px!important;
  border:1px solid rgba(201,168,76,.32)!important;
  border-radius:14px!important;
  background:rgba(201,168,76,.06)!important;
  color:var(--fived-gold-light)!important;
  cursor:pointer!important;
  list-style:none!important;
  box-sizing:border-box!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary::-webkit-details-marker{
  display:none!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary span{
  flex:0 0 auto!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary small{
  min-width:0!important;
  flex:1!important;
  overflow:hidden!important;
  color:rgba(245,240,232,.58)!important;
  font-size:9px!important;
  line-height:1.25!important;
  text-align:right!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary::after{
  content:""!important;
  flex:0 0 8px!important;
  width:8px!important;
  height:8px!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  transform:rotate(45deg) translateY(-2px)!important;
  transition:transform .2s ease!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>summary::after{
  transform:rotate(225deg) translate(-2px,-2px)!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
  grid-column:4!important;
  grid-row:1!important;
  justify-self:start!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more:not([open])>.gsv2-filter-grid{
  display:none!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
  display:grid!important;
  grid-column:1 / -1!important;
  grid-row:2!important;
  margin-top:12px!important;
}

@media(max-width:1024px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]{
    grid-template-columns:1fr!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-title{
    grid-column:1!important;
    grid-row:1!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
    grid-column:1!important;
    grid-row:2!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
    grid-column:1!important;
    grid-row:3!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
    grid-column:1!important;
    grid-row:4!important;
    width:100%!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
    grid-column:1!important;
    grid-row:5!important;
  }
}

/* GE 2.5.245 - composição final dos filtros globais.
   Pesquisa -> disclosure -> campos -> acções, em todos os breakpoints. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]{
  grid-template-columns:auto minmax(280px,420px) minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  align-items:start!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-title{
  grid-column:1!important;
  grid-row:1 / 4!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
  grid-column:2!important;
  grid-row:1!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
  display:block!important;
  grid-column:2 / -1!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
  width:min(420px,100%)!important;
  margin:0!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px!important;
  width:100%!important;
  margin:18px 0 0!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-filter-field{
  position:relative!important;
  display:grid!important;
  gap:8px!important;
  min-width:0!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-filter-field>span{
  position:static!important;
  display:block!important;
  min-height:12px!important;
  line-height:1.2!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
  grid-column:2 / -1!important;
  grid-row:3!important;
  justify-self:start!important;
  justify-content:flex-start!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
}

@media(max-width:1024px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-title{
    grid-column:1!important;
    grid-row:1!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
    grid-column:1!important;
    grid-row:2!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
    grid-column:1!important;
    grid-row:3!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more>summary{
    width:100%!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin-top:14px!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
    grid-column:1!important;
    grid-row:4!important;
    justify-self:stretch!important;
    width:100%!important;
  }
}

/* GE 2.5.246 - filtros avançados compactos no desktop. */
@media(min-width:1025px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more[open]>.gsv2-filter-grid{
    grid-template-columns:repeat(6,max-content)!important;
    justify-content:start!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-filter-field{
    width:max-content!important;
    max-width:220px!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-select{
    width:max-content!important;
    min-width:118px!important;
    max-width:220px!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-select-button,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more .gsv2-filter-field select{
    width:auto!important;
    min-width:118px!important;
    max-width:220px!important;
    height:42px!important;
    min-height:42px!important;
    padding-inline:16px 34px!important;
  }
}

/* GE 2.5.247 - pesquisa sem rótulo lateral e com ícone de lupa. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]{
  grid-template-columns:minmax(280px,420px) minmax(0,1fr)!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
  grid-column:1!important;
  grid-row:1!important;
  padding-left:44px!important;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:16px center!important;
  background-size:17px 17px!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
  grid-column:1 / -1!important;
  grid-row:2!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
  form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
  grid-column:1 / -1!important;
  grid-row:3!important;
}

@media(max-width:1024px){
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
    grid-column:1!important;
    grid-row:1!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-more{
    grid-column:1!important;
    grid-row:2!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar
    form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
    grid-column:1!important;
    grid-row:3!important;
  }
}

/* 5D 2026-09-02: dashboard mobile recolhido e sem contaminacao rosa nos toggles. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle,
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle:hover,
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle:focus,
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle:focus-visible,
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle:active{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:inherit!important;
  filter:none!important;
  transform:none!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-section-toggle:focus-visible{
  outline:1px solid rgba(232,212,139,.68)!important;
  outline-offset:5px!important;
}
@media(max-width:768px){
  body.ge-staff-v2-template [data-dashboard-collapsible]:not(.is-dashboard-collapse-ready) [data-dashboard-section-content]{display:none!important}
}

/* Estados da Agenda: apenas a cor do texto segue o estado real da reserva. */
body.ge-staff-v2-template .ge-agenda-card-status{
  width:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ge-staff-v2-template .ge-agenda-card-status.st-marcada,
body.ge-staff-v2-template .ge-agenda-card-status.st-pendente{color:#fbbf24!important}
body.ge-staff-v2-template .ge-agenda-card-status.st-fechado_parcial,
body.ge-staff-v2-template .ge-agenda-card-status.st-pagamento_parcial{color:#60a5fa!important}
body.ge-staff-v2-template .ge-agenda-card-status.st-fechado,
body.ge-staff-v2-template .ge-agenda-card-status.st-confirmada,
body.ge-staff-v2-template .ge-agenda-card-status.st-concluida{color:#22c55e!important}
body.ge-staff-v2-template .ge-agenda-card-status.st-cancelada,
body.ge-staff-v2-template .ge-agenda-card-status.st-expirada{color:#ff5252!important}

/* Agenda sem o painel exterior: o conteúdo assenta directamente no workspace. */
body.ge-staff-v2-template .ge-staff-v2 .gs-page.gs-page-agenda{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Agenda: cartões completos dentro da faixa, sem fuga lateral. */
@media(min-width:1200px){
  body.ge-staff-v2-template .ge-staff-v2.ge-staff-v2-inner-page .gsv2-app .gsv2-workspace .gs-page.gs-page-agenda .ge-agenda-upcoming-section .ge-agenda-upcoming-track>.ge-agenda-unified-card{
    flex:0 0 calc((100% - 36px) / 3)!important;
    width:calc((100% - 36px) / 3)!important;
    min-width:0!important;
    max-width:calc((100% - 36px) / 3)!important;
  }
}
@media(min-width:769px) and (max-width:1199px){
  body.ge-staff-v2-template .ge-staff-v2.ge-staff-v2-inner-page .gsv2-app .gsv2-workspace .gs-page.gs-page-agenda .ge-agenda-upcoming-section .ge-agenda-upcoming-track>.ge-agenda-unified-card{
    flex:0 0 calc((100% - 18px) / 2)!important;
    width:calc((100% - 18px) / 2)!important;
    min-width:0!important;
    max-width:calc((100% - 18px) / 2)!important;
  }
}

/* Filter icon is the only disclosure when its script is bound. */
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters > .gsv2-filter-more:not([open]){
  display:none!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters > .gsv2-filter-more[open]{
  display:block!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-global-filterbar form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters > .gsv2-filter-more > summary{
  display:none!important;
}