.mobile-view-header {
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
}

.mobile-view-header *,
.mobile-overflow-menu-panel * {
  box-sizing: border-box;
}

.mobile-view-heading {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.mobile-view-heading > strong {
  overflow: hidden;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-view-heading > span {
  overflow: hidden;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.12;
  opacity: 0.86;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-overflow-menu-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  justify-self: end;
}

.mobile-overflow-menu-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.mobile-overflow-menu-button:hover,
.mobile-overflow-menu-button:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 1px;
}

.mobile-overflow-menu-panel {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 100;
  min-width: 172px;
  padding: 6px;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.22);
}

.mobile-overflow-menu-panel.is-viewport-menu {
  position: fixed;
  z-index: 25000;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.mobile-overflow-menu-panel[hidden],
.mobile-overflow-menu-panel [hidden] {
  display: none !important;
}

.mobile-overflow-menu-panel a,
.mobile-overflow-menu-panel button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  color: #14213d;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mobile-overflow-menu-panel a:hover,
.mobile-overflow-menu-panel a:focus-visible,
.mobile-overflow-menu-panel button:hover,
.mobile-overflow-menu-panel button:focus-visible {
  background: rgba(0, 103, 71, 0.1);
  outline: none;
}

.scoodle-lou-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  background: rgba(3, 22, 35, 0.88);
  backdrop-filter: blur(7px);
}

.scoodle-lou-intro-overlay[hidden] {
  display: none !important;
}

