/* Cae Hamdden admin event reporting. Scoped to avoid changing public pages. */
.event-performance-page { color:var(--ink); }
.epr-heading { align-items:flex-end; gap:18px; }
.epr-heading .lead { max-width:700px; }
.epr-heading-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:end; justify-content:flex-end; }
.epr-filter { display:flex; gap:8px; align-items:end; margin:0; }
.epr-filter label { display:grid; gap:5px; font-size:.76rem; font-weight:700; color:var(--muted); }
.epr-filter select { width:auto; max-width:205px; min-width:152px; height:42px; padding:8px 10px; font:inherit; font-size:.89rem; border:1px solid var(--line); border-radius:3px; background:#fff; color:var(--ink); }
.epr-heading-actions .button, .epr-filter button { min-height:42px; margin:0; white-space:nowrap; }
.epr-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:.9rem; margin:0 0 22px; }
.epr-stats { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:0 0 16px; }
.epr-stat { min-width:0; display:flex; flex-direction:column; padding:17px 14px; background:#fff; border:1px solid var(--line); border-radius:4px; gap:5px; }
.epr-stat > span { font-size:.79rem; font-weight:700; color:var(--muted); line-height:1.35; }
.epr-stat > strong { color:var(--ink); font-size:clamp(1.15rem,1.8vw,1.85rem); line-height:1.2; overflow-wrap:anywhere; font-family:Georgia,serif; }
.epr-stat > small { color:var(--muted); font-size:.75rem; line-height:1.4; }
.epr-stat-featured { background:var(--forest); border-color:var(--forest); }
.epr-stat-featured > span,.epr-stat-featured > strong,.epr-stat-featured > small { color:#fff; }
.epr-stat-top { background:#fbf6e9; border-color:#e8d9b5; }
.epr-stat-top > strong { font-size:1.13rem; }
.epr-chart-row { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(235px,1fr); gap:14px; align-items:stretch; margin:0 0 20px; }
.epr-panel { background:#fff; border:1px solid var(--line); border-radius:4px; padding:20px; min-width:0; }
.epr-section-heading { display:flex; justify-content:space-between; align-items:flex-start; margin:0 0 17px; }
.epr-panel h2 { font-family:Georgia,serif; font-size:1.35rem; line-height:1.2; margin:0 0 6px; color:var(--ink); }
.epr-section-heading p { margin:0; color:var(--muted); font-size:.85rem; }
.epr-bars { display:grid; grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; column-gap:12px; height:220px; padding:8px 3px 0; border-bottom:1px solid var(--line); }
.epr-month { display:grid; grid-template-rows:22px minmax(0,1fr) 20px 18px; justify-items:center; min-width:0; gap:3px; }
.epr-month-value { font-size:.78rem; font-weight:700; white-space:nowrap; }
.epr-month-track { height:100%; width:100%; max-width:64px; display:flex; flex-direction:column; justify-content:flex-end; background:linear-gradient(0deg,rgba(183,201,181,.18),rgba(255,255,255,0)); }
.epr-month-bar { display:block; width:100%; background:linear-gradient(180deg,#356b51,var(--forest)); border-radius:2px 2px 0 0; }
.epr-month-label { color:var(--ink); font-size:.8rem; font-weight:700; }
.epr-month small { color:var(--muted); font-size:.67rem; text-align:center; white-space:nowrap; }
.epr-takings-panel { display:flex; flex-direction:column; }
.epr-takings-panel h2 { margin-bottom:18px; }
.epr-money-line { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.epr-money-line strong { font-size:1.12rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.epr-money-total { border:0; }
.epr-money-total > strong { color:var(--forest); font-size:1.35rem; }
.epr-refund { color:var(--danger)!important; }
.epr-note { font-size:.78rem; line-height:1.55; color:var(--muted); margin:auto 0 0; padding-top:14px; }
.epr-results .epr-section-heading { margin-bottom:15px; }
.epr-table-wrap { overflow-x:auto; }
.epr-table { border-collapse:collapse; width:100%; font-size:.84rem; }
.epr-table th,.epr-table td { text-align:left; padding:10px 9px; border-bottom:1px solid var(--line); vertical-align:middle; }
.epr-table thead { background:#e0e8df; color:var(--ink); }
.epr-table thead th { font-size:.76rem; }
.epr-table .epr-num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.epr-table .epr-net { color:var(--forest); font-weight:800; }
.epr-table .epr-event { display:flex; align-items:center; gap:10px; min-width:190px; }
.epr-event img { width:56px; height:40px; object-fit:cover; flex:none; background:var(--cream); border-radius:2px; }
.epr-event span { display:flex; flex-direction:column; gap:4px; }
.epr-event strong { line-height:1.3; }
.epr-event small { color:var(--muted); font-size:.7rem; }
.epr-dates { color:var(--muted); white-space:nowrap; }
.epr-detail-link { display:inline-flex; min-height:34px; align-items:center; justify-content:center; border:1px solid var(--line); padding:5px 9px; color:var(--forest); text-decoration:none; white-space:nowrap; font-weight:700; font-size:.77rem; }
.epr-detail-link:hover,.epr-detail-link:focus-visible { color:#fff; background:var(--forest); border-color:var(--forest); }
.epr-table tfoot { background:#e8eee6; font-weight:700; }
.epr-table tfoot th,.epr-table tfoot td { border-bottom:0; }
.epr-mobile-list { display:none; }
.epr-footnote { margin:17px 0 0; color:var(--muted); font-size:.78rem; line-height:1.6; }
@media (max-width:1050px) {
  .epr-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .epr-stat-top { grid-column:span 2; }
  .epr-table { font-size:.77rem; }
  .epr-table th,.epr-table td { padding:9px 7px; }
}
@media (max-width:740px) {
  .epr-heading-actions { width:100%; justify-content:space-between; }
  .epr-filter { flex:1; min-width:0; }
  .epr-filter label { flex:1; }
  .epr-filter select { width:100%; max-width:none; min-width:0; }
  .epr-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .epr-stat { padding:14px 12px; }
  .epr-stat > strong { font-size:1.45rem; }
  .epr-stat-featured { grid-column:1/-1; }
  .epr-stat-top { grid-column:1/-1; }
  .epr-chart-row { grid-template-columns:1fr; }
  .epr-panel { padding:15px 12px; }
  .epr-bars { height:210px; gap:6px; }
  .epr-month-value { font-size:.67rem; }
  .epr-month-label { font-size:.7rem; }
  .epr-month small { font-size:.61rem; }
  .epr-table-wrap { display:none; }
  .epr-mobile-list { display:grid; gap:10px; }
  .epr-mobile-card { display:block; padding:12px; border:1px solid var(--line); border-radius:5px; background:var(--paper); color:var(--ink); text-decoration:none; }
  .epr-mobile-card:focus-visible,.epr-mobile-card:hover { outline:2px solid var(--forest); }
  .epr-mobile-card-head { display:grid; grid-template-columns:66px minmax(0,1fr) 14px; gap:10px; align-items:center; }
  .epr-mobile-card-head img { width:66px; height:56px; object-fit:cover; border-radius:3px; background:var(--cream); }
  .epr-mobile-card-head > span:nth-child(2) { display:grid; gap:4px; min-width:0; }
  .epr-mobile-card-head strong { line-height:1.25; font-size:.93rem; overflow-wrap:anywhere; }
  .epr-mobile-card-head small { color:var(--muted); font-size:.75rem; }
  .epr-chevron { color:var(--forest); font-size:1.5rem; }
  .epr-mobile-card-values { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:12px; padding-top:10px; border-top:1px solid var(--line); gap:7px; }
  .epr-mobile-card-values > span { display:grid; gap:5px; min-width:0; }
  .epr-mobile-card-values small { font-size:.67rem; color:var(--muted); }
  .epr-mobile-card-values strong { font-size:.83rem; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
  .epr-mobile-card .epr-net { color:var(--forest); }
}
@media (max-width:390px) {
  .epr-heading-actions { gap:7px; }
  .epr-heading-actions .button,.epr-filter button { padding:8px; font-size:.74rem; }
  .epr-mobile-card-values { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:10px; }
}
