.admin-office-header {
  position: relative;
}

.admin-selected-event-chip > strong {
  position: relative;
  padding-inline: 78px !important;
}

.event-preview-launch {
  position: absolute;
  right: 9px;
  min-height: 26px;
  padding: 4px 10px;
  transform: translateY(-50%);
  border: 1px solid currentColor;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--admin-theme-ink, #173428);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.event-preview-launch:hover,
.event-preview-launch:focus-visible {
  background: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.62);
  outline-offset: 2px;
}

.event-preview-modal[hidden] {
  display: none;
}

.event-preview-modal,
.event-preview-modal * {
  box-sizing: border-box;
}

.event-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: grid;
  place-items: center;
  padding: 16px;
}

.event-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 20, 0.68);
}

.event-preview-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(920px, 100%);
  max-height: min(900px, calc(100dvh - 32px));
  overflow: hidden;
  border: 2px solid var(--admin-theme-primary, #006747);
  border-radius: 8px;
  background: var(--admin-theme-light, #ffffff);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
  color: var(--admin-theme-ink, #173428);
}

.event-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 15px;
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
}

.event-preview-head-copy {
  min-width: 0;
}

.event-preview-head strong,
.event-preview-head span {
  display: block;
  overflow-wrap: anywhere;
}

.event-preview-head strong {
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  line-height: 1.15;
}

.event-preview-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
}

.event-preview-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.event-preview-body {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px;
  overscroll-behavior: contain;
}

.event-preview-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.event-preview-fact {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 68%);
  border-radius: 6px;
  background: color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 94%);
}

.event-preview-fact span,
.event-preview-fact strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-preview-fact span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 28%);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-preview-fact strong {
  margin-top: 2px;
  font-size: 0.9rem;
}

.event-preview-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.event-preview-check {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  gap: 6px;
  align-items: center;
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #b8c7c0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--admin-theme-ink, #173428);
  font-size: 0.75rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

button.event-preview-check {
  cursor: pointer;
}

.event-preview-check::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #1f8a5b;
}

.event-preview-check[data-ready="false"] {
  border-color: #d89421;
  background: #fff8e8;
}

.event-preview-check[data-ready="false"]::before {
  background: #d97b13;
}

.event-preview-section + .event-preview-section {
  margin-top: 15px;
}

.event-preview-section-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0 1px 6px;
  border-bottom: 2px solid var(--admin-theme-primary, #006747);
}

.event-preview-section-head strong {
  min-width: 0;
  font-size: 0.94rem;
}

.event-preview-section-head span {
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 26%);
  font-size: 0.75rem;
  font-weight: 800;
}

.event-preview-link,
.event-preview-inline-action {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--admin-theme-primary, #006747);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.event-preview-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-bottom: 1px solid #dbe3df;
}

.event-preview-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.76rem;
}

.event-preview-table.rounds-table {
  min-width: 920px;
}

.event-preview-table th,
.event-preview-table td {
  padding: 8px 7px;
  border-bottom: 1px solid #dbe3df;
  text-align: left;
  vertical-align: top;
}

.event-preview-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 88%);
  color: var(--admin-theme-ink, #173428);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-preview-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 97%);
}

.event-preview-table td strong,
.event-preview-table td small {
  display: block;
}

.event-preview-table td small {
  margin-top: 2px;
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 30%);
  line-height: 1.25;
}

.event-preview-stack {
  display: grid;
  gap: 4px;
}

.event-preview-format-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: start;
}

.event-preview-missing {
  color: #a64320;
  font-weight: 900;
}

.event-preview-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border: 0;
  border-radius: 999px;
  background: #eef3f0;
  color: inherit;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 900;
}

button.event-preview-status {
  cursor: pointer;
}

.event-preview-status[data-status="in-progress"] {
  background: #e1f5e9;
  color: #12633d;
}

.event-preview-status[data-status="upcoming"] {
  background: #e9f0fb;
  color: #294d86;
}

.event-preview-status[data-status="preview"] {
  background: #fff4d6;
  color: #805d0f;
}

