/* «Настройки → Промокоды» (web/admin-promo-codes.js): the loyalty card, «Создать промокод» and the list of codes. */
.promo { display: grid; gap: 0; min-width: 0; }
.promo h3 { margin: 0 0 6px; font-size: 16px; }
.promo-loyalty .set-state { margin: 0; }
.promo-create summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; }
.promo-create[open] summary { margin-bottom: 10px; }
.promo-code-row { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-code-row input { flex: 1 1 200px; min-width: 0; text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.promo-code-row button { flex: 0 0 auto; }
.promo-search { display: grid; gap: 6px; margin-bottom: 4px; }
.promo-search label { margin: 0; }
.promo-search input { text-transform: uppercase; }
.promo-table code { font-size: 13px; letter-spacing: .03em; overflow-wrap: anywhere; }
.promo-table td small { display: block; margin-top: 2px; overflow-wrap: anywhere; }
.promo-table td { vertical-align: top; }
.promo-num { font-variant-numeric: tabular-nums; }
.promo-switch { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.promo-pager { align-items: center; gap: 8px 12px; margin-top: 10px; }
@media (max-width: 560px) { .promo-code-row button { flex: 1 1 100%; } }
