:root {
  --admin-tee-count-font-size: 0.71rem;
}

/* entry-builder-clear-all-81 */
.admin-entry-information {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  padding-top: 0.75rem;
}

.admin-entry-information-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-entry-builder-launch {
  align-content: center;
  display: grid;
  gap: 0.12rem;
  min-height: 100%;
  text-align: left;
}

.admin-entry-builder-launch strong {
  font-size: 0.88rem;
  font-weight: 950;
}

.admin-entry-builder-launch span {
  font-size: 0.68rem;
  font-weight: 760;
  opacity: 0.86;
}

.admin-entry-builder-modal {
  padding: 0.45rem;
  z-index: 2150;
}

.admin-entry-builder-modal .admin-event-settings-modal-card {
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(98dvh, 940px);
  max-height: min(98dvh, 940px);
  max-width: 1120px;
  width: min(100%, 1120px);
}

.admin-entry-builder-body {
  align-content: start;
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.8rem;
  scrollbar-gutter: stable;
}

.entry-builder-config {
  align-items: stretch;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 64px 148px max-content;
  justify-content: start;
}

.entry-builder-config > div,
.entry-builder-config > label,
.entry-builder-config > fieldset,
.entry-builder-adjustment-grid > label,
.entry-builder-admin-fee {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 28%, #ffffff);
  border-radius: 8px;
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  padding: 0.45rem 0.55rem;
}

.entry-builder-config > div,
.entry-builder-config > label {
  align-content: center;
  display: grid;
  gap: 0.18rem;
}

.entry-builder-config span,
.entry-builder-config legend,
.entry-builder-adjustment-grid > label > span:first-child,
.entry-builder-admin-fee > span:first-child {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.7rem;
  font-weight: 900;
}

