.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.page-header p { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .page-actions { width: 100%; } .page-actions .btn { flex: 1; } }

.section { margin-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 16px; }
.section-head a { font-size: 13px; color: var(--accent-text); font-weight: 500; padding: 8px 0; margin: -8px 0; }
.section-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; min-height: 36px; }
.back-link:hover { color: var(--text); }

.profile-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.profile-hero h1 { margin-bottom: 4px; }
.profile-hero-meta { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 13px; margin-top: 8px; }
.profile-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack > * + * { margin-top: 20px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.event-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.event-header p { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
.event-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

.checkin-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 12px; }
.checkin-photo img { width: 100%; max-height: 280px; object-fit: cover; }
.checkin-arrived { font-size: 13px; color: var(--success); margin-top: 2px; }

.countdown-card { text-align: center; }
.countdown-card .tracker-timer { margin-top: 4px; }

.review { padding: 14px 0; border-top: 1px solid var(--border); }
.review:first-of-type { border-top: none; padding-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.review p { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
.review-cats { display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-faint); margin-top: 8px; }

/* ============ ADMIN DASHBOARD ============ */
.admin-table-card { padding: 0; overflow: hidden; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; font-weight: 500; color: var(--text-dim); font-size: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td a { font-weight: 500; }
.admin-table td a:hover { color: var(--accent-text); }
.ac-summary { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
.ac-summary strong { color: var(--text); }
.ac-wrap { position: relative; }
.ac-svg { width: 100%; height: auto; display: block; }
.ac-grid { stroke: var(--border); stroke-width: 1; }
.ac-axis { fill: var(--text-faint); font-size: 11px; font-family: inherit; }
.ac-fill { fill: var(--accent); }
.ac-hit { fill: transparent; }
.ac-bar.hover .ac-hit { fill: color-mix(in srgb, var(--text) 5%, transparent); }
.ac-tip { position: absolute; top: -8px; transform: translate(-50%, -100%); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 12px; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow-md); }
.ac-tip-date { color: var(--text-dim); margin-bottom: 2px; }
.ac-table { margin-top: 12px; font-size: 13px; }
.ac-table summary { cursor: pointer; color: var(--text-dim); }
.ac-table .admin-table { margin-top: 8px; }

.action-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); background: var(--accent-soft);
}
.action-banner strong { font-size: 15px; }
.action-banner p { font-size: 14px; color: var(--text-dim); margin-top: 2px; }
@media (max-width: 560px) { .action-banner .btn { width: 100%; } }
.payout-line { white-space: normal; }
.payout-line code { font-size: 12px; }
.fieldset-plain { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.payout-options { grid-template-columns: repeat(3, 1fr); }
.payout-options .radio-card { text-align: center; padding: 12px 8px; min-width: 0; }
@media (max-width: 560px) { .payout-options { grid-template-columns: repeat(3, 1fr); } }
.payout-fields { margin-top: 16px; }
