/*
 * GE 2.5.276 - consolidação das anotações 1–64.
 * Este ficheiro é carregado depois de todas as folhas do painel.
 */

/* Pacotes: editor e catálogo como duas zonas claras e compactas. */
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-editor-disclosure,
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-hall-group{
  overflow:hidden;
  border:1px solid rgba(201,168,76,.22)!important;
  border-radius:18px!important;
  background:linear-gradient(150deg,rgba(255,255,255,.035),rgba(255,255,255,.012))!important;
}

/* GE 2.5.277 - revisão dos comentários 1 a 25. */
.ge-pay-confirm-card [data-pay-confirm]{
  border-color:#31c96f!important;
  background:#168a48!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(22,138,72,.28)!important;
}
.ge-pay-confirm-card [data-pay-cancel]{
  border-color:#ef5656!important;
  background:#b52d32!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(181,45,50,.22)!important;
}

body.ge-staff-v2-template .ge-staff-v2 .gsv2-upcoming-card{
  padding-top:10px!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-upcoming-card h2{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.ge-staff-v2-template .ge-staff-v2 .gsv2-upcoming-card .gsv2-upcoming{
  margin-top:9px!important;
}

body.ge-staff-v2-template .gs-page-agenda .ge-phase-event-plain{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:16px!important;
}
body.ge-staff-v2-template .gs-page-agenda .ge-phase-event-plain span{
  display:inline-flex!important;
  gap:5px!important;
  white-space:nowrap!important;
}

body.ge-staff-v2-template .gs-page-relatorios .ge-report-growth-card>.gs-card-head,
body.ge-staff-v2-template .gs-page-relatorios .ge-report-growth-card>.gs-card-head>div{
  width:100%!important;
  justify-content:center!important;
  text-align:center!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients{
  margin-top:28px!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients>.gs-card-head{
  margin-bottom:16px!important;
  text-align:center!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
  gap:16px!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-card-link{
  display:grid!important;
  grid-template-rows:auto auto auto auto 1fr auto!important;
  gap:10px!important;
  min-width:0!important;
  min-height:300px!important;
  padding:20px!important;
  border:1px solid rgba(201,168,76,.28)!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#131313,#090909)!important;
  box-shadow:0 20px 54px rgba(0,0,0,.3)!important;
  color:#f6f0e7!important;
  text-decoration:none!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-head,
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-identity{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-head{justify-content:space-between!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-avatar{
  display:grid!important;
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  place-items:center!important;
  border:1px solid rgba(201,168,76,.35)!important;
  border-radius:50%!important;
  background:rgba(201,168,76,.12)!important;
  color:var(--fived-gold-light)!important;
  font-weight:900!important;
}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients h3{margin:0!important;color:#fff!important;font-size:var(--ge-client-name-size,19px)!important;line-height:1.15!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients p,
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-note{margin:0!important;color:#aaa298!important;font-size:13px!important;line-height:1.55!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-stats span{display:block!important;padding:10px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;background:var(--fived-input)!important;color:#aaa298!important;font-size:11px!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-stats b{display:block!important;margin-top:4px!important;color:#fff!important;font-size:15px!important}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-open{justify-self:start!important;margin-top:4px!important}

body.ge-staff-v2-template .ge5d-detail-hall-label{
  width:100%!important;
  margin:7px 0 0!important;
  color:var(--fived-gold-light)!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.19em!important;
  line-height:1.4!important;
  text-align:center!important;
  text-transform:uppercase!important;
}
body.ge-staff-v2-template .ge5d-detail-action-group-staff>a.ge5d-btn:not(.ge5d-payment-btn){
  border-color:rgba(201,168,76,.48)!important;
  background:var(--fived-ink)!important;
  background-image:none!important;
  color:var(--fived-gold-light)!important;
  opacity:1!important;
}
body.ge-staff-v2-template .ge5d-detail-action-group-staff>.ge5d-payment-btn{
  border-color:#2dbf69!important;
  background:#147c42!important;
  background-image:none!important;
  color:#fff!important;
  opacity:1!important;
  box-shadow:0 12px 26px rgba(20,124,66,.24)!important;
}
body.ge-staff-v2-template .ge5d-steps .ge5d-step[data-ge-step="evento"]{
  align-items:center!important;
  min-height:58px!important;
}
body.ge-staff-v2-template .ge5d-steps .ge5d-step[data-ge-step="evento"]>div:last-child{
  display:flex!important;
  min-height:40px!important;
  align-items:center!important;
}
body.ge-staff-v2-template .ge5d-steps .ge5d-step[data-ge-step="evento"] h3{
  margin:0!important;
  font-size:18px!important;
  line-height:1.2!important;
}
body.ge-staff-v2-template .ge5d-history-panel [data-ge-history-item][hidden]{display:none!important}

@media(max-width:768px){
  body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-grid{
    display:flex!important;
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    padding:0 14px 10px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
  }
  body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-card-link{
    flex:0 0 calc(100vw - 28px)!important;
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
    scroll-snap-align:start!important;
  }
}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-editor-disclosure{margin-bottom:34px!important}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-editor-summary{min-height:78px!important;padding:18px 22px!important}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-cms-list-head{margin:4px 0 18px!important;padding-top:26px!important;border-top:1px solid rgba(201,168,76,.24)}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-hall-groups{display:grid;gap:12px}
body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-package-hall-summary{min-height:68px!important}

/* Relatórios. */
body.ge-staff-v2-template .gs-page-relatorios .ge-report-growth-chart{overflow-x:auto;scroll-behavior:smooth;overscroll-behavior-inline:contain}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-line-svg{min-width:980px}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-line-months .is-current-month{fill:#f4d86c!important;font-weight:800;font-size:15px}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients{margin-top:34px;padding-top:28px;border-top:1px solid rgba(201,168,76,.24)}
body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients>.gs-card-head{margin-bottom:18px}

/* Promoções: hierarquia mais legível e menos aspecto de formulário contínuo. */
body.ge-staff-v2-template .gs-page-promocoes{max-width:1180px!important}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-layout{display:grid;gap:30px}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-editor{
  padding:28px!important;
  border-color:rgba(201,168,76,.3)!important;
  background:radial-gradient(circle at 92% 0,rgba(201,168,76,.09),transparent 30%),linear-gradient(150deg,rgba(255,255,255,.045),rgba(255,255,255,.014))!important;
}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form{display:grid;gap:18px}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form-section{margin:0!important;padding:22px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:16px!important;background:rgba(0,0,0,.18)!important}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-targets:nth-of-type(even){background:rgba(201,168,76,.035)!important}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-check{min-height:52px;padding:11px 13px!important;border-radius:12px!important;background:rgba(255,255,255,.022)!important}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-save-panel{position:sticky;bottom:12px;z-index:8;margin-top:4px!important;border:1px solid rgba(201,168,76,.38)!important;box-shadow:0 18px 55px rgba(0,0,0,.46)}
body.ge-staff-v2-template .gs-page-promocoes .ge-promo-list{border-top:3px solid rgba(201,168,76,.42)!important}

/* Pagamentos: confirmação, processamento e validação. */
body.ge-staff-v2-template .ge-pay-shell>.gs-hero,
body.ge-staff-v2-template .ge-pay-shell>.gs-hero>div{text-align:center!important;justify-items:center!important}
body.ge-staff-v2-template .ge-pay-shell .ge-pay-form-footer{display:grid!important;justify-items:center!important;gap:12px!important}
body.ge-staff-v2-template .ge-pay-shell .ge-pay-form-footer>.gs-btn{width:min(360px,100%)!important;justify-content:center!important}
body.ge-staff-v2-template .ge-pay-shell .ge-pay-msg{width:100%;text-align:center}
body.ge-staff-v2-template .ge-pay-shell .ge-pay-msg .gs-bad,
body.ge-staff-v2-template .ge-pay-shell .gs-field.is-error::after{color:#ff6969!important}
.ge-pay-confirm-lightbox,
.ge-pay-success-lightbox,
.ge-pay-processing{
  position:fixed!important;
  inset:0!important;
  z-index:1000000!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
  background:rgba(0,0,0,.78)!important;
  backdrop-filter:blur(13px)!important;
}
.ge-pay-confirm-lightbox[hidden],.ge-pay-success-lightbox[hidden],.ge-pay-processing[hidden]{display:none!important}
.ge-pay-confirm-card,.ge-pay-success-card,.ge-pay-processing>div{
  width:min(460px,100%);
  padding:30px;
  border:1px solid rgba(201,168,76,.46);
  border-radius:20px;
  background:linear-gradient(155deg,#191919,#090909);
  box-shadow:0 34px 100px rgba(0,0,0,.68);
  color:var(--fived-ivory);
  text-align:center;
}
.ge-pay-confirm-card h2{margin:8px 0 10px;color:#fff;font:500 36px/1.05 "Cormorant Garamond",serif}
.ge-pay-confirm-card p{margin:0;color:#bdb5a9;line-height:1.65}
.ge-pay-confirm-card p strong{color:var(--fived-gold-light)}
.ge-pay-confirm-card>div{display:flex;justify-content:center;gap:10px;margin-top:24px}
.ge-pay-processing>div{display:grid;justify-items:center;gap:12px;width:min(360px,100%)}
.ge-pay-processing strong{font-size:17px}
.ge-pay-processing small,.ge-pay-success-card small{display:block;margin-top:9px;color:#9e978c}
.ge-pay-spinner{width:42px!important;height:42px!important;border:3px solid rgba(201,168,76,.22)!important;border-top-color:var(--fived-gold-light)!important;border-radius:50%!important;animation:gePaySpin .72s linear infinite!important}
@keyframes gePaySpin{to{transform:rotate(360deg)}}
body.ge-pay-modal-open,body.ge-pay-is-processing{overflow:hidden!important}

/* Emails: estilos críticos antecipam a pintura e o selector organiza os modelos. */
body.ge-staff-v2-template .ge-email-page-v2{visibility:hidden;opacity:0}
body.ge-staff-v2-template .ge-email-page-v2.is-ready{visibility:visible;opacity:1;transition:opacity .12s ease}
body.ge-staff-v2-template .ge-email-model-nav{margin:24px 0;padding:20px;border:1px solid rgba(201,168,76,.2);border-radius:18px;background:rgba(0,0,0,.18)}
body.ge-staff-v2-template .ge-email-model-nav-head h3{margin:6px 0 4px;color:#fff;font:500 28px/1.05 "Cormorant Garamond",serif}
body.ge-staff-v2-template .ge-email-model-nav-head p{margin:0;color:#9e978c;font-size:12px}
body.ge-staff-v2-template .ge-email-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;max-height:260px;overflow:auto;padding:3px;margin:18px 0 0!important}
body.ge-staff-v2-template .ge-email-tab{width:100%;min-height:42px;border-radius:10px!important;text-align:left;white-space:normal!important;line-height:1.35}

/* Estados, botões e cards de gestão. */
body.ge-staff-v2-template .gs-page-gestao-saloes .gs-pill-state.is-active{border-color:rgba(51,205,116,.52)!important;background:rgba(51,205,116,.12)!important;color:#65df99!important}
body.ge-staff-v2-template .gs-page-gestao-saloes .gs-pill-state.is-active i{background:#35d07f!important}
body.ge-staff-v2-template .gs-page-gestao-saloes .gs-pill-state.is-inactive{border-color:rgba(255,82,82,.48)!important;background:rgba(255,82,82,.11)!important;color:#ff8585!important}
body.ge-staff-v2-template .gs-page-gestao-saloes .gs-pill-state.is-inactive i{background:#ff5f5f!important}
body.ge-staff-v2-template .ge-service-edit-btn,
body.ge-staff-v2-template .ge-team-edit-link{display:inline-flex!important;width:auto!important;min-height:40px;align-items:center;justify-content:center;text-decoration:none!important}
body.ge-staff-v2-template .ge-team-edit-link{padding-inline:18px!important}

/* Vagas: editor recolhível, campos com contagem e catálogo mais visual. */
body.ge-staff-v2-template .ge-vacancy-editor-disclosure{overflow:hidden;margin-bottom:32px;border:1px solid rgba(201,168,76,.3);border-radius:20px;background:linear-gradient(150deg,rgba(201,168,76,.07),rgba(255,255,255,.015))}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary{display:flex;min-height:82px;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;cursor:pointer;list-style:none}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary::-webkit-details-marker{display:none}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary span{display:grid;gap:5px}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary small{color:var(--fived-gold);font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary strong{color:#fff;font:500 30px/1 "Cormorant Garamond",serif}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary i{width:14px;height:14px;border-right:2px solid #d8b84f;border-bottom:2px solid #d8b84f;transform:rotate(45deg);transition:transform .2s ease}
body.ge-staff-v2-template .ge-vacancy-editor-disclosure[open]>summary i{transform:rotate(225deg)}
body.ge-staff-v2-template .ge-vacancy-editor-content{padding:0 18px 18px}
body.ge-staff-v2-template .ge-vacancy-editor-content>.gs-card>.gs-card-head{display:none!important}
body.ge-staff-v2-template .ge-vacancy-char-counter{display:block;margin-top:6px;color:#8f887d;text-align:right;font-size:11px}
body.ge-staff-v2-template .ge-vacancy-list-head{padding:24px 0 18px!important;border-top:1px solid rgba(201,168,76,.25)}
body.ge-staff-v2-template .ge-vacancy-card{overflow:hidden;border-color:rgba(201,168,76,.18)!important;transition:transform .2s ease,border-color .2s ease}
body.ge-staff-v2-template .ge-vacancy-card:hover{transform:translateY(-2px);border-color:rgba(201,168,76,.4)!important}

/* Ficha de reserva: menos comandos, resumo imersivo e histórico corrigido. */
body.ge-staff-v2-template .ge5d-operational-time{display:flex;align-items:end;gap:10px;margin:0 0 18px;padding:15px;border:1px solid rgba(201,168,76,.2);border-radius:14px;background:rgba(201,168,76,.045)}
body.ge-staff-v2-template .ge5d-operational-time label{display:grid;flex:1;gap:7px;color:var(--fived-gold);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.ge-staff-v2-template .ge5d-operational-time input,
body.ge-staff-v2-template .ge5d-step-state-control select{min-height:42px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#090909;color:var(--fived-ivory);padding:0 12px}
body.ge-staff-v2-template .ge5d-step-state-control{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important}
body.ge-staff-v2-template .ge5d-detail-summary-panel{padding-top:18px!important}
body.ge-staff-v2-template .ge5d-summary-head{justify-content:flex-end!important;text-align:right!important}
body.ge-staff-v2-template .ge5d-package-line>strong{display:block;margin-top:16px!important;font-size:clamp(22px,2.2vw,30px)!important;line-height:1.1}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(1)::before{content:"Data"!important}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(2)::before{content:"Método / acção"!important}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(3)::before{content:"Referência"!important}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(4)::before{content:"Comprovativo"!important}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(5)::before{content:"Registado por"!important}
body.ge-staff-v2-template .ge5d-history-table td:nth-child(6)::before{content:"Valor"!important}
body.ge-staff-v2-template .ge-pay-table tbody td:nth-child(2)::before{content:"Método"!important}
body.ge-staff-v2-template .ge-pay-table tbody td:nth-child(3)::before{content:"Referência"!important}

@media(max-width:768px){
  /* Dashboard: remove o contentor de alertas vazio e dá uma página inteira à reserva. */
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-alert-card{display:none!important}
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-layout>.gsv2-left>#reservas{
    position:relative!important;left:50%!important;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:0!important;border-radius:0!important;
  }
  body.ge-staff-v2-template .ge-staff-v2 #reservas .gsv2-reservation-list,
  body.ge-staff-v2-template .ge-staff-v2 #reservas .gsv2-reservation{
    width:100%!important;max-width:100%!important;
  }

  /* Agenda: um evento por ecrã e data/hora no mesmo alinhamento. */
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-section{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-inline:0!important}
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-track{width:100vw!important;padding-inline:0!important}
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card{flex:0 0 100vw!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;border-radius:0!important;padding-inline:20px!important}
  body.ge-staff-v2-template .gs-page-agenda .ge-phase-event-plain{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:16px!important}
  body.ge-staff-v2-template .gs-page-agenda .ge-phase-event-plain span{display:inline-flex!important;white-space:nowrap!important;gap:5px!important}

  /* Relatórios e promoções. */
  body.ge-staff-v2-template .gs-page-relatorios .ge-report-line-svg{min-width:960px}
  body.ge-staff-v2-template .gs-page-relatorios .ge-report-clients .ge-client-grid{width:100vw!important;margin-left:calc(50% - 50vw)!important;padding-inline:14px!important}
  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-editor{padding:16px!important;border-radius:16px!important}
  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form-section{padding:16px!important}
  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-save-panel{position:static!important}

  /* Pagamentos. */
  .ge-pay-confirm-card,.ge-pay-success-card,.ge-pay-processing>div{padding:24px 18px;border-radius:16px}
  .ge-pay-confirm-card>div{display:grid;grid-template-columns:1fr;gap:9px}
  .ge-pay-confirm-card .gs-btn{width:100%!important}

  /* Emails: cada bloco anotado ocupa a largura útil inteira. */
  body.ge-staff-v2-template .ge-email-model-nav{padding:15px;margin-inline:0}
  body.ge-staff-v2-template .ge-email-tabs{display:none!important}
  body.ge-staff-v2-template .ge-email-model-picker{display:block!important;margin:14px 0 0!important}
  body.ge-staff-v2-template .ge-email-team-section,
  body.ge-staff-v2-template .ge-email-vars,
  body.ge-staff-v2-template .ge-email-preview,
  body.ge-staff-v2-template .ge-email-report-preview{
    position:relative!important;left:50%!important;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:0!important;border-radius:0!important;padding-left:18px!important;padding-right:18px!important;
  }
  body.ge-staff-v2-template .ge-email-template-shell,
  body.ge-staff-v2-template .ge-email-report-preview-grid{grid-template-columns:1fr!important}
  body.ge-staff-v2-template .ge-email-preview{position:relative!important;top:auto!important}

  /* Salões, serviços e equipa. */
  body.ge-staff-v2-template .ge-service-edit-btn{width:100%!important;min-width:112px!important}
  body.ge-staff-v2-template .gs-page-team>.gs-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ge-staff-v2-template .gs-page-team .ge-team-grid-v2{display:flex!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;padding:0!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}
  body.ge-staff-v2-template .gs-page-team .ge-team-member{flex:0 0 100vw!important;width:100vw!important;max-width:100vw!important;min-width:100vw!important;border-radius:0!important;padding:22px!important;scroll-snap-align:start!important;text-align:center!important}
  body.ge-staff-v2-template .gs-page-team .ge-team-edit-link{width:100%!important}

  /* Vagas. */
  body.ge-staff-v2-template .ge-vacancy-editor-disclosure{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;border-radius:0!important}
  body.ge-staff-v2-template .ge-vacancy-editor-disclosure>summary{padding:17px 16px}
  body.ge-staff-v2-template .ge-vacancy-editor-content{padding:0 0 16px}
  body.ge-staff-v2-template .ge-vacancy-editor-content>.gs-card{border-radius:0!important;border-inline:0!important}

  /* Ficha da reserva. */
  body.ge-staff-v2-template .ge5d-detail-progress{display:none!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel{overflow:visible!important;padding-inline:0!important;border-inline:0!important;background:transparent!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-summary-card{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;grid-template-columns:1fr!important;padding:0!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-summary-img{width:100vw!important;max-width:100vw!important;min-height:280px!important;border-radius:0!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-summary-img img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-summary-content{width:100vw!important;max-width:100vw!important;padding:24px 20px!important;text-align:center!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-summary-head{justify-content:center!important;text-align:center!important}
  body.ge-staff-v2-template .ge5d-detail-summary-panel .ge5d-details-grid{text-align:center!important}
  body.ge-staff-v2-template .ge5d-detail-back-btn{background:#090909!important;background-image:none!important;color:var(--fived-gold-light)!important;border-color:rgba(201,168,76,.5)!important}
  body.ge-staff-v2-template .ge5d-operational-time{display:grid;grid-template-columns:1fr;padding:13px}
  body.ge-staff-v2-template .ge5d-operational-time .ge5d-mini-btn{width:100%!important}
  body.ge-staff-v2-template .ge5d-step-state-control{grid-template-columns:1fr!important}
  body.ge-staff-v2-template .ge5d-step-state-control .ge5d-mini-btn{width:100%!important}
}

/* Shared search with a compact filter icon across staff pages. */
html body.ge-staff-v2-template .ge-staff-v2 form.gsv2-global-filter-form[data-ge-global-filter-form] {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  gap:12px!important;
  align-items:start!important;
  max-width:none!important;
}
html body.ge-staff-v2-template .ge-staff-v2 form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-search {
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-filter-trigger {
  grid-column:2!important;
  grid-row:1!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  position:relative;
  width:48px;
  height:48px;
  padding:10px;
  margin:0;
  border:1px solid rgba(213,179,83,.5);
  border-radius:12px;
  background:rgba(12,14,17,.9);
  color:#e7c96f;
  cursor:pointer;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-filter-trigger svg{width:21px;height:21px}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-filter-trigger[aria-expanded="true"],
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-filter-trigger:focus-visible{outline:2px solid #e7c96f;outline-offset:2px}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-filter-count{position:absolute;top:-7px;right:-7px;min-width:19px;padding:2px 4px;border-radius:20px;background:#d5b353;color:var(--fived-panel);font-size:10px;font-weight:800}
html body.ge-staff-v2-template .ge-staff-v2 form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-toolbar{grid-column:1/-1!important;grid-row:2!important;width:100%!important;margin:0!important}
html body.ge-staff-v2-template .ge-staff-v2 form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-more{grid-column:1/-1!important;grid-row:3!important;width:100%!important;max-width:none!important;margin:0!important}
html body.ge-staff-v2-template .ge-staff-v2 form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-footer{grid-column:1/-1!important;grid-row:4!important;width:100%!important;margin:0!important;justify-content:flex-start!important}
/* The icon is the only visible disclosure control once JavaScript is active. */
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-search{
  grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;min-width:0!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-trigger{
  grid-column:2!important;grid-row:1!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters>.gsv2-filter-more>summary{
  display:none!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters>.gsv2-filter-more:not([open]){
  display:none!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters>.gsv2-filter-more[open]{
  display:block!important;grid-column:1/-1!important;width:100%!important;max-width:none!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form].ge5d-js-filters>.gsv2-filter-more[open]>.gsv2-filter-grid{
  display:grid!important
}
html body .gsv2-app form.gsv2-global-filter-form[data-ge-global-filter-form]>.gsv2-filter-footer{
  grid-column:1/-1!important
}
/* Dashboard search and alerts share the first row on wide screens. */
.gsv2-app .gsv2-dashboard-tools{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
  margin-bottom:22px!important;
}
.gsv2-app .gsv2-dashboard-tools>.gsv2-global-filterbar,
.gsv2-app .gsv2-dashboard-tools>.gsv2-alert-card{
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important
}
@media(min-width:1200px){
  .gsv2-app .gsv2-dashboard-tools:has(>.gsv2-alert-card){
    grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important;
  }
}
/* Keep the shared staff search and filters as controls, without an enclosing card. */
html body .ge-staff-v2 .gsv2-app .gsv2-global-filterbar{
  position:relative!important;
  top:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html body .ge-staff-v2 .gsv2-app .gsv2-global-filterbar>.gsv2-global-filter-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body .ge-staff-v2 .gsv2-app .gsv2-global-filterbar>.gsv2-global-filter-form::after{
  content:none!important;
  display:none!important;
}
/* Compact side-widget headings with breathing room for the alerts. */
html body .ge-staff-v2 .gsv2-app .gsv2-dashboard-tools > .gsv2-alert-card{
  box-sizing:border-box!important;
  padding:16px 18px!important;
}
html body .ge-staff-v2 .gsv2-app .gsv2-alert-card h2,
html body .ge-staff-v2 .gsv2-app .gsv2-upcoming-card h2{
  font-size:clamp(20px,1.6vw,22px)!important;
  line-height:1.18!important;
}
html body .ge-staff-v2 .gsv2-app .gsv2-alert-card h2 .gsv2-section-toggle,
html body .ge-staff-v2 .gsv2-app .gsv2-upcoming-card h2 .gsv2-section-toggle{
  font-size:inherit!important;
  line-height:inherit!important;
}
/* Compact alert counts without changing their values. */
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-app .gsv2-alert-card .gsv2-alert-num{
  font-size:18px!important;
  line-height:1.1!important;
}
/* Dashboard filter controls use compact dimensions at each breakpoint. */
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-more[open] > .gsv2-filter-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-field{
  gap:5px!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-field :is(input,select,.gsv2-select-button){
  height:42px!important;
  min-height:42px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
@media(max-width:768px){
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools 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;
    gap:8px!important;
  }
}
@media(max-width:480px){
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-more[open] > .gsv2-filter-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
/* Match the width and gutter of the upcoming-events column. */
@media(min-width:1200px){
  .gsv2-app .gsv2-dashboard-tools:has(>.gsv2-alert-card){
    grid-template-columns:minmax(0,1fr) 340px!important;
    column-gap:24px!important;
  }
}
/* Center dashboard search and actions within mobile gutters. */
@media(max-width:768px){
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-app .gsv2-dashboard-tools > section.gsv2-global-filterbar{
    width:calc(100% - 32px)!important;
    max-width:calc(100% - 32px)!important;
    margin:0 auto 18px!important;
    box-sizing:border-box!important;
  }
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-app .gsv2-dashboard-tools > section.gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-app .gsv2-dashboard-tools > section.gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-footer{
    display:grid!important;
    grid-column:1/-1!important;
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    justify-self:stretch!important;
    justify-content:stretch!important;
    gap:8px!important;
    margin:0!important;
  }
  html body.ge-staff-v2-template .ge-staff-v2 .gsv2-app .gsv2-dashboard-tools > section.gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-footer > .gsv2-btn{
    width:100%!important;
    min-width:0!important;
  }
}
/* Align dashboard search and expanded filters to one grid. */
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools > .gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  column-gap:12px!important;
  align-items:start!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools > .gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-search{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  justify-self:stretch!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools > .gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-trigger{
  grid-column:2!important;
  grid-row:1!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools > .gsv2-global-filterbar > form.gsv2-global-filter-form[data-ge-global-filter-form] > .gsv2-filter-more[open]{
  grid-column:1/-1!important;
  grid-row:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools > .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;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-grid{
  width:100%!important;
  justify-items:stretch!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-grid > .gsv2-filter-field{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
  grid-template-columns:minmax(0,1fr)!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-grid > .gsv2-filter-field > span{
  text-align:left!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-field > :is(.gsv2-select,input,select:not(.gsv2-native-select-hidden)){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
}
html body.ge-staff-v2-template .ge-staff-v2 .gsv2-dashboard-tools .gsv2-filter-field .gsv2-select-button{
  width:100%!important;
  max-width:none!important;
}