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

.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-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;
}

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

.round-date-card-tee-status .round-tee-status {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--admin-date-card-primary) 42%, #ffffff);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 900;
  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: color-mix(in srgb, var(--admin-date-card-primary) 12%, #ffffff);
  color: var(--admin-date-card-primary);
}

.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(92dvh, 620px);
}

.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;
}

.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);
}

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;
  }
}
