/* События v3: QR-билет, группы формы, участники, форматы */
.ev3-confirmed strong { font-size: 1.05rem; }
.ev3-ticket { margin: 1rem 0; padding: 1rem; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; background: #fff; color: #111; text-align: center; }
.ev3-ticket h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.ev3-qr { width: min(100%, 260px); margin: 0 auto; background: #fff; line-height: 0; }
.ev3-qr svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.ev3-hint { margin: .5rem 0 0; font-size: .9rem; color: #5b5b5b; }
.ev3-timer { margin: .4rem 0 0; font-size: .85rem; color: #5b5b5b; font-variant-numeric: tabular-nums; }
.ev3-timer.is-error { color: #b3261e; }
.ev3-group { margin-bottom: 1rem; }
.ev3-group > h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.ev3-group > .ev3-hint { margin: 0 0 1rem; }
.ev3-group .form-field input[type=text], .ev3-group .form-field input[type=url], .ev3-group .form-field input[type=number],
.ev3-group .form-field input[type=datetime-local], .ev3-group .form-field select, .ev3-group .form-field textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.ev3-direction { margin-top: .35rem; font-size: .9rem; font-weight: 600; }
.ev3-direction:empty { display: none; }
.ev3-errors ul { margin: .5rem 0 0 1.1rem; padding: 0; }
.ev3-errors a { font-weight: 700; }
.field-errors p { margin: .25rem 0 0; color: #b3261e; font-size: .9rem; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #b3261e; }
.ev3-form .form-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.ev3-add { margin: 1rem 0; }
.ev3-add h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.ev3-search { display: flex; gap: .5rem; margin: .75rem 0; }
.ev3-search input { flex: 1; min-width: 0; }
.ev3-candidates { list-style: none; margin: 0; padding: 0; }
.ev3-candidates li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding: .6rem 0; border-top: 1px solid rgba(0,0,0,.1); }
.ev3-candidates small { display: block; color: #5b5b5b; }
.ev3-candidates form { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.ev3-check { display: inline-flex; gap: .35rem; align-items: center; font-size: .9rem; }
.ev3-format-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ev3-format-row input[name=name] { flex: 1 1 220px; min-width: 0; }
.ev3-num { width: 5.5rem; }
@media (max-width: 600px) {
  .ev3-search { flex-direction: column; }
  .ev3-candidates li, .ev3-candidates form { flex-direction: column; align-items: stretch; }
}