.entry-builder-config strong {
  color: var(--admin-theme-ink, #143a2e);
  font-size: 1.25rem;
  line-height: 1;
}

.entry-builder-config select,
.entry-builder-adjustment-grid select {
  min-height: 34px;
  width: 100%;
}

.entry-builder-config fieldset,
.entry-builder-admin-fee fieldset {
  align-items: center;
  display: flex;
  gap: 0.58rem;
}

.entry-builder-config legend {
  padding: 0 0.25rem;
}

.entry-builder-config fieldset label,
.entry-builder-admin-fee fieldset label {
  align-items: center;
  color: var(--admin-theme-ink, #143a2e);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.35rem;
}

.entry-builder-config input[type="radio"],
.entry-builder-admin-fee input[type="radio"] {
  accent-color: var(--admin-theme-primary, #17633f);
  height: 18px;
  margin: 0;
  width: 18px;
}

.entry-builder-config > .entry-builder-clear {
  align-self: end;
  justify-self: start;
  min-height: 34px;
  padding: 0.4rem 0.62rem;
  white-space: nowrap;
}

.entry-builder-section {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 26%, #ffffff);
  border-radius: 9px;
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.7rem;
}

.entry-builder-section > header {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
}

.entry-builder-section > header > div {
  display: grid;
  gap: 0.1rem;
}

.entry-builder-section > header strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.94rem;
  font-weight: 950;
}

.entry-builder-section > header span {
  color: #60736a;
  font-size: 0.68rem;
  font-weight: 760;
}

.entry-builder-sheet-scroll {
  border: 1px solid #cfddd5;
  border-radius: 7px;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.entry-builder-sheet {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--admin-theme-ink, #143a2e);
  font-size: 0.74rem;
  min-width: 0;
  width: max-content;
}

.entry-builder-sheet th,
.entry-builder-sheet td {
  background: #ffffff;
  border-bottom: 1px solid #e0e9e4;
  border-right: 1px solid #e0e9e4;
  box-sizing: border-box;
  height: 43px;
  min-width: 74px;
  padding: 0.24rem 0.3rem;
  text-align: center;
}

.entry-builder-sheet thead th {
  background: var(--admin-theme-primary, #17633f);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  position: sticky;
  top: 0;
  z-index: 4;
}

.entry-builder-sheet th:first-child {
  left: 0;
  min-width: 196px;
  position: sticky;
  text-align: left;
  width: 196px;
  z-index: 3;
}

.entry-builder-sheet thead th:first-child {
  z-index: 6;
}

.entry-builder-sheet .entry-builder-symbol {
  font-weight: 950;
  left: 196px;
  min-width: 44px;
  position: sticky;
  width: 44px;
  z-index: 3;
}

.entry-builder-sheet thead .entry-builder-symbol {
  background: var(--admin-theme-primary, #17633f);
  z-index: 6;
}

.entry-builder-sheet tfoot th,
.entry-builder-sheet tfoot td {
  background: #ffffff;
  border-bottom: 0;
  border-top: 3px solid var(--admin-theme-primary, #17633f);
  font-weight: 950;
}

.entry-builder-sheet tfoot th:first-child {
  font-size: 0.86rem;
  text-align: right;
}

.entry-builder-sheet input {
  box-sizing: border-box;
  font-size: 0.8rem;
  min-height: 28px;
  padding: 0.24rem 0.3rem;
  text-align: right;
  width: 66px;
}

.entry-builder-expense-name {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.entry-builder-tax-note {
  color: #68786f;
  font-size: 0.65rem;
  font-weight: 650;
}

.entry-builder-tax-toggle {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.68rem;
  font-weight: 750;
}

.entry-builder-tax-toggle input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  accent-color: var(--admin-theme-primary, #17633f);
}

.entry-builder-gratuity-control {
  display: grid;
  grid-template-columns: auto 36px 14px;
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.64rem;
  font-weight: 760;
  white-space: nowrap;
}

.entry-builder-gratuity-control input {
  min-height: 26px;
  width: 36px;
  padding: 0.18rem;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 42%);
  border-radius: 5px;
  text-align: center;
}

.entry-builder-gratuity-control b {
  font-size: 0.7rem;
  padding-left: 0.1rem;
}

.entry-builder-number-input {
  appearance: textfield;
  -moz-appearance: textfield;
}

.entry-builder-number-input::-webkit-inner-spin-button,
.entry-builder-number-input::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

[data-event-shell-entry-fee] {
  appearance: textfield;
  -moz-appearance: textfield;
}

[data-event-shell-entry-fee]::-webkit-inner-spin-button,
[data-event-shell-entry-fee]::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.entry-builder-custom-label {
  align-items: center;
  display: grid;
  gap: 0.3rem;
  grid-template-columns: minmax(0, 1fr) 25px;
  width: 100%;
}

.entry-builder-custom-label input {
  min-width: 0;
  text-align: left;
  width: 100%;
}

.entry-builder-custom-label button {
  align-items: center;
  background: #fff2ef;
  border: 1px solid #dbaba2;
  border-radius: 50%;
  color: #8c2f22;
  display: inline-flex;
  font-size: 1rem;
  height: 24px;
  justify-content: center;
  padding: 0 0 2px;
  width: 24px;
}

.entry-builder-section-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.entry-builder-section-actions > div {
  align-items: baseline;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.entry-builder-section-actions > div span {
  color: #60736a;
  font-size: 0.7rem;
  font-weight: 820;
}

.entry-builder-section-actions > div strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.94rem;
  font-weight: 950;
}

.entry-builder-once-grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fill, 126px);
  justify-content: start;
}

.entry-builder-once-item {
  background: #ffffff;
  border: 1px solid #dce7e1;
  border-radius: 7px;
  min-width: 0;
  padding: 0.42rem;
}

.entry-builder-once-item > label {
  color: var(--admin-theme-ink, #143a2e);
  display: grid;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.35rem;
}

.entry-builder-fnb-section {
  display: grid;
  gap: 0.55rem;
  padding: 0.6rem;
  border: 1px solid #dce7e1;
  border-radius: 7px;
  background: #ffffff;
}

.entry-builder-fnb-section > header {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.entry-builder-fnb-section > header > div {
  display: grid;
  gap: 0.08rem;
}

.entry-builder-fnb-section > header strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.82rem;
  font-weight: 760;
}

.entry-builder-fnb-section > header span {
  color: #61736a;
  font-size: 0.65rem;
}

.entry-builder-once-item .entry-builder-custom-label {
  font-size: inherit;
}

.entry-builder-once-amount,
.entry-builder-value-input {
  align-items: center;
  display: grid;
  gap: 0.3rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.entry-builder-once-amount > span,
.entry-builder-value-input > b {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.82rem;
  font-weight: 950;
}

.entry-builder-once-amount input,
.entry-builder-value-input input {
  box-sizing: border-box;
  min-height: 28px;
  min-width: 0;
  text-align: right;
  width: 70px;
}

.entry-builder-adjustment-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 110px 94px 94px 112px 156px 94px;
  justify-content: start;
}

.entry-builder-adjustment-grid > label {
  align-content: start;
  display: grid;
  gap: 0.35rem;
}

.entry-builder-adjustment-grid > label > small {
  color: #61736a;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1;
  margin-top: -0.08rem;
}

.entry-builder-admin-fee {
  display: grid;
  gap: 0.35rem;
}

.entry-builder-admin-fee fieldset {
  border: 0;
  padding: 0;
}

.entry-builder-calculations {
  border: 1px solid #d8e4dd;
  border-radius: 8px;
  justify-self: end;
  overflow: hidden;
  width: min(100%, 520px);
}

.entry-builder-calculation-row {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e1e9e5;
  display: grid;
  font-size: 0.76rem;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.46rem 0.65rem;
}

.entry-builder-calculation-row:last-child {
  border-bottom: 0;
}

.entry-builder-calculation-row span {
  color: #536a60;
  font-weight: 800;
}

.entry-builder-calculation-row strong {
  color: var(--admin-theme-ink, #143a2e);
  font-weight: 950;
}

.entry-builder-calculation-row.is-subtotal,
.entry-builder-calculation-row.is-grand {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 6%, #ffffff);
}

.entry-builder-calculation-row.is-final {
  background: var(--admin-theme-primary, #17633f);
  font-size: 0.9rem;
}

.entry-builder-calculation-row.is-final span,
.entry-builder-calculation-row.is-final strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .admin-entry-builder-modal {
    padding: 0.2rem;
  }

  .admin-entry-builder-modal .admin-event-settings-modal-card {
    height: calc(100dvh - 0.4rem);
    max-height: calc(100dvh - 0.4rem);
  }

  .entry-builder-config {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-builder-config fieldset {
    grid-column: 1 / -1;
  }

  .entry-builder-adjustment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .admin-entry-information-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .admin-entry-builder-body {
    padding: 0.55rem;
  }

  .entry-builder-section {
    padding: 0.55rem;
  }

  .entry-builder-sheet th:first-child {
    min-width: 158px;
    width: 158px;
  }

  .entry-builder-sheet .entry-builder-symbol {
    left: 158px;
  }

  .entry-builder-adjustment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-builder-section-actions {
    align-items: stretch;
  }

  .entry-builder-section-actions > div {
    align-items: flex-end;
    display: grid;
    gap: 0.08rem;
  }

  .entry-builder-section > header,
  .entry-builder-fnb-section > header {
    align-items: start;
    display: grid;
    justify-content: stretch;
  }

  .entry-builder-gratuity-control {
    justify-self: start;
  }

  .admin-entry-builder-modal .admin-event-settings-modal-actions {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 0.65rem;
  }

  .admin-entry-builder-modal .admin-event-settings-modal-actions > span {
    font-size: 0.65rem;
  }
}

/* event-settings-preview-language-75 */
body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-card {
  width: min(100%, 900px);
  max-width: 900px;
  height: min(94dvh, 780px);
  max-height: min(94dvh, 780px);
  border-width: 2px;
}

[data-event-settings-modal] .admin-event-settings-modal-head {
  padding: 13px 15px;
}

[data-event-settings-modal] .admin-event-settings-modal-head strong {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 750;
}

[data-event-settings-modal] .admin-event-settings-modal-head span {
  font-weight: 560;
}

body[data-admin-theme] [data-event-settings-modal] .event-settings-body {
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--admin-theme-light, #ffffff) 95%, var(--admin-theme-primary, #17633f));
}

[data-event-settings-modal] .event-settings-primary,
[data-event-settings-modal] .event-settings-section {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 65%);
  border-radius: 8px;
  background: #ffffff;
}

[data-event-settings-modal] .event-settings-primary {
  gap: 0.75rem;
}

[data-event-settings-modal] .event-settings-meta-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 0.85fr) minmax(150px, 1.1fr);
  gap: 0.7rem;
}

[data-event-settings-modal] [data-event-shell-start] {
  box-sizing: border-box;
  font-size: 14px;
  min-height: 32px;
  min-width: 150px;
  width: 100%;
  color-scheme: light;
}

[data-event-shell-error]:not([hidden]) {
  color: #b22234;
  font-size: 14px;
  margin: 0;
  padding: 8px 16px;
}

[data-event-settings-modal] .admin-field {
  gap: 0.28rem;
  color: var(--admin-theme-ink, #173428);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body[data-admin-theme] [data-event-settings-modal] .admin-field {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-admin-theme] [data-event-settings-modal] .admin-field > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 22%);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

/* event-settings-compact-card-141
   The regular Event Settings panel deliberately contains only the four event
   basics. Keep it sized to those controls; the create-event and add-round
   flows retain their roomier shells. */
body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-card.event-settings-compact-card {
  grid-template-rows: auto auto auto;
  height: auto;
  max-height: min(32rem, calc(100dvh - 2rem));
  max-width: 580px;
  width: min(calc(100vw - 2rem), 580px);
}

body[data-admin-theme] [data-event-settings-modal] .event-settings-compact-card .event-settings-body {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.9rem 1rem;
}

[data-event-settings-modal] .event-settings-compact-card .event-settings-primary {
  gap: 0.7rem;
  padding: 0.8rem;
}

[data-event-settings-modal] .event-settings-compact-card .event-settings-meta-grid {
  grid-template-columns: minmax(160px, 1fr) minmax(105px, 0.8fr) minmax(140px, 1fr);
  gap: 0.65rem;
}

@media (max-width: 560px) {
  body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-card.event-settings-compact-card {
    max-height: calc(100dvh - 1rem);
    width: calc(100vw - 1rem);
  }

  [data-event-settings-modal] .event-settings-compact-card .event-settings-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* tournament-builder-modal-89 */
.admin-tournament-builder-launch-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 28%, #ffffff);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgb(22 52 39 / 0.07);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem;
}

.admin-tournament-builder-launch-card > div {
  display: grid;
  gap: 0.14rem;
}

.admin-tournament-builder-launch-card span {
  color: var(--admin-theme-primary, #17633f);
  font-size: 1.08rem;
  font-weight: 760;
}

.admin-tournament-builder-launch-card strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-tournament-builder-launch-card small {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 70%, #ffffff);
  font-size: 0.74rem;
  line-height: 1.35;
}

[data-tournament-builder-modal] .admin-event-settings-modal-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(96dvh, 900px);
  max-height: min(96dvh, 900px);
  max-width: 1120px;
  width: min(98vw, 1120px);
}

[data-tournament-builder-modal] .admin-tournament-builder-modal-body {
  align-content: start;
  overflow: auto;
  padding: 0.9rem 1rem 1rem;
}

[data-tournament-builder-modal] .admin-tournament-builder-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0.9rem;
  overflow: visible;
  padding: 0;
}

.admin-tournament-builder-navigation {
  align-items: center;
  border-bottom: 2px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 24%, #ffffff);
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 0.72rem;
}

.admin-tournament-builder-navigation ol {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-tournament-navigation-step {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 28%, #ffffff);
  border-radius: 8px;
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 72%, #ffffff);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 730;
  min-height: 40px;
  padding: 0.38rem 0.58rem;
  text-align: center;
  width: 100%;
}

.admin-tournament-navigation-step.is-active {
  background: var(--admin-theme-primary, #17633f);
  border-color: var(--admin-theme-primary, #17633f);
  color: #ffffff;
}

.admin-tournament-navigation-step.is-complete {
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f) 58%, #ffffff);
  color: var(--admin-theme-primary, #17633f);
}

.admin-tournament-navigation-step:focus-visible,
.admin-tournament-navigation-arrow:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--admin-theme-secondary, #d9bf55) 72%, #ffffff);
  outline-offset: 2px;
}

.admin-tournament-navigation-arrows {
  display: flex;
  gap: 0.35rem;
}

.admin-tournament-navigation-arrow {
  align-items: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 38%, #ffffff);
  border-radius: 8px;
  color: var(--admin-theme-primary, #17633f);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.admin-tournament-navigation-arrow:disabled,
.admin-tournament-navigation-step:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

[data-tournament-builder-modal] .admin-tournament-builder-modal-actions {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

@media (max-width: 700px) {
  [data-tournament-builder-modal] .admin-event-settings-modal-card {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
    width: calc(100vw - 1rem);
  }

  [data-tournament-builder-modal] .admin-tournament-builder-modal-body {
    padding: 0.72rem;
  }

  .admin-tournament-builder-navigation ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .admin-tournament-builder-launch-card {
    align-items: stretch;
    display: grid;
  }

  .admin-tournament-builder-launch-card .admin-action {
    justify-self: start;
  }

  .admin-tournament-builder-navigation {
    align-items: start;
  }

  .admin-tournament-navigation-step {
    font-size: 0.78rem;
    min-height: 38px;
    padding-inline: 0.34rem;
  }

  [data-tournament-builder-modal] .admin-tournament-builder-modal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-tournament-builder-modal] .admin-tournament-builder-modal-actions > span {
    grid-column: 1 / -1;
  }
}

/* tournament-builder-and-compact-event-information-82 */
body[data-admin-theme] [data-event-settings-modal] .event-settings-schedule {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  justify-self: start;
  max-width: 520px;
  width: 100%;
}

body[data-admin-theme] [data-event-settings-modal] .event-settings-schedule .event-settings-section-head {
  display: grid;
  gap: 0.1rem;
}

body[data-admin-theme] [data-event-settings-modal] .event-settings-schedule .admin-field {
  flex: 0 0 185px;
  width: 185px;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-information-grid {
  align-items: stretch;
  gap: 0.5rem;
  grid-template-columns: max-content 124px;
  justify-content: start;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-information {
  justify-self: start;
  max-width: 720px;
  width: 100%;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-builder-launch {
  grid-template-columns: 22px max-content;
  gap: 0.42rem;
  min-height: 42px;
  padding: 0.4rem 0.6rem;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-builder-icon {
  height: 21px;
  width: 21px;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-builder-launch strong {
  font-size: 0.8rem;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-builder-launch small {
  display: none;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-fee-field {
  min-height: 42px;
  padding: 0.32rem 0.5rem;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-fee-field input {
  font-size: 0.98rem;
  min-height: 20px;
}

body[data-admin-theme] [data-event-settings-modal] .tournament-builder-section {
  gap: 0.65rem;
}

body[data-admin-theme] [data-event-settings-modal] .tournament-builder-section .event-settings-section-head {
  align-items: start;
  display: grid;
  gap: 0.12rem;
}

body[data-admin-theme] [data-event-settings-modal] .tournament-builder-section .event-settings-section-head > span {
  font-size: 1rem;
}

.tournament-builder-questions {
  display: grid;
  gap: 0.58rem;
}

.tournament-builder-branch {
  align-items: end;
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
}

.tournament-builder-branch > .admin-field,
.tournament-builder-team-fields .admin-field,
.tournament-builder-guidance .admin-field {
  min-width: 0;
}

.tournament-builder-guidance,
.tournament-builder-team-note {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 5%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 22%, #ffffff);
  border-radius: 8px;
  display: grid;
  gap: 0.24rem;
  padding: 0.58rem 0.65rem;
}

.tournament-builder-guidance strong,
.tournament-builder-team-note strong,
.tournament-builder-summary strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.8rem;
  font-weight: 760;
}

.tournament-builder-guidance span,
.tournament-builder-guidance small,
.tournament-builder-team-note span,
.tournament-builder-summary {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.35;
  margin: 0;
}

.tournament-builder-guidance .admin-field {
  margin-top: 0.22rem;
  max-width: 310px;
}

.tournament-builder-team-note {
  align-self: stretch;
}

.tournament-builder-team-fields {
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
}

.tournament-builder-field-structure {
  grid-column: span 2;
}

.admin-event-information-grid {
  align-items: start;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1.28fr) minmax(236px, 0.72fr);
}

.admin-event-information-card {
  align-content: start;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 4%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  border-radius: 10px;
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
}

.admin-event-information-entry {
  gap: 0.7rem;
}

.admin-event-information-head {
  align-items: start;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.admin-event-information-head > div {
  display: grid;
  gap: 0.12rem;
}

.admin-event-information-head > div > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-event-information-head .admin-entry-builder-launch {
  align-items: center;
  background: var(--admin-event-action-blue, #2854a6);
  border-color: var(--admin-event-action-blue, #2854a6);
  color: #ffffff;
  flex: 0 1 252px;
  margin: 0;
  min-height: 48px;
  padding: 0.46rem 0.7rem;
}

.admin-event-information-head .admin-entry-builder-launch > span {
  display: grid;
  gap: 0.08rem;
  text-align: left;
}

.admin-event-information-head .admin-entry-builder-launch strong {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 760;
}

.admin-event-information-head .admin-entry-builder-launch small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 620;
  line-height: 1.15;
}

.admin-event-information-fields {
  align-items: start;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-event-information-fields .admin-field {
  min-width: 0;
}

.admin-event-information-fields .admin-field > span {
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-event-information-fields input {
  min-height: 32px;
}

.admin-event-information-fields .admin-entry-fee-field {
  grid-column: 1 / -1;
  max-width: 144px;
}

.admin-event-information-fields textarea {
  box-sizing: border-box;
  min-height: 92px;
  resize: vertical;
  width: 100%;
}

.admin-event-information-actions {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  padding-top: 0.55rem;
}

.admin-event-information-actions > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 72%, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
}

.admin-event-information-actions .admin-action {
  margin: 0;
}

.admin-event-invite-card {
  min-height: 0;
}

.admin-event-invite-card > small {
  min-height: 0;
}

.admin-event-information-card > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 70%, #ffffff);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-event-information-card > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-event-invite-card {
  align-content: center;
  min-height: 146px;
}

.admin-event-information-card .admin-event-invite-launch {
  background: var(--admin-event-action-blue, #2854a6);
  border-color: var(--admin-event-action-blue, #2854a6);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 760;
  justify-self: start;
  margin-top: 0.5rem;
  min-height: 44px;
  padding-inline: 1rem;
}

@media (max-width: 700px) {
  body[data-admin-theme] [data-event-settings-modal] .event-settings-schedule {
    align-items: stretch;
    display: grid;
    max-width: none;
  }

  body[data-admin-theme] [data-event-settings-modal] .event-settings-schedule .admin-field {
    flex: auto;
    width: auto;
  }

  .tournament-builder-branch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tournament-builder-field-structure {
    grid-column: auto;
  }

  .admin-event-information-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-event-information-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body[data-admin-theme] [data-event-settings-modal] .admin-entry-information-grid,
  .admin-event-information-grid,
  .tournament-builder-branch,
  .tournament-builder-team-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-event-information-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-event-information-head .admin-entry-builder-launch {
    flex-basis: auto;
  }

  .admin-event-information-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-event-information-fields .admin-entry-fee-field {
    grid-column: auto;
  }

  body[data-admin-theme] [data-event-settings-modal] .admin-entry-builder-launch {
    justify-content: start;
  }
}

/* tour-office-tournament-builder-83 */
#adminTournamentBuilder {
  margin-bottom: 0.8rem;
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Event Information"] {
  --admin-section-fill: #3c3b6e;
  --admin-section-text: #ffffff;
  --admin-section-muted-themed: rgba(255, 255, 255, 0.86);
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #2c2b58;
  --admin-event-action-blue: #2854a6;
}

.admin-tournament-builder-card {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 28%, #ffffff);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgb(22 52 39 / 0.07);
  display: grid;
  gap: 0.78rem;
  overflow: hidden;
  padding: 0.82rem;
}

.admin-tournament-builder-head {
  align-items: start;
  border-bottom: 2px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 22%, #ffffff);
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  padding-bottom: 0.65rem;
}

.admin-tournament-builder-head > div {
  display: grid;
  gap: 0.08rem;
}

.admin-tournament-builder-head span {
  color: var(--admin-theme-primary, #17633f);
  font-size: 1.08rem;
  font-weight: 840;
}

.admin-tournament-builder-head strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.84rem;
  font-weight: 720;
}

.admin-tournament-builder-head small,
.admin-tournament-common-head span,
.admin-tournament-builder-empty,
.admin-tournament-selection-summary span,
.admin-tournament-custom-path > header span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 70%, #ffffff);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.34;
}

.admin-tournament-builder-head .admin-action {
  flex: 0 0 auto;
}

.admin-tournament-common-formats {
  display: grid;
  gap: 0.5rem;
}

.admin-tournament-common-head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}

.admin-tournament-common-head strong,
.admin-tournament-custom-path > header strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.9rem;
  font-weight: 790;
}

.admin-tournament-format-grid {
  display: grid;
  gap: 0.46rem;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
}

.admin-tournament-format {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 3%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 22%, #ffffff);
  border-radius: 8px;
  color: var(--admin-theme-ink, #173428);
  cursor: pointer;
  display: grid;
  gap: 0.12rem;
  min-height: 58px;
  padding: 0.5rem 0.58rem;
  text-align: left;
}

.admin-tournament-format strong {
  font-size: 0.76rem;
  font-weight: 780;
}

.admin-tournament-format small {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.65rem;
  font-weight: 560;
  line-height: 1.23;
}

.admin-tournament-format:hover,
.admin-tournament-format:focus-visible,
.admin-tournament-format.is-selected {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 12%, #ffffff);
  border-color: var(--admin-theme-primary, #17633f);
  box-shadow: inset 0 0 0 1px var(--admin-theme-primary, #17633f);
  outline: 0;
}

.admin-tournament-builder-empty,
.admin-tournament-selection-summary,
.admin-tournament-custom-path {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 4%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 8px;
  margin: 0;
  padding: 0.62rem 0.68rem;
}

.admin-tournament-selection-summary {
  align-items: center;
  display: grid;
  gap: 0.24rem 0.7rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-tournament-selection-summary > strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.9rem;
}

.admin-tournament-selection-summary > span {
  grid-column: 1;
}

.admin-tournament-selection-summary > .admin-action {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.admin-tournament-custom-path {
  display: grid;
  gap: 0.6rem;
}

.admin-tournament-custom-path > header {
  display: grid;
  gap: 0.08rem;
}

.admin-tournament-custom-path .tournament-builder-branch {
  grid-template-columns: repeat(4, minmax(126px, 1fr));
}

.admin-tournament-custom-path .tournament-builder-questions {
  display: grid;
  gap: 0.58rem;
}

.admin-tournament-custom-path .tournament-builder-scope {
  max-width: 440px;
}

.admin-tournament-custom-path .tournament-builder-team-fields {
  display: grid;
  gap: 0.58rem;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
}

.admin-tournament-custom-path .tournament-builder-guidance,
.admin-tournament-custom-path .tournament-builder-team-note {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  border-radius: 7px;
  display: grid;
  gap: 0.24rem;
  padding: 0.55rem 0.6rem;
}

.admin-tournament-custom-path .tournament-builder-summary {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.72rem;
  margin: 0;
}

.admin-tournament-builder-actions {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 16%, #ffffff);
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  padding-top: 0.6rem;
}

.admin-tournament-builder-actions > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 72%, #ffffff);
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: auto;
}

/* tour-office-tournament-builder-divisions-87 */
#adminEventSetup .admin-event-category-settings,
#adminEventSetup .admin-event-division-setup {
  display: none !important;
}

.admin-tournament-format-choice {
  align-items: center;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 5%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  border-radius: 8px;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  padding: 0.5rem 0.62rem;
}

.admin-tournament-format-choice > div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.52rem;
}

.admin-tournament-format-choice span,
.admin-tournament-guided-step header > span,
.admin-tournament-step-actions > span,
.admin-tournament-step-actions > div > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 67%, #ffffff);
  font-size: 0.7rem;
  font-weight: 530;
  line-height: 1.3;
}

.admin-tournament-format-choice strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.9rem;
  font-weight: 730;
}

.admin-tournament-next-copy {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 72%, #ffffff);
  font-size: 0.71rem;
}

.admin-tournament-guided-step {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 3%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 9px;
  display: grid;
  gap: 0.7rem;
  padding: 0.68rem;
}

.admin-tournament-guided-step > header {
  display: grid;
  gap: 0.12rem;
}

.admin-tournament-guided-step > header > strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 1rem;
  font-weight: 740;
}

.admin-tournament-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.42rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-tournament-stepper li {
  align-items: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 999px;
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 63%, #ffffff);
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 560;
  min-height: 26px;
  padding: 0.13rem 0.45rem;
}

.admin-tournament-stepper li.is-active {
  background: var(--admin-theme-primary, #17633f);
  border-color: var(--admin-theme-primary, #17633f);
  color: #ffffff;
}

.admin-tournament-stepper li.is-complete {
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f) 40%, #ffffff);
  color: var(--admin-theme-primary, #17633f);
}

.admin-tournament-division-count {
  display: grid;
  gap: 0.18rem;
  max-width: 148px;
}

.admin-tournament-division-count > span,
.admin-tournament-division-slot .admin-field > span,
.admin-tournament-eligibility > span,
.admin-tournament-custom-categories .admin-field > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.67rem;
  font-weight: 620;
}

.admin-tournament-division-count select {
  min-height: 34px;
}

.admin-tournament-division-slots {
  display: grid;
  gap: 0.56rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-tournament-division-slot {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 21%, #ffffff);
  border-radius: 8px;
  display: grid;
  gap: 0.48rem;
  padding: 0.54rem;
}

.admin-tournament-division-slot > header {
  align-items: end;
  display: grid;
  gap: 0.42rem;
  grid-template-columns: auto minmax(145px, 1fr);
}

.admin-tournament-division-slot > header > span {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.76rem;
  font-weight: 690;
  padding-bottom: 0.42rem;
}

.admin-tournament-division-slot .admin-field {
  display: grid;
  gap: 0.14rem;
}

.admin-tournament-division-slot input {
  min-height: 32px;
}

.admin-tournament-eligibility {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 15%, #ffffff);
  display: grid;
  gap: 0.32rem;
  padding-top: 0.46rem;
}

.admin-tournament-eligibility > div,
.admin-tournament-category-library {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.admin-tournament-eligibility label,
.admin-tournament-category-library > span {
  align-items: center;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 4%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 16%, #ffffff);
  border-radius: 999px;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 540;
  gap: 0.24rem;
  min-height: 26px;
  padding: 0.12rem 0.38rem;
}

.admin-tournament-eligibility input {
  accent-color: var(--admin-theme-primary, #17633f);
  block-size: 14px;
  inline-size: 14px;
  margin: 0;
}

.admin-tournament-step-actions {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 16%, #ffffff);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  padding-top: 0.58rem;
}

.admin-tournament-step-actions > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  justify-content: flex-end;
}

.admin-tournament-custom-categories {
  align-items: end;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.admin-tournament-custom-categories > div {
  display: grid;
  gap: 0.1rem;
}

.admin-tournament-custom-categories strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.76rem;
  font-weight: 680;
}

.admin-tournament-custom-categories small,
.admin-tournament-event-categories p {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.68rem;
  font-weight: 520;
  margin: 0;
}

.admin-tournament-custom-categories input {
  min-height: 32px;
}

.admin-tournament-event-categories {
  display: grid;
  gap: 0.26rem;
}

.admin-tournament-event-categories > div {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 14%, #ffffff);
  display: flex;
  font-size: 0.72rem;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.4rem 0.1rem;
}

.admin-text-action {
  background: transparent;
  border: 0;
  color: var(--admin-theme-primary, #17633f);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  padding: 0.18rem 0.08rem;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .admin-tournament-division-slots {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-tournament-custom-categories {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .admin-tournament-custom-categories > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .admin-tournament-format-choice,
  .admin-tournament-step-actions,
  .admin-tournament-step-actions > div {
    align-items: stretch;
    display: grid;
  }

  .admin-tournament-format-choice .admin-action,
  .admin-tournament-step-actions .admin-action {
    justify-self: start;
  }

  .admin-tournament-division-slot > header,
  .admin-tournament-custom-categories {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-tournament-division-slot > header > span {
    padding-bottom: 0;
  }
}

@media (max-width: 700px) {
  .admin-tournament-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-tournament-custom-path .tournament-builder-branch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .admin-tournament-builder-card {
    padding: 0.68rem;
  }

  .admin-tournament-builder-head {
    align-items: stretch;
    display: grid;
  }

  .admin-tournament-builder-head .admin-action {
    justify-self: start;
  }

  .admin-tournament-format-grid,
  .admin-tournament-custom-path .tournament-builder-branch,
  .admin-tournament-custom-path .tournament-builder-team-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-tournament-selection-summary {
    grid-template-columns: 1fr;
  }

  .admin-tournament-selection-summary > .admin-action,
  .admin-tournament-selection-summary > span {
    grid-column: auto;
    grid-row: auto;
  }
}

body[data-admin-theme] [data-event-settings-modal] .admin-field input,
body[data-admin-theme] [data-event-settings-modal] .admin-field select,
body[data-admin-theme] [data-event-settings-modal] .admin-field textarea {
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 62%);
  border-radius: 6px;
  color: var(--admin-theme-ink, #173428);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body[data-admin-theme] [data-event-settings-modal] .admin-field textarea {
  min-height: 54px;
  padding: 0.5rem 0.6rem;
  line-height: 1.35;
  resize: vertical;
}

[data-event-settings-modal] .admin-event-name-field input {
  font-size: 1rem;
}

[data-event-settings-modal] .event-settings-section-head {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  justify-content: space-between;
}

[data-event-settings-modal] .event-settings-section-head > span {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.92rem;
  font-weight: 720;
}

[data-event-settings-modal] .event-settings-section-head > small {
  color: #64766d;
  font-size: 0.72rem;
  font-weight: 520;
}

[data-event-settings-modal] .event-settings-schedule {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.8fr);
  align-items: end;
}

[data-event-settings-modal] .event-settings-schedule .event-settings-section-head {
  grid-column: 1 / -1;
}

[data-event-settings-modal] .event-settings-schedule .admin-field {
  grid-column: 2;
}

[data-event-settings-modal] .admin-entry-information {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 65%);
  padding-top: 0.85rem;
}

[data-event-settings-modal] .admin-entry-information-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(130px, 0.7fr);
  gap: 0.7rem;
}

[data-event-settings-modal] .admin-entry-builder-launch {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 62px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--admin-theme-primary, #17633f);
  border-radius: 7px;
  background: var(--admin-theme-primary, #17633f);
  color: #ffffff;
  text-align: left;
}

[data-event-settings-modal] .admin-entry-builder-launch:hover,
[data-event-settings-modal] .admin-entry-builder-launch:focus-visible {
  filter: brightness(1.07);
  outline: 2px solid color-mix(in srgb, var(--admin-theme-secondary, #d9bf55), #ffffff 25%);
  outline-offset: 2px;
}

[data-event-settings-modal] .admin-entry-builder-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

[data-event-settings-modal] .admin-entry-builder-launch > span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

[data-event-settings-modal] .admin-entry-builder-launch strong,
[data-event-settings-modal] .admin-entry-builder-launch small {
  color: #ffffff;
  font-weight: 650;
  line-height: 1.15;
}

[data-event-settings-modal] .admin-entry-builder-launch strong {
  font-size: 0.94rem;
}

[data-event-settings-modal] .admin-entry-builder-launch small {
  font-size: 0.7rem;
  opacity: 0.86;
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-fee-field {
  align-content: center;
  min-height: 62px;
  padding: 0.58rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--admin-theme-secondary, #d9bf55), #ffffff 36%);
  border-radius: 7px;
  background: color-mix(in srgb, var(--admin-theme-secondary, #d9bf55) 11%, #ffffff);
}

body[data-admin-theme] [data-event-settings-modal] .admin-entry-fee-field input {
  min-height: 25px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--admin-theme-ink, #173428);
  font-size: 1.18rem;
  font-weight: 720;
}

[data-event-settings-modal] .admin-event-invite-launch {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 52%);
  border-radius: 7px;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 6%, #ffffff);
  color: var(--admin-theme-primary, #17633f);
  text-align: left;
}

[data-event-settings-modal] .admin-event-invite-launch strong {
  font-size: 0.88rem;
  font-weight: 670;
}

[data-event-settings-modal] .admin-event-invite-launch span {
  font-size: 0.71rem;
  font-weight: 520;
  line-height: 1.3;
}

[data-event-settings-modal] .admin-event-settings-modal-actions > span {
  font-weight: 600;
}

@media (max-width: 680px) {
  body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-card {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  body[data-admin-theme] [data-event-settings-modal] .event-settings-body {
    padding: 0.75rem;
  }

  [data-event-settings-modal] .event-settings-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-event-settings-modal] .event-settings-schedule {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-event-settings-modal] .event-settings-schedule .admin-field {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  [data-event-settings-modal] .admin-entry-information-grid {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  [data-event-settings-modal] .admin-entry-builder-launch {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.45rem;
    padding-inline: 0.55rem;
  }

  [data-event-settings-modal] .admin-entry-builder-icon {
    width: 29px;
    height: 29px;
  }

  [data-event-settings-modal] .admin-entry-builder-launch small {
    display: none;
  }
}

/* event-clone-workflow-69 */
.admin-event-create-choice-modal .admin-event-settings-modal-card,
.admin-event-clone-modal .admin-event-settings-modal-card { max-width: 660px; width: min(100%, 660px); }
.admin-event-create-choice-body { display: grid; gap: 12px; }
.admin-event-create-option {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 4%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 12px;
}
.admin-event-create-option > div:first-child { display: grid; gap: 2px; }
.admin-event-create-option > div:first-child > strong { color: var(--admin-theme-primary, #17633f); font-size: 1rem; font-weight: 900; }
.admin-event-create-option > div:first-child > span,
.admin-event-clone-note { color: var(--admin-theme-ink, #173428); font-size: 0.76rem; font-weight: 700; line-height: 1.35; }
.admin-event-create-option > .admin-action { justify-self: start; }
.admin-event-clone-results { border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff); border-radius: 8px; max-height: 200px; overflow-y: auto; }
.admin-event-clone-result {
  align-items: center;
  background: #ffffff;
  border: 0;
  color: var(--admin-theme-ink, #173428);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 12px;
  justify-content: space-between;
  min-height: 50px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}
.admin-event-clone-result + .admin-event-clone-result { border-top: 1px solid rgba(18, 60, 44, 0.1); }
.admin-event-clone-result:hover,
.admin-event-clone-result:focus-visible { background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 8%, #ffffff); }
.admin-event-clone-result > span { display: grid; gap: 2px; min-width: 0; }
.admin-event-clone-result strong { font-size: 0.82rem; }
.admin-event-clone-result small { color: #60756b; font-size: 0.7rem; font-weight: 700; }
.admin-event-clone-result b { color: var(--admin-theme-primary, #17633f); font-size: 0.72rem; }
.admin-event-clone-results .admin-event-clone-note { margin: 0; padding: 10px; }
.admin-event-clone-player-option { align-items: center; color: var(--admin-theme-ink, #173428); display: flex; font-size: 0.82rem; font-weight: 850; gap: 8px; }
.admin-event-clone-player-option input { accent-color: var(--admin-theme-primary, #17633f); height: 19px; margin: 0; width: 19px; }
.admin-event-clone-preview { background: color-mix(in srgb, var(--admin-theme-secondary, #e2ba2f) 12%, #ffffff); border-radius: 8px; display: grid; gap: 2px; padding: 9px 10px; }
.admin-event-clone-preview span { color: #60756b; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.admin-event-clone-preview strong { color: var(--admin-theme-ink, #173428); font-size: 0.9rem; line-height: 1.25; }
@media (max-width: 520px) {
  .admin-event-create-choice-modal,
  .admin-event-clone-modal { padding: 0.35rem; }
  .admin-event-create-choice-modal .admin-event-settings-modal-card,
  .admin-event-clone-modal .admin-event-settings-modal-card { height: calc(100dvh - 0.7rem); max-height: calc(100dvh - 0.7rem); }
}

/* event-create-scroll-footer-70 */
.admin-event-create-choice-modal .admin-event-settings-modal-card,
.admin-event-clone-modal .admin-event-settings-modal-card {
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(92dvh, 700px);
  max-height: min(92dvh, 700px);
}

.admin-event-create-choice-modal .admin-event-settings-modal-body,
.admin-event-clone-modal .admin-event-settings-modal-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

@media (max-width: 520px) {
  .admin-event-create-choice-modal .admin-event-settings-modal-card,
  .admin-event-clone-modal .admin-event-settings-modal-card {
    height: calc(100dvh - 0.7rem);
    max-height: calc(100dvh - 0.7rem);
  }
}

/* event-create-path-choice-72 */
.admin-event-create-choice-modal .admin-event-settings-modal-card {
  height: auto;
  max-height: min(86dvh, 430px);
  max-width: 540px;
  width: min(100%, 540px);
}

.admin-event-create-choice-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-event-create-choice-modal .admin-event-create-option {
  align-content: space-between;
  min-height: 128px;
}

.admin-event-create-choice-modal .admin-event-create-option > .admin-action {
  justify-self: stretch;
  width: 100%;
}

@media (max-width: 520px) {
  .admin-event-create-choice-modal .admin-event-settings-modal-card {
    height: auto;
    max-height: calc(100dvh - 1rem);
  }

  .admin-event-create-choice-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-event-create-choice-modal .admin-event-create-option {
    min-height: 106px;
  }
}

.admin-events-toolbar {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 0.65rem;
}

.admin-events-tee-list,
#adminEventSetup .settings-tee-list {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  max-width: 358px;
  width: 100%;
}

.admin-event-tee-toggle {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: min(100%, 342px);
}

.admin-event-tee-toggle > summary::-webkit-details-marker {
  display: none;
}

.admin-event-tee-toggle > summary::marker {
  color: transparent;
  content: "";
  font-size: 0;
}

.admin-event-tee {
  --event-tee-fill: var(--admin-theme-primary, #17633f);
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --event-tee-label-left: 28px;
  --event-tee-label-width: 154px;
  --event-tee-count-guide-left: clamp(208px, 69.5%, 238px);
  --event-tee-count-width: 74px;
  --event-tee-count-size: var(--admin-tee-count-font-size, 0.57rem);
  --event-tee-arrow-left: 306px;
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  caret-color: transparent;
  color: var(--event-tee-text);
  cursor: pointer;
  display: grid;
  gap: 0.3rem;
  grid-template-columns: minmax(132px, 0.86fr) minmax(78px, 1fr) 30px;
  max-width: 342px;
  min-height: 100px;
  overflow: visible;
  padding: 0 30px 0 22px;
  position: relative;
  text-align: left;
  user-select: none;
  width: min(100%, 342px);
}

.admin-event-tee-toggle > summary.admin-event-tee {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--event-tee-text);
  grid-template-columns: minmax(132px, 0.86fr) minmax(78px, 1fr) 30px;
  max-width: 342px;
  min-height: 100px;
  padding: 0 30px 0 22px;
  width: min(100%, 342px);
}

.admin-event-tee-toggle > summary.admin-event-tee::before,
.admin-event-tee-toggle > summary.admin-event-tee::after {
  content: none;
}

.admin-event-tee:not(:has(.admin-event-tee-art))::before {
  background: var(--event-tee-fill);
  border-radius: 999px 3px 3px 999px;
  clip-path: polygon(0 16%, 12% 5%, 27% 34%, 92% 40%, 100% 50%, 92% 60%, 27% 66%, 12% 95%, 0 84%, 5% 50%);
  content: "";
  inset: 9px 52px 9px 0;
  position: absolute;
  z-index: 0;
}

.admin-event-tee-art {
  fill: none;
  height: 96px;
  left: 0;
  position: absolute;
  stroke: none;
  top: 50%;
  transform: translateY(-50%);
  width: 306px;
  z-index: 0;
}

.admin-event-tee-fill {
  fill: var(--event-tee-fill);
  stroke: var(--event-tee-stroke);
  stroke-linejoin: round;
  stroke-width: var(--event-tee-stroke-width);
  vector-effect: non-scaling-stroke;
}

.admin-event-tee-accent {
  fill: none;
  stroke: var(--event-tee-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.admin-event-tee-label,
.admin-event-tee-count,
.admin-event-tee-arrow {
  position: absolute;
  z-index: 2;
}

.admin-event-tee-label {
  color: var(--event-tee-text);
  font-size: 0.82rem;
  font-weight: 950;
  left: var(--event-tee-label-left);
  line-height: 1;
  max-width: var(--event-tee-label-width);
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  text-overflow: ellipsis;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}

.admin-event-tee-count {
  align-self: center;
  color: var(--event-tee-text);
  font-size: var(--event-tee-count-size);
  font-weight: 950;
  left: calc(var(--event-tee-count-guide-left) - var(--event-tee-count-width));
  line-height: 1;
  max-width: var(--event-tee-count-width);
  opacity: 0.95;
  right: auto;
  text-align: right;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  width: var(--event-tee-count-width);
}

.admin-event-tee-arrow {
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--event-tee-arrow, var(--event-tee-text));
  display: inline-flex;
  height: 24px;
  justify-content: center;
  left: min(var(--event-tee-arrow-left), calc(100% - 30px));
  opacity: 0.9;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.admin-event-tee-arrow::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 7px;
  transform: translateY(-2px) rotate(135deg);
  width: 7px;
}

.admin-event-tee-toggle[open] > .admin-event-tee .admin-event-tee-arrow::before {
  transform: translateY(2px) rotate(-45deg);
}

.admin-event-tee-button {
  min-height: 84px;
}

.admin-event-tee-button .admin-event-tee-label {
  grid-column: 1 / span 3;
  left: var(--event-tee-label-left);
  padding-left: 0;
}

.admin-event-tee-toggle .admin-event-list {
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
  margin-left: var(--admin-themed-card-track-indent, 0.45rem);
  padding: 0.35rem 0 0.2rem;
  width: var(--admin-themed-card-track-width, calc(100% - 0.45rem));
}

.admin-event-pencil-toggle {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  margin-left: var(--admin-themed-pencil-track-indent, 0.9rem);
  max-width: none;
  overflow: visible;
  padding: 0;
  width: var(--admin-themed-pencil-track-width, calc(100% - 0.9rem));
}

.admin-event-pencil-toggle > summary::-webkit-details-marker {
  display: none;
}

.admin-event-pencil-toggle > summary::marker {
  color: transparent;
  content: "";
  font-size: 0;
}

.admin-event-pencil-summary {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  color: inherit !important;
  cursor: pointer;
  display: block !important;
  list-style: none;
  min-height: 66px;
  padding: 0 30px 0 0 !important;
  position: relative;
  width: min(100%, 326px);
}

.admin-event-pencil-summary::before,
.admin-event-pencil-summary::after {
  content: none !important;
  display: none !important;
}

.admin-event-pencil {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  min-height: 66px;
  padding: 10px 88px 10px 56px;
  width: min(100%, 300px);
}

.admin-event-pencil .settings-pencil-art {
  height: 58px;
  left: 0;
  width: min(300px, calc(100% - 22px));
}

.admin-event-pencil-copy {
  align-items: center;
  color: var(--settings-pencil-text, #ffffff);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.08;
  min-height: 42px;
  min-width: 0;
  position: relative;
  width: 156px;
  z-index: 2;
}

.admin-event-pencil-copy strong,
.admin-event-pencil-copy small {
  color: var(--settings-pencil-text, #ffffff);
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.admin-event-pencil-copy strong {
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.18;
  min-width: 0;
  overflow: hidden;
  padding-block: 0.08em 0.14em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-pencil-copy small {
  font-size: 0.65rem;
  flex: 0 0 54px;
  font-weight: 950;
  line-height: 1.18;
  max-width: 54px;
  opacity: 0.95;
  overflow: hidden;
  padding-block: 0.08em 0.14em;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-pencil-arrow {
  align-items: center;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--settings-pencil-frame, var(--settings-pencil-text, #17633f));
  display: inline-flex;
  height: 22px;
  justify-content: center;
  opacity: 0.92;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  z-index: 2;
}

.admin-event-pencil-arrow::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 6px;
  transform: translateY(-2px) rotate(135deg);
  width: 6px;
}

.admin-event-pencil-toggle[open] > .admin-event-pencil-summary .admin-event-pencil-arrow::before {
  transform: translateY(2px) rotate(-45deg);
}

.admin-event-pencil-toggle .admin-event-list {
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
  margin-left: var(--admin-themed-card-track-indent, 0.45rem);
  padding: 0.35rem 0 0.2rem;
  width: var(--admin-themed-card-track-width, calc(100% - 0.45rem));
}

body[data-admin-theme="irish"] .admin-event-pencil[data-event-pencil="active"] {
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #106a46;
  --settings-pencil-text: #106a46;
  --settings-pencil-band: #cbd9d1;
  --settings-pencil-stroke: #106a46;
}

body[data-admin-theme="irish"] .admin-event-pencil-summary[data-event-pencil="active"] .admin-event-pencil-arrow {
  color: #106a46;
}

body[data-admin-theme="irish"] .admin-event-pencil[data-event-pencil="upcoming"] {
  --settings-pencil-fill: #ff883e;
  --settings-pencil-frame: #ff883e;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="irish"] .admin-event-pencil-summary[data-event-pencil="upcoming"] .admin-event-pencil-arrow {
  color: #ff883e;
}

body[data-admin-theme="irish"] .admin-event-pencil[data-event-pencil="past"] {
  --settings-pencil-fill: #169b62;
  --settings-pencil-frame: #169b62;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="irish"] .admin-event-pencil-summary[data-event-pencil="past"] .admin-event-pencil-arrow {
  color: #169b62;
}

body[data-admin-theme="usa"] .admin-event-pencil[data-event-pencil="active"] {
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #3c3b6e;
  --settings-pencil-text: #3c3b6e;
  --settings-pencil-stroke: #3c3b6e;
}

body[data-admin-theme="usa"] .admin-event-pencil-summary[data-event-pencil="active"] .admin-event-pencil-arrow {
  color: #3c3b6e;
}

body[data-admin-theme="usa"] .admin-event-pencil[data-event-pencil="upcoming"] {
  --settings-pencil-fill: #3c3b6e;
  --settings-pencil-frame: #3c3b6e;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="usa"] .admin-event-pencil-summary[data-event-pencil="upcoming"] .admin-event-pencil-arrow {
  color: #3c3b6e;
}

body[data-admin-theme="usa"] .admin-event-pencil[data-event-pencil="past"] {
  --settings-pencil-fill: #b22234;
  --settings-pencil-frame: #b22234;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="usa"] .admin-event-pencil-summary[data-event-pencil="past"] .admin-event-pencil-arrow {
  color: #b22234;
}

body[data-admin-theme="scoodle"] .admin-event-pencil[data-event-pencil="active"] {
  --settings-pencil-fill: #2f6fe8;
  --settings-pencil-frame: #2f6fe8;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="scoodle"] .admin-event-pencil-summary[data-event-pencil="active"] .admin-event-pencil-arrow {
  color: #2f6fe8;
}

body[data-admin-theme="scoodle"] .admin-event-pencil[data-event-pencil="upcoming"] {
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #ef342d;
  --settings-pencil-text: #bd211c;
  --settings-pencil-band: #cbd0d8;
  --settings-pencil-stroke: #ef342d;
}

body[data-admin-theme="scoodle"] .admin-event-pencil-summary[data-event-pencil="upcoming"] .admin-event-pencil-arrow {
  color: #ef342d;
}

body[data-admin-theme="scoodle"] .admin-event-pencil[data-event-pencil="past"] {
  --settings-pencil-fill: #2f9e3c;
  --settings-pencil-frame: #2f9e3c;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="scoodle"] .admin-event-pencil-summary[data-event-pencil="past"] .admin-event-pencil-arrow {
  color: #2f9e3c;
}

body[data-admin-theme="irish"] .admin-event-tee-button,
body[data-admin-theme="irish"] .admin-event-tee[data-event-tee="past"] {
  --event-tee-fill: #169b62;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #169b62;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="irish"] .admin-event-tee[data-event-tee="active"] {
  --event-tee-fill: #ffffff;
  --event-tee-text: #106a46;
  --event-tee-accent: #106a46;
  --event-tee-arrow: #106a46;
  --event-tee-stroke: #106a46;
  --event-tee-stroke-width: 2.5px;
}

body[data-admin-theme="irish"] .admin-event-tee[data-event-tee="upcoming"] {
  --event-tee-fill: #ff883e;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #ff883e;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="usa"] .admin-event-tee-button,
body[data-admin-theme="usa"] .admin-event-tee[data-event-tee="past"] {
  --event-tee-fill: #b22234;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #b22234;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="usa"] .admin-event-tee[data-event-tee="active"] {
  --event-tee-fill: #ffffff;
  --event-tee-text: #3c3b6e;
  --event-tee-accent: #3c3b6e;
  --event-tee-arrow: #3c3b6e;
  --event-tee-stroke: #3c3b6e;
  --event-tee-stroke-width: 2.5px;
}

@media (max-width: 430px) {
  .admin-events-tee-list,
  #adminEventSetup .settings-tee-list {
    max-width: 342px;
  }

  .admin-event-tee,
  .admin-event-tee-toggle > summary.admin-event-tee {
    max-width: 342px;
    width: min(100%, 342px);
  }

  .admin-event-tee-toggle {
    width: min(100%, 342px);
  }

  .admin-event-tee-art {
    height: 92px;
    width: min(306px, calc(100% - 36px));
  }

  .admin-event-tee-label {
    font-size: 0.78rem;
    max-width: min(var(--event-tee-label-width), calc(100% - 170px));
  }

  .admin-event-tee-button .admin-event-tee-label {
    left: var(--event-tee-label-left);
  }

  .admin-event-tee-count {
    font-size: var(--event-tee-count-size);
    max-width: var(--event-tee-count-width);
  }
}

body[data-admin-theme="usa"] .admin-event-tee[data-event-tee="upcoming"] {
  --event-tee-fill: #3c3b6e;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #3c3b6e;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="scoodle"] .admin-event-tee-button {
  --event-tee-fill: #f6b51d;
  --event-tee-text: #18213a;
  --event-tee-accent: #18213a;
  --event-tee-arrow: #f6b51d;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="scoodle"] .admin-event-tee[data-event-tee="active"] {
  --event-tee-fill: #2f6fe8;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #2f6fe8;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

body[data-admin-theme="scoodle"] .admin-event-tee[data-event-tee="upcoming"] {
  --event-tee-fill: #ffffff;
  --event-tee-text: #bd211c;
  --event-tee-accent: #bd211c;
  --event-tee-arrow: #ef342d;
  --event-tee-stroke: #ef342d;
  --event-tee-stroke-width: 2.5px;
}

body[data-admin-theme="scoodle"] .admin-event-tee[data-event-tee="past"] {
  --event-tee-fill: #2f9e3c;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #2f9e3c;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
}

.admin-date-card {
  --admin-date-card-primary: var(--admin-theme-primary, #17633f);
  --admin-date-card-accent: var(--admin-theme-secondary, #ff883e);
  --admin-date-card-light: var(--admin-theme-light, #ffffff);
  --admin-date-card-ink: var(--admin-theme-ink, #103b2c);
  background: var(--admin-date-card-light);
  border: 1px solid color-mix(in srgb, var(--admin-date-card-primary) 28%, #ffffff);
  border-left: 6px solid var(--admin-date-card-primary);
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(14, 44, 33, 0.1);
  box-sizing: border-box;
  color: var(--admin-date-card-ink);
  display: grid;
  grid-template-columns: clamp(104px, 20%, 150px) minmax(0, 1fr);
  min-height: 148px;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.admin-date-card-date {
  align-content: center;
  background: var(--admin-date-card-primary);
  color: #ffffff;
  display: grid;
  min-width: 0;
  padding: 1rem 0.8rem;
  place-items: center;
  position: relative;
  text-align: center;
}

.admin-date-card-date::before,
.admin-date-card-date::after {
  bottom: 0;
  content: "";
  position: absolute;
  top: 0;
}

.admin-date-card-date::before {
  background: #ffffff;
  right: 4px;
  width: 2px;
}

.admin-date-card-date::after {
  background: var(--admin-date-card-accent);
  right: 0;
  width: 4px;
}

.admin-date-card-month {
  font-size: clamp(0.84rem, 2.5vw, 1.05rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.admin-date-card-day {
  color: inherit;
  font-size: clamp(3.25rem, 8vw, 4.8rem);
  font-weight: 850;
  line-height: 0.94;
  margin: 0.18rem 0 0.08rem;
}

.admin-date-card-year {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.admin-date-card-content {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
}

.admin-date-card-info {
  align-content: center;
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 1rem 1.1rem 0.75rem;
}

.admin-date-card-info > strong {
  color: var(--admin-date-card-ink);
  font-size: clamp(1.02rem, 3.3vw, 1.42rem);
  font-weight: 900;
  line-height: 1.12;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-block: 0.04em 0.12em;
}

.admin-date-card-info > small {
  color: color-mix(in srgb, var(--admin-date-card-ink) 74%, #ffffff);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.28;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-block: 0.03em 0.08em;
}

.admin-date-card-meta {
  align-items: baseline;
  display: flex;
  gap: 0.38rem;
  min-width: 0;
}

.admin-date-card-meta > span {
  color: color-mix(in srgb, var(--admin-date-card-ink) 70%, #ffffff);
  flex: 0 0 auto;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-date-card-meta > strong {
  color: var(--admin-date-card-ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.22;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-date-card-actions {
  align-items: center;
  background: color-mix(in srgb, var(--admin-date-card-primary) 4%, #ffffff);
  border-top: 1px solid color-mix(in srgb, var(--admin-date-card-primary) 22%, #ffffff);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
}

.admin-event-card {
  width: 100%;
}

article.admin-event-card.active {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--admin-date-card-accent) 74%, #ffffff), 0 8px 22px rgba(14, 44, 33, 0.13);
}

.admin-event-card-actions .admin-action,
.round-date-card-actions > button {
  background: var(--admin-date-card-primary);
  border: 1px solid var(--admin-date-card-primary);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  min-height: 1.9rem;
  padding: 0.26rem 0.58rem;
}

.admin-event-card-actions .admin-action.secondary,
.round-date-card-actions > button {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--admin-date-card-primary) 64%, #ffffff);
  color: var(--admin-date-card-primary);
}

.admin-event-card-actions .admin-action:not(.secondary) {
  background: var(--admin-date-card-primary);
  border-color: var(--admin-date-card-primary);
  color: #ffffff;
}

.admin-event-card-actions .admin-action.admin-danger-action {
  background: transparent;
  border-color: transparent;
  color: #9a2d22;
  margin-left: auto;
}

.admin-event-lock-chip {
  appearance: none;
  background: color-mix(in srgb, var(--admin-date-card-accent) 14%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-date-card-accent) 60%, #ffffff);
  border-radius: 999px;
  color: var(--admin-date-card-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 850;
  padding: 0.32rem 0.5rem;
}

.admin-event-lock-action:hover,
.admin-event-lock-action:focus-visible,
.round-date-card-actions > button:hover,
.round-date-card-actions > button:focus-visible {
  background: var(--admin-date-card-primary);
  color: #ffffff;
  outline: none;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card {
  --admin-date-card-light: #ffffff;
  --admin-date-card-ink: var(--admin-theme-ink, #14213d);
  --admin-date-card-primary: var(--admin-theme-primary, #17633f);
  --admin-date-card-accent: var(--admin-theme-secondary, #ff883e);
  background: var(--admin-date-card-light);
  border: 1px solid color-mix(in srgb, var(--admin-date-card-primary) 28%, #ffffff);
  border-left: 5px solid var(--admin-date-card-primary);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(14, 44, 33, 0.09);
  display: grid;
  gap: 0;
  grid-template-columns: 88px minmax(0, 1fr);
  margin-left: var(--admin-themed-card-track-indent, 0.9rem);
  min-height: 142px;
  overflow: hidden;
  padding: 0;
  width: var(--admin-themed-card-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-date {
  padding: 0.75rem 0.55rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-day {
  font-size: 3.25rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info {
  gap: 0.18rem;
  padding: 0.72rem 0.72rem 0.48rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > strong {
  font-size: 1rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > small {
  font-size: 0.7rem;
}

body[data-admin-theme] #adminRoundSetup .round-date-card-actions {
  gap: 0.28rem;
  padding: 0.42rem 0.52rem;
}

body[data-admin-theme] #adminRoundSetup .round-date-card-actions > button {
  font-size: 0.64rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.4rem;
}

/* Keep the white alternating Round cards visibly complete. The date rail,
   course and format summary, and the three quick links all use navy contrast
   rather than fading into the white card surface. */
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-snapshot-card.admin-date-card {
  --admin-date-card-light: #ffffff;
  --admin-date-card-ink: #172452;
  --admin-date-card-primary: #3c3b6e;
  --admin-date-card-accent: #b22234;
  background: #ffffff;
  border-color: #3c3b6e;
  box-shadow: 0 4px 13px rgba(60, 59, 110, 0.16);
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-date-card-actions {
  background: #f3f5ff;
  border-top-color: #c3c8e8;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-date-card-actions > button {
  background: #3c3b6e;
  border-color: #3c3b6e;
  color: #ffffff;
}

.round-date-card-tee-status {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: auto;
}

.round-date-card-tee-status .round-tee-status {
  align-items: center;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--admin-date-card-primary) 42%, #ffffff);
  border-radius: 999px;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 1.7rem;
  padding: 0.28rem 0.46rem;
  white-space: nowrap;
}

.round-date-card-tee-status .round-tee-status.set {
  background: #2854a6;
  border-color: #2854a6;
  color: #ffffff;
}

.round-date-card-tee-status .round-tee-status.not-set {
  background: #b4232f;
  border-color: #8d1721;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 520px) {
  .admin-date-card {
    border-left-width: 5px;
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 142px;
  }

  .admin-date-card-date {
    padding: 0.82rem 0.55rem;
  }

  .admin-date-card-day {
    font-size: 3.45rem;
  }

  .admin-date-card-info {
    padding: 0.78rem 0.72rem 0.52rem;
  }

  .admin-date-card-info > strong {
    font-size: 1rem;
  }

  .admin-date-card-actions {
    gap: 0.26rem;
    padding: 0.42rem 0.46rem;
  }

  .admin-event-card-actions .admin-action,
  .round-date-card-actions > button {
    font-size: 0.64rem;
    min-height: 1.72rem;
    padding: 0.2rem 0.4rem;
  }

  .admin-event-card-actions .admin-action.admin-danger-action {
    margin-left: 0;
  }

  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .round-date-card-tee-status {
    margin-left: 0;
  }
}
.admin-event-settings-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 2000;
}

.admin-event-settings-modal-backdrop {
  background: rgba(13, 27, 22, 0.52);
  inset: 0;
  position: absolute;
}

.admin-event-settings-modal-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(10, 36, 28, 0.3);
  display: grid;
  max-height: min(92vh, 620px);
  max-width: 520px;
  overflow: hidden;
  position: relative;
  width: min(100%, 520px);
}

[data-event-settings-modal] .admin-event-settings-modal-card {
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(96dvh, 860px);
  max-height: min(96dvh, 860px);
}

.admin-event-settings-modal-head {
  align-items: center;
  background: #f1f6f3;
  border-bottom: 1px solid #d9e7df;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.9rem 1rem;
}

.admin-event-settings-modal-head div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.admin-event-settings-modal-head strong {
  color: #103b2c;
  font-size: 1rem;
  font-weight: 950;
}

.admin-event-settings-modal-head span {
  color: #52645b;
  font-size: 0.76rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-modal-close {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid #d7e2dc;
  border-radius: 999px;
  color: #123d2f;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 0 2px;
  width: 34px;
}

.admin-event-settings-modal-body {
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
}

/* event-settings-detail-fields-71 */
.admin-event-settings-detail-fields {
  display: grid;
  gap: 0.75rem;
}

.admin-event-settings-modal .danger-note {
  background: #fff6f4;
  border: 1px solid #f0c8c1;
  border-radius: 8px;
  color: #7f1d1d;
  display: grid;
  gap: 0.18rem;
  margin: 0;
  padding: 0.72rem;
}

.admin-event-settings-modal .danger-note strong {
  color: #7f1d1d;
  font-size: 0.88rem;
  font-weight: 950;
}

.admin-event-settings-modal .danger-note span {
  color: #87413a;
  font-size: 0.76rem;
  font-weight: 780;
}

.admin-event-lock-note {
  background: #ffffff;
  border: 2px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 42%);
  border-radius: var(--admin-themed-card-inner-radius, 8px);
  color: var(--admin-theme-ink, #12372a);
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
}

.admin-event-lock-note strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.92rem;
  font-weight: 950;
}

.admin-event-lock-note span {
  color: var(--admin-theme-ink, #12372a);
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1.4;
}

.admin-event-status-inline {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  min-height: 2.35rem;
}

.admin-event-status-inline span,
.admin-event-status-inline strong {
  line-height: 1;
}

.admin-event-settings-modal-actions {
  align-items: center;
  background: #fbfcfb;
  border-top: 1px solid #dfe7e1;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 0.85rem 1rem;
  bottom: 0;
  position: sticky;
  z-index: 3;
}

.admin-event-settings-modal-actions:has([data-event-lock-action]) {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.admin-event-settings-modal-actions > span {
  color: #566860;
  font-size: 0.78rem;
  font-weight: 850;
}

body[data-admin-theme] .admin-event-settings-modal-card {
  background: var(--admin-theme-light, #ffffff);
  border: 4px solid var(--admin-theme-primary, #17633f);
  border-radius: var(--admin-themed-card-radius, 10px);
  box-shadow: 0 22px 70px rgba(10, 36, 28, 0.3);
}

body[data-admin-theme] .admin-event-settings-modal-head {
  background: var(--admin-theme-primary, #17633f);
  border-bottom-color: color-mix(in srgb, var(--admin-theme-primary, #17633f), #000 12%);
  color: #ffffff;
}

body[data-admin-theme] .admin-event-settings-modal-head strong,
body[data-admin-theme] .admin-event-settings-modal-head span {
  color: #ffffff;
}

body[data-admin-theme] .admin-event-settings-modal-head span {
  opacity: 0.86;
}

body[data-admin-theme] .admin-modal-close {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--admin-theme-primary, #17633f);
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.14);
}

/* modal-save-close-contract-1: editable modal actions always live in the footer. */
.admin-event-settings-modal .admin-modal-close {
  display: none !important;
}

body[data-admin-theme] .event-invite-actions [data-send-event-invitations] {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 42%);
  color: var(--admin-theme-primary, #17633f);
}

body[data-admin-theme] .event-invite-actions [data-save-event-invitation] {
  background: var(--admin-theme-primary, #17633f);
  border-color: var(--admin-theme-primary, #17633f);
  color: #ffffff;
}

body[data-admin-theme] .admin-event-settings-modal-body {
  background: color-mix(in srgb, var(--admin-theme-light, #ffffff) 92%, var(--admin-theme-primary, #17633f));
}

body[data-admin-theme] .admin-event-settings-modal .admin-field {
  background: #ffffff;
  border: 1.5px solid color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 58%);
  border-radius: var(--admin-themed-card-inner-radius, 6px);
  padding: 0.52rem;
}

body[data-admin-theme] .admin-event-settings-modal .admin-field span,
body[data-admin-theme] .admin-event-status-inline span {
  color: var(--admin-theme-primary, #17633f);
  font-weight: 950;
}

body[data-admin-theme] .admin-event-settings-modal input,
body[data-admin-theme] .admin-event-settings-modal select {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 45%);
  color: var(--admin-theme-ink, #12372a);
}

body[data-admin-theme] .admin-event-status-inline {
  background: #ffffff;
  border: 1.5px solid color-mix(in srgb, var(--admin-theme-secondary, #d9bf55), #ffffff 48%);
  border-radius: var(--admin-themed-card-inner-radius, 6px);
  padding: 0.52rem;
}

body[data-admin-theme] .admin-event-status-inline strong {
  background: var(--admin-theme-pill-fill, var(--admin-theme-secondary, #d9bf55));
  border: 1px solid color-mix(in srgb, var(--admin-theme-pill-fill, var(--admin-theme-secondary, #d9bf55)), #000 14%);
  border-radius: 999px;
  color: var(--admin-theme-pill-text, var(--admin-theme-ink, #12372a));
  font-size: 0.75rem;
  font-weight: 950;
  padding: 0.34rem 0.55rem;
}

body[data-admin-theme] .admin-event-settings-modal-actions {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 9%, #ffffff);
  border-top-color: color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 58%);
}

body[data-admin-theme] .admin-event-settings-modal-actions > span {
  color: var(--admin-theme-primary, #17633f);
  font-weight: 950;
}

body[data-admin-theme] .admin-event-settings-modal-actions .admin-action {
  background: var(--admin-theme-primary, #17633f);
  border-color: var(--admin-theme-primary, #17633f);
  color: #ffffff;
}

body[data-admin-theme] .admin-event-settings-modal-actions .admin-action.secondary {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f), #ffffff 42%);
  color: var(--admin-theme-primary, #17633f);
}

body[data-admin-theme] .admin-event-settings-modal-actions .admin-action:disabled {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-color: color-mix(in srgb, var(--admin-theme-primary, #17633f) 32%, #ffffff);
  color: color-mix(in srgb, var(--admin-theme-primary, #17633f) 66%, #ffffff);
}

@media (max-width: 520px) {
  .admin-event-settings-modal {
    padding: 0.5rem;
  }

  [data-event-settings-modal] .admin-event-settings-modal-card {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .admin-event-settings-modal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-event-settings-modal-actions:has([data-event-lock-action]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-event-settings-modal-actions > span {
    grid-column: 1 / -1;
  }

  .admin-event-settings-modal-actions .admin-action {
    min-width: 0;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
}

/* Compact shared event and round date cards. */
.admin-events-tee-list {
  max-width: none;
}

.admin-event-card.admin-date-card,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card {
  align-items: stretch;
  border-left: 1px solid color-mix(in srgb, var(--admin-date-card-primary, var(--admin-theme-primary, #17633f)) 28%, #ffffff);
  gap: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 110px;
  padding: 0;
}

.admin-event-card .admin-date-card-date,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-date {
  padding: 9px 12px;
}

.admin-event-card .admin-date-card-month,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-month {
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.admin-event-card .admin-date-card-day,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-day {
  color: inherit;
  font-size: 50px;
  font-weight: 850;
  line-height: 0.92;
  margin: 2px 0 1px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.admin-event-card .admin-date-card-year,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-year {
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

.admin-event-card .admin-date-card-info,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info {
  align-content: center;
  gap: 2px;
  padding: 10px 14px 7px;
}

.admin-event-card .admin-date-card-info > strong,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > strong {
  color: var(--admin-date-card-ink, var(--admin-theme-ink, #103b2c));
  font-size: 20px;
  font-weight: 850;
  line-height: 1.12;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.admin-event-card .admin-date-card-info > small,
body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > small {
  color: color-mix(in srgb, var(--admin-date-card-ink, var(--admin-theme-ink, #103b2c)) 74%, #ffffff);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  margin-top: 1px;
}

.admin-event-card .admin-date-card-actions,
body[data-admin-theme] #adminRoundSetup .round-date-card-actions {
  gap: 5px;
  min-height: 35px;
  padding: 4px 9px;
}

.admin-event-card .admin-date-card-actions .admin-action,
body[data-admin-theme] #adminRoundSetup .round-date-card-actions > button {
  font-size: 11px;
  font-weight: 800;
  min-height: 27px;
  padding: 2px 9px;
}

article.admin-event-card.active {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--admin-date-card-accent) 74%, #ffffff), 0 7px 18px rgba(14, 44, 33, 0.11);
}

body[data-admin-theme] #adminRoundSetup .round-setup-board {
  justify-items: stretch;
  max-width: none;
  width: 100%;
}

body[data-admin-theme] #adminRoundSetup .round-setup-card,
body[data-admin-theme] #adminRoundSetup .round-setup-details,
body[data-admin-theme] #adminRoundSetup .round-setup-summary {
  max-width: none;
  width: 100%;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card {
  --admin-date-card-primary: var(--round-snapshot-fill, var(--admin-theme-primary, #17633f));
  --admin-date-card-accent: var(--round-snapshot-frame, var(--admin-theme-secondary, #ff883e));
  --admin-date-card-ink: var(--round-snapshot-text, var(--admin-theme-ink, #103b2c));
  background: var(--admin-theme-light, #ffffff);
  border-color: color-mix(in srgb, var(--round-snapshot-frame, var(--admin-theme-primary, #17633f)) 38%, #ffffff);
  border-left-width: 1px;
  box-shadow: 0 5px 16px rgba(14, 44, 33, 0.09);
  grid-template-columns: 112px minmax(0, 1fr);
  margin-left: var(--admin-themed-card-track-indent, 0.9rem);
  min-height: 110px;
  width: var(--admin-themed-card-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-date {
  background: var(--round-snapshot-fill, var(--admin-theme-primary, #17633f));
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-meta {
  align-items: baseline;
  display: flex;
  gap: 5px;
  margin-top: 1px;
  min-width: 0;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-meta > span {
  font-size: 9px;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-meta > strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

body[data-admin-theme] #adminRoundSetup .round-date-card-tee-status {
  margin-left: auto;
}

body[data-admin-theme] #adminRoundSetup .round-date-card-tee-status .round-tee-status {
  font-size: 9px;
  min-height: 27px;
  padding: 3px 7px;
}

body[data-admin-theme] #adminRoundSetup .round-setup-card-body {
  width: var(--admin-themed-card-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .admin-date-card-date,
body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .admin-date-card-date,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .admin-date-card-date,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .admin-date-card-date,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 1) .admin-date-card-date,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 4) .admin-date-card-date {
  color: #ffffff;
}

body[data-admin-theme="masters"] #adminRoundSetup .round-setup-card .admin-date-card-date {
  color: var(--admin-theme-ink, #103c31);
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .admin-date-card-date,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .admin-date-card-date,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 2) .admin-date-card-date,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 3) .admin-date-card-date {
  color: var(--round-snapshot-text, var(--admin-theme-ink, #103b2c));
}

@media (max-width: 520px) {
  .admin-event-card.admin-date-card,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 98px;
  }

  .admin-event-card .admin-date-card-date,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-date {
    padding: 8px 7px;
  }

  .admin-event-card .admin-date-card-month,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-month {
    font-size: 11px;
  }

  .admin-event-card .admin-date-card-day,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-day {
    font-size: 40px;
  }

  .admin-event-card .admin-date-card-year,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-year {
    font-size: 9px;
  }

  .admin-event-card .admin-date-card-info,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info {
    padding: 7px 8px 4px;
  }

  .admin-event-card .admin-date-card-info > strong,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > strong {
    font-size: 15px;
  }

  .admin-event-card .admin-date-card-info > small,
  body[data-admin-theme] #adminRoundSetup .round-snapshot-card.admin-date-card .admin-date-card-info > small {
    font-size: 10px;
  }

  .admin-event-card .admin-date-card-actions,
  body[data-admin-theme] #adminRoundSetup .round-date-card-actions {
    gap: 3px;
    min-height: 31px;
    padding: 3px 5px;
  }

  .admin-event-card .admin-date-card-actions .admin-action,
  body[data-admin-theme] #adminRoundSetup .round-date-card-actions > button {
    font-size: 9px;
    min-height: 24px;
    padding: 2px 6px;
  }

  body[data-admin-theme] #adminRoundSetup .round-date-card-tee-status .round-tee-status {
    font-size: 8px;
    min-height: 24px;
    padding: 3px 5px;
  }

  body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-meta > span {
    font-size: 8px;
  }

  body[data-admin-theme] #adminRoundSetup .round-snapshot-card .admin-date-card-meta > strong {
    font-size: 9px;
  }
}

/* event-settings-preview-language-final-75 */
body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-head strong {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 750;
}

body[data-admin-theme] [data-event-settings-modal] .admin-event-settings-modal-head span {
  color: #ffffff;
  font-weight: 560;
  opacity: 1;
}

/* All shared modal headers are dark themed, including Entry Fee Builder. */
body[data-admin-theme] .admin-event-settings-modal-head,
body[data-admin-theme] .admin-event-settings-modal-head div,
body[data-admin-theme] .admin-event-settings-modal-head strong,
body[data-admin-theme] .admin-event-settings-modal-head span {
  color: #ffffff !important;
}

body[data-admin-theme] .admin-event-settings-modal-head span {
  opacity: 1 !important;
}

/* Entry Fee Builder is a dark-header workspace: every header word is solid white. */
body[data-admin-theme] .admin-entry-builder-modal .admin-event-settings-modal-head,
body[data-admin-theme] .admin-entry-builder-modal .admin-event-settings-modal-head *,
body[data-admin-theme] .admin-entry-builder-modal .admin-event-settings-modal-head strong,
body[data-admin-theme] .admin-entry-builder-modal .admin-event-settings-modal-head span {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Keep the invitation launch compact so the two entry-detail fields can share
   the working width evenly instead of being squeezed by a wide second card. */
.admin-event-information-grid {
  grid-template-columns: minmax(0, 1fr) 210px;
}

.admin-event-invite-card {
  justify-self: end;
  max-width: 210px;
  width: 100%;
}

.admin-event-information-card .admin-event-invite-launch {
  padding-inline: 0.72rem;
  width: 100%;
}

body[data-admin-theme] [data-event-settings-modal] .event-settings-body {
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--admin-theme-light, #ffffff) 95%, var(--admin-theme-primary, #17633f));
}

body[data-admin-theme] [data-event-settings-modal] .admin-field {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--admin-theme-ink, #173428);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body[data-admin-theme] [data-event-settings-modal] .admin-field > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 22%);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

/* tour-office-blue-actions-90
   Tour Office workspaces use one deliberate action color. These controls used
   to inherit the legacy green .admin-action default when a new card or modal
   was added, which made the USA workspace feel inconsistent. */
body[data-admin-theme] .admin-tournament-builder-launch-card {
  border-color: color-mix(in srgb, #2854a6 26%, #ffffff);
  box-shadow: 0 4px 13px rgba(24, 49, 104, 0.08);
}

body[data-admin-theme] .admin-tournament-builder-launch-card > div > span {
  color: #2854a6;
}

body[data-admin-theme] .admin-tournament-builder-launch-card .admin-action,
body[data-admin-theme] [data-tournament-builder-modal] .admin-action:not(.secondary),
body[data-admin-theme] [data-team-cup-board] .admin-action:not(.secondary),
body[data-admin-theme] [data-team-cup-modal] .admin-action:not(.secondary),
body[data-admin-theme] .admin-event-create-choice-modal .admin-action:not(.secondary) {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  box-shadow: none;
  color: #ffffff !important;
}

body[data-admin-theme] .admin-tournament-builder-launch-card .admin-action:hover:not(:disabled),
body[data-admin-theme] [data-tournament-builder-modal] .admin-action:not(.secondary):hover:not(:disabled),
body[data-admin-theme] [data-team-cup-board] .admin-action:not(.secondary):hover:not(:disabled),
body[data-admin-theme] [data-team-cup-modal] .admin-action:not(.secondary):hover:not(:disabled),
body[data-admin-theme] .admin-event-create-choice-modal .admin-action:not(.secondary):hover:not(:disabled) {
  background: #1e438b !important;
  border-color: #1e438b !important;
}

/* tournament-builder-interaction-repair-91
   The base section body grid rule overrides the browser's native closed-details
   behavior. Hide closed bodies explicitly so the next Tour Office header
   cannot sit over controls in the section above it. */
body[data-admin-theme] .admin-section:not([open]) > .admin-section-body {
  display: none !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-event-settings-modal-head > div {
  gap: 0.2rem;
}

body[data-admin-theme] [data-tournament-builder-modal] [data-tournament-modal-date] {
  color: #ffffff !important;
  display: block;
  font-size: 0.76rem;
  font-weight: 570;
  line-height: 1.25;
  opacity: 0.9;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrows {
  gap: 0.55rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrow {
  align-items: center;
  background: #2854a6;
  border: 2px solid #2854a6;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(24, 49, 104, 0.22);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 820;
  gap: 0.38rem;
  height: 48px;
  justify-content: center;
  min-width: 76px;
  padding: 0 0.7rem;
  width: auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrow > span[aria-hidden="true"] {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrow:hover:not(:disabled) {
  background: #1e438b;
  border-color: #1e438b;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrow:disabled {
  background: #eef2f9;
  border-color: #bac6df;
  box-shadow: none;
  color: #71809e;
  opacity: 1;
}

@media (max-width: 520px) {
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-arrow {
    height: 46px;
    min-width: 70px;
    padding-inline: 0.56rem;
  }
}

/* tournament-builder-save-actions-94 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  grid-template-columns: none;
  justify-content: flex-end;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions [data-save-tournament-builder] {
  order: 1;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions [data-close-tournament-builder] {
  order: 2;
}

/* tournament-builder-two-control-footer-101 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions {
  flex-wrap: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions [data-save-tournament-builder] {
  min-width: 100px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions [data-save-tournament-builder]:disabled {
  background: #2854a6;
  border-color: #2854a6;
  color: #ffffff;
  opacity: 1;
}

/* tournament-parameters-103 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-parameters {
  display: grid;
  gap: 0.72rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-summary-row {
  align-items: end;
  display: flex;
  gap: 0.5rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-summary-row > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 1rem;
  font-weight: 790;
  line-height: 1;
  padding-bottom: 0.34rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-parameters > header,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.7rem;
  justify-content: space-between;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-parameters > header > div,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > div {
  display: grid;
  gap: 0.12rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-parameters > header strong,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > strong,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > div > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 1rem;
  font-weight: 790;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-parameters > header span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > div > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.73rem;
  font-weight: 560;
  line-height: 1.32;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section {
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 3%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 10px;
  display: grid;
  gap: 0.62rem;
  padding: 0.68rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-field > header {
  align-items: center;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field {
  align-items: end;
  display: grid;
  gap: 0.16rem;
  grid-template-columns: auto 40px;
  margin-left: 0;
  width: auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.69rem;
  font-weight: 670;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field input,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field input {
  min-width: 0;
  padding-inline: 0.2rem;
  text-align: center;
  width: 40px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field input,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field input {
  min-height: 34px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-grid {
  align-items: end;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

/* tournament-division-allocation-107 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-header-tools {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-header-tools .tournament-max-field {
  grid-template-columns: minmax(64px, 1fr);
  width: 82px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-header-tools .tournament-max-field input {
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-field-lock,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-edit {
  background: #ffffff !important;
  border-color: #2854a6 !important;
  box-shadow: none;
  color: #2854a6 !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-add {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  box-shadow: none;
  color: #ffffff !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  grid-template-columns: minmax(0, 200px) 112px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > footer {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 15%, #ffffff);
  display: flex;
  justify-content: flex-end;
  padding-top: 0.45rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-eligibility {
  align-items: start;
  grid-template-columns: 90px minmax(0, 1fr);
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-eligibility > .tournament-division-gender-field {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 0.16rem;
  min-height: 0;
  padding: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-default-categories > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.69rem;
  font-weight: 670;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-field select {
  min-height: 32px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-eligibility > .tournament-division-default-categories {
  display: grid;
  gap: 0.22rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-default-categories > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-card {
  max-width: 520px;
}

body[data-admin-theme] .tournament-division-editor-body {
  display: grid;
  gap: 0.55rem;
}

body[data-admin-theme] .tournament-division-editor-body > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.96rem;
}

body[data-admin-theme] .tournament-division-editor-body > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

body[data-admin-theme] .tournament-division-editor-body label {
  align-items: center;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 4%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 16%, #ffffff);
  border-radius: 999px;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.3rem;
  min-height: 30px;
  padding: 0.14rem 0.48rem;
}

body[data-admin-theme] .tournament-division-editor-body input {
  accent-color: #2854a6;
  block-size: 15px;
  inline-size: 15px;
  margin: 0;
}

/* tournament-division-category-workspace-108 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-row {
  align-items: end;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools {
  align-items: end;
  display: flex;
  gap: 0.42rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-max-field {
  grid-template-columns: auto 40px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  align-items: end;
  grid-template-columns: 150px 72px auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-name-field input {
  width: 150px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field input {
  width: 40px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-field-lock {
  align-self: end;
  min-height: 32px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-categories-row {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 16%, #ffffff);
  padding-top: 0.45rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row {
  align-items: center;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 92px minmax(0, 1fr);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-categories-row > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.72rem;
  font-weight: 700;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row label {
  align-items: center;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.28rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row input {
  accent-color: #2854a6;
  block-size: 16px;
  inline-size: 16px;
  margin: 0;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-card {
  max-width: 760px;
}

body[data-admin-theme] .tournament-division-editor-body {
  gap: 0.62rem;
}

body[data-admin-theme] .tournament-division-editor-body > p {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.82rem;
  margin: 0;
}

body[data-admin-theme] .tournament-division-category-columns {
  display: grid;
  gap: 0.62rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-admin-theme] .tournament-division-category-columns > section {
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  min-height: 190px;
  padding: 0.56rem;
}

body[data-admin-theme] .tournament-division-category-columns header strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.86rem;
}

body[data-admin-theme] .tournament-division-category-list {
  align-content: start;
  background: color-mix(in srgb, var(--admin-theme-primary, #17633f) 3%, #ffffff);
  border: 1px dashed color-mix(in srgb, #2854a6 42%, #ffffff);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  min-height: 104px;
  padding: 0.42rem;
}

body[data-admin-theme] .tournament-division-category-card {
  background: #ffffff;
  border: 1px solid #2854a6;
  border-radius: 5px;
  color: #1e438b;
  cursor: grab;
  font: inherit;
  font-size: 0.8rem;
  min-height: 30px;
  padding: 0.22rem 0.42rem;
}

body[data-admin-theme] .tournament-division-category-add {
  align-items: end;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-admin-theme] .tournament-division-category-add input {
  min-width: 0;
}

/* tournament-division-compact-layout-106 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  align-items: end;
  grid-template-columns: 150px 72px auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-name-field {
  min-width: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-name-field input {
  width: 150px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] [data-tournament-edit-division] {
  align-self: end;
  min-height: 32px;
  padding-inline: 0.58rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-eligibility-extra {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 15%, #ffffff);
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.42rem;
  padding-top: 0.42rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-locked-field > span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 73%, #ffffff);
  font-size: 0.69rem;
  font-weight: 670;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-locked-field {
  align-self: end;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 7px;
  display: grid;
  gap: 0.14rem;
  min-height: 34px;
  padding: 0.3rem 0.48rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-locked-field strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.82rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-stages {
  display: grid;
  gap: 0.58rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-stages > article {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 8px;
  display: grid;
  gap: 0.52rem;
  padding: 0.58rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-stages > article > header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.52rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-stages > article > header strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.89rem;
  font-weight: 780;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-stages > article > header span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-additional-stage span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.7rem;
  font-weight: 560;
  line-height: 1.3;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-ties {
  align-items: center;
  display: inline-flex;
  gap: 0.38rem;
  min-height: 34px;
  padding: 0.15rem 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-ties span {
  color: var(--admin-theme-ink, #173428);
  font-size: 0.75rem;
  font-weight: 650;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-additional-stage {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem 0.48rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-additional-stage strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.8rem;
}

/* tournament-cut-stage-bracket-126 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-row {
  display: flex;
  width: max-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field {
  width: max-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field .scoodle-reliable-select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field .scoodle-reliable-select-button,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field select {
  flex: 0 0 40px;
  min-width: 40px;
  width: 40px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field .scoodle-reliable-select-button {
  justify-content: center;
  padding-inline: 3px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-needed-field .scoodle-reliable-select-chevron {
  display: none;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-one-controls,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-controls {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-one-controls > *,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-controls > * {
  flex: 0 0 auto;
  width: max-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-cut-number-field input,
body[data-admin-theme] [data-tournament-builder-modal] [data-tournament-stage-one-holes-custom],
body[data-admin-theme] [data-tournament-builder-modal] [data-tournament-stage-two-holes-custom] {
  min-width: 60px;
  width: 60px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-controls > .tournament-parameter-field:not(.tournament-stage-two-plan) .scoodle-reliable-select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-controls > .tournament-parameter-field:not(.tournament-stage-two-plan) select {
  min-width: 60px;
  width: 60px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-plan,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-plan .scoodle-reliable-select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-plan select {
  max-width: 244px;
  width: max-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-plan .scoodle-reliable-select-button {
  min-width: 218px;
  width: max-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-card {
  padding: 0.5rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-format-settings {
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  display: grid;
  gap: 0.45rem;
  padding-top: 0.48rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-format-settings > header {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  justify-content: space-between;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-format-settings > header > div {
  display: grid;
  gap: 0.1rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-format-settings > header strong {
  color: var(--admin-theme-primary, #17633f);
  font-size: 0.88rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-stage-two-format-settings > header span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428) 68%, #ffffff);
  font-size: 0.7rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-bracket-launch {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  min-height: 32px;
  padding: 0.32rem 0.68rem;
}

body[data-admin-theme] .admin-match-play-bracket-modal .admin-event-settings-modal-card {
  height: min(94vh, 980px);
  max-width: min(96vw, 1500px);
  width: min(96vw, 1500px);
}

body[data-admin-theme] .admin-match-play-bracket-modal .admin-event-settings-modal-body {
  align-content: start;
  display: grid;
  gap: 0.65rem;
  overflow: auto;
  padding: 0.72rem;
}

body[data-admin-theme] .admin-match-play-bracket-modal .admin-event-settings-modal-actions {
  display: flex !important;
  gap: 0.5rem;
  justify-content: flex-end !important;
}

body[data-admin-theme] .admin-match-play-bracket-modal .admin-event-settings-modal-actions .admin-action {
  flex: 0 0 auto !important;
  min-width: 84px;
  width: auto !important;
}

body[data-admin-theme] .admin-match-play-bracket-modal .scoodle-reliable-select {
  display: inline-flex;
  min-width: 0;
  position: relative;
}

body[data-admin-theme] .admin-match-play-bracket-modal .scoodle-reliable-select-native {
  block-size: 1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  inline-size: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
}

body[data-admin-theme] .admin-match-play-bracket-modal .scoodle-reliable-select-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid #9fb3cf;
  border-radius: 7px;
  color: #173428;
  display: flex;
  font: inherit;
  font-size: 14px;
  justify-content: space-between;
  min-height: 32px;
  padding: 5px 9px;
  width: 118px;
}

body[data-admin-theme] .admin-match-play-bracket-modal .scoodle-reliable-select-chevron {
  block-size: 8px;
  border-bottom: 2px solid #2854a6;
  border-right: 2px solid #2854a6;
  inline-size: 8px;
  transform: rotate(45deg);
}

body[data-admin-theme] .tournament-bracket-toolbar {
  align-items: end;
  background: #f8fafc;
  border: 1px solid #cbd7e8;
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.58rem;
}

body[data-admin-theme] .tournament-bracket-toolbar > .admin-field {
  flex: 0 0 118px;
}

body[data-admin-theme] .tournament-bracket-toolbar select,
body[data-admin-theme] .tournament-bracket-toolbar .scoodle-reliable-select {
  width: 118px;
}

body[data-admin-theme] .tournament-bracket-summary {
  display: grid;
  flex: 1 1 300px;
  gap: 0.08rem;
}

body[data-admin-theme] .tournament-bracket-summary strong,
body[data-admin-theme] .tournament-bracket-player-field header strong,
body[data-admin-theme] .tournament-bracket-opening-round > header strong {
  color: #17366e;
  font-size: 15px;
}

body[data-admin-theme] .tournament-bracket-summary span,
body[data-admin-theme] .tournament-bracket-player-field header span,
body[data-admin-theme] .tournament-bracket-opening-round > header span {
  color: #52645b;
  font-size: 12px;
}

body[data-admin-theme] .tournament-bracket-player-field,
body[data-admin-theme] .tournament-bracket-opening-round {
  background: #ffffff;
  border: 1px solid #cbd7e8;
  border-radius: 9px;
  display: grid;
  gap: 0.48rem;
  padding: 0.58rem;
}

body[data-admin-theme] .tournament-bracket-player-field > header,
body[data-admin-theme] .tournament-bracket-opening-round > header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
}

body[data-admin-theme] .tournament-bracket-player-field > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

body[data-admin-theme] [data-tournament-bracket-player] {
  background: #ffffff;
  border: 1px solid #7d9ac9;
  border-radius: 7px;
  color: #17366e;
  cursor: grab;
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.38rem 0.52rem;
}

body[data-admin-theme] [data-tournament-bracket-player].is-selected {
  background: #2854a6;
  color: #ffffff;
}

body[data-admin-theme] [data-tournament-bracket-player] span {
  font-size: 11px;
}

body[data-admin-theme] .tournament-bracket-empty {
  color: #607169;
  font-size: 12px;
}

body[data-admin-theme] .tournament-bracket-match-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-admin-theme] .tournament-bracket-match {
  border: 1px solid #aebed5;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

body[data-admin-theme] .tournament-bracket-match > header {
  background: #edf3ff;
  color: #17366e;
  padding: 0.32rem 0.5rem;
}

body[data-admin-theme] .tournament-bracket-player-row {
  align-items: center;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: 28px minmax(0, 1fr) 48px;
  min-height: 43px;
  padding: 0.34rem;
}

body[data-admin-theme] .tournament-bracket-player-row.is-bye {
  background: #f2f5f9;
  color: #65746d;
  grid-template-columns: 28px minmax(0, 1fr);
}

body[data-admin-theme] .tournament-bracket-seed {
  color: #17366e;
  text-align: center;
}

body[data-admin-theme] .tournament-bracket-bye {
  font-size: 12px;
  letter-spacing: 0.08em;
}

body[data-admin-theme] .tournament-bracket-player-fields {
  display: grid;
  gap: 0.3rem;
  grid-template-columns: minmax(130px, 1.5fr) 58px minmax(110px, 1fr) 70px;
}

body[data-admin-theme] .tournament-bracket-player-fields input,
body[data-admin-theme] .tournament-bracket-tee-time input {
  background: #ffffff;
  border: 1px solid #bdcadd;
  border-radius: 6px;
  color: #173428;
  font: inherit;
  font-size: 13px;
  min-height: 32px;
  min-width: 0;
  padding: 0.28rem 0.42rem;
  width: 100%;
}

body[data-admin-theme] .tournament-bracket-return {
  background: #ffffff;
  border: 1px solid #aebed5;
  border-radius: 6px;
  color: #2854a6;
  font-size: 11px;
  min-height: 30px;
  padding: 0.2rem;
}

body[data-admin-theme] .tournament-bracket-return:disabled {
  opacity: 0.35;
}

body[data-admin-theme] .tournament-bracket-tee-time {
  align-items: center;
  background: #faf7eb;
  border-block: 1px solid #e2d8b3;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 58px minmax(90px, 150px);
  justify-content: center;
  padding: 0.28rem;
}

body[data-admin-theme] .tournament-bracket-tee-time span {
  color: #5b5747;
  font-size: 11px;
}

@media (max-width: 820px) {
  body[data-admin-theme] .tournament-bracket-match-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-admin-theme] .tournament-bracket-player-fields {
    grid-template-columns: minmax(110px, 1.5fr) 54px minmax(92px, 1fr) 62px;
  }
}

@media (max-width: 560px) {
  body[data-admin-theme] .admin-match-play-bracket-modal .admin-event-settings-modal-card {
    height: 96dvh;
    max-width: 100vw;
    width: 100vw;
  }

  body[data-admin-theme] .tournament-bracket-player-fields {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  body[data-admin-theme] .tournament-bracket-player-fields input:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-field > header {
    align-items: stretch;
    display: grid;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field {
    margin-left: 0;
    width: auto;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* tournament-blueprint-flow-128
   Event blueprints sit above the existing specialist builders. Golf Travel
   keeps Round Formats, Classic keeps Tournament Parameters, and Team Cup keeps
   its own workspace; every path finishes in the shared tee-time handoff. */
body[data-admin-theme] [data-tournament-builder-modal] {
  --tournament-flow-blue: #2854a6;
  --tournament-flow-navy: #142653;
  --tournament-flow-muted: #52637f;
  --tournament-flow-line: #c7d4eb;
  --tournament-flow-soft: #f4f7fd;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-event-settings-modal-card {
  background: var(--tournament-flow-soft);
  border-color: var(--tournament-flow-blue);
}

/* tournament-builder-handoff-and-footer-130
   The modal card already owns a dedicated footer grid row. Keeping the shared
   sticky footer behavior here can lift a theme-colored layer over the builder
   when the browser has a short viewport or enlarged text. */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-actions {
  background: #ffffff !important;
  border-top-color: var(--tournament-flow-line) !important;
  bottom: auto !important;
  position: relative !important;
  z-index: 1;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-builder-modal-body {
  background: var(--tournament-flow-soft) !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-event-settings-modal-head {
  background: var(--tournament-flow-blue) !important;
  border-color: var(--tournament-flow-blue) !important;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff, .admin-tournament-team-cup-step) {
  color: var(--tournament-flow-navy);
  display: grid;
  gap: 14px;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff) > header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff) > header > div,
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprints > header {
  align-items: flex-start;
  flex-direction: column;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff, .admin-tournament-team-cup-step) strong {
  color: var(--tournament-flow-navy);
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff) > header strong,
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-team-cup-step > div > strong {
  font-size: 22px;
  line-height: 1.12;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprints, .admin-tournament-round-plan, .admin-tournament-pairings-handoff, .admin-tournament-team-cup-step) :is(span, small, p) {
  color: var(--tournament-flow-muted);
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint {
  background: #ffffff;
  border: 1px solid var(--tournament-flow-line);
  border-radius: 12px;
  color: var(--tournament-flow-navy);
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 16px;
  text-align: left;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint strong {
  font-size: 17px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint small {
  font-size: 13px;
  line-height: 1.35;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprint, .admin-tournament-format):hover:not(:disabled),
body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprint, .admin-tournament-format):focus-visible,
body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-blueprint, .admin-tournament-format).is-selected {
  background: #eef3ff;
  border-color: var(--tournament-flow-blue);
  box-shadow: inset 0 0 0 1px var(--tournament-flow-blue);
  color: var(--tournament-flow-navy);
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-step.is-active,
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-step.is-complete {
  border-color: var(--tournament-flow-blue);
  color: var(--tournament-flow-blue);
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-step.is-active {
  background: var(--tournament-flow-blue) !important;
  color: #ffffff !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-navigation-step.is-complete {
  background: #eef3ff !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-action.secondary {
  background: #ffffff !important;
  border-color: var(--tournament-flow-blue) !important;
  color: var(--tournament-flow-blue) !important;
}

body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-round-plan, .admin-tournament-pairings-handoff, .admin-tournament-team-cup-step) {
  background: #ffffff;
  border: 1px solid var(--tournament-flow-line);
  border-radius: 12px;
  padding: 16px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan > div,
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairings-handoff > div {
  display: grid;
  gap: 8px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-row {
  align-items: stretch;
  background: var(--tournament-flow-soft);
  border: 1px solid var(--tournament-flow-line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  overflow: hidden;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-number {
  align-items: center;
  background: var(--tournament-flow-blue);
  color: #ffffff;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: center;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-detail {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-detail > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-detail > div > span {
  background: #ffffff;
  border: 1px solid var(--tournament-flow-line);
  border-radius: 999px;
  color: var(--tournament-flow-navy);
  font-size: 12px;
  padding: 3px 8px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-detail > div > .is-event {
  background: #eef3ff;
  border-color: #8fa8d7;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-detail > div > .is-cup {
  background: #fff3f3;
  border-color: #d98b8b;
  color: #8f1f2f;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-row {
  align-items: center;
  border: 1px solid var(--tournament-flow-line);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, 1.25fr) minmax(150px, 1fr) minmax(130px, .8fr) auto;
  padding: 10px 12px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-row > div:not(.admin-tournament-pairing-actions) {
  display: grid;
  gap: 2px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-row > div:first-child > span {
  color: var(--tournament-flow-blue);
  font-weight: 800;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-actions {
  display: flex;
  gap: 6px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-team-cup-step {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-team-cup-step > div {
  display: grid;
  gap: 5px;
}

@media (max-width: 900px) {
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-blueprint-grid,
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-row,
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-team-cup-step {
    grid-template-columns: 1fr;
  }

  body[data-admin-theme] [data-tournament-builder-modal] :is(.admin-tournament-round-plan, .admin-tournament-pairings-handoff) > header {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-actions,
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-actions .admin-action {
    width: 100%;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-round-plan-actions {
    flex-direction: column;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-actions,
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-pairing-actions .admin-action {
    width: 100%;
  }
}

/* tournament-builder-reliable-selects-120 */
body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select {
  display: inline-flex;
  min-width: 0;
  position: relative;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-native {
  block-size: 1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  inline-size: 1px !important;
  inset: 0 auto auto 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  white-space: nowrap !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 34%, #ffffff);
  border-radius: 7px;
  color: #12372a;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 520;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.15;
  min-height: 32px;
  min-width: 0;
  padding: 5px 9px;
  text-align: left;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button:hover,
body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button:focus-visible,
body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button[aria-expanded="true"] {
  border-color: #2854a6;
  box-shadow: 0 0 0 2px color-mix(in srgb, #2854a6 18%, transparent);
  outline: none;
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button:disabled {
  background: #eef2f0;
  color: #405a4d;
  cursor: default;
  opacity: 1;
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-chevron {
  block-size: 8px;
  border-bottom: 2px solid #2854a6;
  border-right: 2px solid #2854a6;
  flex: 0 0 8px;
  inline-size: 8px;
  margin: -3px 2px 2px 8px;
  transform: rotate(45deg);
}

body[data-admin-theme] [data-tournament-builder-modal] .scoodle-reliable-select-button[aria-expanded="true"] .scoodle-reliable-select-chevron {
  margin-block: 3px -2px;
  transform: rotate(225deg);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count .scoodle-reliable-select {
  flex: 0 0 64px;
  width: 64px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play .scoodle-reliable-select {
  min-width: 96px;
}

/* admin-reliable-selects-global-134
   The helper enhances every select added to the Tour Office, not only
   Tournament Builder selects.  These base rules ensure every modal has one
   visible selected-value button while the native control is safely hidden. */
body[data-admin-theme] .scoodle-reliable-select {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  position: relative;
  vertical-align: middle;
  width: 100%;
}

body[data-admin-theme] .scoodle-reliable-select[hidden] {
  display: none !important;
}

body[data-admin-theme] .scoodle-reliable-select-native {
  block-size: 1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  inline-size: 1px !important;
  inset: 0 auto auto 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  white-space: nowrap !important;
}

body[data-admin-theme] .scoodle-reliable-select-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #2854a6) 34%, #ffffff);
  border-radius: 7px;
  box-sizing: border-box;
  color: var(--admin-theme-ink, #12372a);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  gap: 8px;
  justify-content: space-between;
  letter-spacing: 0;
  line-height: 1.15;
  min-height: 32px;
  min-width: 0;
  padding: 5px 9px;
  text-align: left;
  text-transform: none;
  width: 100%;
}

body[data-admin-theme] .scoodle-reliable-select-button:hover,
body[data-admin-theme] .scoodle-reliable-select-button:focus-visible,
body[data-admin-theme] .scoodle-reliable-select-button[aria-expanded="true"] {
  border-color: var(--admin-theme-primary, #2854a6);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--admin-theme-primary, #2854a6) 18%, transparent);
  outline: none;
}

body[data-admin-theme] .scoodle-reliable-select-button:disabled {
  background: #eef1f6;
  color: var(--admin-theme-ink, #263c60);
  cursor: default;
  opacity: 1;
}

body[data-admin-theme] .scoodle-reliable-select-chevron {
  block-size: 8px;
  border-bottom: 2px solid var(--admin-theme-primary, #2854a6);
  border-right: 2px solid var(--admin-theme-primary, #2854a6);
  flex: 0 0 8px;
  inline-size: 8px;
  margin: -3px 2px 2px 8px;
  transform: rotate(45deg);
}

body[data-admin-theme] .scoodle-reliable-select-button[aria-expanded="true"] .scoodle-reliable-select-chevron {
  margin-block: 3px -2px;
  transform: rotate(225deg);
}

.scoodle-reliable-select-menu {
  background: #ffffff;
  border: 2px solid #2854a6;
  border-radius: 9px;
  box-shadow: 0 12px 32px rgba(16, 39, 74, 0.24);
  display: grid;
  gap: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4px;
  position: fixed;
  z-index: 2147483000;
}

.scoodle-reliable-select-option {
  appearance: none;
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  color: var(--admin-theme-ink, #17366e);
  cursor: pointer;
  display: block;
  font-family: "Mona Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.2;
  min-height: 36px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.scoodle-reliable-select-option:hover,
.scoodle-reliable-select-option:focus-visible {
  background: #edf3ff;
  color: #17366e;
  outline: none;
}

.scoodle-reliable-select-option[aria-selected="true"] {
  background: #2854a6;
  color: #ffffff;
  font-weight: 700;
}

.scoodle-reliable-select-option:disabled {
  color: #87938d;
  cursor: default;
}

@media (max-width: 940px) {
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slots {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
    grid-template-columns: minmax(0, 1fr) 72px auto;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-header-tools {
    width: 100%;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-eligibility {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-admin-theme] .tournament-division-category-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* tournament-division-workspace-fix-110 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  grid-template-columns: 150px 48px 70px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot .admin-field.tournament-division-name-field,
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot .admin-field.tournament-division-max-field {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 0;
  padding: 0;
}

/* tournament-parameter-title-compact-112 */
body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-format-choice.tournament-parameter-title-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  max-width: 100%;
  width: fit-content;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-row > div:first-child,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools {
  flex: 0 0 auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools {
  align-items: center;
  display: flex;
  gap: 6px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .admin-field.tournament-max-field {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 6px;
  min-height: 0;
  padding: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-max-field > span {
  font-size: 0.84rem;
  font-weight: 700;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-max-field input,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-field-lock {
  box-sizing: border-box;
  height: 34px;
  min-height: 34px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-field-lock {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  padding: 0 0.55rem;
  width: 72px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field input {
  width: 40px;
}

/* tournament-rounds-overview-114 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section {
  gap: 0.5rem;
  padding: 0.58rem 0.62rem 0.64rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-header {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 1rem;
  font-weight: 790;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title > label {
  align-items: center;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  font-size: 0.76rem;
  gap: 0.34rem;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title input {
  accent-color: #2854a6;
  block-size: 16px;
  inline-size: 16px;
  margin: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count {
  align-items: center;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  font-size: 0.72rem;
  gap: 0.38rem;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count select {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 35%, #ffffff);
  border-radius: 6px;
  color: #12372a;
  font: inherit;
  font-size: 0.8rem;
  height: 32px;
  padding: 0 1.45rem 0 0.42rem;
  width: 54px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table-wrap {
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 18%, #ffffff);
  border-radius: 7px;
  max-width: 100%;
  overflow-x: auto;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table {
  border-collapse: collapse;
  min-width: 1040px;
  table-layout: auto;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td {
  border-bottom: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 14%, #ffffff);
  border-right: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 11%, #ffffff);
  color: var(--admin-theme-ink, #173428);
  font-size: 0.72rem;
  font-weight: 560;
  height: 38px;
  padding: 0.24rem 0.4rem;
  text-align: center;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table thead th {
  background: color-mix(in srgb, #2854a6 8%, #ffffff);
  color: #1e438b;
  font-size: 0.68rem;
  font-weight: 760;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table tbody th {
  background: #ffffff;
  color: #1e438b;
  font-size: 0.8rem;
  font-weight: 790;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table tr:last-child > * {
  border-bottom: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table tr > *:last-child {
  border-right: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-button {
  background: transparent;
  border: 0;
  color: #1e438b;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  max-width: 190px;
  overflow: hidden;
  padding: 0.2rem 0.1rem;
  text-align: left;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-button.is-not-set {
  color: #2854a6;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table select {
  appearance: auto;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 28%, #ffffff);
  border-radius: 5px;
  color: #12372a;
  font: inherit;
  font-size: 0.72rem;
  height: 30px;
  min-width: 112px;
  padding: 0 1.3rem 0 0.35rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-number {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

@media (max-width: 620px) {
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-header {
    align-items: start;
    display: grid;
    gap: 0.45rem;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title {
    align-items: start;
    flex-wrap: wrap;
  }
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-field-lock {
  align-self: end;
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  justify-self: start;
  min-height: 32px;
  padding-inline: 0.5rem;
  width: 70px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-active-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.3rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-active-categories > span {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 34%, #ffffff);
  border-radius: 999px;
  color: #1e438b;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  padding: 0.18rem 0.4rem;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-card {
  max-width: 760px;
  width: min(calc(100vw - 1rem), 760px);
}

body[data-admin-theme] .tournament-division-editor-body > .tournament-division-category-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-admin-theme] .tournament-division-category-list {
  align-content: start;
  display: grid;
  gap: 0.36rem;
  grid-template-columns: minmax(0, 1fr);
}

body[data-admin-theme] .tournament-division-category-card {
  text-align: left;
  touch-action: none;
  user-select: none;
  width: 100%;
}

body[data-admin-theme] .tournament-division-category-add {
  border-top: 1px solid color-mix(in srgb, #2854a6 22%, #ffffff);
  margin-top: 0.12rem;
  padding-top: 0.44rem;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-actions .admin-action {
  flex: 0 0 auto;
  min-width: 82px;
  width: auto;
}

/* tournament-division-category-add-delete-113 */
body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-card {
  max-width: 920px;
  width: min(calc(100vw - 1rem), 920px);
}

body[data-admin-theme] .tournament-division-editor-body > .tournament-division-category-columns {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(150px, 0.62fr);
}

body[data-admin-theme] .tournament-division-category-add {
  align-items: center;
  background: #ffffff;
  border: 1px solid #2854a6;
  border-radius: 5px;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) 72px;
  margin: 0;
  padding: 3px;
}

body[data-admin-theme] .tournament-division-category-add input {
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  color: #173428;
  font-size: 0.8rem;
  height: 28px;
  min-height: 28px;
  padding: 0.2rem 0.4rem;
  width: 100%;
}

body[data-admin-theme] .tournament-division-category-add input:focus {
  outline: 2px solid color-mix(in srgb, #2854a6 34%, #ffffff);
  outline-offset: 0;
}

body[data-admin-theme] .tournament-division-category-add .admin-action {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  border-radius: 4px;
  color: #ffffff !important;
  font-size: 0.72rem;
  height: 28px;
  min-height: 28px;
  min-width: 0;
  padding: 0 0.38rem;
  width: 72px;
}

body[data-admin-theme] .tournament-division-category-delete {
  background: #fbfcfd;
}

body[data-admin-theme] .tournament-division-category-delete .tournament-division-category-list {
  border-color: #9aa7b2;
}

body[data-admin-theme] .tournament-division-category-card.is-delete-pending {
  border-color: #b34a4a;
  color: #8f3030;
}

body[data-admin-theme] .tournament-division-category-delete-note {
  color: #8f3030;
  font-size: 0.72rem;
  line-height: 1.25;
}

@media (max-width: 700px) {
  body[data-admin-theme] .tournament-division-editor-body > .tournament-division-category-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* event-information-two-control-footer-102 */
#adminEventInformation .admin-event-information-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

#adminEventInformation .admin-event-information-actions [data-save-event-information] {
  background: #2854a6;
  border-color: #2854a6;
  color: #ffffff;
  min-width: 100px;
}

#adminEventInformation .admin-event-information-actions [data-save-event-information]:disabled {
  background: #2854a6;
  border-color: #2854a6;
  color: #ffffff;
  opacity: 1;
}

/* event-settings-select-readability-95
   Keep the selected value legible in Event Settings.  Native selects can inherit
   a muted text-fill color after the modal theme has changed, especially when a
   previously locked event is reopened. */
body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-theme],
body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-type] {
  appearance: auto;
  -webkit-text-fill-color: #12372a;
  background-color: #ffffff;
  color: #12372a;
  font-weight: 700;
  opacity: 1;
}

body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-theme] option,
body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-type] option {
  background-color: #ffffff;
  color: #12372a;
}

/* A past event remains locked, but its saved settings should still be readable. */
body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-theme]:disabled,
body[data-admin-theme] [data-event-settings-modal] select[data-event-shell-type]:disabled {
  -webkit-text-fill-color: #405a4d;
  background-color: #f7f9f7;
  color: #405a4d;
  opacity: 1;
}

/* tournament-parameters-select-readability-104
   Tournament Builder shares the event-settings modal shell, but its generated
   Play & Scoring controls need their own explicit native-select treatment.
   Without this, a theme update can leave the selected text invisible even
   though the options are present in the DOM. */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field select {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background-color: #ffffff !important;
  border-color: color-mix(in srgb, var(--admin-theme-primary, #2854a6), #ffffff 45%) !important;
  caret-color: #12372a !important;
  color: #12372a !important;
  -webkit-text-fill-color: #12372a !important;
  font-weight: 650;
  opacity: 1 !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field select option {
  background-color: #ffffff;
  color: #12372a;
  -webkit-text-fill-color: #12372a;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field select:disabled {
  background-color: #f1f4f3 !important;
  color: #405a4d !important;
  -webkit-text-fill-color: #405a4d !important;
  opacity: 1 !important;
}

/* team-cup-builder-launch-96 */
body[data-admin-theme] .admin-tournament-format[data-tournament-template="team-cup"] {
  background: #ffffff;
  border-color: color-mix(in srgb, #2854a6 32%, #ffffff);
  color: #142653;
}

body[data-admin-theme] .admin-tournament-format[data-tournament-template="team-cup"] small {
  color: #52637f;
}

body[data-admin-theme] .admin-tournament-format[data-tournament-template="team-cup"]:hover,
body[data-admin-theme] .admin-tournament-format[data-tournament-template="team-cup"]:focus-visible,
body[data-admin-theme] .admin-tournament-format[data-tournament-template="team-cup"].is-selected,
body[data-admin-theme] .admin-tournament-team-cup-summary {
  background: #eef3ff;
  border-color: #2854a6;
  box-shadow: inset 0 0 0 1px #2854a6;
}

body[data-admin-theme] .admin-tournament-team-cup-summary > strong {
  color: #2854a6;
}

body[data-admin-theme] .admin-tournament-team-cup-summary .admin-action {
  background: #2854a6;
  border-color: #2854a6;
  color: #ffffff;
}

/* entry-information-five-card-layout-100 */
#adminEventInformation .admin-event-information-entry { display: grid; gap: 0.7rem; }

#adminEventInformation .admin-event-information-grid {
  align-items: stretch;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

#adminEventInformation .admin-event-information-card {
  align-content: stretch;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 22%, #ffffff);
  border-radius: 9px;
  display: grid;
  min-width: 0;
  padding: 0.62rem;
}

#adminEventInformation .admin-event-information-builder-card,
#adminEventInformation .admin-event-information-fee-card,
#adminEventInformation .admin-event-invite-card { grid-column: span 2; min-height: 72px; }

#adminEventInformation .admin-event-information-included-card,
#adminEventInformation .admin-event-information-excluded-card { grid-column: span 3; }

#adminEventInformation .admin-entry-builder-launch,
#adminEventInformation .admin-event-invite-launch {
  align-items: center;
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  display: flex;
  font-size: 1rem;
  font-weight: 850;
  justify-content: center;
  margin: 0;
  min-height: 100%;
  padding: 0.55rem 0.8rem;
  text-align: center;
  width: 100%;
}

#adminEventInformation .admin-entry-builder-launch *,
#adminEventInformation .admin-event-invite-launch * { color: #ffffff !important; opacity: 1 !important; }

#adminEventInformation .admin-entry-builder-launch > strong { color: #ffffff !important; font-size: 1rem; font-weight: 900; }

#adminEventInformation .admin-entry-builder-launch small,
#adminEventInformation .admin-entry-builder-launch [data-entry-builder-result] { display: none !important; }

#adminEventInformation .admin-entry-fee-field,
#adminEventInformation .admin-event-info-copy { display: grid; gap: 0.3rem; min-width: 0; width: 100%; }

#adminEventInformation .admin-entry-fee-field { align-content: center; }

#adminEventInformation .admin-entry-fee-field > span,
#adminEventInformation .admin-event-info-copy > span { color: var(--admin-theme-ink, #173428); font-size: 0.74rem; font-weight: 760; }

#adminEventInformation .admin-entry-fee-field input,
#adminEventInformation .admin-event-info-copy textarea {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 32%, #ffffff);
  border-radius: 6px;
  box-sizing: border-box;
  color: #172b25;
  font: inherit;
  min-width: 0;
  width: 100%;
}

#adminEventInformation .admin-entry-fee-field input { font-size: 1.05rem; font-weight: 760; min-height: 34px; padding: 0.25rem 0.45rem; }
#adminEventInformation .admin-event-info-copy textarea { min-height: 96px; padding: 0.48rem 0.55rem; resize: vertical; }

#adminEventInformation .admin-event-information-actions {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--admin-theme-primary, #17633f) 20%, #ffffff);
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  padding-top: 0.65rem;
}

#adminEventInformation .admin-event-information-actions > span { color: var(--admin-theme-ink, #173428); font-size: 0.74rem; font-weight: 750; margin-right: auto; }

@media (max-width: 720px) {
  #adminEventInformation .admin-event-information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #adminEventInformation .admin-event-information-builder-card,
  #adminEventInformation .admin-event-information-fee-card,
  #adminEventInformation .admin-event-invite-card,
  #adminEventInformation .admin-event-information-included-card,
  #adminEventInformation .admin-event-information-excluded-card { grid-column: span 1; }
}

@media (max-width: 480px) {
  #adminEventInformation .admin-event-information-grid { grid-template-columns: minmax(0, 1fr); }
  #adminEventInformation .admin-event-information-builder-card,
  #adminEventInformation .admin-event-information-fee-card,
  #adminEventInformation .admin-event-invite-card,
  #adminEventInformation .admin-event-information-included-card,
  #adminEventInformation .admin-event-information-excluded-card { grid-column: auto; }
}

/* tournament-parameter-consistency-115 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-row > div:first-child > strong,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title > strong,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > strong,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > div > strong {
  color: var(--admin-theme-ink, #173428);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.08;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-max-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-same-course > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field > span {
  color: var(--admin-theme-ink, #173428);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.05;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-header,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section > .tournament-rounds-header > .tournament-rounds-title {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 !important;
  grid-template-columns: none;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section .tournament-round-count {
  margin-left: 10px !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section .tournament-rounds-same-course {
  margin-left: auto !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-same-course {
  align-items: center;
  color: var(--admin-theme-ink, #173428);
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%231e438b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, #2854a6 35%, #ffffff);
  border-radius: 6px;
  color: #12372a;
  font-size: 15px;
  font-weight: 700;
  height: 34px;
  min-width: 64px;
  opacity: 1;
  padding: 0 26px 0 10px;
  -webkit-text-fill-color: #12372a;
  width: 64px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-same-course input {
  accent-color: #2854a6;
  block-size: 17px;
  inline-size: 17px;
  margin: 0;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table {
  min-width: 914px;
  table-layout: fixed;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td {
  padding: 0.42rem 0.34rem;
  white-space: normal;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(1),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(1) { width: 42px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(2),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(2) { width: 190px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(3),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(3) { width: 48px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(4),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(4) { width: 116px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(5),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(5) { width: 72px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(6),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(6) { width: 60px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(7),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(7) { width: 72px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(8),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(8) { width: 90px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(9),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(9) { width: 56px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(10),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(10) { width: 42px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(11),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(11) { width: 58px; }

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-heading,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-cell {
  text-align: left !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-course-button {
  display: block;
  max-width: 180px;
  text-align: left !important;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field select {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #12372a !important;
  cursor: pointer;
  min-height: 32px;
  opacity: 1 !important;
  pointer-events: auto !important;
  padding: 0 8px;
  -webkit-text-fill-color: #12372a !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table select option,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field select option {
  background: #ffffff;
  color: #12372a;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play {
  display: grid;
  gap: 4px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play input {
  box-sizing: border-box;
  font-size: 12px;
  max-width: 116px;
  min-width: 0;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play input {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 28%, #ffffff);
  border-radius: 5px;
  color: #12372a;
  min-height: 28px;
  padding: 0 6px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-grid {
  gap: 0.42rem;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field {
  min-height: 0;
  padding: 0.42rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-field > span {
  font-size: 0.74rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  grid-template-columns: 150px 92px 70px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field input {
  width: 92px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field input {
  box-sizing: border-box;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row {
  gap: 0.3rem;
  grid-template-columns: 62px minmax(0, 1fr);
  padding-top: 0.34rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-gender-row > div {
  gap: 0.42rem;
}

@media (max-width: 620px) {
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section > .tournament-rounds-header > .tournament-rounds-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-section .tournament-rounds-same-course {
    margin-left: 10px !important;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-row > div:first-child > strong,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-title > strong,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > strong,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameters-section > header > div > strong {
    font-size: 20px;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools .tournament-max-field > span,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-count > span,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-same-course > span,
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-max-field > span {
    font-size: 14px;
  }
}

/* tournament-builder-compact-division-round-grid-121 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools {
  margin-left: 10px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-name-field > span,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools > span {
  color: var(--admin-theme-ink, #173428);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: normal;
  line-height: 1.05;
  text-transform: none;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-max-field input,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools input,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-field-lock,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-field-lock {
  box-sizing: border-box;
  font-size: 14px;
  height: 34px;
  min-height: 34px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(132px, 150px) 126px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools {
  align-content: end;
  display: grid;
  gap: 4px;
  min-width: 0;
  width: 126px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools > span {
  text-align: center;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools > div {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-allocation-tools input {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #2854a6 35%, #ffffff);
  border-radius: 6px;
  color: #12372a;
  font-weight: 700;
  padding: 0 4px;
  text-align: center;
  width: 50px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-field-lock {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  min-width: 62px;
  padding: 0 8px;
  width: 62px;
}

body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > footer {
  box-sizing: border-box;
  gap: 8px;
  overflow: hidden;
  padding-right: 10px;
  width: 100%;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-edit,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-delete {
  flex: 0 0 auto;
  margin: 0;
  max-width: calc(100% - 2px);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-division-delete {
  background: #ffffff !important;
  border-color: #a32f2f !important;
  color: #8f2424 !important;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table {
  min-width: 784px;
  table-layout: fixed;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-round { width: 36px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-course { width: auto; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-hole-count { width: 42px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-hole-scope { width: 82px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-play { width: 70px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-score { width: 56px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-ball { width: 64px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-competition { width: 82px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-results { width: 50px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-cut { width: 40px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-stage { width: 48px; }

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td {
  font-size: 0.68rem;
  line-height: 1.05;
  padding: 0.16rem 0.2rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table tbody tr {
  height: 32px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .tournament-round-course-button,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .scoodle-reliable-select-button {
  font-size: 0.68rem;
  height: 26px;
  min-height: 26px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .scoodle-reliable-select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .scoodle-reliable-select-button {
  max-width: 78px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .scoodle-reliable-select-button {
  padding: 2px 20px 2px 6px;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .tournament-round-course-button {
  max-width: 204px;
  padding-block: 0.08rem;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play select,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play input {
  max-width: 78px;
}

/* tournament-builder-round-label-balance-122 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-play-type {
  text-align: center;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-play-type > span {
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(2),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(2) { width: auto; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(3),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(3) { width: 42px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(4),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(4) { width: 82px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(5),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(5) { width: 70px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(6),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(6) { width: 56px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(7),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(7) { width: 64px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(9),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(9) { width: 50px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(10),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(10) { width: 40px; }
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(11),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(11) { width: 48px; }

/* tournament-round-nine-theme-tints-123 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play .scoodle-reliable-select-button[data-reliable-select-value="front"],
body[data-admin-theme] .scoodle-reliable-select-menu[data-reliable-select-source="round-hole-scope"] .scoodle-reliable-select-option[data-reliable-select-value="front"] {
  background: color-mix(in srgb, var(--admin-theme-primary, #2854a6) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--admin-theme-primary, #2854a6) 30%, #ffffff);
  color: color-mix(in srgb, var(--admin-theme-primary, #2854a6) 74%, #15271f);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-holes-to-play .scoodle-reliable-select-button[data-reliable-select-value="back"],
body[data-admin-theme] .scoodle-reliable-select-menu[data-reliable-select-source="round-hole-scope"] .scoodle-reliable-select-option[data-reliable-select-value="back"] {
  background: color-mix(in srgb, var(--admin-theme-secondary, #b22234) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--admin-theme-secondary, #b22234) 30%, #ffffff);
  color: color-mix(in srgb, var(--admin-theme-secondary, #b22234) 74%, #15271f);
}

body[data-admin-theme] .scoodle-reliable-select-menu[data-reliable-select-source="round-hole-scope"] .scoodle-reliable-select-option[data-reliable-select-value="front"][aria-selected="true"],
body[data-admin-theme] .scoodle-reliable-select-menu[data-reliable-select-source="round-hole-scope"] .scoodle-reliable-select-option[data-reliable-select-value="back"][aria-selected="true"] {
  box-shadow: inset 0 0 0 1px currentColor;
  font-weight: 700;
}

/* tournament-round-course-r5-width-124 */
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table {
  min-width: var(--tournament-rounds-table-width, 760px);
  width: var(--tournament-rounds-table-width, 760px);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-round-col-course,
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table th:nth-child(2),
body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table td:nth-child(2) {
  width: var(--tournament-round-course-width, 190px);
}

body[data-admin-theme] [data-tournament-builder-modal] .tournament-rounds-table .tournament-round-course-button {
  max-width: calc(var(--tournament-round-course-width, 190px) - 8px);
}

/* tournament-division-editor-interaction-fix-125 */
body[data-admin-theme] .admin-tournament-division-editor-modal .tournament-division-category-card {
  font-size: 12px;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .tournament-division-category-add {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) 64px;
  overflow: hidden;
  width: 100%;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .tournament-division-category-add input {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0 !important;
  width: 100% !important;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .tournament-division-category-add .admin-action {
  box-sizing: border-box;
  font-size: 12px;
  max-width: 64px;
  width: 64px;
}

body[data-admin-theme] .admin-tournament-division-editor-modal .admin-event-settings-modal-actions .admin-action {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

body[data-admin-theme] .admin-tournament-division-editor-modal [data-save-tournament-division-editor]:disabled {
  background: #2854a6 !important;
  border-color: #2854a6 !important;
  color: #ffffff !important;
  opacity: 1;
}

@media (max-width: 620px) {
  body[data-admin-theme] [data-tournament-builder-modal] .tournament-parameter-title-tools {
    margin-left: 0;
  }

  body[data-admin-theme] [data-tournament-builder-modal] .admin-tournament-division-slot > header {
    grid-template-columns: minmax(0, 1fr) 126px;
  }
}
