* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  color: #1a1a1a;
  background: #f6f4ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

main {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

h1, .hint, .label, .buyer { margin: 0; text-align: center; }

h1 { font-size: 1.75rem; line-height: 1.2; }

.hint, .label { margin-top: 8px; color: #333; }

.buyer {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.service-text {
  margin: 24px 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: pre-line;
  word-break: break-word;
}

.service-text.fail { color: #8f1d18; }

.registration-result {
  text-align: center;
}

.registration-result .service-text {
  margin-top: 0;
}

.registration-result.fail .service-text { color: #8f1d18; }

.registration-desk {
  margin: 22px 0 0;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  word-break: break-word;
}

.registration-desk span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.registration-name {
  margin: 18px 0 0;
  font-size: 1.3rem;
  font-weight: 700;
  word-break: break-word;
}

.registration-participant-status,
.registration-hint {
  margin: 8px 0 0;
}

.service-text[hidden],
.ticket[hidden],
form[hidden],
section[hidden],
div[hidden],
a[hidden],
p[hidden] { display: none; }

.ticket {
  margin: 12px 0 0;
  text-align: center;
  color: #333;
}

.check {
  margin: 24px 0 8px;
  text-align: center;
  font-size: 3rem;
  color: #0f6b45;
}

.field { display: flex; flex-direction: column; margin-top: 16px; }

.field-label { margin-bottom: 6px; font-weight: 700; }

main.wide { max-width: 640px; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid #1a1a1a;
  border-radius: 14px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
}

.field textarea {
  min-height: 220px;
  padding: 12px 14px;
  line-height: 1.35;
  resize: vertical;
}

.batch-report {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 2px solid #d9d4c8;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
}

.batch-report[hidden] { display: none; }

.batch-head {
  position: relative;
}

.batch-head h1 {
  padding-inline: 48px;
}

.help-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--theme-input-border, #29344e);
  border-radius: 50%;
  color: var(--theme-heading, #f4f6ff);
  background: var(--theme-input-background, rgba(5, 8, 15, 0.78));
  font: inherit;
  font-weight: 700;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.help-button::-webkit-details-marker { display: none; }

.help-button::marker { content: ""; }

.help[open] .help-button {
  border-color: var(--theme-focus, #5d8cff);
}

.help-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 4;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--theme-panel-border, rgba(163, 188, 255, 0.15));
  border-radius: 12px;
  color: var(--theme-text, #e1e7f7);
  background: var(--theme-input-focus-background, #080c16);
  box-shadow: 0 12px 32px var(--theme-panel-shadow, rgba(0, 0, 0, 0.32));
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
}

.staff-table th,
.staff-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #d9d4c8;
  text-align: left;
  vertical-align: middle;
}

.staff-table th {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.staff-table td a {
  display: block;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.staff-table a.edit-link {
  color: #0f6b45;
  white-space: nowrap;
}

.staff-table tbody tr:hover {
  background: #f4f1ea;
}

section > a.danger {
  margin-top: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
}

.check-row input {
  width: 22px;
  height: 22px;
  margin: 0;
}

.row-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.admin-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #d9d4c8;
  color: #0f6b45;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.results-status {
  margin: 18px 0 0;
  color: var(--theme-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.result-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-actions form {
  width: 100%;
}

.export-card {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--theme-divider);
}

.export-card h2 {
  margin: 0;
  color: var(--theme-heading);
  font-size: 1.2rem;
  text-align: center;
}

.danger {
  width: 100%;
  min-height: 52px;
  border: 2px solid #8f1d18;
  border-radius: 14px;
  background: #fff;
  color: #8f1d18;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message.ok {
  color: #0f6b45;
  background: #e7f6ee;
}

#reader {
  position: relative;
  width: 100%;
  min-height: 240px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 16px;
  background: #171717;
}

#reader:empty::before {
  content: "КАМЕРА";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d5d5d5;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#reader[data-empty-label]:empty::before {
  content: attr(data-empty-label);
  padding: 24px;
  letter-spacing: 0;
  text-align: center;
}

#reader video { width: 100%; }

#sale-form,
#kopilka-form { display: none; }
#sale-form.open,
#kopilka-form.open { display: block; }
#camera-block[hidden] { display: none; }

.qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.qty button, .qty input {
  height: 64px;
  border: 2px solid #1a1a1a;
  border-radius: 14px;
  background: #fff;
  color: #1a1a1a;
}

.qty button { width: 64px; padding: 0; font-size: 32px; line-height: 1; }
.qty input {
  width: 96px;
  padding: 0 8px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.message {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #8f1d18;
  background: #fde8e6;
  white-space: pre-line;
}

.message[hidden] { display: none; }

.actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

button, .link-button {
  min-height: 44px;
  font: inherit;
  touch-action: manipulation;
}

button:focus-visible, input:focus-visible, textarea:focus-visible, .link-button:focus-visible {
  outline: 3px solid #0f6b45;
  outline-offset: 2px;
}

.primary, .link-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #0f6b45;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary:disabled { opacity: 0.55; }

.ghost {
  width: 100%;
  border: 0;
  background: transparent;
  color: #0f6b45;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-version {
  margin-top: auto;
  padding-top: 12px;
  flex-shrink: 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

/* INFOSTART TECH EVENT 2026 — login */
.login-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--theme-text);
  background: var(--theme-page-background);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--theme-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--theme-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.login-shell {
  position: relative;
  z-index: 1;
  max-width: 440px;
  justify-content: center;
  padding: calc(32px + env(safe-area-inset-top)) 24px calc(20px + env(safe-area-inset-bottom));
}

.event-heading {
  margin-bottom: 24px;
  text-align: center;
}

.event-logo {
  display: block;
  width: 176px;
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 24px var(--theme-logo-shadow));
}

.login-page h1 {
  color: var(--theme-heading);
  font-family: var(--theme-display-font);
  font-size: clamp(2.75rem, 12vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px var(--theme-logo-shadow);
}

.login-page .hint {
  margin-top: 10px;
  color: var(--theme-muted);
  font-size: 0.95rem;
}

.login-page .login-form {
  padding: 24px;
  border: 1px solid var(--theme-panel-border);
  border-radius: 20px;
  background: var(--theme-panel-background);
  box-shadow:
    0 24px 70px var(--theme-panel-shadow),
    0 0 50px var(--theme-panel-glow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.login-page .field:first-child { margin-top: 0; }

.login-page .field-label {
  margin-bottom: 8px;
  color: var(--theme-label);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-page .field input {
  min-height: 54px;
  border: 1px solid var(--theme-input-border);
  border-radius: 10px;
  outline: none;
  color: var(--theme-heading);
  background: var(--theme-input-background);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-page .field input:hover { border-color: var(--theme-input-hover); }

.login-page .field input:focus {
  border-color: var(--theme-focus);
  background: var(--theme-input-focus-background);
  box-shadow: 0 0 0 3px var(--theme-focus-ring), 0 0 24px var(--theme-focus-ring);
}

.login-page .message {
  border: 1px solid rgba(255, 116, 116, 0.22);
  color: #ffadad;
  background: rgba(117, 31, 39, 0.2);
}

.login-page .message.ok {
  border-color: rgba(91, 218, 170, 0.22);
  color: #8ce7c5;
  background: rgba(20, 100, 72, 0.2);
}

.login-page .actions {
  margin-top: 8px;
  padding-top: 16px;
}

.login-page .primary {
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--theme-button-start), var(--theme-button-end));
  box-shadow: 0 8px 28px var(--theme-button-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.login-page .primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 34px var(--theme-button-hover-shadow);
  transform: translateY(-1px);
}

.login-page .primary:active { transform: translateY(0); }

.login-page button:focus-visible,
.login-page input:focus-visible {
  outline: 2px solid var(--theme-focus);
  outline-offset: 3px;
}

.login-page .app-version {
  margin-top: 20px;
  color: #5f6a82;
}

@media (max-height: 650px) {
  .login-shell { justify-content: flex-start; }
  .event-logo { width: 132px; margin-bottom: 14px; }
  .event-heading { margin-bottom: 16px; }
  .login-page h1 { font-size: 2.5rem; }
}

/* Shared event styling */
.event-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--theme-text);
  background: var(--theme-page-background);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.event-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--theme-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--theme-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.event-shell {
  position: relative;
  z-index: 1;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
}

.event-shell-centered { justify-content: center; }

.event-logo-small {
  width: 128px;
  margin-bottom: 24px;
}

.scenario-back {
  display: inline-flex;
  align-self: flex-start;
  min-height: 36px;
  margin-bottom: 20px;
  padding: 7px 12px 7px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--theme-panel-border);
  border-radius: 999px;
  color: var(--theme-link);
  background: var(--theme-panel-background);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.scenario-back span {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 0.7;
}

.scenario-back:hover {
  border-color: var(--theme-input-hover);
  filter: brightness(1.08);
}

.scenario-topbar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scenario-topbar .scenario-back { margin-bottom: 0; }
.scenario-topbar .user-menu { margin-left: auto; }

.current-user {
  min-width: 0;
  margin: 0;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--theme-muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  opacity: 0.68;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-user::-webkit-details-marker { display: none; }

.current-user::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--theme-link);
  vertical-align: 0.1em;
}

.current-user::after {
  content: "⌄";
  margin-left: 6px;
}

.user-menu {
  position: relative;
  z-index: 4;
  max-width: 58%;
}

.user-menu[open] .current-user,
.current-user:hover {
  border-color: var(--theme-panel-border);
  background: var(--theme-panel-background);
  opacity: 1;
}

.user-menu-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: max-content;
  min-width: 132px;
  padding: 6px;
  border: 1px solid var(--theme-panel-border);
  border-radius: 10px;
  background: var(--theme-panel-background);
  box-shadow: 0 12px 32px var(--theme-panel-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.user-menu-link,
.user-menu-logout {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  color: var(--theme-heading);
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.user-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-menu-logout:hover {
  color: #ffadad;
  background: rgba(117, 31, 39, 0.2);
}

.current-user-standalone {
  max-width: 70%;
  margin-bottom: 18px;
  align-self: flex-end;
}

.event-page .account-section h2 {
  margin: 0 0 4px;
  color: var(--theme-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-coins {
  margin: 14px 0 0;
  color: var(--theme-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.account-coins span {
  display: block;
  margin-bottom: 2px;
  color: var(--theme-label);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-coins[hidden] { display: none; }

.event-page h1 {
  color: var(--theme-heading);
  font-family: var(--theme-display-font);
  font-size: clamp(2rem, 8vw, 2.75rem);
  letter-spacing: -0.035em;
  text-shadow: 0 0 28px var(--theme-logo-shadow);
}

.event-page .hint,
.event-page .label,
.event-page .ticket {
  color: var(--theme-muted);
}

.event-page .buyer { color: var(--theme-heading); }

.event-page section,
.event-page #register-form,
.event-page #camera-block,
.event-page #sale-form.open,
.event-page #kopilka-form.open {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--theme-panel-border);
  border-radius: 18px;
  background: var(--theme-panel-background);
  box-shadow:
    0 20px 60px var(--theme-panel-shadow),
    0 0 42px var(--theme-panel-glow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.event-page section:first-of-type { margin-top: 0; }

.event-page section form:not([action="/logout"]),
.event-page #camera-block form {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.event-page .field-label {
  margin-bottom: 8px;
  color: var(--theme-label);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-page .field input,
.event-page .field textarea,
.event-page .qty input,
.event-page .qty button {
  border: 1px solid var(--theme-input-border);
  border-radius: 10px;
  outline: none;
  color: var(--theme-heading);
  background: var(--theme-input-background);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.event-page .field input:hover,
.event-page .field textarea:hover,
.event-page .qty input:hover,
.event-page .qty button:hover {
  border-color: var(--theme-input-hover);
}

.event-page .field input:focus,
.event-page .field textarea:focus,
.event-page .qty input:focus {
  border-color: var(--theme-focus);
  background: var(--theme-input-focus-background);
  box-shadow: 0 0 0 3px var(--theme-focus-ring), 0 0 24px var(--theme-focus-ring);
}

.event-page .actions {
  margin-top: 8px;
  padding-top: 16px;
}

.event-page .primary,
.event-page .link-button {
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--theme-button-start), var(--theme-button-end));
  box-shadow: 0 8px 28px var(--theme-button-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.event-page .primary:hover,
.event-page .link-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 34px var(--theme-button-hover-shadow);
  transform: translateY(-1px);
}

.event-page .primary:active,
.event-page .link-button:active {
  transform: translateY(0);
}

.event-page .ghost {
  color: var(--theme-link);
  text-decoration-color: var(--theme-panel-border);
}

.event-page .admin-menu a,
.event-page .staff-table a.edit-link {
  color: var(--theme-link);
}

.event-page button:focus-visible,
.event-page input:focus-visible,
.event-page textarea:focus-visible,
.event-page .help-button:focus-visible,
.event-page a:focus-visible {
  outline: 2px solid var(--theme-focus);
  outline-offset: 3px;
}

.event-page .message {
  border: 1px solid rgba(255, 116, 116, 0.22);
  color: #ffadad;
  background: rgba(117, 31, 39, 0.2);
}

.event-page .message.ok {
  border-color: rgba(91, 218, 170, 0.22);
  color: #8ce7c5;
  background: rgba(20, 100, 72, 0.2);
}

.event-page #reader {
  margin-top: 0;
  border: 1px solid var(--theme-input-border);
  border-radius: 12px;
  background: var(--theme-input-background);
  box-shadow: inset 0 0 40px var(--theme-panel-glow);
}

.event-page #reader:empty::before { color: var(--theme-muted); }

.event-page .service-text { color: var(--theme-heading); }
.event-page .service-text.fail { color: #ff8f8f; }
.event-page .registration-result.fail .service-text { color: #ff8f8f; }

.event-page .registration-result.status-on-registration {
  border-color: rgba(255, 205, 92, 0.38);
}

.event-page .registration-result.status-registered {
  border-color: rgba(114, 255, 206, 0.35);
  box-shadow:
    0 20px 60px var(--theme-panel-shadow),
    0 0 42px rgba(73, 220, 166, 0.16);
}

.event-page .registration-desk { color: var(--theme-heading); }
.event-page .registration-desk span,
.event-page .registration-participant-status { color: var(--theme-muted); }

.event-page .registration-participant-status.participant-vip { color: var(--theme-status-vip, #6D0095); }

.event-page .registration-participant-status.participant-speaker { color: var(--theme-status-speaker, #A71227); }

.event-page .registration-participant-status.participant-organizer { color: var(--theme-status-organizer, #C16F2A); }

.event-page .registration-participant-status.participant-default { color: var(--theme-status-default, #1D4ED8); }

.event-page .registration-participant-status.participant-first-conference { color: var(--theme-status-first-conference, #15803D); }

.event-page .participant-badge-mark {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: -0.08em;
}
.event-page .registration-hint { color: var(--theme-text); }

.event-page .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border: 1px solid rgba(114, 255, 206, 0.35);
  border-radius: 50%;
  color: #8ce7c5;
  background: rgba(29, 134, 96, 0.15);
  box-shadow: 0 0 34px rgba(73, 220, 166, 0.16);
  line-height: 68px;
}

.event-page .table-wrap {
  border: 1px solid var(--theme-divider);
  border-radius: 12px;
  background: var(--theme-input-background);
}

.event-page .staff-table th,
.event-page .staff-table td {
  border-color: var(--theme-divider);
}

.event-page .staff-table th { color: var(--theme-muted); }
.event-page .staff-table tbody tr:hover { background: var(--theme-table-hover); }

.event-page .admin-menu a {
  border-color: var(--theme-divider);
}

.event-page .danger {
  border: 1px solid rgba(255, 107, 107, 0.55);
  border-radius: 10px;
  color: #ff9b9b;
  background: rgba(117, 31, 39, 0.14);
}

.event-page .app-version,
.login-page .app-version { color: var(--theme-muted); opacity: 0.68; }

@media (max-width: 520px) {
  .event-page section,
  .event-page #register-form,
  .event-page #camera-block,
  .event-page #sale-form.open,
  .event-page #kopilka-form.open {
    padding: 18px;
  }

  .event-page .staff-table th,
  .event-page .staff-table td {
    padding: 11px 7px;
    font-size: 0.85rem;
  }
}
