/*
 * 5D Eventos - final mobile refinement layer.
 * Keep this file last in the cascade and scoped to mobile viewports.
 */

@media (max-width: 768px) {
  :root {
    --ge5d-mobile-gutter: 16px;
    --ge5d-mobile-section-gap: 24px;
    --ge5d-mobile-control-height: 48px;
  }

  html {
    width: 100%;
    overflow-x: clip;
  }

  body:not(.wp-admin) {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  body:not(.wp-admin) *,
  body:not(.wp-admin) *::before,
  body:not(.wp-admin) *::after {
    min-width: 0;
    box-sizing: border-box;
  }

  body:not(.wp-admin) img,
  body:not(.wp-admin) video,
  body:not(.wp-admin) iframe {
    max-width: 100%;
  }

  body:not(.wp-admin) h1,
  body:not(.wp-admin) h2,
  body:not(.wp-admin) h3,
  body:not(.wp-admin) p,
  body:not(.wp-admin) a,
  body:not(.wp-admin) button,
  body:not(.wp-admin) label,
  body:not(.wp-admin) td,
  body:not(.wp-admin) th {
    overflow-wrap: anywhere;
  }

  body:not(.wp-admin) button,
  body:not(.wp-admin) input,
  body:not(.wp-admin) select,
  body:not(.wp-admin) textarea {
    max-width: 100%;
    font-size: 16px;
  }

  body:not(.wp-admin) button,
  body:not(.wp-admin) [type="button"],
  body:not(.wp-admin) [type="submit"],
  body:not(.wp-admin) .ge5d-btn,
  body:not(.wp-admin) .gs-btn {
    min-height: 44px;
  }

  /* Shared public page rhythm. */
  body:not(.ge-staff-v2-template) .ge5d-wrap,
  body:not(.ge-staff-v2-template) .ge5d-salao-wrap,
  body:not(.ge-staff-v2-template) .ge-login-v56-shell,
  body:not(.ge-staff-v2-template) .ge5d-profile-v56 > .ge5d-wrap,
  body:not(.ge-staff-v2-template) .ge5d-page > .ge5d-layout {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: var(--ge5d-mobile-gutter);
  }

  body:not(.ge-staff-v2-template) .ge5d-section,
  body:not(.ge-staff-v2-template) .ge5d-legal-section {
    width: 100%;
    max-width: 100%;
  }

  body:not(.ge-staff-v2-template) .ge5d-section + .ge5d-section {
    margin-top: var(--ge5d-mobile-section-gap);
  }

  /* Home hero and carousels. */
  .ge5d-hero,
  .ge5d-hero-content {
    width: 100%;
    max-width: 100% !important;
  }

  .ge5d-hero-content {
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  .ge5d-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(38px, 11vw, 46px) !important;
    line-height: 1 !important;
  }

  .ge5d-hero h1 em {
    display: block;
  }

  .ge5d-hero-sub,
  .ge5d-hero-buttons {
    width: 100%;
    max-width: 100% !important;
  }

  #saloes .ge-saloes-swiper .swiper-slide,
  .ge-saloes-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Auth pages. */
  .ge-login-v56,
  .ge-login-v56-shell,
  .ge-login-v56-card {
    width: 100%;
    max-width: 100%;
  }

  .ge-login-v56-shell {
    padding-inline: 0 !important;
  }

  .ge-login-v56-card {
    margin-inline: 0 !important;
    border-radius: 0 !important;
    padding: 32px var(--ge5d-mobile-gutter) !important;
  }

  .ge-login-v56-card h1 {
    font-size: clamp(40px, 13vw, 56px);
    line-height: .92;
  }

  /* Reservation flow. */
  .ge-reserva-v3,
  .ge-reserva-v3 .ge-page,
  .ge-reserva-v3 .ge-flow,
  .ge-reserva-v3 .ge-flow-card {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .ge-reserva-v3 .ge-page,
  .ge-reserva-v3 .ge-flow {
    padding-inline: 0 !important;
  }

  .ge-reserva-v3 .ge-flow-card {
    border-inline: 0 !important;
    border-radius: 0 !important;
  }

  .ge-reserva-v3 .ge-panel {
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  .ge-reserva-v3 .ge-actions {
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 10px;
  }

  .ge-reserva-v3 .ge-panel.is-active .ge-actions {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 24px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .ge-reserva-v3 .ge-panel.is-active .ge-actions .ge-btn-primary {
    order: 1 !important;
  }

  .ge-reserva-v3 .ge-panel.is-active .ge-actions .ge-btn-secondary {
    order: 2 !important;
  }

  .ge-reserva-v3 .ge-actions > * {
    width: 100%;
  }

  .ge-reserva-v3 .ge-guest-control,
  .ge-reserva-v3 .ge-confirm-extra {
    width: 100%;
    max-width: 100%;
  }

  .ge-reserva-v3 .ge-confirm-extra {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
  }

  .ge-reserva-v3 .ge-confirm-extra > :last-child {
    text-align: right;
    white-space: nowrap;
  }

  .ge-reserva-v3 .ge-payment-prep {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  /* Single hall pages. */
  .ge5d-salao .ge5d-salao-body,
  .ge5d-salao .ge5d-salao-main,
  .ge5d-salao .ge5d-salao-side,
  .ge5d-salao .ge5d-salao-panel,
  .ge5d-salao .ge5d-salao-sticky {
    width: 100%;
    max-width: 100%;
  }

  .ge5d-salao .ge5d-salao-body {
    padding-inline: 0 !important;
  }

  .ge5d-salao .ge5d-salao-panel {
    margin-inline: 0 !important;
    border-radius: 0 !important;
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  .ge5d-salao .ge5d-salao-sticky {
    position: static !important;
    margin: 0 !important;
    padding: 24px var(--ge5d-mobile-gutter) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ge5d-salao-social .ge5d-salao-wrap {
    display: flex !important;
    grid-template-columns: none;
    gap: 18px;
    justify-content: flex-start;
  }

  .ge5d-salao-social a {
    display: inline-flex !important;
    width: 30px;
    min-height: 30px;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.15;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .ge5d-salao-strip,
  .ge5d-salao-facts {
    width: 100%;
    max-width: 100%;
  }

  .ge5d-salao-facts article,
  .ge5d-salao-facts article * {
    font-weight: 500 !important;
  }

  .ge5d-salao-facts article span,
  .ge5d-salao-facts article small {
    font-weight: 650 !important;
  }

  .ge5d-salao .ge5d-salao-btn,
  .ge5d-salao .ge5d-salao-btn.ghost {
    font-weight: 560 !important;
    letter-spacing: .12em !important;
  }

  .ge5d-salao .ge5d-salao-btn.ghost {
    font-weight: 500 !important;
  }

  .ge5d-salao .ge5d-salao-gallery {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(var(--ge5d-mobile-gutter) * -1) !important;
    margin-right: calc(var(--ge5d-mobile-gutter) * -1) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  .ge5d-salao .ge5d-salao-gallery button,
  .ge5d-salao .ge5d-salao-gallery button:hover,
  .ge5d-salao .ge5d-salao-gallery button:focus,
  .ge5d-salao .ge5d-salao-gallery button:focus-visible {
    border-color: transparent !important;
    background: var(--fived-panel) !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .ge5d-salao-modal-panel {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    max-height: calc(100dvh - 20px);
    padding: 18px 12px !important;
  }

  .ge5d-salao-modal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  .ge5d-salao-modal .ge5d-salao-modal-panel {
    border-radius: 18px !important;
  }

  .ge5d-salao-calendar-head > div {
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ge5d-salao-modal-close {
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 32px !important;
    line-height: 1 !important;
    color: var(--fived-gold-light) !important;
  }

  .ge5d-salao-days {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .ge5d-salao-days > * {
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1;
    min-height: 36px;
    padding: 0 !important;
  }

  .ge5d-salao-calendar-head button {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ge5d-salao-lightbox .ge5d-salao-lightbox-nav {
    display: none !important;
    position: fixed !important;
    top: 50% !important;
    z-index: 2 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(232, 212, 139, .42) !important;
    border-radius: 999px !important;
    background: rgba(10, 10, 10, .42) !important;
    box-shadow: none !important;
    color: var(--fived-gold-light) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
  }

  .ge5d-salao-lightbox .ge5d-salao-lightbox-nav.prev {
    left: 12px !important;
    right: auto !important;
  }

  .ge5d-salao-lightbox .ge5d-salao-lightbox-nav.next {
    right: 12px !important;
    left: auto !important;
  }

  .ge5d-salao-lightbox:not(.has-multiple) .ge5d-salao-lightbox-nav {
    display: none !important;
  }

  /* Premium, legal and career pages. */
  .ge5d-legal-layout,
  .ge5d-legal-content,
  .ge5d-legal-content > *,
  .ge5d-grid-2,
  .ge5d-grid-2 > *,
  .ge5d-work-layout,
  .ge5d-work-layout > *,
  .ge5d-work-options,
  .ge5d-jobs,
  .ge5d-job-card,
  #ge5dCareerForm {
    width: 100%;
    max-width: 100%;
  }

  .ge5d-work-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ge5d-work-options {
    grid-template-columns: 1fr !important;
  }

  .ge5d-work-options .ge5d-mini {
    width: 100%;
    max-width: 100%;
  }

  .ge5d-about-video-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .ge5d-about-video {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .ge5d-legal-content > *,
  .ge5d-job-card,
  #ge5dCareerForm {
    margin-inline: 0 !important;
    border-radius: 0 !important;
  }

  #ge5dCareerForm,
  .ge5d-home-faq {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-inline: 0 !important;
    border-radius: 0 !important;
  }

  .ge5d-legal-content > * {
    padding: 26px var(--ge5d-mobile-gutter) !important;
  }

  #ge5dCareerForm {
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  /* Client account and profile. */
  .ge5d-profile-v56,
  .ge5d-profile-layout,
  .ge5d-profile-formcard,
  .ge5d-profile-side,
  .ge5d-page .ge5d-layout,
  .ge5d-page .ge5d-main,
  .ge5d-page .ge5d-side {
    width: 100%;
    max-width: 100%;
  }

  .ge5d-profile-v56 > .ge5d-wrap {
    padding-inline: 0 !important;
  }

  .ge5d-profile-hero {
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  .ge5d-profile-layout {
    display: block !important;
  }

  .ge5d-profile-side {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px var(--ge5d-mobile-gutter) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
  }

  .ge5d-profile-side h2,
  .ge5d-profile-side p {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  #ge5dAvatarPreview,
  #ge5dAvatarPreview img {
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    border-radius: 50% !important;
    aspect-ratio: 1;
  }

  #ge5dAvatarPreview {
    overflow: hidden;
  }

  #ge5dAvatarPreview img {
    display: block;
    object-fit: cover !important;
    object-position: center !important;
  }

  .ge5d-profile-formcard {
    border-inline: 0 !important;
    border-radius: 0 !important;
    padding: 28px var(--ge5d-mobile-gutter) !important;
  }

  .ge5d-page > .ge5d-layout {
    padding-inline: 0 !important;
  }

  .ge5d-page .ge5d-main > .ge5d-panel,
  .ge5d-page .ge5d-side > .ge5d-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    border-radius: 0 !important;
  }

  .ge5d-page .ge5d-main > .ge5d-panel {
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  .ge5d-page .ge5d-side > .ge5d-panel {
    padding: 24px var(--ge5d-mobile-gutter) !important;
    border: 0 !important;
    background: transparent !important;
  }

  /* Staff shell. */
  body.ge-staff-v2-template {
    --ge5d-mobile-page-pad: 16px;
  }

  body.ge-staff-v2-template .gsv2-app,
  body.ge-staff-v2-template .gsv2-workspace,
  body.ge-staff-v2-template .gs-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.ge-staff-v2-template .gsv2-workspace {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body.ge-staff-v2-template .gs-page {
    padding-inline: var(--ge5d-mobile-page-pad) !important;
  }

  body.ge-staff-v2-template .gs-page > .gs-hero,
  body.ge-staff-v2-template .gs-page > .gsv2-hero {
    margin-inline: calc(var(--ge5d-mobile-page-pad) * -1);
    padding-inline: var(--ge5d-mobile-page-pad) !important;
  }

  body.ge-staff-v2-template .gs-title,
  body.ge-staff-v2-template .gs-title-with-icon {
    font-size: clamp(38px, 12vw, 54px) !important;
    line-height: .96 !important;
  }

  body.ge-staff-v2-template .gs-card,
  body.ge-staff-v2-template .gs-table-card,
  body.ge-staff-v2-template .ge-cms-list-head,
  body.ge-staff-v2-template .ge-team-list-head {
    max-width: 100%;
  }

  body.ge-staff-v2-template .gs-actions {
    width: 100%;
    padding-inline: 0;
    gap: 10px;
  }

  body.ge-staff-v2-template .gs-actions > * {
    min-height: 44px;
  }

  body.ge-staff-v2-template .ge-cms-list-head,
  body.ge-staff-v2-template .ge-hall-launch-head {
    padding-inline: var(--ge5d-mobile-page-pad) !important;
  }

  body.ge-staff-v2-template .ge-team-list-head,
  body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-cms-list-head {
    text-align: center;
  }

  body.ge-staff-v2-template .ge-team-list-head > *,
  body.ge-staff-v2-template .gs-page-gestao-pacotes .ge-cms-list-head > * {
    width: 100%;
    text-align: center;
  }

  body.ge-staff-v2-template .ge-team-initial {
    display: none !important;
  }

  body.ge-staff-v2-template .ge-team-member {
    grid-template-columns: 1fr !important;
    padding: 20px 16px !important;
  }

  body.ge-staff-v2-template .ge-team-contact a:first-child {
    font-size: 14px !important;
  }

  body.ge-staff-v2-template .ge-team-contact a:nth-child(2) {
    font-size: 16px !important;
  }

  body.ge-staff-v2-template .ge-team-actions,
  body.ge-staff-v2-template .ge-team-edit-link {
    width: 100%;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-team-edit-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
  }

  body.ge-staff-v2-template .ge-team-invite-copy {
    display: grid !important;
    gap: 6px !important;
    line-height: 1.35 !important;
  }

  /* Staff agenda and reservation carousels. */
  body.ge-staff-v2-template .ge-agenda-upcoming-track,
  body.ge-staff-v2-template .gsv2-reservation-track {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 100% !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.ge-staff-v2-template .ge-agenda-upcoming-track::-webkit-scrollbar,
  body.ge-staff-v2-template .gsv2-reservation-track::-webkit-scrollbar {
    display: none;
  }

  body.ge-staff-v2-template .ge-upcoming-item,
  body.ge-staff-v2-template .gsv2-reservation-track > * {
    width: 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
  }

  body.ge-staff-v2-template .ge-upcoming-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 20px 16px !important;
  }

  body.ge-staff-v2-template .ge-upcoming-item [class*="finance"],
  body.ge-staff-v2-template .ge-upcoming-item [class*="countdown"] {
    position: static !important;
    width: auto !important;
  }

  body.ge-staff-v2-template .ge-phase-days {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.ge-staff-v2-template .ge-phase-day {
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1;
  }

  /* Tables and pagination. */
  body.ge-staff-v2-template .ge-mock-table-scroll,
  body.ge-staff-v2-template .gs-table-scroll,
  body.ge-staff-v2-template .ge5d-history-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.ge-staff-v2-template .ge-page-controls {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px !important;
    padding: 8px !important;
  }

  body.ge-staff-v2-template .ge-page-controls > * {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
  }

  /* Promo codes. */
  body.ge-staff-v2-template .gs-page-promocoes {
    padding-inline: var(--ge5d-mobile-page-pad) !important;
  }

  body.ge-staff-v2-template .ge-promo-layout,
  body.ge-staff-v2-template .ge-promo-editor,
  body.ge-staff-v2-template .ge-promo-list {
    width: 100%;
    max-width: 100%;
  }

  body.ge-staff-v2-template .ge-promo-editor,
  body.ge-staff-v2-template .ge-promo-list {
    border-radius: 8px !important;
  }

  body.ge-staff-v2-template .ge-promo-check-grid {
    grid-template-columns: 1fr !important;
  }

  body.ge-staff-v2-template .ge-promo-check {
    min-height: 48px;
  }

  /* Notices and lightboxes. */
  .gs-notice-modal,
  .ge5d-cancel-lightbox,
  .ge5d-request-lightbox {
    padding: 12px !important;
  }

  .gs-notice-modal__card,
  .ge5d-staff-cancel-panel,
  .ge5d-request-lightbox > * {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  #servicos .ge5d-swp-tabs,
  .ge5d-swp-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: var(--ge5d-mobile-gutter) !important;
  }

  #servicos .ge5d-swp-tabs button,
  .ge5d-swp-tabs button,
  #servicos .ge5d-swp-tabs [role="tab"],
  .ge5d-swp-tabs [role="tab"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 10px !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }

  .ge5d-swp-card,
  .ge5d-swp-slide,
  .ge5d-swp-swiper .swiper-slide {
    min-height: 0 !important;
  }

  .ge5d-swp-card {
    padding-block: 38px !important;
  }

  .ge-package-lightbox-dots {
    width: auto !important;
    height: 34px !important;
    min-height: 0 !important;
    padding: 6px 9px !important;
    gap: 6px !important;
    border-radius: 999px !important;
  }

  .ge-package-lightbox-dots button {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  .ge-package-lightbox-dots button.is-active {
    width: 20px !important;
  }

  .ge-reserva-v3 .ge-actions {
    border-radius: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots button {
    flex: 0 0 auto !important;
    width: 5px !important;
    height: 16px !important;
    min-width: 5px !important;
    min-height: 16px !important;
    max-width: 5px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(232, 212, 139, .34) !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 #reservas .ge-reservas-carousel-dots button.is-active {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    background: var(--fived-gold-light) !important;
  }

  body.ge-staff-v2-template #historico {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  body.ge-staff-v2-template #historico .ge-audit-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template #historico .ge-audit-item,
  body.ge-staff-v2-template #historico .ge-audit-list > div:not(.ge-mock-pagination) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.ge-staff-v2-template #historico .ge-audit-item > span,
  body.ge-staff-v2-template #historico .ge-audit-item > small,
  body.ge-staff-v2-template #historico .ge-audit-item > strong {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.ge-staff-v2-template #historico .ge-mock-pagination-v2 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 10px 16px 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.ge-staff-v2-template #historico .ge-page-controls {
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template #historico .ge-page-controls::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template #historico .ge-page-controls > * {
    flex: 0 0 auto !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-section,
  body.ge-staff-v2-template .gs-page-agenda #calendario-anual {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-track,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-track.ge-agenda-unified-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin: 0 !important;
    padding: 0 16px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-track::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card,
  body.ge-staff-v2-template .gs-page-agenda .ge-upcoming-item,
  body.ge-staff-v2-template .gs-page-agenda .ge-phase-event-card {
    flex: 0 0 calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: calc(100vw - 32px) !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "status"
      "name"
      "plain"
      "count"
      "finance"
      "action" !important;
    gap: 13px !important;
    min-height: 0 !important;
    padding: 22px 18px !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card > span {
    grid-area: status !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-actions {
    grid-area: action !important;
    position: static !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-main {
    grid-area: name !important;
    display: grid !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-main > strong {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    line-height: 1.08 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-main > small {
    width: 100% !important;
    min-width: 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain {
    grid-area: plain !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain span {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    width: 100% !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    letter-spacing: .06em !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown {
    grid-area: count !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b span,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b i {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance {
    grid-area: finance !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-mobile-dots,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-year-dots,
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-dots],
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-year-dots] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 12px auto 22px !important;
    padding: 0 10px !important;
    height: auto !important;
    min-height: 8px !important;
    visibility: visible !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-mobile-dots::-webkit-scrollbar,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-year-dots::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-mobile-dots button,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-year-dots button,
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-dots] button,
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-year-dots] button {
    flex: 0 0 auto !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(232, 212, 139, .34) !important;
    line-height: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-mobile-dots button.is-active,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-year-dots button.is-active,
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-dots] button.is-active,
  body.ge-staff-v2-template .gs-page-agenda [data-ge-agenda-year-dots] button.is-active {
    width: 24px !important;
    max-width: 24px !important;
    min-width: 24px !important;
    background: var(--fived-gold-light) !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-carousel-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 8px !important;
    margin: 14px 0 0 !important;
    padding: 0 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-carousel-dots::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-carousel-dots button {
    flex: 0 0 auto !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(232, 212, 139, .34) !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-carousel-dots button.is-active,
  body.ge-staff-v2-template .gs-page-gestao-clientes .ge-client-carousel-dots button.is-current {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    background: var(--fived-gold-light) !important;
  }

  body.ge-staff-v2-template .gs-page-relatorios #reservas-list .ge-mock-pagination-v2 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 12px 16px 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.ge-staff-v2-template .gs-page-relatorios #reservas-list .ge-page-controls {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body.ge-staff-v2-template .gs-page-relatorios #reservas-list .ge-page-controls::-webkit-scrollbar {
    display: none !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-grid-v2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-member {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 24px 18px !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-main {
    display: grid !important;
    justify-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-title h3,
  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-title p {
    margin: 0 !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-status {
    justify-self: center !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-meta {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-contact {
    display: grid !important;
    justify-items: center !important;
    gap: 7px !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-contact a {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .gs-page-gestao-equipa .ge-team-edit-link {
    justify-content: center !important;
    width: min(100%, 220px) !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field {
    display: grid !important;
    align-items: start !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field > span {
    display: block !important;
    line-height: 1.2 !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field input,
  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field small {
    margin-top: 0 !important;
    line-height: 1.35 !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-form .gs-field:nth-child(2) input {
    min-height: 48px !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-date-field {
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    column-gap: 12px !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-date-field > span {
    grid-column: 1 / -1 !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-date-field input[type="datetime-local"] {
    width: 58px !important;
    max-width: 58px !important;
    min-width: 58px !important;
    height: 48px !important;
    padding: 0 !important;
    color: transparent !important;
    caret-color: transparent !important;
    text-indent: -999px !important;
    overflow: hidden !important;
    border-color: rgba(232, 212, 139, .42) !important;
    background: rgba(0, 0, 0, .34) !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-date-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    width: 26px !important;
    height: 26px !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
    filter: sepia(1) saturate(4) hue-rotate(352deg) brightness(1.35) !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-check span {
    display: grid !important;
    gap: 3px !important;
  }

  body.ge-staff-v2-template .gs-page-promocoes .ge-promo-check span small {
    margin: 0 !important;
    color: rgba(232, 212, 139, .68) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-upcoming-track.ge-agenda-unified-track {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 16px 10px !important;
    gap: 0 !important;
    scroll-padding-left: 16px !important;
    scroll-padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card {
    flex: 0 0 calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    min-width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    padding: 22px 18px !important;
    overflow: hidden !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-status,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain *,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown *,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-status {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain span,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-plain span b {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b span,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-phase-event-countdown b i {
    display: inline !important;
    white-space: nowrap !important;
    font-size: inherit !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: end !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance b {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance span,
  body.ge-staff-v2-template .gs-page-agenda .ge-agenda-unified-card .ge-agenda-card-finance i {
    display: block !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    font-size: clamp(12px, 3.5vw, 14px) !important;
  }
}

@media (max-width: 768px) {
  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    min-height: 0 !important;
    padding: 20px 18px 18px !important;
    text-align: center !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-main,
  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-actions {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    text-align: center !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-title,
  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-title > div,
  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-title {
    gap: 7px !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-title > div {
    gap: 3px !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-status {
    position: static !important;
    display: inline-flex !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-meta {
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-contact {
    gap: 6px !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  html body.ge-staff-v2-template section.ge-staff-v2.ge-staff-v2-inner-page .gsv2-app main.gsv2-workspace.ge5d-template-workspace section.gs-page.gs-page-gestao-equipa div.ge-team-grid-v2 article.ge-team-member .ge-team-edit-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 132px !important;
    max-width: 180px !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-member {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    justify-items: stretch !important;
    gap: 16px !important;
    min-height: 0 !important;
    padding: 20px 18px 18px !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-initial,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-photo {
    display: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title > div {
    display: grid !important;
    justify-items: center !important;
    gap: 3px !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title h3 {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.08 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title p {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-status {
    position: static !important;
    display: inline-flex !important;
    justify-self: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact {
    display: grid !important;
    justify-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:first-child {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:nth-child(2) {
    font-size: 17px !important;
    line-height: 1.15 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 132px !important;
    max-width: 180px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link span {
    display: inline-block !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1 !important;
  }
}

@media (max-width: 480px) {
  :root {
    --ge5d-mobile-gutter: 14px;
  }

  body:not(.wp-admin) h1 {
    line-height: .94;
  }

  .ge5d-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .ge5d-copy {
    padding-inline: 14px !important;
    text-align: center;
  }

  .ge-reserva-v3 .ge-confirm-extra {
    grid-template-columns: 1fr;
  }

  .ge-reserva-v3 .ge-confirm-extra > :last-child {
    text-align: left;
  }

  body.ge-staff-v2-template .gs-card-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.ge-staff-v2-template .gs-card-head .gs-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  body.ge-staff-v2-template .gs-card-head .gs-actions > * {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --ge5d-mobile-gutter: 12px;
  }

  body.ge-staff-v2-template .gs-page {
    padding-inline: 12px !important;
  }

  body.ge-staff-v2-template .gs-title,
  body.ge-staff-v2-template .gs-title-with-icon {
    font-size: 38px !important;
  }

  body.ge-staff-v2-template .gs-card-head .gs-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-grid-v2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 16px 18px !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-member {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    align-items: start !important;
    justify-items: center !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 22px 18px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-main {
    display: grid !important;
    justify-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title h3 {
    margin: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title p {
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-status {
    position: static !important;
    justify-self: center !important;
    margin: 2px 0 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact {
    display: grid !important;
    justify-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:first-child {
    font-size: 14px !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:nth-child(2) {
    font-size: 18px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 2px !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: min(100%, 190px) !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-upcoming-track.ge-agenda-unified-track {
    display: flex !important;
    grid-template-columns: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 16px 10px !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 16px !important;
    scroll-padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-upcoming-track.ge-agenda-unified-track > .ge-agenda-unified-card {
    flex: 0 0 calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    min-width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "status"
      "name"
      "plain"
      "count"
      "finance" !important;
    align-content: start !important;
    row-gap: 12px !important;
    padding: 20px 18px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-status {
    grid-area: status !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-actions {
    grid-area: actions !important;
    position: static !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-main {
    grid-area: name !important;
    display: grid !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-plain {
    grid-area: plain !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-plain span {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b {
    grid-area: count !important;
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-transform: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b span,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b i {
    display: inline !important;
    white-space: nowrap !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-status,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-plain,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-plain *,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown *,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-finance,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-finance * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-finance {
    grid-area: finance !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: end !important;
    width: 100% !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged {
    overflow: hidden !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged .ge-agenda-upcoming-track.ge-agenda-unified-track,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-upcoming-track.ge-agenda-unified-track.is-ge-mobile-paged-track {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 16px 10px !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged .ge-agenda-unified-card {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged .ge-agenda-unified-card.is-ge-active-card {
    display: grid !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged .ge-agenda-unified-card.is-ge-active-card .ge-phase-event-plain,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda .ge-agenda-upcoming-section.ge-agenda-unified-section.is-ge-mobile-paged .ge-agenda-unified-card.is-ge-active-card .ge-phase-event-plain span {
    padding-left: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    text-indent: 0 !important;
  }
}

@media (max-width: 768px) {
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-member {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
    gap: 16px !important;
    min-height: 0 !important;
    padding: 20px 18px 18px !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-initial,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-photo {
    display: none !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-main,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-main {
    gap: 14px !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title {
    gap: 7px !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title > div {
    gap: 3px !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title h3,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-title p {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-status {
    position: static !important;
    display: inline-flex !important;
    justify-self: center !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-meta {
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact {
    display: grid !important;
    justify-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:first-child {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-contact a:nth-child(2) {
    font-size: 17px !important;
    line-height: 1.15 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link,
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link span {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-gestao-equipa .ge-team-edit-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 132px !important;
    max-width: 180px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    text-align: center !important;
  }
}

/* Agenda mobile: compact countdown above a clearly separated finance block. */
@media (max-width: 768px) {
  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "status actions"
      "name name"
      "plain plain"
      "count count"
      "finance finance" !important;
    column-gap: 10px !important;
    row-gap: 14px !important;
    height: auto !important;
    align-self: flex-start !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown {
    grid-area: count !important;
    width: auto !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b {
    width: max-content !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(201, 168, 76, .3) !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 7px !important;
    background: rgba(201, 168, 76, .075) !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b span {
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-phase-event-countdown b i {
    font-size: 16px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-finance {
    grid-area: finance !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, .09) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  body.ge-staff-v2-template .ge-staff-v2 .gsv2-workspace .gs-page-agenda
  .ge-agenda-upcoming-section.ge-agenda-unified-section .ge-agenda-unified-card .ge-agenda-card-finance b {
    min-width: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 11px !important;
    display: grid !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, .025) !important;
  }
}
