#eventLibrary, #eventDashboard {
  --center-line: #dfe4ea;
  --center-muted: #5d6775;
  color: #1c242e;
  min-width: 0;
}

.center-tools, .center-facts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.center-tools { margin-bottom: 14px; }
.center-tools .center-search {
  width: min(100%, 380px);
  min-width: 0;
  padding: 10px 13px;
  background: white;
  border: 1px solid #ccd3db;
  border-radius: 9px;
  color: inherit;
  font: inherit;
}
.center-create, .center-task-action { white-space: nowrap; }
.center-list-panel, .center-metrics, .center-facts {
  border: 1px solid var(--center-line);
  border-radius: 14px;
  background: #fff;
}
.center-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--center-line);
}
.center-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: var(--center-muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.center-filter:hover { background: #f0f3f6; }
.center-filter[aria-pressed="true"] { color: #fff; background: #25364c; }
.center-filter-count { font-size: 12px; font-variant-numeric: tabular-nums; }
.center-list-head, .center-event-open {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) minmax(118px, 1.15fr) minmax(76px, .75fr) minmax(70px, .65fr) 12px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}
.center-list-head {
  min-height: 36px;
  color: var(--center-muted);
  background: #f8f9fb;
  font-size: 12px;
}
.center-event-list { margin: 0; padding: 0; list-style: none; }
.center-event + .center-event { border-top: 1px solid #eaedf1; }
.center-event-open {
  width: 100%;
  min-height: 74px;
  padding-block: 15px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.center-event:last-child .center-event-open { border-radius: 0 0 14px 14px; }
.center-event-open:is(:hover,:focus-visible) { background: #f4f8fc; }
.center-event-open:focus-visible { outline-offset: -3px; }
.center-cell { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.center-main { font-size: 14px; line-height: 1.5; }
.center-event-name .center-main { font-weight: 650; font-size: 16px; }
.center-sub, .center-detail { color: var(--center-muted); font-size: 13px; line-height: 1.55; }
.center-main, .center-sub, .center-facts dd, .center-rule p { overflow-wrap: anywhere; }
.center-sub:empty { display: none; }
.center-event-time { font-variant-numeric: tabular-nums; }
.center-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  color: #575e68;
  background: #eef0f3;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.center-tag[data-status="live"] { background: #e4f4eb; color: #16653e; }
.center-tag[data-status="upcoming"] { background: #eaf2ff; color: #245a9c; }
.center-arrow { color: #637285; font-size: 22px; line-height: 1; text-align: right; }
.center-empty { margin: 0; padding: 32px 18px; text-align: center; color: var(--center-muted); }
.center-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.center-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: #edf3fa;
  border: 1px solid #d8e4f1;
  border-radius: 14px;
}
.center-task-label { margin: 0 0 7px; font-size: 13px; font-weight: 650; color: #355d87; }
#eventDashboard .center-task-title { margin: 0; font-size: clamp(21px,2.15vw,29px); line-height: 1.35; }
.center-task-description { margin: 7px 0 0; font-size: 14px; line-height: 1.55; color: #4a5c70; }
.center-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 16px 0; }
.center-metric { padding: 18px 20px; }
.center-metric + .center-metric { border-left: 1px solid var(--center-line); }
#eventDashboard .center-metric-label { margin: 0; color: #475366; font-size: 14px; font-weight: 550; }
.center-value { margin: 7px 0 4px; font-size: 29px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.12; }
.center-unit { font-size: 13px; margin-left: 5px; font-weight: 450; }
.center-detail { margin: 0; }
.center-facts { padding: 20px; }
#eventDashboard .center-facts h2 { margin: 0; font-size: 18px; }
.center-link { padding: 4px 0; border: 0; background: transparent; color: #075cab; font: inherit; font-size: 14px; cursor: pointer; }
.center-link:hover { text-decoration: underline; }
.center-key-values { display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; margin: 16px 0 0; font-size: 14px; }
.center-key-values dt { color: var(--center-muted); }
.center-key-values dd { margin: 0; }
.center-rule { border-top: 1px solid var(--center-line); margin-top: 15px; padding-top: 13px; font-size: 14px; }
.center-rule summary { cursor: pointer; width: fit-content; color: #37516c; }
.center-rule p { margin: 8px 0 0; line-height: 1.7; white-space: pre-wrap; }

@media (max-width: 860px) {
  .center-metric { padding: 15px; }
}
@media (max-width: 680px) {
  .center-list-head { display: none; }
  .center-event-open { grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding: 14px; }
  .center-event-name { grid-area: 1 / 1; }
  .center-event-status { grid-area: 1 / 2; justify-items: end; align-self: start; }
  .center-event-time { grid-area: 2 / 1; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 5px; row-gap: 0; }
  .center-event-time .center-main { font-size: 13px; }
  .center-roster-size { grid-area: 2 / 2; justify-items: end; }
  .center-roster-size .center-main { font-size: 13px; }
  .center-arrow { display: none; }
  .center-filters { padding: 9px; gap: 2px; }
  .center-filter { padding: 7px; font-size: 13px; gap: 4px; }
  .center-search { flex: 1; }
  .center-task { align-items: start; flex-direction: column; gap: 12px; padding: 18px; }
  .center-metrics { grid-template-columns: 1fr; margin: 12px 0; }
  .center-metric { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 12px; padding: 11px 16px; }
  .center-metric + .center-metric { border-left: none; border-top: 1px solid var(--center-line); }
  .center-value { grid-row: 1 / span 2; grid-column: 2; margin: 0; font-size: 23px; }
  .center-facts { padding: 16px; }
}
