/* Private customer tools share the storefront preference; printed lists stay light. */
.dtc-color-toolbar { display: flex; justify-content: flex-end; width: min(640px, 100%); margin: 0 auto 12px; }
@media screen {
	:root[data-dtc-color-mode="light"] body.iv-guests {
		--muted: #625663;
		--soft: #6d606d;
		--green: #276b4e;
		--amber: #81520f;
	}
	:root[data-dtc-color-mode="light"] .iv-guests :is(input, select) { border-color: var(--control); }
	:root[data-dtc-color-mode="light"] .iv-guests :focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
	:root[data-dtc-color-mode="light"] .iv-guests :is(input, select):focus { border-color: var(--rose-deep); }
	.iv-guests :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
	:root[data-dtc-color-mode="dark"] body.iv-guests {
		--ink: #f2ecf0;
		--muted: #bfb1bc;
		--soft: #b2a3ae;
		--rose: #ae3655;
		--rose-deep: #f5a3b7;
		--rose-soft: #39272f;
		--blush: #151216;
		--line: #453c43;
		--control: #99838f;
		--control-hover: #b8a1ad;
		--surface: #29242a;
		--row-hover: #312930;
		--card: #211e22;
		--blue: #b4b9ff;
		--blue-soft: #282b43;
		--red: #ffb4c3;
		--red-soft: #40242c;
		--green: #8ad6ae;
		--green-soft: #1b3529;
		--amber: #edc184;
		--amber-soft: #382c1b;
		background: var(--blush);
	}
	:root[data-dtc-color-mode="dark"] .iv-guests :is(h1, h2) { color: var(--ink); }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(input, select, .iv-guests__button--quiet, .iv-guests__tabbar, .iv-guests__header, .iv-guests__toolbar, .iv-guests__pagination) { background: var(--card); border-color: var(--line); }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(input, select, .iv-guests__button--quiet) { border-color: var(--control); }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(.iv-guests__button--quiet, .iv-guests__button--ghost):hover:not(:disabled) { background: var(--rose-soft); color: var(--rose-deep); border-color: var(--control-hover); }
	:root[data-dtc-color-mode="dark"] .iv-guests :focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(input, select):focus { background-color: var(--card); border-color: var(--rose-deep); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__button--ghost { background: transparent; color: var(--muted); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__button:not(.iv-guests__button--quiet, .iv-guests__button--ghost) { background: var(--rose); border-color: var(--rose); color: #fff; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__button:not(.iv-guests__button--quiet, .iv-guests__button--ghost):hover:not(:disabled) { background: #9c2b48; border-color: #9c2b48; color: #fff; }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(.iv-guests__table th, .iv-guests__filters) { background: var(--surface); border-color: var(--line); }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(.iv-guests__table tbody tr, .iv-guests__table tbody tr:active) { background: var(--card); border-color: var(--line); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__table td { color: var(--ink); border-color: var(--line); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__copy.is-done,
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__copy.is-done:hover:not(:disabled) { background: var(--green-soft); border-color: var(--green); color: var(--green); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__badge:not(.is-opened, .is-viewed, .is-attending, .is-declined, .is-pending) { background: #303030; color: #ccc; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__badge.is-declined { background: #40242c; color: #ffb4c3; }
	:root[data-dtc-color-mode="dark"] .iv-guests :is(.iv-guests__alert, .iv-guests__alert strong) { background: #382c1b; color: #edc184; border-color: #66502e; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-stat--views i { background: #282b43; color: #b4b9ff; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-stat--views strong { color: #b4b9ff; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-stat__bar { background: #343434; }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-stat--total i { color: var(--rose-deep); }
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__feedback.is-error { color: #ffb4c3; }
	:root[data-dtc-color-mode="dark"] .dtc-payment-page { background: #121212; }
	:root[data-dtc-color-mode="dark"] :is(.dtc-payment, .dtc-payment-notice, .dtc-payment-dialog, .dtc-payment-unavailable) {
		--payment-brand: #e54153;
		--payment-action: #f5a3b7;
		--payment-ink: #f5f5f5;
		--payment-muted: #b3b3b3;
		--payment-soft: #2b2225;
		--payment-line: #454045;
	}
	:root[data-dtc-color-mode="dark"] :is(.dtc-payment, .dtc-payment-dialog, .dtc-payment-unavailable, .dtc-payment-dialog__close, .dtc-payment__upgrade-plan, .dtc-payment__button--secondary) { background: #1f1f1f; }
	:root[data-dtc-color-mode="dark"] .dtc-payment__button:not(.dtc-payment__button--secondary, .dtc-payment__upgrade-toggle) { background: #a52f49; color: #fff; border-color: #bd5871; }
	:root[data-dtc-color-mode="dark"] .dtc-payment__button:not(.dtc-payment__button--secondary, .dtc-payment__upgrade-toggle):hover { background: #b73a56; }
	:root[data-dtc-color-mode="dark"] .dtc-payment :is(.dtc-payment__message--success, [data-status="paid"] .dtc-payment__status, [data-status="exempt"] .dtc-payment__status) { background: #1b3529; color: #8ad6ae; border-color: #3f6b52; }
	:root[data-dtc-color-mode="dark"] .dtc-payment:is([data-status="paid"], [data-status="exempt"]) .dtc-payment__status { background: #1b3529; color: #8ad6ae; }
	:root[data-dtc-color-mode="dark"] .dtc-payment :is(.dtc-payment__message--locked, .dtc-payment__feedback.is-error) { background: #40242c; color: #ffb4c3; border-color: #754151; }
	:root[data-dtc-color-mode="dark"] .dtc-payment .dtc-payment__coupon-feedback.is-error { color: #ffb4c3; }
	:root[data-dtc-color-mode="dark"] .dtc-payment:is([data-status="expired"], [data-locked="1"]) .dtc-payment__status { background: #40242c; color: #ffb4c3; }
	:root[data-dtc-color-mode="dark"] .dtc-payment .dtc-payment__message--review { background: #213145; color: #b9d5ff; border-color: #45617e; }
	:root[data-dtc-color-mode="dark"] .dtc-payment__qr .dtc-payment__small { color: #4b5563; }
	:root[data-dtc-color-mode="dark"] .dtc-payment-unavailable h1 { color: var(--payment-ink); }
}
@media screen and (min-width: 721px) {
	:root[data-dtc-color-mode="dark"] .iv-guests .iv-guests__header { background: transparent; }
}
@media (max-width: 720px) {
	.iv-guests__header { min-width: 0; }
}
@media print { .dtc-color-toggle, .dtc-color-toolbar { display: none !important; } }