.event-preview-empty {
  padding: 12px 3px 2px;
  color: color-mix(in srgb, var(--admin-theme-ink, #173428), #ffffff 30%);
  font-size: 0.8rem;
}

.event-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 10px 14px;
  border-top: 1px solid #dbe3df;
  background: #ffffff;
}

.event-preview-action {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--admin-theme-primary, #006747);
  border-radius: 6px;
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.event-preview-action.secondary {
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
}

.event-preview-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.event-preview-search-row input {
  min-width: 0;
  min-height: 36px;
  box-sizing: border-box;
  padding: 7px 9px;
  border: 1px solid #aebdb5;
  border-radius: 5px;
  font: inherit;
}

.event-preview-pager {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

@media (max-width: 620px) {
  .event-preview-modal {
    padding: 8px;
  }

  .event-preview-sheet {
    max-height: calc(100dvh - 16px);
  }

  .event-preview-body {
    padding: 10px;
  }

  .event-preview-overview {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .event-preview-fact {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding-block: 7px;
  }

  .event-preview-fact strong {
    margin: 0;
  }

  .event-preview-table {
    min-width: 670px;
  }

  .event-preview-table.rounds-table {
    min-width: 940px;
  }

  .event-preview-actions {
    justify-content: stretch;
  }

  .event-preview-actions .event-preview-action {
    flex: 1 1 130px;
  }
}

@media print {
  .event-preview-modal {
    position: static;
    display: block;
    padding: 0;
  }
}


/* event-preview-compact-tables-1 */
.event-preview-table-wrap {
  border: 1px solid #c9d5cf;
  border-radius: 5px;
}

.event-preview-table th,
.event-preview-table td {
  border: 1px solid #d3ddd8;
  padding: 5px 6px;
  vertical-align: middle;
}

.event-preview-table th {
  text-align: left;
  vertical-align: middle;
}

.event-preview-table thead tr + tr th {
  text-align: center;
}

.event-preview-count,
.event-preview-round-cell {
  text-align: center !important;
  white-space: nowrap;
}

.roster-table {
  min-width: 760px;
  table-layout: fixed;
}

.roster-table .col-count {
  width: 34px;
}

.roster-table .col-name {
  width: 166px;
}

.roster-table .col-hdcp {
  width: 56px;
}

.roster-table .col-category {
  width: 112px;
}

.roster-table .col-tee {
  width: 150px;
}

.roster-table .col-next-round {
  width: 46px;
}

.roster-table .col-next-time {
  width: 122px;
}

.roster-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.divisions-table {
  width: max-content;
  min-width: 100%;
}

.divisions-table th:first-child,
.divisions-table td:first-child {
  min-width: 34px;
  text-align: center;
}

.divisions-table th:nth-child(2),
.divisions-table td:nth-child(2) {
  min-width: 132px;
}

.divisions-table th:nth-child(3),
.divisions-table td:nth-child(3) {
  min-width: 112px;
}

.divisions-table thead tr:nth-child(2) th,
.divisions-table tbody td:nth-child(n + 4) {
  min-width: 105px;
  text-align: center;
}

.event-preview-table.rounds-table {
  min-width: 870px;
}

.rounds-table th:nth-child(1) {
  width: 162px;
}

.rounds-table th:nth-child(2) {
  width: 70px;
}

.rounds-table th:nth-child(3) {
  width: 150px;
}

.rounds-table th:nth-child(4),
.rounds-table th:nth-child(5) {
  width: 92px;
}

.rounds-table th:nth-child(6) {
  width: 150px;
}

.rounds-table th:nth-child(7) {
  width: 142px;
}

.event-preview-format-stack,
.event-preview-prize-stack {
  gap: 5px;
}

.event-preview-format-stack .event-preview-inline-action {
  display: block;
  line-height: 1.25;
  text-align: left;
}

.event-preview-prize-stack > span {
  min-height: 1em;
  line-height: 1.25;
}

.event-preview-pager {
  flex-wrap: wrap;
  justify-content: space-between;
}

.event-preview-page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.event-preview-page {
  min-width: 30px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid var(--admin-theme-primary, #006747);
  border-radius: 5px;
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.event-preview-page.is-active {
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
}

.event-preview-page:disabled {
  cursor: default;
  opacity: 0.42;
}

@media (max-width: 620px) {
  .roster-table {
    min-width: 720px;
  }

  .event-preview-table.rounds-table {
    min-width: 850px;
  }

  .event-preview-pager {
    justify-content: center;
  }
}


/* event-preview-control-surface-2 */
.event-preview-cell-link {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.event-preview-cell-link.strong {
  font-weight: 900;
}

.event-preview-cell-link:hover,
.event-preview-cell-link:focus-visible {
  color: var(--admin-theme-primary, #006747);
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: 0;
}

.event-preview-category-select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 30px;
  margin: 0;
  padding: 3px 22px 3px 6px;
  border: 1px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 56%);
  border-radius: 5px;
  background: #ffffff;
  color: var(--admin-theme-ink, #14213d);
  font: inherit;
  font-weight: 750;
}

.event-preview-category-select:focus-visible {
  outline: 2px solid var(--admin-theme-secondary, #d9b631);
  outline-offset: 1px;
}

.event-preview-heading-stack {
  display: inline-grid;
  gap: 0;
  line-height: 1.05;
}

.divisions-table .event-preview-category-cell,
.divisions-table .event-preview-tee-cell {
  text-align: left !important;
}

.event-preview-table.rounds-table {
  min-width: 980px;
  table-layout: fixed;
}

.rounds-table col.col-date {
  width: 150px;
}

.rounds-table col.col-round {
  width: 64px;
}

.rounds-table col.col-course {
  width: 145px;
}

.rounds-table col.col-first-time {
  width: 78px;
}

.rounds-table col.col-pairings {
  width: 84px;
}

.rounds-table col.col-formats {
  width: 240px;
}

.rounds-table col.col-prizes {
  width: 165px;
}

.rounds-table .event-preview-format-cell,
.rounds-table .event-preview-prize-cell {
  border: 1px solid #c3d0ca;
  vertical-align: middle;
}

.rounds-table .event-preview-format-cell .event-preview-cell-link {
  white-space: nowrap;
}

.event-preview-return-control {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 355;
  min-height: 40px;
  padding: 8px 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--admin-theme-primary, #006747);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  color: #ffffff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.event-preview-return-control:hover,
.event-preview-return-control:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 58%);
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .event-preview-table.rounds-table {
    min-width: 940px;
  }

  .rounds-table col.col-formats {
    width: 220px;
  }

  .rounds-table col.col-prizes {
    width: 150px;
  }
}


/* event-preview-round-density-11 */
.event-preview-date-stack,
.event-preview-pairing-stack {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.12;
}

.event-preview-date-stack strong,
.event-preview-pairing-stack strong {
  font-size: 0.75rem;
  font-weight: 900;
}

.event-preview-date-stack span,
.event-preview-pairing-stack span {
  font-size: 0.68rem;
  white-space: nowrap;
}

.event-preview-round-label {
  text-align: center !important;
  white-space: nowrap;
  font-weight: 900;
}

.event-preview-table.rounds-table {
  min-width: 780px;
}

.rounds-table col.col-date {
  width: 112px;
}

.rounds-table col.col-round {
  width: 52px;
}

.rounds-table col.col-course {
  width: 128px;
}

.rounds-table col.col-first-time {
  width: 58px;
}

.rounds-table col.col-pairings {
  width: 58px;
}

.rounds-table col.col-formats {
  width: 170px;
}

.rounds-table col.col-prizes {
  width: 145px;
}

.rounds-table .event-preview-format-cell .event-preview-cell-link {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 620px) {
  .event-preview-table.rounds-table {
    min-width: 780px;
  }
}


/* event-preview-table-balance-7 */
.event-preview-date-stack {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.1;
}

.event-preview-date-stack > span {
  display: block;
  font-size: 0.69rem;
  font-weight: 400;
  white-space: nowrap;
}

.event-preview-round-label {
  text-align: center !important;
  white-space: nowrap;
  font-weight: 400;
}

.event-preview-table.rounds-table {
  min-width: 700px;
}

.rounds-table col.col-date {
  width: 92px;
}

.rounds-table col.col-round {
  width: 38px;
}

.rounds-table col.col-course {
  width: 128px;
}

.rounds-table col.col-first-time {
  width: 74px;
}

.rounds-table col.col-pairings {
  width: 44px;
}

.rounds-table col.col-formats {
  width: 150px;
}

.rounds-table col.col-prizes {
  width: 145px;
}

.roster-table .col-count {
  width: 28px;
}

.roster-table .col-name {
  width: 190px;
}

.roster-table .col-hdcp {
  width: 44px;
}

.roster-table .col-category {
  width: 134px;
}

.roster-table .col-tee {
  width: 146px;
}

.roster-table .col-next-round {
  width: 34px;
}

.roster-table .col-next-time {
  width: 136px;
}

@media (max-width: 620px) {
  .event-preview-table.rounds-table {
    min-width: 700px;
  }
}


/* event-preview-operational-tables-8 */
.event-preview-sort-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.event-preview-sort-control.is-active {
  color: var(--admin-theme-primary, #006747);
}

.event-preview-sort-indicator {
  flex: 0 0 auto;
  font-size: 0.62rem;
  line-height: 1;
}

.roster-table thead tr:nth-child(2) .event-preview-sort-control {
  justify-content: center;
  font-size: 0.66rem;
}

.event-preview-pairings-link,
.event-preview-inline-link {
  border: 0;
  background: transparent;
  color: var(--admin-theme-primary, #006747);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.event-preview-pairings-link {
  display: block;
  width: 100%;
  padding: 2px 4px;
  font-size: 0.68rem;
  text-align: center;
}

.roster-table .col-count {
  width: 28px;
}

.roster-table .col-name {
  width: 190px;
}

.roster-table .col-hdcp {
  width: 44px;
}

.roster-table .col-category {
  width: 134px;
}

.roster-table .col-tee {
  width: 146px;
}

.roster-table .col-next-round {
  width: 34px;
}

.roster-table .col-next-time {
  width: 90px;
}

.roster-table .col-next-hole {
  width: 52px;
}

.divisions-table tbody td:first-child {
  width: 28px;
  min-width: 28px;
  max-width: 28px;
}

.divisions-table thead th:first-child {
  min-width: 162px;
}

.event-preview-date-stack > span {
  font-size: 0.62rem;
}

.event-preview-table.rounds-table {
  min-width: 720px;
}

.rounds-table col.col-date {
  width: 112px;
}

.rounds-table col.col-round {
  width: 38px;
}

.rounds-table col.col-course {
  width: 128px;
}

.rounds-table col.col-first-time {
  width: 74px;
}

.rounds-table col.col-pairings {
  width: 64px;
}

.rounds-table col.col-formats {
  width: 150px;
}

.rounds-table col.col-prizes {
  width: 145px;
}

.rounds-table th:nth-child(5),
.rounds-table td:nth-child(5) {
  text-align: center;
}

.results-table {
  min-width: 800px;
  table-layout: fixed;
}

.results-table col.col-result-date {
  width: 112px;
}

.results-table col.col-result-round {
  width: 48px;
}

.results-table col.col-result-course {
  width: 132px;
}

.results-table col.col-result-status {
  width: 104px;
}

.results-table col.col-result-formats {
  width: 150px;
}

.results-table col.col-result-winners {
  width: 254px;
}

.event-preview-result-actions,
.event-preview-winner-list {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-preview-result-actions {
  justify-items: start;
}

.event-preview-winner-list span {
  display: block;
  line-height: 1.25;
}

.event-preview-round-picker {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 31, 23, 0.58);
}

.event-preview-round-picker[hidden] {
  display: none !important;
}

.event-preview-round-picker-sheet {
  width: min(100%, 460px);
  max-height: calc(100dvh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 2px solid var(--admin-theme-primary, #006747);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(6, 29, 21, 0.24);
}

.event-preview-round-picker-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
}

.event-preview-round-picker-sheet > header strong {
  font-size: 1rem;
}

.event-preview-round-picker-sheet > header button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.event-preview-round-picker-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  -webkit-overflow-scrolling: touch;
}

.event-preview-round-picker-body label {
  display: grid;
  gap: 7px;
  color: #16352b;
  font-size: 0.78rem;
  font-weight: 800;
}

.event-preview-round-picker-body select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #9cb3aa;
  border-radius: 5px;
  background: #ffffff;
  color: #14213d;
  font: inherit;
}

.event-preview-round-picker-sheet > footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 12px 18px 18px;
}

@media (max-width: 620px) {
  .event-preview-table.rounds-table {
    min-width: 720px;
  }

  .results-table {
    min-width: 800px;
  }

  .event-preview-round-picker-sheet > footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* event-preview-roster-actions-9 */
.rounds-table td:nth-child(5) .event-preview-cell-link {
  text-align: center;
}

.event-preview-roster-actions {
  display: flex;
  justify-content: flex-end;
  padding: 7px 2px 0;
}

.event-preview-roster-actions .event-preview-pairings-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--admin-theme-primary, #006747);
  border-radius: 5px;
  background: #ffffff;
  color: var(--admin-theme-primary, #006747);
  font-size: 0.72rem;
  line-height: 1;
  text-decoration: none;
}

.event-preview-roster-actions .event-preview-pairings-link:hover,
.event-preview-roster-actions .event-preview-pairings-link:focus-visible {
  background: var(--admin-theme-primary, #006747);
  color: #ffffff;
  outline: 0;
}


/* event-preview-results-live-10 */
.results-table {
  min-width: 720px;
}

.results-table col.col-result-date {
  width: 112px;
}

.results-table col.col-result-round {
  width: 48px;
}

.results-table col.col-result-course {
  width: 132px;
}

.results-table col.col-result-formats {
  width: 160px;
}

.results-table col.col-result-winners {
  width: 268px;
}

.event-preview-winner-list.is-live {
  align-items: start;
}

.event-preview-winner-list.is-live > span {
  color: #596a63;
  font-size: 0.68rem;
}

@media (max-width: 620px) {
  .results-table {
    min-width: 720px;
  }
}


/* event-preview-result-round-tones-11 */
.results-table tbody tr[data-round-tone="primary"] > td {
  background: #edf7f2 !important;
}

.results-table tbody tr[data-round-tone="secondary"] > td {
  background: #ffffff !important;
}

.results-table .event-preview-winner-list.is-live > span {
  color: var(--admin-theme-ink, #173428);
  font-weight: 850;
}

/* event-preview-readiness-grid-12 */
.event-preview-head-copy {
  display: grid;
  gap: 2px;
  align-content: center;
}

.event-preview-head strong {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.event-preview-head span {
  margin-top: 0;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0;
}

.event-preview-readiness-section {
  margin-bottom: 15px;
}

.event-preview-readiness-head {
  align-items: end;
}

.event-preview-readiness-head strong {
  font-size: clamp(1rem, 3.2vw, 1.22rem);
}

.event-preview-readiness-wrap {
  margin-top: 7px;
  border-color: color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 50%);
}

.event-preview-table.readiness-table {
  width: 100%;
  min-width: 1020px;
  table-layout: fixed;
  font-size: 0.74rem;
}

.readiness-table .col-ready { width: 82px; }
.readiness-table .col-round { width: 58px; }
.readiness-table .col-date { width: 92px; }
.readiness-table .col-course { width: 168px; }
.readiness-table .col-players { width: 64px; }
.readiness-table .col-hdcp { width: 78px; }
.readiness-table .col-divisions { width: 82px; }
.readiness-table .col-tees { width: 76px; }
.readiness-table .col-times { width: 82px; }
.readiness-table .col-formats { width: 82px; }
.readiness-table .col-prizes { width: 82px; }

.readiness-table th,
.readiness-table td {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.readiness-table th {
  height: 34px;
  padding: 5px 4px;
  white-space: nowrap;
}

.readiness-table th:first-child,
.readiness-table td:first-child {
  position: sticky;
  left: 0;
}

.readiness-table th:first-child {
  z-index: 4;
}

.readiness-table td:first-child {
  z-index: 2;
}

.event-preview-ready-link {
  appearance: none;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  place-items: center;
  padding: 6px 5px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.event-preview-ready-cell[data-ready="true"] {
  background: color-mix(in srgb, #1f8a5b, #ffffff 89%) !important;
  color: #145c3e;
}

.event-preview-ready-cell[data-ready="false"] {
  background: #fff5df !important;
  color: #9b451d;
}

.event-preview-ready-cell.is-summary {
  font-weight: 950;
}

.event-preview-ready-cell.is-summary[data-ready="true"] {
  background: #1f8a5b !important;
  color: #ffffff;
}

.event-preview-ready-cell.is-summary[data-ready="false"] {
  background: #d97b13 !important;
  color: #ffffff;
}

.readiness-table td.is-course .event-preview-ready-link {
  justify-items: start;
  text-align: left;
  padding-inline: 8px;
}

.event-preview-ready-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--admin-theme-secondary, #e2ba2f), #ffffff 10%);
  outline-offset: -3px;
}

@media (max-width: 620px) {
  .event-preview-head {
    padding: 11px 12px;
  }

  .event-preview-head strong {
    font-size: clamp(1.12rem, 5.2vw, 1.4rem);
  }

  .event-preview-readiness-head {
    display: grid;
    gap: 2px;
    align-items: start;
  }

  .event-preview-readiness-head span {
    font-size: 0.68rem;
  }

  .event-preview-table.readiness-table {
    min-width: 980px;
  }
}

@media print {
  .event-preview-table.readiness-table {
    min-width: 0;
    font-size: 8pt;
  }

  .event-preview-ready-link {
    min-height: 0;
    padding: 4px 3px;
  }

  .readiness-table th:first-child,
  .readiness-table td:first-child {
    position: static;
  }
}

/* event-preview-readiness-tight-14 */
.event-preview-table.readiness-table {
  min-width: 826px;
}

.readiness-table .col-ready { width: 66px; }
.readiness-table .col-round { width: 54px; }
.readiness-table .col-date { width: 78px; }
.readiness-table .col-course { width: 126px; }
.readiness-table .col-players { width: 60px; }
.readiness-table .col-hdcp { width: 70px; }
.readiness-table .col-divisions { width: 56px; }
.readiness-table .col-tees { width: 60px; }
.readiness-table .col-times { width: 62px; }
.readiness-table .col-formats { width: 68px; }
.readiness-table .col-prizes { width: 68px; }

.readiness-table th {
  padding-inline: 3px;
}

.event-preview-ready-link {
  min-height: 39px;
  padding-inline: 4px;
}

@media (max-width: 620px) {
  .event-preview-table.readiness-table {
    min-width: 826px;
  }
}


/* event-preview-result-round-tones-light-15 */

/* event-preview-result-green-white-16 */

/* event-preview-table-alignment-17 */
.rounds-table .event-preview-date-stack > span,
.results-table .event-preview-date-stack > span {
  font-size: inherit;
  line-height: 1.15;
}

.results-table tbody td:last-child {
  vertical-align: middle;
}

.results-table .event-preview-winner-list {
  min-height: 0;
}

.results-table .event-preview-winner-list.is-live {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

/* event-preview-chief-and-leaderboard-columns-19 */
.event-preview-table.readiness-table {
  min-width: 894px;
}

.readiness-table .col-chief {
  width: 68px;
}

.results-table {
  min-width: 800px;
}

.results-table col.col-result-date {
  width: 112px;
}

.results-table col.col-result-round {
  width: 48px;
}

.results-table col.col-result-course {
  width: 132px;
}

.results-table col.col-result-formats {
  width: 160px;
}

.results-table col.col-result-winners {
  width: 256px;
}

.results-table col.col-result-leaderboard {
  width: 92px;
}

.results-table .event-preview-winners-cell,
.results-table .event-preview-leaderboard-cell {
  vertical-align: middle;
}

.results-table .event-preview-leaderboard-cell {
  text-align: center;
}

.event-preview-format-addon {
  border-left: 2px solid color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 58%);
  font-size: 0.72rem;
  font-weight: 750;
  padding-left: 8px;
}

@media (max-width: 620px) {
  .event-preview-table.readiness-table {
    min-width: 894px;
  }

  .results-table {
    min-width: 800px;
  }
}

/* event-preview-readiness-compact-20 */
.event-preview-table.readiness-table {
  min-width: 776px;
}

.readiness-table .col-ready { width: 62px; }
.readiness-table .col-round { width: 48px; }
.readiness-table .col-date { width: 68px; }
.readiness-table .col-course { width: 122px; }
.readiness-table .col-players { width: 54px; }
.readiness-table .col-hdcp { width: 48px; }
.readiness-table .col-divisions { width: 44px; }
.readiness-table .col-tees { width: 48px; }
.readiness-table .col-times { width: 48px; }
.readiness-table .col-chief { width: 46px; }
.readiness-table .col-formats { width: 62px; }
.readiness-table .col-prizes { width: 66px; }

.event-preview-ready-day,
.event-preview-ready-date,
.event-preview-ready-not-set,
.event-preview-ready-not-set > span {
  display: block;
}

.event-preview-ready-day {
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.05;
}

.event-preview-ready-date {
  font-size: 0.62rem;
  line-height: 1.05;
  white-space: nowrap;
}

.event-preview-ready-not-set {
  line-height: 1.02;
  text-transform: uppercase;
}

.event-preview-format-addon {
  font-weight: 400;
}

@media (max-width: 620px) {
  .event-preview-table.readiness-table {
    min-width: 776px;
  }
}

/* event-preview-readiness-sticky-teams-22 */
.event-preview-table.readiness-table {
  min-width: 810px;
}

.readiness-table .col-ready { width: 44px; }
.readiness-table .col-round { width: 38px; }
.readiness-table .col-teams { width: 54px; }

.readiness-table th:first-child,
.readiness-table td:first-child {
  left: 0;
}

.readiness-table th:nth-child(2),
.readiness-table td:nth-child(2) {
  position: sticky;
  left: 44px;
}

.readiness-table th:first-child,
.readiness-table th:nth-child(2) {
  z-index: 5;
}

.readiness-table td:first-child,
.readiness-table td:nth-child(2) {
  z-index: 3;
}

.readiness-table th:nth-child(2),
.readiness-table td:nth-child(2) {
  box-shadow: 2px 0 0 color-mix(in srgb, var(--admin-theme-primary, #006747), #ffffff 58%);
}

.readiness-table th:first-child,
.readiness-table th:nth-child(2) {
  padding-inline: 2px;
  font-size: 0.62rem;
}

.readiness-table td:first-child .event-preview-ready-link,
.readiness-table td:nth-child(2) .event-preview-ready-link {
  padding-inline: 2px;
  overflow-wrap: normal;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .event-preview-table.readiness-table {
    min-width: 810px;
  }
}

@media print {
  .readiness-table th:nth-child(2),
  .readiness-table td:nth-child(2) {
    position: static;
    box-shadow: none;
  }
}

/* event-preview-compact-roster-actions-23 */
.event-preview-table.roster-table th,
.event-preview-table.roster-table td {
  padding-block: 3px;
}

.roster-table .event-preview-category-select {
  min-height: 26px;
  padding-block: 2px;
}

.event-preview-roster-actions {
  gap: 7px;
}

.event-preview-roster-actions .event-preview-pairings-link:disabled {
  cursor: default;
  opacity: 0.45;
}

@media (max-width: 620px) {
  .event-preview-table.roster-table th,
  .event-preview-table.roster-table td {
    padding-block: 2px;
  }

  .roster-table .event-preview-category-select {
    min-height: 25px;
  }
}
