.ticket-shop {
  width: min(100%, 80rem);
  margin: 0 auto 3rem;
}

.ticket-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1.5rem;
}

.ticket-shop-header .public-event-logo {
  display: block;
  width: clamp(8rem, 22vw, 11rem);
  height: auto;
}

.ticket-shop-login,
.public-event-shop-nav a {
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: 0.25em;
}

.ticket-shop-intro {
  padding: clamp(1.5rem, 5vw, 4rem);
  color: #fff;
  background: var(--brand);
}

.ticket-shop-intro h1 {
  margin: 0 0 1.25rem;
  color: inherit;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ticket-shop-intro p {
  margin: 0;
  max-width: 52ch;
  color: #f1dfea;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.ticket-shop-count {
  margin: 2rem 0 0.75rem;
  color: var(--muted);
  font-weight: 650;
}

.shop-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.shop-event-with-image {
  grid-template-columns: 12rem minmax(0, 1fr) auto;
}

.shop-event-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--paper-2);
  border-radius: var(--radius);
}

.shop-event-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-event-copy time {
  color: var(--brand-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-event-copy h2 {
  margin: 0.4rem 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  text-wrap: balance;
}

.shop-event-copy h2 a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.15em;
}

.shop-event-copy h2 a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.shop-event-venue {
  margin: 0.5rem 0;
  font-weight: 650;
}

.shop-event-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 65ch;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.shop-event-booking {
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

.shop-event-price {
  margin: 0;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.ticket-shop-empty {
  padding: clamp(2rem, 5vw, 4rem) 0;
  max-width: 65ch;
}

.ticket-shop-empty h2 {
  margin: 0 0 0.75rem;
}

.ticket-shop-empty p {
  margin: 0;
  color: var(--muted);
}

.ticket-shop a:focus-visible,
.public-event-shop-nav a:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 5px;
}

.ticket-shop ::selection {
  color: #fff;
  background: var(--brand-2);
}

.public-event-shop-nav {
  width: min(100%, 80rem);
  margin: 1rem auto 0;
}

@media (max-width: 800px) {
  .shop-event-with-image {
    grid-template-columns: 9rem minmax(0, 1fr);
  }

  .shop-event-with-image .shop-event-booking {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 540px) {
  .shop-event,
  .shop-event-with-image {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .shop-event-image {
    max-height: 16rem;
  }

  .shop-event-booking,
  .shop-event-with-image .shop-event-booking {
    grid-column: 1;
    justify-items: stretch;
  }

  .shop-event-booking .button {
    width: 100%;
  }
}

.event-workspace {
  display: grid;
  grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.event-list {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.65rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.event-list-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.event-list-item.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.event-list-item time,
.event-list-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.event-list-item.active time,
.event-list-item.active span {
  color: rgba(255, 255, 255, 0.76);
}

.event-main,
.event-form,
.event-visitor-fields,
.event-category-list,
.event-program-list,
.event-code-list,
.event-cost-list,
.event-mail-log {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.event-main {
  gap: 1.35rem;
}

.event-main > [data-event-panel] {
  display: grid;
  gap: 1.35rem;
}

.event-main > [data-event-panel][hidden] {
  display: none;
}

.event-hero,
.event-singer-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.event-hero {
  padding: 1.4rem 1.5rem;
  border-color: rgba(89, 20, 83, 0.18);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.96), rgba(248, 237, 246, 0.82));
}

.event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.event-leader-cockpit {
  display: grid;
  gap: 1rem;
}

.event-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.event-action-card {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1rem;
  color: var(--text);
  text-align: left;
  font: inherit;
  border: 1px solid rgba(53, 0, 47, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.event-action-card:hover,
.event-action-card:focus-visible {
  border-color: rgba(112, 0, 102, 0.45);
  box-shadow: 0 12px 22px rgba(53, 0, 47, 0.1);
  transform: translateY(-2px);
}

.event-action-card span,
.event-action-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.event-action-card strong {
  color: var(--brand);
  font-size: 1.65rem;
  line-height: 1.1;
}

.event-calculation-legacy {
  display: none !important;
}

.event-program-legacy-cockpit,
.event-program-legacy-extras {
  display: none !important;
}

.event-cockpit-columns {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.event-cockpit-order {
  display: grid;
  gap: 0.25rem;
  margin: 0.75rem 0;
  padding: 0.85rem;
  border-left: 3px solid var(--brand);
  background: rgba(89, 20, 83, 0.06);
}

.event-cockpit-order span,
.event-cockpit-order small {
  color: var(--muted);
}

.event-calculation-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.event-calculation-intro h2 {
  margin: 0.15rem 0 0.35rem;
}

.event-calculation-payment {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.event-calculation-payment span {
  padding: 0.4rem 0.65rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(89, 20, 83, 0.08);
}

.event-calculation-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.event-calculation-scenario {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(53, 0, 47, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(53, 0, 47, 0.06);
}

.event-calculation-scenario p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-calculation-scenario h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.45rem;
}

.event-calculation-scenario dl,
.event-category-outlook dl {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.event-calculation-scenario dl div,
.event-category-outlook dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.event-calculation-scenario dt,
.event-category-outlook dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.event-calculation-scenario dd,
.event-category-outlook dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.event-calculation-scenario.positive h3,
.event-calculation-scenario.positive dd:last-child {
  color: #08775b;
}

.event-calculation-scenario.negative h3,
.event-calculation-scenario.negative dd:last-child {
  color: #b42318;
}

.event-category-outlook {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.75rem;
}

.event-category-outlook article {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(53, 0, 47, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.event-category-outlook-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.event-category-outlook-head > div {
  display: grid;
  gap: 0.2rem;
}

.event-category-outlook-head small {
  color: var(--muted);
}

.event-category-outlook-head > strong {
  color: var(--brand);
  white-space: nowrap;
}

.event-hero h2,
.event-singer-hero h2,
.public-event-hero h1 {
  margin: 0.15rem 0;
}

.event-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.85rem;
}

.event-metric {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(53, 0, 47, 0.06);
}

.event-metric span,
.event-metric small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.event-metric strong {
  color: var(--brand);
  font-size: clamp(1.35rem, 2vw, 2rem);
  overflow-wrap: anywhere;
}

.event-metric.negative strong {
  color: #b42318;
}

.event-metric.positive strong {
  color: #08775b;
}

.event-campaign-workspace,
.event-campaign-list {
  display: grid;
  gap: 1rem;
}

.event-campaign-create-form {
  grid-template-columns: minmax(14rem, 1fr) auto;
  align-items: end;
}

.event-campaign-create-form label {
  margin: 0;
}

.event-campaign-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  margin-top: 1rem;
}

.event-campaign-card {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.event-campaign-card.inactive {
  opacity: 0.72;
}

.event-campaign-card header,
.event-campaign-card .button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.event-campaign-card h3 {
  margin: 0.15rem 0 0;
}

.event-campaign-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.event-campaign-stats span {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  border-radius: 7px;
  background: rgba(53, 0, 47, 0.05);
}

.event-campaign-stats strong {
  color: var(--brand);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.event-campaign-url {
  margin: 0;
  padding: 0.65rem;
  overflow-wrap: anywhere;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  border-radius: 7px;
  background: rgba(53, 0, 47, 0.05);
}

.event-tabs {
  display: flex;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.35rem;
  overflow-x: auto;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  scrollbar-width: thin;
}

.event-tabs button {
  flex: 0 0 auto;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  color: var(--brand);
  font: inherit;
  font-weight: 850;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.event-tabs button.active {
  color: #fff;
  background: var(--brand);
}

.event-two-column,
.public-event-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.event-inline-form {
  display: grid;
  grid-template-columns: minmax(11rem, 1.5fr) repeat(2, minmax(5rem, 0.6fr)) auto;
  gap: 0.65rem;
  align-items: end;
}

.event-program-add-form {
  grid-template-columns: 1fr;
}

.event-program-add-form .item-meta {
  margin: 0;
  padding: 0;
}

.event-program-add-form .button {
  width: 100%;
}

.event-inline-form label,
.event-checkin-form label {
  margin: 0;
}

.event-program-list article,
.event-category-list article,
.event-code-list article,
.event-cost-list article,
.event-mail-log article {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.event-order-reference,
.event-order-customer {
  display: table-cell;
  min-width: 12rem;
  vertical-align: top;
}

.event-order-reference > strong,
.event-order-customer > strong,
.event-order-reference > small,
.event-order-customer > small {
  display: block;
}

.event-order-reference > small,
.event-order-customer > small {
  margin-top: 0.25rem;
}

.event-order-reference small,
.event-order-customer small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.event-order-customer a {
  color: inherit;
  text-decoration-color: rgba(53, 0, 47, 0.3);
  text-underline-offset: 0.15em;
}

.event-order-status-cell {
  display: table-cell;
  min-width: 15rem;
  vertical-align: top;
}

.event-order-status-form {
  display: grid;
  gap: 0.4rem;
  min-width: 15rem;
}

.event-order-status-cell small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.event-order-status-form .button {
  justify-self: start;
}

.event-order-browser {
  display: grid;
  gap: 0.85rem;
}

.event-order-filters {
  display: grid;
  grid-template-columns: minmax(15rem, 1.5fr) minmax(12rem, 0.75fr) auto auto;
  gap: 0.65rem;
  align-items: end;
}

.event-order-filters label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.event-order-filters label > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.event-order-filter-count {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.event-order-ticket-cell {
  min-width: 15rem;
  vertical-align: top;
}

.event-order-ticket-details > summary {
  display: inline-flex;
  gap: 0.45rem;
  align-items: baseline;
  color: var(--brand);
  cursor: pointer;
  list-style-position: outside;
  white-space: nowrap;
}

.event-order-ticket-details > summary small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.event-order-ticket-list {
  display: grid;
  gap: 0.45rem;
  width: min(26rem, 70vw);
  margin-top: 0.65rem;
  padding: 0.65rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.event-order-ticket-item {
  display: grid;
  grid-template-columns: 1.65rem minmax(8rem, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.event-order-ticket-index {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 50%;
  background: rgba(53, 0, 47, 0.08);
}

.event-order-ticket-item > span:nth-child(2),
.event-order-ticket-price {
  display: grid;
  gap: 0.1rem;
}

.event-order-ticket-item small {
  color: var(--muted);
  font-size: 0.73rem;
}

.event-order-ticket-price {
  justify-items: end;
  text-align: right;
  white-space: nowrap;
}

.event-order-ticket-total {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(53, 0, 47, 0.1);
}

.event-order-ticket-total span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.event-order-ticket-total span:last-child,
.event-order-ticket-total span:last-child strong {
  color: var(--ink);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .event-order-filters {
    grid-template-columns: minmax(12rem, 1fr) minmax(11rem, 0.7fr) auto;
  }

  .event-order-filter-count {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .event-order-filters {
    grid-template-columns: 1fr;
  }

  .event-order-filter-reset,
  .event-order-filter-count {
    grid-column: auto;
  }

  .event-order-filter-reset {
    justify-self: start;
  }
}

.event-program-list article > div,
.event-category-list article > div,
.event-cost-list article > div,
.event-mail-log article > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.event-program-list small,
.event-category-list small,
.event-cost-list small,
.event-mail-log small {
  display: block;
  color: var(--muted);
}

.event-order-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  background: var(--brand);
}

.icon-button {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 900;
  border: 1px solid rgba(53, 0, 47, 0.16);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.icon-button.danger {
  color: #b42318;
}

.event-checkin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.event-quota-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.event-quota-header {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) repeat(3, minmax(6rem, 7.5rem)) minmax(8rem, auto);
  gap: 0.75rem;
  padding: 0 1rem 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-quota-card {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) repeat(3, minmax(6rem, 7.5rem)) minmax(8rem, auto);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
}

.event-quota-card:last-child {
  border-bottom: 0;
}

.event-quota-card strong {
  align-self: center;
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-quota-card label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
}

.event-quota-card label > span {
  display: none;
}

.event-quota-card input,
.event-small-number {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.event-quota-card .button {
  width: 100%;
  white-space: nowrap;
}

.event-quota-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.event-quota-summary span {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  color: var(--muted);
  border-radius: 8px;
  background: rgba(53, 0, 47, 0.05);
}

.event-quota-summary strong {
  color: var(--brand);
  font-size: 1.45rem;
}

.event-forecast-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.event-forecast-summary span {
  display: grid;
  gap: 0.15rem;
  min-width: 6.5rem;
  padding: 0.65rem 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 8px;
  background: rgba(53, 0, 47, 0.05);
}

.event-forecast-summary strong {
  color: var(--brand);
  font-size: 1.25rem;
}

.event-forecast-contact-head,
.event-forecast-contact-row {
  display: grid;
  grid-template-columns: minmax(12rem, 1.4fr) minmax(5rem, 0.5fr) minmax(10rem, 1fr) minmax(9rem, 0.9fr) 2.5rem;
  gap: 0.65rem;
  align-items: end;
}

.event-forecast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.event-forecast-actions .button {
  margin: 0;
}

.event-forecast-contact-head {
  padding: 0 0.9rem 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-forecast-contact-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
}

.event-forecast-contact-row {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(53, 0, 47, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.event-forecast-contact-row:last-child {
  border-bottom: 0;
}

.event-forecast-contact-row label {
  min-width: 0;
  margin: 0;
}

.event-forecast-contact-row label > span {
  display: none;
}

.event-leader-contact-list {
  display: grid;
  gap: 0.65rem;
}

.event-leader-contact-list article {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.event-leader-contact-list article > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.55rem;
}

.event-leader-contact-list article span {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.65rem;
  color: var(--brand);
  font-size: 0.85rem;
  border-radius: 6px;
  background: rgba(53, 0, 47, 0.06);
}

.event-leader-contact-list article span small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.event-forecast-purchased {
  width: fit-content;
  padding: 0.2rem 0.45rem;
  color: #08775b;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 850;
  border-radius: 999px;
  background: rgba(8, 119, 91, 0.12);
}

.event-revenue-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.event-revenue-split div {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border-left: 3px solid var(--brand);
}

.event-revenue-split span,
.event-danger-zone small {
  color: var(--muted);
}

.event-danger-zone {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(180, 35, 24, 0.2);
}

.event-danger-zone div {
  display: grid;
  gap: 0.2rem;
}

.event-code-list code {
  padding: 0.4rem 0.55rem;
  color: var(--brand);
  font-weight: 900;
  border-radius: 6px;
  background: rgba(53, 0, 47, 0.07);
}

.event-smtp-panel summary {
  cursor: pointer;
}

.event-smtp-panel summary span {
  display: inline-grid;
  gap: 0.25rem;
}

.event-smtp-panel[open] summary {
  margin-bottom: 1rem;
}

.event-worker-hint {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0;
  padding: 0.85rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(53, 0, 47, 0.04);
}

.event-worker-hint p {
  margin: 0;
  color: var(--muted);
}

.event-worker-hint code {
  overflow-wrap: anywhere;
}

.event-song-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.event-song-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(53, 0, 47, 0.1);
}

.event-song-list small {
  color: var(--muted);
  white-space: nowrap;
}

.event-ticket-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
}

.event-ticket-choice {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(53, 0, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.event-ticket-choice span {
  display: grid;
  gap: 0.2rem;
}

.event-ticket-choice small {
  color: var(--muted);
}

.event-ticket-choice input {
  width: 4.5rem;
  flex: 0 0 4.5rem;
}

.public-event-hero {
  display: grid;
  gap: 0.75rem;
  max-width: 80rem;
  margin: 1rem auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  color: #fff;
  background: #35002f;
}

.public-event-hero.has-event-image {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  align-items: center;
}

.public-event-hero-copy {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.public-event-logo {
  width: 11rem;
  padding: 0.6rem;
  border-radius: 8px;
  background: #fff;
}

.public-event-image {
  width: 100%;
  max-height: 38rem;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.public-event-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 6vw, 5.5rem);
  line-height: 1;
}

.public-event-hero .eyebrow,
.public-event-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.public-event-date {
  font-size: 1.15rem;
  font-weight: 850;
}

.public-event-details {
  display: grid;
  gap: 0.35rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 700;
}

.public-event-details p {
  margin: 0;
}

.public-event-layout {
  max-width: 80rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.public-event-layout-single {
  grid-template-columns: minmax(0, 48rem);
  justify-content: center;
}

.event-check-result {
  max-width: 38rem;
  margin: 5vh auto;
  text-align: center;
}

.event-check-result.valid {
  border-color: rgba(8, 119, 91, 0.4);
}

.event-check-result.used,
.event-check-result.invalid {
  border-color: rgba(180, 35, 24, 0.4);
}

@media (max-width: 1500px) {
  .event-workspace {
    grid-template-columns: 1fr;
  }

  .event-list {
    position: static;
    display: flex;
    max-height: none;
    overflow-x: auto;
  }

  .event-list .section-heading {
    min-width: 12rem;
  }

  .event-list-item {
    min-width: 15rem;
  }
}

@media (max-width: 980px) {
  .event-two-column,
  .public-event-layout {
    grid-template-columns: 1fr;
  }

  .event-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-calculation-scenarios {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .event-hero,
  .event-singer-hero {
    display: grid;
  }

  .event-action-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-actions {
    display: grid;
  }

  .event-calculation-intro {
    display: grid;
    align-items: start;
  }

  .event-calculation-payment {
    justify-content: flex-start;
  }

  .event-hero .button-row,
  .event-singer-hero .button {
    width: 100%;
  }

  .event-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-metric {
    padding: 0.85rem;
  }

  .event-metric strong {
    font-size: 1.35rem;
  }

  .event-inline-form,
  .event-checkin-form,
  .event-quota-card,
  .event-forecast-contact-row {
    grid-template-columns: 1fr;
  }

  .event-quota-header {
    display: none;
  }

  .event-quota-grid {
    gap: 0.75rem;
    border: 0;
    overflow: visible;
  }

  .event-quota-card {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(53, 0, 47, 0.1);
    border-radius: 8px;
  }

  .event-quota-card:last-child {
    border-bottom: 1px solid rgba(53, 0, 47, 0.1);
  }

  .event-quota-card strong {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(53, 0, 47, 0.1);
  }

  .event-quota-card label > span {
    display: block;
  }

  .event-forecast-contact-head {
    display: none;
  }

  .event-forecast-contact-list {
    gap: 0.75rem;
    overflow: visible;
    border: 0;
  }

  .event-forecast-contact-row {
    padding: 0.9rem;
    border: 1px solid rgba(53, 0, 47, 0.1);
    border-radius: 8px;
  }

  .event-forecast-contact-row:last-child {
    border-bottom: 1px solid rgba(53, 0, 47, 0.1);
  }

  .event-forecast-contact-row label > span {
    display: block;
  }

  .event-forecast-contact-row .icon-button {
    width: 100%;
  }

  .event-leader-contact-list article {
    grid-template-columns: 1fr;
  }

  .event-program-list article,
  .event-category-list article,
  .event-code-list article,
  .event-cost-list article,
  .event-mail-log article {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .event-quota-summary {
    grid-template-columns: 1fr;
  }

  .event-danger-zone {
    display: grid;
  }

  .event-ticket-choice-grid {
    grid-template-columns: 1fr;
  }

  .public-event-hero {
    margin: 0;
  }

  .public-event-hero.has-event-image {
    grid-template-columns: 1fr;
  }
}

.event-image-field {
  display: grid;
  gap: 0.65rem;
}

.event-image-field > label:first-child {
  margin: 0;
}

.event-image-preview {
  width: min(100%, 30rem);
  max-height: 22rem;
  object-fit: contain;
  border: 1px solid rgba(53, 0, 47, 0.12);
  border-radius: 8px;
  background: rgba(53, 0, 47, 0.04);
}

.event-image-status:empty {
  display: none;
}

.event-image-status.processing {
  color: var(--brand);
  font-weight: 750;
}


.event-checkin-dashboard {
  display: grid;
  gap: 1rem;
}

.event-checkin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.event-checkin-stats span {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  border-left: 3px solid rgba(89, 20, 83, 0.32);
  background: rgba(89, 20, 83, 0.05);
}

.event-checkin-stats strong {
  color: var(--brand);
  font-size: 1.45rem;
}

.event-checkin-primary input {
  min-height: 3.35rem;
  font-size: 1.05rem;
}

.event-checkin-columns {
  align-items: start;
}

.event-checkin-match-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.event-checkin-match-list article {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(53, 0, 47, 0.1);
}

.event-checkin-match-list article:last-child {
  border-bottom: 0;
}

.event-checkin-match-list article > div {
  display: grid;
  gap: 0.2rem;
}

.event-checkin-match-list small {
  color: var(--muted);
}

@media (max-width: 680px) {
  .event-checkin-stats {
    grid-template-columns: 1fr;
  }
}


.event-setup-form {
  gap: 1.15rem;
}

.event-setup-section {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.event-setup-section > header {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.event-setup-section > header > span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  border-radius: 999px;
  background: var(--brand);
}

.event-setup-section h3,
.event-setup-section p {
  margin: 0;
}

.event-setup-section h3 {
  font-size: 1.05rem;
}

.event-setup-section p {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.event-setup-grid {
  gap: 0.85rem;
}

.event-sales-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding-top: 0.15rem;
}

.event-setup-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.2rem 0.1rem 0;
}

.event-setup-footer p {
  margin: 0;
}

.event-cockpit-intro {
  margin: -0.4rem 0 0;
  color: var(--muted);
}

@media (max-width: 680px) {
  .event-setup-section {
    padding: 1rem;
  }

  .event-setup-footer {
    display: grid;
  }

  .event-setup-footer .button {
    width: 100%;
  }
}


.event-sales-summary {
  display: grid;
  gap: 1rem;
}

.event-sales-summary .event-action-card {
  cursor: default;
}

.event-sales-summary .event-action-card:hover,
.event-sales-summary .event-action-card:focus-visible {
  transform: none;
  border-color: rgba(53, 0, 47, 0.11);
  box-shadow: none;
}

.event-sales-workbench {
  display: grid;
  gap: 1rem;
}

.event-sales-workbench + .event-two-column > .panel {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.event-sales-workbench + .event-two-column .event-code-list {
  margin-top: 0.15rem;
}


.event-sales-summary {
  display: grid;
  gap: 1rem;
}

.event-sales-summary .event-action-card {
  cursor: default;
}

.event-sales-summary .event-action-card:hover,
.event-sales-summary .event-action-card:focus-visible {
  transform: none;
  border-color: rgba(53, 0, 47, 0.11);
  box-shadow: none;
}

.event-sales-workbench {
  display: grid;
  gap: 1rem;
}

.event-sales-workbench + .event-two-column > .panel {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.event-sales-workbench + .event-two-column .event-code-list {
  margin-top: 0.15rem;
}


.event-program-summary,
.event-ticket-category-panel,
.event-program-side {
  display: grid;
  gap: 1rem;
}

.event-program-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.event-program-stat-grid span {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.event-program-stat-grid strong {
  color: var(--brand);
  font-size: 1.15rem;
}

.event-program-workspace {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}

.event-program-side h2,
.event-program-side h3 {
  margin: 0;
}

.event-program-side p {
  margin: 0;
}

.event-program-side hr {
  width: 100%;
  margin: 0.1rem 0;
  border: 0;
  border-top: 1px solid rgba(53, 0, 47, 0.1);
}

.event-ticket-category-panel .event-inline-form {
  margin-top: 1rem;
}

@media (max-width: 760px) {
  .event-campaign-create-form,
  .event-campaign-stats {
    grid-template-columns: 1fr;
  }

  .event-program-stat-grid {
    grid-template-columns: 1fr;
  }

  .event-program-workspace {
    grid-template-columns: 1fr;
  }
}


.event-break-even-plan {
  display: grid;
  gap: 1rem;
}

.event-coverage-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: baseline;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(172, 37, 37, 0.18);
  border-radius: 8px;
  background: rgba(255, 247, 247, 0.74);
}

.event-coverage-callout > span {
  color: #8c342d;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-coverage-callout > strong {
  color: #a72b21;
  font-size: 1.35rem;
}

.event-coverage-callout > p {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  color: var(--text);
}

.event-break-even-mix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.event-break-even-mix article {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(53, 0, 47, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.event-break-even-mix article > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.event-break-even-mix small {
  color: var(--muted);
  font-size: 0.78rem;
}

.event-break-even-mix b {
  white-space: nowrap;
  color: var(--brand);
}

@media (max-width: 520px) {
  .event-coverage-callout {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .event-coverage-callout > p {
    grid-column: auto;
  }
}


.event-cost-composition {
  display: grid;
  gap: 1rem;
}

.event-cost-composition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.event-cost-composition-grid article {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(53, 0, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.event-cost-composition-grid span,
.event-cost-composition-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.event-cost-composition-grid strong {
  color: var(--text);
  font-size: 1.2rem;
}

.event-cost-composition-grid article.total {
  border-color: rgba(89, 20, 83, 0.26);
  background: rgba(89, 20, 83, 0.06);
}

.event-cost-composition-grid article.total strong {
  color: var(--brand);
}

@media (max-width: 980px) {
  .event-cost-composition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .event-cost-composition-grid {
    grid-template-columns: 1fr;
  }
}


.event-singer-summary,
.event-singer-performance-panel,
.event-contact-forecast-panel {
  display: grid;
  gap: 1rem;
}

.event-singer-summary .event-program-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-singer-performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.event-singer-performance-grid article {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(53, 0, 47, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.event-singer-performance-grid header,
.event-singer-performance-grid footer,
.event-contact-forecast-panel article > header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.event-singer-performance-grid header > span,
.event-contact-forecast-panel article > header > span {
  padding: 0.3rem 0.5rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  border-radius: 999px;
  background: rgba(89, 20, 83, 0.08);
}

.event-singer-performance-grid header > span.ok {
  color: #08775b;
  background: rgba(8, 119, 91, 0.12);
}

.event-singer-performance-grid dl {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.event-singer-performance-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.event-singer-performance-grid dt,
.event-singer-performance-grid footer {
  color: var(--muted);
  font-size: 0.82rem;
}

.event-singer-performance-grid dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.event-singer-performance-grid footer {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(53, 0, 47, 0.1);
}

.event-contact-forecast-panel .event-leader-contact-list article {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (max-width: 760px) {
  .event-singer-summary .event-program-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .event-singer-summary .event-program-stat-grid {
    grid-template-columns: 1fr;
  }
}
