/* Event setup and receipt flows retain their meaning across all three types. */
body.no-tickets .entry.amount-first .money-panel{grid-column:2}
body[data-event-type=funeral] .entry.amount-first :is(.field-number-pad,#numberPad) button{background:#303237!important;color:#f0f0f0!important;border-color:#60636a!important}
body[data-event-type=funeral] .entry.amount-first #envelope[readonly]{background:#303237;color:#f0f0f0;border-color:#777}
body[data-event-type=wedding] aside>button{background:#ead0d8;color:#54323d;border-color:#d0aab7}body[data-event-type=wedding] aside :is(.account-box strong,.aside-bottom){color:#67444f}body[data-event-type=wedding] .aside-bottom .connection-bar{background:#ead0d8;border-color:#d0aab7;color:#54323d}body[data-event-type=other] aside>button{background:#f4d994;color:#543f20;border-color:#d7bf8b}body[data-event-type=other] aside :is(.account-box strong,.aside-bottom){color:#604b29}body[data-event-type=other] .aside-bottom .connection-bar{background:#f4d994;border-color:#d7bf8b;color:#543f20}
#eventDialog{width:600px;max-height:88dvh;overflow:auto}#eventForm>label{display:block;margin:12px 0}#eventForm input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#a66073}.wedding-hosts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wedding-hosts fieldset{border:1px solid #ead7dc;border-radius:10px;padding:12px;background:#fff9fa}.wedding-hosts legend{font-weight:700}.wedding-hosts label{display:inline-flex;align-items:center;gap:6px;margin:4px 12px 4px 0}.wedding-hosts+p,#hostNamesNote{font-size:12px}#hostSetup input{margin-top:5px}#eventDialog[data-event-type=funeral]{background:#202124;color:#f2f2f2;border-color:#555}#eventDialog[data-event-type=funeral] p{color:#ccc}#eventDialog[data-event-type=other]{background:#fffcf2}
body.no-tickets .ticket-panel,body.no-tickets .ledger-panel :is(th,td):nth-child(2){display:none!important}body.no-tickets .entry-identifiers{grid-template-columns:1fr}body.no-tickets .entry.amount-first .flow-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-event-type=funeral] .ledger-panel :is(th,td):nth-child(4),body[data-event-type=other] .ledger-panel :is(th,td):nth-child(4){display:none}body[data-event-type=funeral] .recipient-stats,body[data-event-type=other] .recipient-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.entry #recipientButtons{max-height:25dvh;overflow:auto;flex-wrap:wrap}.entry #recipientButtons button{overflow-wrap:anywhere;white-space:normal;flex-basis:90px}
body[data-event-type=wedding]{background:#fffaf9;color:#513b43}body[data-event-type=wedding] aside{background:#f5e4e8;color:#67444f}body[data-event-type=wedding] aside :is(small,h3){color:#835968}body[data-event-type=wedding] aside :is(button,a){color:#67444f;border-color:#d9bac3}body[data-event-type=wedding] aside :is(nav button.active,.member-navigation button.selected){background:#ead0d8;color:#54323d}body[data-event-type=wedding] .primary{background:#a65f73;border-color:#a65f73;color:white}body[data-event-type=wedding] .entry.amount-first :is(.early-number-panel,.money-panel){background:#fff5f7;border-color:#edd9df}body[data-event-type=wedding] :is(.choice-group button.selected,.method-switch button[aria-pressed=true]){background:#a65f73;border-color:#a65f73;color:white}
body[data-event-type=other]{background:#fffdf3;color:#554328}body[data-event-type=other] aside{background:#fff0bf;color:#604b29}body[data-event-type=other] aside :is(small,h3){color:#79633e}body[data-event-type=other] aside :is(button,a){color:#604b29;border-color:#d7bf8b}body[data-event-type=other] aside :is(nav button.active,.member-navigation button.selected){background:#f4d994;color:#543f20}body[data-event-type=other] .primary,body[data-event-type=other] .choice-group button.selected{background:#ad7034;border-color:#ad7034;color:white}body[data-event-type=other] .entry.amount-first :is(.early-number-panel,.money-panel){background:#fffae7;border-color:#eddfb6}
body[data-event-type=funeral]{background:#0e0f11;color:#f0f0f0}body[data-event-type=funeral] aside{background:#050506;color:#eee}body[data-event-type=funeral] :is(.panel,.stats article,.recipient-stats article,.side-stats>div,.summary-total){background:#1b1c1f;border-color:#444;color:#eee}body[data-event-type=funeral] :is(h1,h2,h3,label,p,small,strong,span,.step-label,#selectionSummary,#configuredSide){color:inherit!important}body[data-event-type=funeral] :is(input,select,button){background:#292b30;border-color:#555;color:#f0f0f0}body[data-event-type=funeral] button:hover{background:#3e4147}body[data-event-type=funeral] :is(.primary,.choice-group button.selected,.method-switch button[aria-pressed=true]){background:#e3e3e3;border-color:#e3e3e3;color:#151515}body[data-event-type=funeral] :is(th,.badge,.step-number,.completion-badge,.method-switch){background:#33363b;color:#eee}body[data-event-type=funeral] :is(.workspace-toolbar,.entry-bottom){border-color:#444}body[data-event-type=funeral] .entry.amount-first :is(.early-number-panel,.money-panel){background:#202125;border-color:#505258}body[data-event-type=funeral] .entry.amount-first :is(input[type=number],button){background:#303237;color:#f0f0f0;border-color:#60636a}body[data-event-type=funeral] input:focus{outline-color:#bdbdbd}body[data-event-type=funeral] .money-panel{background:#202125;border-color:#444}body[data-event-type=funeral] a{color:#eee}body[data-event-type=funeral] .config-summary>strong{color:#eee}body[data-event-type=funeral] .completion-badge{border:1px solid #888}body[data-event-type=funeral] .aside-bottom .connection-bar{background:#22252a;border-color:#555;color:#eee}body[data-event-type=funeral] .missing-filters input{accent-color:#ccc}body[data-event-type=funeral] .recipient-stats article strong{color:#fff}
.event-card[data-event-type=wedding]{border-top:4px solid #d49bab}.event-card[data-event-type=funeral]{border-top:4px solid #303238}.event-card[data-event-type=other]{border-top:4px solid #edc264}
@media(max-width:600px){.wedding-hosts{grid-template-columns:1fr}.entry #recipientButtons button{flex-basis:70px}}
@media print{body[data-event-type]{background:white!important;color:black!important}body[data-event-type] :is(.panel,.stats article,.recipient-stats article,.summary-total,th,td){background:white!important;color:black!important;border-color:#ccc}}