.scoodle-lou-intro-card {
  --lou-primary: var(--admin-theme-primary, #006747);
  --lou-secondary: var(--admin-theme-secondary, #e2ba2f);
  width: min(100%, 620px);
  max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 2px solid var(--lou-secondary);
  border-radius: 8px;
  background: #071d25;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.scoodle-lou-intro-header {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 8px 10px 8px 14px;
  color: #ffffff;
  background: var(--lou-primary);
}

.scoodle-lou-intro-heading {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.scoodle-lou-intro-heading span {
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.scoodle-lou-intro-heading strong {
  overflow: hidden;
  font-size: clamp(1.12rem, 4.8vw, 1.5rem);
  font-weight: 950;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoodle-lou-intro-progress {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.scoodle-lou-intro-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.scoodle-lou-intro-close:hover,
.scoodle-lou-intro-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  outline: 2px solid #ffffff;
  outline-offset: 1px;
}

.scoodle-lou-intro-video-frame {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071d25;
}

.scoodle-lou-intro-video {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: block;
  object-fit: contain;
  background: #071d25;
}

.scoodle-lou-intro-fallback {
  margin: 0;
  padding: 36px 24px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 440px) {
  .scoodle-lou-intro-header {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .scoodle-lou-intro-progress {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .scoodle-lou-intro-close {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scoodle-lou-intro-overlay {
    backdrop-filter: none;
  }
}

.admin-office-header {
  min-height: 0;
  display: block;
  padding: 0;
}

.tour-office-welcome-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
}

.tour-office-welcome-row::before {
  content: "";
  width: 40px;
  height: 40px;
}

.tour-office-welcome-row > strong {
  grid-column: 2;
  min-width: 0;
  display: grid;
  gap: 1px;
  justify-items: center;
  overflow: visible;
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: normal;
}

.tour-office-welcome-row > strong > span {
  font-size: clamp(0.8rem, 3.4vw, 1.05rem);
  line-height: 1.12;
}

.tour-office-welcome-row > strong > b {
  font-size: clamp(1.35rem, 5.8vw, 1.9rem);
  font-weight: 950;
  line-height: 1.08;
}

.tour-office-welcome-row > .mobile-overflow-menu-wrap {
  grid-column: 3;
}

.tour-office-organization-row {
  min-height: 28px;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--tour-office-organization-fill, var(--admin-theme-secondary, #e2ba2f));
  color: var(--tour-office-organization-text, var(--admin-theme-ink, #103c31));
}

.tour-office-organization-row select {
  width: 100%;
  height: 28px;
  min-height: 28px;
  appearance: none;
  border: 0;
  outline: 0;
  padding: 2px 42px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-align-last: center;
}

.tour-office-organization-row select option {
  background: #ffffff;
  color: var(--admin-theme-ink, #14213d);
  font-weight: 800;
}

.tour-office-organization-row select option:checked {
  background: #ffffff;
  color: var(--admin-theme-ink, #14213d);
}

@media (max-width: 600px) {
  .tour-office-welcome-row {
    min-height: 42px;
    padding-block: 2px;
  }

  .tour-office-welcome-row::before,
  .tour-office-welcome-row > .mobile-overflow-menu-wrap,
  .tour-office-welcome-row .mobile-overflow-menu-button {
    width: 36px;
    height: 36px;
  }

  .tour-office-welcome-row > strong > span {
    font-size: 0.66rem;
    line-height: 1;
  }

  .tour-office-welcome-row > strong > b {
    font-size: 1.12rem;
    line-height: 1.02;
  }

  .tour-office-organization-row,
  .tour-office-organization-row select {
    min-height: 36px;
    height: 36px;
  }

  .tour-office-organization-row select {
    font-size: 1.3rem;
  }

  .tour-office-organization-row[data-multiple="true"]::after {
    top: 11px;
  }
}

.tour-office-organization-row select:disabled {
  cursor: default;
  opacity: 1;
}

.tour-office-organization-row select:focus-visible {
  box-shadow: inset 0 0 0 2px currentColor;
}

.tour-office-organization-row[data-multiple="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  position: absolute;
  right: 14px;
  top: 8px;
  transform: rotate(45deg);
  pointer-events: none;
}

.admin-office-header .admin-selected-event-chip {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 11px 13px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  justify-items: stretch;
  text-align: center;
}

.admin-office-header .admin-selected-event-chip strong {
  overflow: visible;
  margin: 0;
  color: var(--admin-theme-ink, #173428);
  font-size: clamp(1.18rem, 4.9vw, 1.48rem);
  font-weight: 950;
  line-height: 1.08;
  padding-bottom: 2px;
  text-align: center;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  width: 100%;
}

.admin-office-header .admin-selected-event-chip > span {
  overflow: visible;
  margin: 0;
  color: var(--admin-theme-ink, #173428);
  font-size: clamp(0.82rem, 3.5vw, 0.96rem);
  font-weight: 800;
  line-height: 1.15;
  opacity: 0.84;
  text-align: center;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  width: 100%;
}

.admin-office-header .admin-selected-header-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  justify-content: center;
  margin-top: 2px;
  width: 100%;
}

body[data-admin-theme] .admin-office-header .admin-selected-event-chip {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-admin-theme="irish"] {
  --tour-office-welcome-fill: #169b62;
  --tour-office-organization-fill: #ff883e;
  --tour-office-organization-text: #12372a;
  --tour-office-event-fill: #169b62;
  --tour-office-event-text: #ffffff;
  --tour-office-date-fill: #ffffff;
  --tour-office-date-text: #12372a;
  --tour-office-pills-fill: #ff883e;
  --tour-office-pill-fill: #ffffff;
  --tour-office-pill-text: #12372a;
}

body[data-admin-theme="usa"] {
  --tour-office-welcome-fill: #3c3b6e;
  --tour-office-organization-fill: #b22234;
  --tour-office-organization-text: #ffffff;
  --tour-office-event-fill: #b22234;
  --tour-office-event-text: #ffffff;
  --tour-office-date-fill: #ffffff;
  --tour-office-date-text: #14213d;
  --tour-office-pills-fill: #3c3b6e;
  --tour-office-pill-fill: #ffffff;
  --tour-office-pill-text: #14213d;
}

body[data-admin-theme="scoodle"] {
  --tour-office-welcome-fill: #2f6fe8;
  --tour-office-organization-fill: #f6b51d;
  --tour-office-organization-text: #18213a;
  --tour-office-event-fill: #ef342d;
  --tour-office-event-text: #ffffff;
  --tour-office-date-fill: #f6b51d;
  --tour-office-date-text: #18213a;
  --tour-office-pills-fill: #2f9e3c;
  --tour-office-pill-fill: #ffffff;
  --tour-office-pill-text: #18213a;
}

body[data-admin-theme="masters"] {
  --tour-office-welcome-fill: #006747;
  --tour-office-organization-fill: #e2ba2f;
  --tour-office-organization-text: #103c31;
  --tour-office-event-fill: #006747;
  --tour-office-event-text: #ffffff;
  --tour-office-date-fill: #ffffff;
  --tour-office-date-text: #103c31;
  --tour-office-pills-fill: #e2ba2f;
  --tour-office-pill-fill: #ffffff;
  --tour-office-pill-text: #103c31;
}

body[data-admin-theme] .tour-office-welcome-row {
  color: #ffffff;
  background: var(--tour-office-welcome-fill, var(--admin-theme-primary));
  border-bottom: 0;
}

body[data-admin-theme] .admin-office-header .mobile-overflow-menu-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
}

body[data-admin-theme] .admin-office-header {
  background: var(--tour-office-pills-fill, var(--admin-theme-primary));
  border-bottom-color: var(--tour-office-pills-fill, var(--admin-theme-primary));
}

body[data-admin-theme] .admin-office-header .admin-selected-event-chip {
  gap: 0;
  padding: 0;
}

body[data-admin-theme] .admin-office-header .admin-selected-event-chip > strong {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 6px 11px 7px;
  color: var(--tour-office-event-text, #ffffff);
  background: var(--tour-office-event-fill, var(--admin-theme-secondary));
  opacity: 1;
}

body[data-admin-theme] .admin-office-header .admin-selected-event-chip > span {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 5px 11px;
  color: var(--tour-office-date-text, var(--admin-theme-ink));
  background: var(--tour-office-date-fill, #ffffff);
  opacity: 1;
}

body[data-admin-theme] .admin-office-header .admin-selected-header-pills {
  min-height: 32px;
  box-sizing: border-box;
  gap: 6px;
  margin: 0;
  padding: 4px 11px;
  color: #ffffff;
  background: var(--tour-office-pills-fill, var(--admin-theme-primary));
}

body[data-admin-theme] .admin-office-header .admin-selected-header-pills .admin-master-pill {
  color: var(--tour-office-pill-text, var(--admin-theme-ink));
  background: var(--tour-office-pill-fill, #ffffff);
  border-color: color-mix(in srgb, var(--tour-office-pill-fill, #ffffff), #000000 12%);
  height: 22px;
  min-height: 22px;
  padding-inline: 8px;
}

body[data-admin-no-events="true"] .admin-section:not([data-master-section="Events"]) > .admin-section-body > * {
  display: none !important;
}

body[data-admin-no-events="true"] .admin-section:not([data-master-section="Events"]) > .admin-section-body::before {
  content: "No Events";
  display: block;
  box-sizing: border-box;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 18px 14px;
  border: 2px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 42%);
  border-radius: 8px;
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.organization-settings-modal .admin-event-settings-modal-card {
  max-height: min(94vh, 760px);
  max-width: 580px;
  width: min(100%, 580px);
}

.organization-settings-section {
  display: grid;
  gap: 10px;
  padding-block: 3px 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 72%);
}

.organization-settings-section:last-child {
  border-bottom: 0;
}

.organization-settings-section > header {
  min-width: 0;
}

.organization-settings-section > header > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.organization-settings-section > header strong {
  color: var(--admin-theme-primary, #006747);
  font-size: 0.92rem;
  font-weight: 950;
}

.organization-settings-section > header small,
.organization-settings-action-row > span,
.organization-settings-empty,
.organization-archive-row small {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}

.organization-settings-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.organization-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.organization-transfer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-inline: 3px;
}

.organization-transfer-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--admin-theme-ink, #173428);
  font-size: 0.8rem;
  font-weight: 850;
}

.organization-transfer-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--admin-theme-primary, #006747);
}

.organization-archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
}

.organization-archive-row + .organization-archive-row {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 78%);
}

.organization-archive-row > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.organization-archive-row strong {
  overflow: hidden;
  color: var(--admin-theme-ink, #173428);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organization-user-list {
  border: 1px solid rgba(18, 60, 44, 0.15);
  border-radius: 7px;
  overflow: hidden;
}

.organization-user-row {
  align-items: center;
  background: #fff;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.organization-user-row + .organization-user-row { border-top: 1px solid rgba(18, 60, 44, 0.12); }
.organization-user-row.is-primary { background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 9%, white); }
.organization-user-row > span { display: grid; gap: 0.12rem; min-width: 0; }
.organization-user-row small { color: #60756b; font-size: 0.72rem; }
.organization-user-row b { color: var(--admin-theme-primary, #17633f); font-size: 0.72rem; }

.organization-assistant-create {
  align-items: end;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0.7rem;
}

@media (max-width: 560px) {
  .organization-assistant-create { grid-template-columns: 1fr; }
}

.organization-settings-empty {
  margin: 0;
}

.organization-danger-actions {
  display: grid;
  grid-template-columns: auto minmax(92px, 0.55fr) auto;
  gap: 8px;
  align-items: center;
}

.organization-danger-actions input {
  min-width: 0;
  height: 36px;
}

.organization-settings-modal .admin-danger-action {
  border-color: #a82c23 !important;
  background: #a82c23 !important;
  color: #ffffff !important;
}

.organization-settings-modal .admin-danger-action:disabled {
  border-color: #e5c7c3 !important;
  background: #ead7d4 !important;
  color: #986e68 !important;
}

@media (max-width: 520px) {
  .organization-transfer-grid,
  .organization-settings-action-row,
  .organization-danger-actions {
    grid-template-columns: 1fr;
  }

  .organization-settings-section > header > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .organization-settings-action-row .admin-action,
  .organization-danger-actions .admin-action {
    width: 100%;
  }
}


/* admin-desktop-shell-17 */
@media (min-width: 800px) {
  body.admin-tour-office-page .mobile-shell {
    width: min(calc(100% - 40px), 920px);
  }

  body.admin-tour-office-page .mobile-content {
    padding-inline: 18px;
  }

  body.admin-tour-office-page .admin-office-header .admin-selected-event-chip > span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
}


/* admin-rotating-background-18 */
.admin-background-next {
  display: none;
}

@media (min-width: 800px) {
  body.admin-tour-office-page {
    background:
      linear-gradient(90deg, rgba(0, 26, 51, 0.16), rgba(0, 26, 51, 0.02) 34%, rgba(0, 26, 51, 0.02) 66%, rgba(0, 26, 51, 0.16)),
      var(--scoodle-background-image, url("../assets/Ballybunion-background.jpg?v=clubhouse-34")) center center / cover no-repeat fixed,
      #006747;
  }

  body.admin-tour-office-page .admin-background-next {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 42%);
    border-radius: 999px;
    background: #ffffff;
    color: var(--admin-theme-primary, #006747);
    font: inherit;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
  }

  body.admin-tour-office-page .admin-background-next:hover,
  body.admin-tour-office-page .admin-background-next:focus-visible {
    border-color: var(--admin-theme-secondary, #e2ba2f);
    outline: 2px solid color-mix(in srgb, var(--admin-theme-secondary, #e2ba2f), #ffffff 45%);
    outline-offset: 2px;
  }
}

/* admin-photo-view-19 */
body.admin-tour-office-page .mobile-shell {
  transition: opacity 180ms ease;
}

body.admin-tour-office-page .admin-background-next {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  min-width: 64px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 42%);
  border-radius: 999px;
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  white-space: nowrap;
  cursor: pointer;
}

body.admin-tour-office-page .admin-background-next:hover,
body.admin-tour-office-page .admin-background-next:focus-visible {
  border-color: var(--admin-theme-secondary, #e2ba2f);
  outline: 2px solid color-mix(in srgb, var(--admin-theme-secondary, #e2ba2f), #ffffff 45%);
  outline-offset: 2px;
}

.admin-photo-controls {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10020;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 12px;
  border: 2px solid var(--admin-theme-secondary, #e2ba2f);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  color: var(--admin-theme-ink, #173428);
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

.admin-photo-controls[hidden] {
  display: none !important;
}

.admin-photo-count {
  min-width: 48px;
  padding: 0 8px;
  border-right: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 68%);
  border-left: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 68%);
  font-size: 0.7rem;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.admin-photo-control {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 46%);
  border-radius: 999px;
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.admin-photo-control.admin-photo-arrow {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 6px;
  font-size: 1.42rem;
  font-weight: 800;
}

.admin-photo-arrow span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.admin-photo-control.primary {
  border-color: var(--admin-theme-primary, #006747);
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
}

.admin-photo-control:hover,
.admin-photo-control:focus-visible {
  border-color: var(--admin-theme-secondary, #e2ba2f);
  outline: 2px solid color-mix(in srgb, var(--admin-theme-secondary, #e2ba2f), #ffffff 42%);
  outline-offset: 1px;
}

body.admin-tour-office-page.admin-photo-mode {
  min-height: 100dvh;
  overflow: hidden;
  background:
    var(--scoodle-background-image, url("../assets/Ballybunion-background.jpg")) center center / cover no-repeat fixed,
    #006747 !important;
}

body.admin-tour-office-page.admin-photo-mode .mobile-shell {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 499px) {
  body.admin-tour-office-page.admin-photo-mode {
    background-attachment: scroll !important;
  }

  body.admin-tour-office-page .admin-background-next {
    left: 8px;
    min-width: 58px;
    min-height: 30px;
    padding-inline: 7px;
    font-size: 0.62rem;
  }

  .admin-photo-controls {
    width: calc(100% - 24px);
    padding-inline: 8px;
  }

  .admin-photo-control {
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .admin-photo-control.admin-photo-arrow {
    padding-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.admin-tour-office-page .mobile-shell {
    transition: none;
  }
}


/* organization-logo-editor-1 */
.organization-logo-editor {
  align-items: center;
  background: color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 93%);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 68%);
  border-radius: 6px;
  display: grid;
  gap: 12px;
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 10px;
}

.organization-logo-preview {
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--admin-theme-primary, #006747);
  border-radius: 50%;
  color: var(--admin-theme-primary, #006747);
  display: flex;
  font-size: 1.05rem;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 72px;
}

.organization-logo-preview img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.organization-logo-controls {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.organization-logo-controls > strong {
  color: var(--admin-theme-primary, #006747);
  font-size: 0.84rem;
}

.organization-logo-controls > small {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.7rem;
  line-height: 1.25;
}

.organization-logo-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.organization-logo-upload {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.organization-logo-upload input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 430px) {
  .organization-logo-editor {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .organization-logo-preview {
    height: 58px;
    width: 58px;
  }
}

/* overflow-dots-no-circle-25 */
.mobile-overflow-menu-button,
body[data-admin-theme] .admin-office-header .mobile-overflow-menu-button {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* organization-logo-save-workflow-26 */
.organization-logo-editor:has(.organization-logo-preview.has-logo) {
  grid-template-columns: 118px minmax(0, 1fr);
}

.organization-logo-preview.has-logo {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 78px;
  overflow: visible;
  width: 112px;
}

.organization-logo-preview.has-logo img {
  height: 74px;
  max-width: 110px;
  object-fit: contain;
  width: 100%;
}

.organization-logo-background-option {
  align-items: center;
  color: var(--admin-theme-ink, #173428);
  display: flex;
  font-size: 0.7rem;
  gap: 6px;
  line-height: 1.2;
  margin-top: 4px;
}

.organization-logo-background-option input {
  accent-color: var(--admin-theme-primary, #006747);
  height: 16px;
  margin: 0;
  width: 16px;
}

@media (max-width: 430px) {
  .organization-logo-editor:has(.organization-logo-preview.has-logo) {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .organization-logo-preview.has-logo {
    height: 64px;
    width: 88px;
  }

  .organization-logo-preview.has-logo img {
    height: 60px;
    max-width: 86px;
  }
}

.mobile-overflow-menu-button:hover,
.mobile-overflow-menu-button:focus-visible,
body[data-admin-theme] .admin-office-header .mobile-overflow-menu-button:hover,
body[data-admin-theme] .admin-office-header .mobile-overflow-menu-button:focus-visible {
  background: transparent !important;
}
