/* Events module - admin (events form, announcement bar preview).
   The preview mimics the public .announce bar from site.css. */
.bar-preview { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 10px; text-align: center; font-weight: 700; font-size: .95rem; background: var(--honey); color: var(--walnut); position: relative; }
.bar-preview.tone-blue { background: var(--dusk); color: #fff; }
.bar-preview.tone-ember { background: var(--terracotta); color: #fff; }
.bar-preview.tone-honeylight { background: #F5DCAE; color: var(--walnut); }
.bar-preview.tone-brick { background: #7A3324; color: #fff; }
.bar-preview.tone-pine { background: #2F4A3A; color: #fff; }
.bar-preview.tone-espresso { background: #2B211C; color: #fff; }
.bar-preview u { text-underline-offset: 3px; }
.bar-preview-stack { display: grid; gap: 8px; }
.bar-source { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
@media (max-width: 700px) { .bar-source { position: static; transform: none; } .bar-preview { flex-wrap: wrap; } }
.bn-tones { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 6px; }
.bn-tones .check { align-items: center; }
.bn-swatch { width: 20px; height: 20px; border-radius: 6px; display: inline-block; background: var(--honey); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.bn-swatch.tone-blue { background: var(--dusk); }
.bn-swatch.tone-ember { background: var(--terracotta); }
.bn-swatch.tone-honeylight { background: #F5DCAE; }
.bn-swatch.tone-brick { background: #7A3324; }
.bn-swatch.tone-pine { background: #2F4A3A; }
.bn-swatch.tone-espresso { background: #2B211C; }
.bn-m0 { margin: 0; }
.bn-mt { margin: 1rem 0 0; }
.bn-delete, .ev-mt2 { margin-top: 2rem; }
.ev-mt { margin-top: .75rem; }
.req { color: var(--terracotta); }
[data-event-form] [hidden] { display: none !important; }

/* Events list: badges stack in their own column; the three action buttons sit in fixed slots
   so Edit lines up on every row (drafts get an empty slot where "view" would be). */
.ev-status-col { width: 150px; }
.ev-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ev-actions { display: inline-grid; grid-template-columns: auto 38px 38px; align-items: center; gap: 6px; }
.ev-actions .inline-form { margin: 0; }
.ev-actions .btn-a-ghost { justify-content: center; width: 38px; padding-left: 0; padding-right: 0; }
.ev-slot { width: 38px; }
.ev-su-cell { white-space: nowrap; }

/* Event edit: who signed up */
.ev-su-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ev-su-scroll { max-height: 420px; overflow-y: auto; }
.ev-su-scroll thead th { position: sticky; top: 0; background: #fff; z-index: 1; }
.ev-su-canceled td { opacity: .55; }
.ev-su-money { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #F1E7DA; }
.ev-su-owed { color: #A33A2B; }
.ev-su-pay { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.ev-su-pay select { padding: 4px 8px; font-size: .85rem; }
