:root {
  --color: #e8edf8;
  --ink-muted: #7a8db0;
  --yellow: #f5b800;
  --dark-yellow: #c49100;
  --blue: #1a2f6e;
  --light-blue: #2d5abf;
  --sky-strong: #0f1e4a;
  --red: #f87171;
  --success: #22c55e;
  --primary: #1a2f6e;
  --sofia: 'Sofia Sans Condensed', sans-serif;
  --manrope: 'Manrope', sans-serif;
  --bgr: #080c18;
  --glass: rgba(26, 47, 110, 0.12);
  --glass-strong: rgba(26, 47, 110, 0.20);
  --stroke: rgba(26, 47, 110, 0.28);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(2, 4, 14, 0.55);
  --shadow-soft: 0 6px 18px rgba(2, 4, 14, 0.35);
  --glow: 0 6px 24px rgba(26, 47, 110, 0.40);
  --topbar-h: 64px;
  --dock-h: 60px;
  --nav-gap: 10px;
  --dock-space: calc(var(--dock-h) + var(--nav-gap) + env(safe-area-inset-bottom, 0px));
  --pad: 1.5rem;
  --button-height: 44px;
  --input-height: 44px;
  color-scheme: dark;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a, button, .button {
  touch-action: manipulation;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  min-height: 100svh;
  padding-top: var(--topbar-h);
  padding-bottom: var(--dock-space);
  overflow-x: hidden;
  font-family: var(--sofia);
  background-color: var(--bgr);
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(26, 47, 110, 0.18), transparent 60%), radial-gradient(700px 450px at -10% 30%, rgba(15, 30, 75, 0.13), transparent 60%), radial-gradient(800px 600px at 50% 110%, rgba(245, 184, 0, 0.06), transparent 60%);
  background-attachment: fixed;
  color: var(--color);
  transition: background-color 250ms ease, color 250ms ease;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(600px 420px at 75% 18%, rgba(26, 47, 110, 0.1), transparent 60%), radial-gradient(520px 400px at 18% 78%, rgba(15, 30, 75, 0.09), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

small {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

::-moz-selection {
  background: var(--blue);
  color: #fff;
}

::selection {
  background: var(--blue);
  color: #fff;
}

input, select, textarea {
  color-scheme: dark;
  accent-color: var(--blue);
}

select option, select optgroup {
  background-color: #080c18;
  color: var(--color);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #080c18 inset !important;
  -webkit-text-fill-color: var(--color) !important;
  caret-color: var(--color);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(26, 47, 110, 0.22);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 47, 110, 0.38);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.hidden {
  display: none !important;
}

.hide-on-mobile {
  display: none;
}

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--blue), var(--light-blue), var(--blue), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 12px rgba(26, 47, 110, 0.5);
  transition: opacity 200ms ease;
}
.loading-bar.on {
  opacity: 1;
  animation: loading-slide 1.1s linear infinite;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(26, 47, 110, 0.25);
  border-top-color: var(--blue);
  box-shadow: 0 0 18px rgba(26, 47, 110, 0.2);
  animation: rotate 700ms linear infinite;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 20px;
  height: 20px;
}

.spin, .spin svg {
  animation: rotate 0.9s linear infinite;
}

button.btn-loading, .button.btn-loading {
  color: transparent !important;
  pointer-events: none;
}
button.btn-loading::after, .button.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: rotate 700ms linear infinite;
}

.loader {
  --color: #fff;
  animation: rotate 1.5s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
}
.loader .loader-path {
  stroke-width: 4px;
  stroke: var(--color);
  stroke-dasharray: 150, 200;
  stroke-dashoffset: -10;
  animation: dash 1s ease-in-out infinite;
  stroke-linecap: round;
}

.item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.item.in {
  opacity: 1;
  transform: none;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: calc(var(--topbar-h) + env(safe-area-inset-top, 0px));
  padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.3), rgba(8, 12, 24, 0.18));
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 300ms ease;
  animation: fade-down 500ms ease both;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sofia);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color);
  white-space: nowrap;
}
.topbar .brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(26, 47, 110, 0.6), 0 0 3px var(--blue);
  animation: pulse-dot 3.2s ease-in-out infinite;
}
.topbar .event-selection {
  flex: 1;
  min-width: 0;
}
.topbar .event-selection select {
  width: 100%;
  height: 38px;
  padding: 0 32px 0 12px;
  font-family: var(--sofia);
  font-size: 0.9375rem;
  color: var(--color);
  background: rgba(8, 12, 24, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E") no-repeat right 10px center/12px;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 0px 0px 1px var(--stroke);
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
.topbar .event-selection select:focus {
  box-shadow: 0 0 0 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.3);
  outline: none;
}
.topbar a.off, .topbar button.notif-check, .topbar button.settings-btn {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  color: var(--ink-muted);
  transition: background-color 200ms ease, transform 200ms ease, color 200ms ease;
  cursor: pointer;
}
.topbar a.off::before, .topbar button.notif-check::before, .topbar button.settings-btn::before {
  display: none;
}
.topbar a.off:hover, .topbar button.notif-check:hover, .topbar button.settings-btn:hover {
  background: rgba(26, 47, 110, 0.15);
  color: var(--light-blue);
}
.topbar a.off:active, .topbar button.notif-check:active, .topbar button.settings-btn:active {
  transform: scale(0.92);
}
.topbar a.off svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  filter: none;
}
.topbar a.off span {
  display: none;
}
.topbar button.notif-check .icon {
  display: contents;
}
.topbar button.notif-check svg {
  width: 18px;
  height: 18px;
  display: block;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 12px rgba(26, 47, 110, 0.6), 0 0 3px var(--blue);
  }
  50% {
    box-shadow: 0 0 22px rgba(26, 47, 110, 0.9), 0 0 7px var(--blue);
  }
}
header.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 4px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(0deg, rgba(8, 12, 24, 0.3), rgba(8, 12, 24, 0.18));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 -6px 24px rgba(2, 6, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  z-index: 900;
}
header.tabs a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink-muted);
  font-family: var(--sofia);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}
header.tabs a::before {
  display: none;
}
header.tabs a span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 4px;
}
header.tabs a .icon {
  display: flex;
}
header.tabs a .icon svg {
  width: 19px;
  height: 19px;
}
header.tabs a:hover {
  color: var(--light-blue);
  background: rgba(26, 47, 110, 0.08);
  transform: none;
  filter: none;
}
header.tabs a:active {
  transform: scale(0.97);
}
header.tabs a.active {
  background: linear-gradient(120deg, var(--blue), var(--sky-strong), var(--blue));
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 47, 110, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

section {
  flex: 1;
  position: relative;
  z-index: 1;
}

section[data-page]:not(.active) {
  display: none;
}

.content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fade-up 500ms ease both;
}

button, .button {
  height: var(--button-height);
  padding: 0 1.5rem;
  font-family: var(--sofia);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 10px;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--sky-strong));
  color: #fff;
  font-size: calc(var(--button-height) / 2.7);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  transition: box-shadow 200ms ease-in-out, transform 200ms ease-in-out, filter 200ms ease-in-out, background-color 200ms ease-in-out;
  position: relative;
  overflow: hidden;
}
button::before, .button::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}
button.volt, button.success, .button.volt, .button.success {
  background: linear-gradient(135deg, var(--blue), var(--sky-strong));
}
button.yellow, .button.yellow {
  background: linear-gradient(135deg, var(--yellow), var(--dark-yellow));
}
button.danger, .button.danger {
  background: linear-gradient(135deg, #f87171, #dc2626);
}
button.white, button.ghost, .button.white, .button.ghost {
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  color: var(--color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
button.disabled, .button.disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
button:hover, .button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: var(--glow);
}
button:hover.white, button:hover.ghost, .button:hover.white, .button:hover.ghost {
  box-shadow: var(--shadow-soft);
  background: rgba(26, 47, 110, 0.16);
  filter: none;
  transform: none;
}
button:hover.danger, .button:hover.danger {
  box-shadow: 0 6px 24px rgba(248, 113, 113, 0.3);
}
button:active, .button:active {
  transform: translateY(0);
  filter: brightness(0.95);
  box-shadow: none;
}
button:disabled, .button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  filter: none;
}
button .icon, .button .icon {
  width: calc(var(--button-height) / 2);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -0.25rem;
  fill: currentColor;
}
button .icon svg, .button .icon svg {
  width: 100%;
  height: 100%;
}

button[type=submit] {
  background: linear-gradient(135deg, var(--blue), var(--sky-strong));
  color: #fff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
form h3 {
  font-family: var(--manrope);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--blue);
}

.row, form .row {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
  position: relative;
}
.row label, form .row label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 200ms ease;
}
.row input[type=text], .row input[type=password], .row input[type=date],
.row input:not([type]), .row textarea, .row select, form .row input[type=text], form .row input[type=password], form .row input[type=date],
form .row input:not([type]), form .row textarea, form .row select {
  width: 100%;
  height: var(--input-height);
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 0 0.75rem;
  font-family: var(--sofia);
  font-size: 1rem;
  color: var(--color);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
.row input[type=text]::-moz-placeholder, .row input[type=password]::-moz-placeholder, .row input[type=date]::-moz-placeholder, .row input:not([type])::-moz-placeholder, .row textarea::-moz-placeholder, .row select::-moz-placeholder, form .row input[type=text]::-moz-placeholder, form .row input[type=password]::-moz-placeholder, form .row input[type=date]::-moz-placeholder, form .row input:not([type])::-moz-placeholder, form .row textarea::-moz-placeholder, form .row select::-moz-placeholder {
  color: var(--ink-muted);
}
.row input[type=text]::placeholder, .row input[type=password]::placeholder, .row input[type=date]::placeholder,
.row input:not([type])::placeholder, .row textarea::placeholder, .row select::placeholder, form .row input[type=text]::placeholder, form .row input[type=password]::placeholder, form .row input[type=date]::placeholder,
form .row input:not([type])::placeholder, form .row textarea::placeholder, form .row select::placeholder {
  color: var(--ink-muted);
}
.row input[type=text]:focus, .row input[type=password]:focus, .row input[type=date]:focus,
.row input:not([type]):focus, .row textarea:focus, .row select:focus, form .row input[type=text]:focus, form .row input[type=password]:focus, form .row input[type=date]:focus,
form .row input:not([type]):focus, form .row textarea:focus, form .row select:focus {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.3);
}
.row input[type=text]:focus ~ label, .row input[type=password]:focus ~ label, .row input[type=date]:focus ~ label,
.row input:not([type]):focus ~ label, .row textarea:focus ~ label, .row select:focus ~ label, form .row input[type=text]:focus ~ label, form .row input[type=password]:focus ~ label, form .row input[type=date]:focus ~ label,
form .row input:not([type]):focus ~ label, form .row textarea:focus ~ label, form .row select:focus ~ label {
  color: var(--blue);
}
.row input[type=text].invalid, .row input[type=password].invalid, .row input[type=date].invalid,
.row input:not([type]).invalid, .row textarea.invalid, .row select.invalid, form .row input[type=text].invalid, form .row input[type=password].invalid, form .row input[type=date].invalid,
form .row input:not([type]).invalid, form .row textarea.invalid, form .row select.invalid {
  box-shadow: 0px 0px 0px 1px var(--red), 0 0 12px rgba(248, 113, 113, 0.3) !important;
}
.row input[type=text].invalid ~ label, .row input[type=password].invalid ~ label, .row input[type=date].invalid ~ label,
.row input:not([type]).invalid ~ label, .row textarea.invalid ~ label, .row select.invalid ~ label, form .row input[type=text].invalid ~ label, form .row input[type=password].invalid ~ label, form .row input[type=date].invalid ~ label,
form .row input:not([type]).invalid ~ label, form .row textarea.invalid ~ label, form .row select.invalid ~ label {
  color: var(--red) !important;
}
.row textarea, form .row textarea {
  resize: vertical;
  height: unset;
  padding: 0.6rem 0.75rem;
}
.row select, form .row select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  padding-right: 2.4rem;
  cursor: pointer;
}
.row.prefix .icon, form .row.prefix .icon {
  height: var(--input-height);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  transition: fill 200ms ease;
  fill: var(--ink-muted);
}
.row.prefix .icon svg, form .row.prefix .icon svg {
  width: 60%;
  height: auto;
}
.row.prefix input, form .row.prefix input {
  z-index: 0;
  padding-left: var(--input-height);
}
.row.buttons, form .row.buttons {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.row.buttons .button, .row.buttons button, .row.buttons a.cancel, form .row.buttons .button, form .row.buttons button, form .row.buttons a.cancel {
  flex: 1;
}
.row.buttons a.cancel, form .row.buttons a.cancel {
  height: var(--button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sofia);
  font-size: calc(var(--button-height) / 2.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  transition: color 200ms ease, background-color 200ms ease;
}
.row.buttons a.cancel:hover, form .row.buttons a.cancel:hover {
  color: var(--color);
  background: rgba(26, 47, 110, 0.12);
}
.row.top-row, form .row.top-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.row.top-row input, form .row.top-row input {
  flex: 1;
  min-width: 0;
  width: auto;
}
.row.top-row .working, form .row.top-row .working {
  width: 24px;
  flex: none;
  color: var(--blue);
}

.notif-toggle {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 4px 0;
  height: auto;
  border-radius: 0;
  color: var(--color);
  font-size: 0.85rem;
  cursor: pointer;
}
.notif-toggle::before {
  display: none;
}
.notif-toggle:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}
.notif-toggle:active {
  transform: none;
  filter: none;
  box-shadow: none;
}
.notif-toggle .icon {
  margin-left: 0;
  display: flex;
  align-items: center;
}
.notif-toggle .icon svg {
  width: 16px;
  height: 16px;
}
.notif-toggle .switch-track {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  background: rgba(26, 47, 110, 0.15);
  border: 2px solid var(--stroke);
  border-radius: 12px;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.notif-toggle .switch-thumb {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: var(--ink-muted);
  transition: transform 200ms ease, background-color 200ms ease;
}
.notif-toggle.active .switch-track {
  background: #16a34a;
  border-color: #16a34a;
}
.notif-toggle.active .switch-thumb {
  background: #fff;
  transform: translateX(20px);
}
.notif-toggle[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .notif-toggle .label {
    display: none;
  }
  .notif-toggle .icon {
    display: none;
  }
}

button.settings-btn .icon {
  display: contents;
}
button.settings-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
button.settings-btn.active {
  color: var(--blue);
}

.settings-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.settings-page .table {
  padding: 0;
}
.settings-page .group {
  padding: 0 var(--pad) var(--pad);
}
.settings-page .settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad);
}
.settings-page .settings-row + .settings-row {
  border-top: 1px solid var(--stroke);
}
.settings-page .settings-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.settings-page .settings-row-label .icon {
  display: flex;
  align-items: center;
  color: var(--ink-muted);
}
.settings-page .settings-row-label .icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.settings-page .settings-row-label span {
  font-size: 0.95rem;
}
.settings-page .settings-menu-list {
  padding-bottom: 4px;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.group + .group, .group + .row, .row + .group {
  margin-top: 0.5rem;
}

p.info {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 6px;
}

.ts-wrapper.single .ts-control {
  height: var(--input-height);
  padding: 0 0.75rem;
  border: none !important;
  border-radius: 10px;
  font-family: var(--sofia);
  font-size: 1rem;
  color: var(--color) !important;
  background: rgba(8, 12, 24, 0.55) !important;
  box-shadow: 0px 0px 0px 1px var(--stroke);
  transition: box-shadow 250ms ease, background-color 250ms ease;
  display: flex;
  align-items: center;
}

.ts-wrapper.single.input-active .ts-control {
  background: rgba(8, 12, 24, 0.75) !important;
  color: var(--color) !important;
}

.ts-wrapper.single.focus .ts-control {
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.3);
}

.ts-wrapper.invalid .ts-control {
  box-shadow: 0px 0px 0px 1px var(--red), 0 0 12px rgba(248, 113, 113, 0.3) !important;
}

.ts-wrapper .item, .ts-control .item {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.ts-control > input {
  width: auto !important;
  min-width: 0;
  height: auto;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--color) !important;
}

.ts-wrapper .ts-dropdown {
  background: rgba(8, 12, 28, 0.97) !important;
  color: var(--color) !important;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: var(--sofia);
  font-size: 1rem;
  margin-top: 6px;
  overflow: hidden;
}
.ts-wrapper .ts-dropdown .optgroup-header {
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ts-wrapper .ts-dropdown .option {
  padding: 0.5rem 0.75rem;
}
.ts-wrapper .ts-dropdown .option.active {
  background: rgba(26, 47, 110, 0.16);
  color: #fff;
}
.ts-wrapper .ts-dropdown .option.selected {
  background: rgba(26, 47, 110, 0.24);
  color: #fff;
}
.ts-wrapper .ts-dropdown .no-results {
  color: var(--ink-muted);
}

.card, .table {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.card > .table {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}

.table .tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px var(--pad);
  border-top: 1px solid var(--stroke);
  transition: background-color 200ms ease;
}
.table .tr:first-child {
  border-top: 0;
}
.table .tr:not(.title):not(.total):hover {
  background: rgba(26, 47, 110, 0.04);
}
.table .tr.title {
  padding: 0;
  border-top: 0;
  background: linear-gradient(180deg, rgba(26, 47, 110, 0.07), transparent);
}
.table .tr.title .th {
  width: 100%;
  padding: 14px var(--pad);
}
.table .tr.title .flex {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sofia);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.table .tr.title .flex > span:first-of-type {
  flex: 1;
}
.table .tr.total:not(.summary-item) {
  background: linear-gradient(180deg, rgba(26, 47, 110, 0.12), rgba(26, 47, 110, 0.06));
  font-family: var(--sofia);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--light-blue);
  border-top: 1px solid var(--stroke);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table .tr.total:not(.summary-item).red {
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
}
.table .tr.total:not(.summary-item).green {
  color: var(--success);
  background: rgba(34, 197, 94, 0.08);
}
.table .td, .table .th {
  font-size: 0.95rem;
}
.table .td:last-child {
  text-align: right;
  white-space: nowrap;
}
.table.expired {
  opacity: 0.55;
  filter: saturate(0.5);
}

span.expired {
  position: absolute;
  top: 5px;
  left: var(--pad);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  z-index: 2;
}

.toggle-table {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  border-radius: 50%;
  cursor: pointer;
  flex: none;
  transition: transform 300ms ease, color 200ms ease;
}
.toggle-table:hover {
  color: var(--blue);
}
.toggle-table.on {
  transform: rotate(180deg);
}

.collapse-me {
  overflow: hidden;
}

.drag {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  cursor: grab;
  touch-action: none;
  flex: none;
}

.drag-ghost {
  opacity: 0.35;
}

.drag-float {
  position: fixed;
  z-index: 2000;
  pointer-events: none;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--blue);
  border-radius: var(--radius);
  background: rgba(8, 12, 24, 0.95);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero .stat {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px var(--pad) 16px;
  min-width: 0;
}
.hero .stat .label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero .stat .label::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-muted);
  flex: none;
}
.hero .stat .value {
  margin-top: 7px;
  font-family: var(--sofia);
  font-size: clamp(1.625rem, 7.5vw, 2.125rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hero .stat .value small {
  font-size: 1rem;
  color: inherit;
  opacity: 0.7;
}
.hero .stat.net .label::before {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(26, 47, 110, 0.6);
}
.hero .stat.net .value {
  color: var(--light-blue);
  text-shadow: 0 0 24px rgba(26, 47, 110, 0.35);
}
.hero .stat.net .value small {
  color: var(--light-blue);
}

.tables {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.actions {
  display: flex;
  gap: 12px;
}
.actions .button {
  flex: 1;
}

.summary-item.tr {
  position: relative;
}
.summary-item .title {
  flex: 1;
  min-width: 0;
}
.summary-item .title small {
  display: block;
}
.summary-item .nowrap, .summary-item .td.green, .summary-item .td.red {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.summary-item .item-actions {
  display: flex;
  gap: 6px;
  flex: none;
}
.summary-item .item-actions:empty {
  display: none;
}
.summary-item .item-actions .icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.summary-item .item-actions .icon svg {
  width: 16px;
  height: 16px;
}
.summary-item .item-actions .icon.remove:hover {
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
}
.summary-item .item-actions .icon.edit:hover {
  color: var(--blue);
  border-color: rgba(26, 47, 110, 0.4);
  background: rgba(26, 47, 110, 0.1);
}
.summary-item.total {
  font-family: var(--sofia);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(26, 47, 110, 0.1);
  color: var(--light-blue);
  transition: none;
}

.summary-item .green, .td.green, .tr.green .td {
  color: var(--success);
}

.summary-item .red, .td.red, .tr.red .td {
  color: var(--red);
}

input.search, .search-wrap input, .tickets-container input[type=text] {
  width: 100%;
  height: var(--input-height);
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 0 0.75rem;
  font-family: var(--sofia);
  font-size: 1rem;
  color: var(--color);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
input.search::-moz-placeholder, .search-wrap input::-moz-placeholder, .tickets-container input[type=text]::-moz-placeholder {
  color: var(--ink-muted);
}
input.search::placeholder, .search-wrap input::placeholder, .tickets-container input[type=text]::placeholder {
  color: var(--ink-muted);
}
input.search:focus, .search-wrap input:focus, .tickets-container input[type=text]:focus {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.3);
}

.tickets-tr.headings .th.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 4px;
}
.tickets-tr.headings .th.search-row .search {
  flex: 1;
  min-width: 0;
}
@media (max-width: 1023px) {
  .tickets-tr.headings .th.search-row {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .tickets-tr.headings .th.search-row .search {
    flex: none;
  }
  .tickets-tr.headings .th.search-row .order-sort-select {
    flex: 1;
  }
}

.order-filters {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.order-filters .filter-btn {
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 1px solid var(--stroke);
  background: var(--glass-strong);
  color: var(--color);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow 200ms ease-in-out, transform 200ms ease-in-out, filter 200ms ease-in-out, background-color 200ms ease-in-out, color 200ms ease-in-out, border-color 200ms ease-in-out;
}
.order-filters .filter-btn[data-filter=payed]:not(.active) {
  border-color: rgba(34, 197, 94, 0.4);
  color: var(--success);
}
.order-filters .filter-btn[data-filter=notpayed]:not(.active) {
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--red);
}
.order-filters .filter-btn[data-filter=all].active {
  background: var(--light-blue);
  border-color: transparent;
  color: #fff;
}
.order-filters .filter-btn[data-filter=payed].active {
  background: #16a34a;
  border-color: transparent;
  color: #fff;
}
.order-filters .filter-btn[data-filter=notpayed].active {
  background: #dc2626;
  border-color: transparent;
  color: #fff;
}
.order-filters .filter-btn[data-filter=notpayed].active:hover {
  box-shadow: 0 6px 24px rgba(248, 113, 113, 0.3);
}
.order-filters .filter-btn .icon {
  display: none;
  width: 18px;
  height: 18px;
  line-height: 0;
  font-size: 0;
  margin-left: 0;
}
.order-filters .filter-btn .icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}
@media (max-width: 1023px) {
  .order-filters .filter-btn {
    padding: 0;
    width: var(--input-height);
    height: var(--input-height);
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    gap: 0;
  }
  .order-filters .filter-btn .label {
    display: none;
  }
  .order-filters .filter-btn .icon {
    display: block;
  }
}

.tickets-tr {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 13px var(--pad);
  border-top: 1px solid var(--stroke);
  position: relative;
  transition: background-color 200ms ease;
}
.tickets-tr:hover {
  background: rgba(26, 47, 110, 0.04);
}
.tickets-tr.headings {
  padding: 10px var(--pad);
  border-top: 0;
}
.tickets-tr.headings::before {
  display: none;
}
.tickets-tr::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
}
.tickets-tr.payed::before {
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.tickets-tr.notpayed::before {
  background: var(--red);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.45);
}
.tickets-tr .td {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tickets-tr .td:first-child {
  flex: 0 0 124px;
}
.tickets-tr .td.name {
  flex: 1;
  min-width: 0;
}
.tickets-tr .td.name > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.tickets-tr .td.name .column {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tickets-tr .td.name .column > span:first-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color);
}
.tickets-tr .td.actions {
  flex: 0 0 100%;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}
.tickets-tr .td.actions select {
  flex: 1;
  height: 38px;
  min-height: 38px;
  width: auto;
  padding: 0 2.4rem 0 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--color);
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  font-family: var(--sofia);
  font-size: 0.9rem;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}
.tickets-tr .token a {
  font-family: var(--sofia);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.tickets-tr .token a:hover {
  color: var(--light-blue);
}
.tickets-tr .order-total {
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.tickets-tr .date, .tickets-tr .affiliate {
  font-size: 0.6875rem;
  color: var(--ink-muted);
}
.tickets-tr .cashier-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--light-blue);
  background: rgba(45, 90, 191, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  margin-top: 2px;
}
.tickets-tr .delete.action {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.tickets-tr .delete.action:hover {
  background: rgba(248, 113, 113, 0.18);
}
.tickets-tr .delete.action svg {
  width: 16px;
  height: 16px;
}

.toggle-tickets {
  display: none;
}

.commission-row {
  position: relative;
}
.commission-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
}
.commission-row.payed::before {
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.commission-row.notpayed::before {
  background: var(--red);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.45);
}
.commission-row .iban {
  display: block;
  font-family: monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 3px;
  white-space: normal;
  word-break: break-all;
}
.commission-row .comm-method {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 3px;
  border-radius: 4px;
  padding: 1px 6px;
}
.commission-row .comm-method.cash {
  color: var(--yellow, #f59e0b);
  background: rgba(245, 158, 11, 0.12);
}

.inst-id {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.unreward-btn {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 200ms ease;
  margin-left: auto;
}
.unreward-btn:hover {
  background: rgba(248, 113, 113, 0.18);
}
.unreward-btn svg {
  width: 16px;
  height: 16px;
}

.order-items {
  display: block;
  width: 100%;
}
.order-items .ticket-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--stroke);
}
.order-items .ticket-row:first-child {
  border-top: 0;
  padding-top: 4px;
}
.order-items .ticket-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color);
}
.order-items .client-name {
  font-size: 0.875rem;
  color: var(--ink);
}
.order-items .client-email {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.device-data {
  width: 100%;
  font-size: 0.6875rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 4px;
}
.device-data span {
  color: var(--color);
}

.clients-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad);
  flex-wrap: wrap;
}
.clients-controls .clients-search {
  flex: 1;
  min-width: 140px;
}

.clients-filters {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.client-filter-btn {
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  border-radius: 10px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: box-shadow 200ms ease-in-out, transform 200ms ease-in-out, background-color 200ms ease-in-out, color 200ms ease-in-out, border-color 200ms ease-in-out;
}

.client-filter-btn[data-filter=present]:not(.active) {
  border-color: rgba(34, 197, 94, 0.4);
  color: var(--success);
}

.client-filter-btn[data-filter=absent]:not(.active) {
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--red);
}

.client-filter-btn[data-filter=all].active {
  background: var(--light-blue);
  border-color: transparent;
  color: #fff;
}

.client-filter-btn[data-filter=present].active {
  background: #16a34a;
  border-color: transparent;
  color: #fff;
}

.client-filter-btn[data-filter=absent].active {
  background: #dc2626;
  border-color: transparent;
  color: #fff;
}

.client-filter-btn .icon {
  display: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 0;
  margin-left: 0;
}

.client-filter-btn .icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 1023px) {
  .clients-controls {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .clients-controls .clients-search {
    flex: none;
  }
  .client-filter-btn {
    padding: 0;
    width: var(--input-height);
    height: var(--input-height);
    display: grid;
    place-items: center;
    gap: 0;
  }
  .client-filter-btn .label {
    display: none;
  }
  .client-filter-btn .icon {
    display: block;
  }
  .client-sort-select {
    flex: 1;
  }
}
.client-sort-select, .order-sort-select {
  font-size: 0.8rem;
  height: var(--input-height);
  padding: 0 2.4rem 0 0.75rem;
  border: none;
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  background-color: rgba(255, 255, 255, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  border-radius: 10px;
  color: var(--color);
  cursor: pointer;
  color-scheme: dark;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
.client-sort-select:focus, .order-sort-select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.3);
}

table.booked, table.clients {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fade-up 480ms ease both;
}
table.booked th, table.clients th {
  padding: 14px var(--pad);
  font-family: var(--sofia);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-muted);
  background: linear-gradient(180deg, rgba(26, 47, 110, 0.07), transparent);
  border: 0;
  border-bottom: 1px solid var(--stroke);
}
table.booked td, table.clients td {
  padding: 12px var(--pad);
  border: 0;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.9rem;
}
table.booked td .flex, table.clients td .flex {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
table.booked tr:last-child td, table.clients tr:last-child td {
  border-bottom: 0;
}

table.clients td .flex div:first-child {
  font-size: 1rem;
  font-weight: 700;
}
table.clients td .flex div:last-child {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
table.clients td:last-child {
  width: 190px;
}
table.clients tr {
  animation: fade-up 420ms ease both;
}
table.clients tr:nth-child(2) {
  animation-delay: 60ms;
}
table.clients tr:nth-child(3) {
  animation-delay: 95ms;
}
table.clients tr:nth-child(4) {
  animation-delay: 130ms;
}
table.clients tr:nth-child(5) {
  animation-delay: 165ms;
}
table.clients tr:nth-child(6) {
  animation-delay: 200ms;
}
table.clients tr:nth-child(7) {
  animation-delay: 235ms;
}
table.clients tr:nth-child(8) {
  animation-delay: 270ms;
}
table.clients tr:nth-child(9) {
  animation-delay: 305ms;
}
table.clients tr:nth-child(10) {
  animation-delay: 340ms;
}
table.clients tr:nth-child(11) {
  animation-delay: 375ms;
}
table.clients tr:nth-child(12) {
  animation-delay: 410ms;
}
table.clients tr:nth-child(13) {
  animation-delay: 445ms;
}
table.clients tr:nth-child(14) {
  animation-delay: 480ms;
}
table.clients tr:nth-child(15) {
  animation-delay: 515ms;
}
table.clients tr:not(.success):hover td {
  background: rgba(26, 47, 110, 0.04);
}
table.clients tr.success td:first-child {
  box-shadow: inset 3px 0 0 var(--success);
}
table.clients select {
  min-height: 38px;
  height: 38px;
  width: 100%;
  font-size: 0.9rem;
  font-family: var(--sofia);
  border-radius: 10px;
  padding: 0 2.4rem 0 0.75rem;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--color);
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

table tr.success td {
  background: rgba(34, 197, 94, 0.08);
}
table tr.warning td {
  background: rgba(245, 184, 0, 0.08);
}
table select.success {
  box-shadow: 0 0 0 1px var(--success);
  color: var(--success);
  background-color: rgba(34, 197, 94, 0.08);
}
table select.warning {
  box-shadow: 0 0 0 1px var(--yellow);
  color: var(--yellow);
  background-color: rgba(245, 184, 0, 0.08);
}

.content.presenters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.presenters-controls .search {
  width: 100%;
}

.presenters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.presenters-grid[hidden] {
  display: none;
}

.presenters-nosales-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px var(--pad);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--ink-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.presenters-nosales-toggle:hover {
  background: var(--glass-strong);
  color: var(--color);
}
.presenters-nosales-toggle .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.presenters-nosales-toggle span {
  flex: 1;
  text-align: left;
}
.presenters-nosales-toggle .chevron svg {
  transition: transform 200ms ease;
}
.presenters-nosales-toggle.open .chevron svg {
  transform: rotate(180deg);
}

.presenter {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px var(--pad) var(--pad);
  display: grid;
  grid-template-columns: auto 1fr;
  -moz-column-gap: 14px;
       column-gap: 14px;
  align-content: start;
}
.presenter .photo {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid var(--stroke);
  position: relative;
  color: var(--ink-muted);
  box-shadow: 0 0 0 3px rgba(26, 47, 110, 0.08);
}
.presenter .photo img {
  height: 100%;
  width: auto;
  max-width: none;
  scale: 1.45;
  margin-left: 20%;
}
.presenter .photo.center img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  scale: 1;
  margin-left: 0;
}
.presenter .photo svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  fill: var(--ink-muted);
}
.presenter .name {
  align-self: end;
  font-family: var(--sofia);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  min-width: 0;
}
.presenter .email {
  align-self: start;
  font-size: 0.8rem;
  color: var(--ink-muted);
  word-break: break-all;
  min-width: 0;
}
.presenter .link {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.presenter .link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sofia);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color);
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  position: relative;
  transition: background-color 200ms ease, color 200ms ease;
}
.presenter .link a:hover {
  color: var(--light-blue);
  background: rgba(26, 47, 110, 0.16);
}
.presenter .link .icon svg {
  width: 13px;
  height: 13px;
}
.presenter .copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--sofia);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  background: rgba(245, 184, 0, 0.1);
  border: 1px solid rgba(245, 184, 0, 0.28);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.presenter .copy:hover {
  background: rgba(245, 184, 0, 0.18);
  border-color: rgba(245, 184, 0, 0.5);
}
.presenter table, .presenter table[border] {
  grid-column: 1/-1;
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 12px 14px;
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
}
.presenter table tbody, .presenter table[border] tbody {
  display: block;
}
.presenter table tr, .presenter table[border] tr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.presenter table th, .presenter table td, .presenter table[border] th, .presenter table[border] td {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.presenter table th, .presenter table[border] th {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.presenter table td, .presenter table[border] td {
  margin-top: 3px;
  font-family: var(--sofia);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.presenter table td:last-child, .presenter table[border] td:last-child {
  color: var(--blue);
}
.presenter .no-tickets {
  grid-column: 1/-1;
  margin-top: 1rem;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
  border: 1px dashed var(--stroke);
  border-radius: 10px;
}
.presenter .footer {
  grid-column: 1/-1;
  margin-top: 1rem;
}
.presenter .footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: var(--sofia);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.presenter .footer a:hover {
  color: var(--blue);
  border-color: rgba(26, 47, 110, 0.4);
  background: rgba(26, 47, 110, 0.1);
}
.presenter .footer a svg {
  width: 13px;
  height: 13px;
}

.copied {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-family: var(--sofia);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  white-space: nowrap;
  opacity: 1;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(26, 47, 110, 0.4);
  transition: opacity 600ms ease, transform 600ms ease;
}
.copied.out {
  opacity: 0;
  transform: translate(-50%, -8px);
}

.event-gallery {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fade-up 480ms ease both;
}
.event-gallery:nth-of-type(2) {
  animation-delay: 90ms;
}
.event-gallery:nth-of-type(3) {
  animation-delay: 180ms;
}
.event-gallery:nth-of-type(4) {
  animation-delay: 270ms;
}
.event-gallery:nth-of-type(5) {
  animation-delay: 360ms;
}
.event-gallery:nth-of-type(6) {
  animation-delay: 450ms;
}
.event-gallery:nth-of-type(7) {
  animation-delay: 540ms;
}
.event-gallery:nth-of-type(8) {
  animation-delay: 630ms;
}
.event-gallery h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sofia);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.event-gallery h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(var(--light-blue), var(--sky-strong));
  box-shadow: 0 0 10px rgba(26, 47, 110, 0.45);
  flex: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.gallery .item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 12, 24, 0.55);
  aspect-ratio: 1;
  transition: opacity 420ms ease, transform 420ms ease, box-shadow 200ms ease;
}
.gallery .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 400ms ease;
}
.gallery .item:hover {
  box-shadow: 0 0 0 1px rgba(26, 47, 110, 0.4), 0 10px 30px rgba(0, 0, 0, 0.45);
}
.gallery .item:hover img {
  transform: scale(1.05);
}
.gallery .item .photo {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery .item .actions {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  padding: 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  z-index: 2;
}
.gallery .item .actions .icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
}
.gallery .item .actions .icon.move {
  cursor: grab;
  touch-action: none;
}
.gallery .item .actions .icon.danger {
  color: var(--red);
}
.gallery .item .actions svg {
  width: 15px;
  height: 15px;
}
@media (hover: hover) {
  .gallery .item .actions {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .gallery .item:hover .actions, .gallery .item:focus-within .actions {
    opacity: 1;
    transform: none;
  }
}

.photo[data-type] {
  position: relative;
  min-height: 170px;
  border-radius: 10px;
  background: rgba(8, 12, 24, 0.55);
  overflow: hidden;
  display: flex;
}
.photo[data-type] .upload, .photo[data-type] .upload-workshop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  text-align: center;
  border: 1px dashed var(--stroke);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}
.photo[data-type] .upload.hover, .photo[data-type] .upload:hover, .photo[data-type] .upload-workshop.hover, .photo[data-type] .upload-workshop:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(26, 47, 110, 0.08);
}
.photo[data-type] .img {
  width: 100%;
}
.photo[data-type] .img img {
  width: 100%;
  height: auto;
}
.photo[data-type] .delete, .photo[data-type] .delete-workshop-photo {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--red);
  cursor: pointer;
}
.photo[data-type] .delete svg, .photo[data-type] .delete-workshop-photo svg {
  width: 16px;
  height: 16px;
}

.progress {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(2, 6, 20, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  --width: 0%;
}
.progress .percent {
  font-family: var(--sofia);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.progress .percent svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.progress .bar, .progress .bar-container {
  width: 70%;
  height: 5px;
  border-radius: 999px;
  background: var(--glass-strong);
  position: relative;
  overflow: hidden;
}
.progress .bar::after, .progress .bar-container::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--width);
  background: linear-gradient(90deg, var(--sky-strong), var(--blue));
  border-radius: inherit;
  transition: width 150ms ease;
  box-shadow: 0 0 10px rgba(26, 47, 110, 0.5);
}
.progress .generating {
  font-size: 0.6875rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 0 6px;
}

.gallery .progress {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.content.program .items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workshop {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.workshop .top {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px var(--pad);
  border-bottom: 1px solid var(--stroke);
}
.workshop .top .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.workshop .top .icon:hover {
  color: var(--blue);
  border-color: rgba(26, 47, 110, 0.4);
  background: rgba(26, 47, 110, 0.1);
}
.workshop .top .icon svg {
  width: 16px;
  height: 16px;
}
.workshop .top .delete-workshop {
  color: var(--red);
}
.workshop .top .delete-workshop:hover {
  color: var(--red) !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
  background: rgba(248, 113, 113, 0.1) !important;
}
.workshop > .photo {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.workshop > .photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.workshop > .photo svg {
  width: 48px;
  height: 48px;
  margin: 30px auto;
  color: var(--ink-muted);
}
.workshop .data {
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.workshop h2.title {
  font-family: var(--sofia);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.workshop .by {
  font-size: 0.9rem;
  color: var(--blue);
}
.workshop .dates {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.workshop .price {
  font-family: var(--sofia);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.registrations h3.title {
  margin: 10px 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.no-registrations {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.registration {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 13px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-left-width: 3px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.registration.payed {
  border-left-color: var(--success);
}
.registration.notpayed {
  border-left-color: var(--red);
}
.registration .name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
}
.registration .name span:first-child {
  font-size: 1rem;
  font-weight: 700;
}
.registration .date {
  font-size: 11px;
  color: var(--ink-muted);
}
.registration .actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.registration .actions select {
  flex: 1;
  height: 38px;
  min-height: 38px;
  width: auto;
  padding: 0 2.4rem 0 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--color);
  box-shadow: 0px 0px 0px 1px rgba(100, 140, 240, 0.4);
  font-family: var(--sofia);
  font-size: 0.9rem;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}
.registration .delete-registration {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.registration .delete-registration:hover {
  background: rgba(248, 113, 113, 0.18);
}
.registration .delete-registration svg {
  width: 16px;
  height: 16px;
}

.button.add-workshop, .button.back {
  align-self: flex-start;
}

form.columns .data {
  display: flex;
  flex-direction: column;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 0 0;
  background: transparent;
}
.overlay .content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88svh;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1.15), opacity 280ms ease;
  will-change: transform, opacity;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  background: linear-gradient(160deg, rgba(26, 47, 110, 0.14), rgba(15, 30, 75, 0.07));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding: 28px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
  display: block;
}
.overlay .content::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--stroke);
}
.overlay .content.in {
  opacity: 1;
  transform: translateZ(0);
}
.overlay h3 {
  font-family: var(--sofia);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--light-blue);
  margin-bottom: 1rem;
  padding-right: 40px;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 0.85rem;
}
.overlay p {
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.overlay .close {
  position: absolute;
  top: 18px;
  right: var(--pad);
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  color: var(--color);
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  z-index: 2;
}
.overlay .close::before {
  display: none;
}
.overlay .close:hover {
  background: rgba(26, 47, 110, 0.18);
  box-shadow: none;
  transform: none;
  filter: none;
}
.overlay .close svg {
  width: 16px;
  height: 16px;
  fill: var(--ink-muted);
}
.overlay .group {
  margin-bottom: 4px;
}
.overlay label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-muted);
}

body.login {
  padding: 0;
}
body.login footer {
  display: none;
}

body:has(.login-block) {
  padding: 0;
}
body:has(.login-block) footer {
  display: none;
}

.login-block {
  margin: auto;
  padding: 2rem 1.5rem;
  padding-top: calc(56px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(420px, 100% - 3rem);
  position: relative;
  overflow: visible;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fade-up 600ms ease both;
}
.login-block .header {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
}
.login-block .header img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(26, 47, 110, 0.5), 0 0 0 6px rgba(26, 47, 110, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.login-block form {
  width: 100%;
  gap: 1rem;
}
.login-block form h2 {
  font-family: var(--sofia);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
}

footer {
  margin-top: auto;
  padding: 1rem var(--pad);
  background: rgba(8, 12, 24, 0.6);
  border-top: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(232, 237, 248, 0.35);
  position: relative;
  z-index: 1;
}
footer .copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
footer a {
  color: var(--blue);
}

.toast {
  position: fixed;
  bottom: calc(var(--dock-space) + 10px);
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 2500;
  padding: 11px 20px;
  font-family: var(--sofia);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(8, 12, 24, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--shadow), 0 0 20px -6px rgba(26, 47, 110, 0.4);
  opacity: 0;
  max-width: calc(100vw - 40px);
  text-align: center;
  transition: opacity 200ms ease, transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
  pointer-events: none;
}
.toast.in {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: var(--shadow), 0 0 20px -6px rgba(248, 113, 113, 0.4);
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  30%, 60% {
    opacity: 1;
  }
}
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-down {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(26, 47, 110, 0.2);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 26px rgba(26, 47, 110, 0.4);
  }
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(4%, -3%, 0) scale(1.06);
  }
}
@keyframes loading-slide {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 250% 0;
  }
}
@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (min-width: 1024px) {
  :root {
    --topbar-h: 70px;
    --dock-space: 0px;
  }
  body {
    padding-bottom: 28px;
  }
  .hide-on-mobile {
    display: flex;
  }
  .topbar {
    padding-left: 2rem;
    padding-right: 2rem;
    gap: 16px;
  }
  .topbar .event-selection {
    max-width: 300px;
    margin-left: auto;
  }
  .topbar a.off {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0 16px;
    border-radius: 10px;
    gap: 8px;
  }
  .topbar a.off span {
    display: inline;
    font-family: var(--sofia);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  header.tabs {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + (var(--topbar-h) - 44px) / 2);
    bottom: auto;
    left: 2rem;
    right: auto;
    transform: none;
    height: 44px;
    width: auto;
    max-width: 70vw;
    padding: 5px;
    gap: 2px;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.3), rgba(8, 12, 24, 0.18));
    border: 1px solid var(--stroke);
    border-radius: 12px;
    box-shadow: none;
    animation: fade-down 500ms ease both;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  header.tabs::-webkit-scrollbar {
    display: none;
  }
  header.tabs a {
    flex: 0 0 auto;
    min-width: 0;
    flex-direction: row;
    gap: 0;
    padding: 0 12px;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
  }
  header.tabs a .icon {
    display: flex;
  }
  header.tabs a span {
    display: none;
  }
  header.tabs a.active {
    box-shadow: 0 4px 16px rgba(26, 47, 110, 0.4);
  }
  .content {
    max-width: 900px;
    padding: 2.5rem 2rem;
  }
  .content.presenters {
    max-width: 1100px;
  }
  .presenters-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
  }
  .hero {
    gap: 16px;
  }
  .hero .stat {
    padding: 24px 22px 22px;
  }
  .hero .stat .value {
    font-size: 2.375rem;
  }
  .hero .stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow), var(--glow);
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  form.columns {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
  }
  .tickets-tr .td.actions {
    flex: 0 0 190px;
    padding-top: 0;
  }
  .order-items .ticket-row {
    flex-direction: row;
    align-items: baseline;
    gap: 4px 12px;
    flex-wrap: wrap;
  }
  .toast {
    bottom: 28px;
  }
  .overlay {
    align-items: center;
    padding: 40px 20px;
  }
  .overlay .content {
    border-radius: 16px;
    border: 1px solid var(--stroke);
    padding: 26px 22px;
  }
  .overlay .content::before {
    display: none;
  }
}
@media (min-width: 1281px) {
  header.tabs a {
    gap: 8px;
    padding: 0 14px;
  }
  header.tabs a .icon {
    display: none;
  }
  header.tabs a span {
    display: block;
  }
}
html[data-theme=light] {
  --color: #111827;
  --ink-muted: #6b7280;
  --yellow: #d97706;
  --dark-yellow: #92400e;
  --blue: #1a2f6e;
  --light-blue: #2d5abf;
  --sky-strong: #0f1e4a;
  --red: #dc2626;
  --success: #16a34a;
  --bgr: #ffffff;
  --glass: rgba(0, 0, 0, 0.03);
  --glass-strong: rgba(0, 0, 0, 0.06);
  --stroke: rgba(0, 0, 0, 0.10);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
  --glow: 0 6px 24px rgba(26, 47, 110, 0.28);
  color-scheme: light;
}
html[data-theme=light] body {
  background-image: none;
}
html[data-theme=light] body::before {
  display: none;
}
html[data-theme=light] .card, html[data-theme=light] .table, html[data-theme=light] .hero .stat, html[data-theme=light] table.booked, html[data-theme=light] table.clients,
html[data-theme=light] .presenter, html[data-theme=light] .event-gallery, html[data-theme=light] .workshop, html[data-theme=light] .login-block {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme=light] input, html[data-theme=light] select, html[data-theme=light] textarea {
  color-scheme: light;
}
html[data-theme=light] input::-moz-placeholder, html[data-theme=light] textarea::-moz-placeholder {
  color: var(--ink-muted);
}
html[data-theme=light] input::placeholder, html[data-theme=light] textarea::placeholder {
  color: var(--ink-muted);
}
html[data-theme=light] select option, html[data-theme=light] select optgroup {
  background-color: #ffffff;
  color: var(--color);
}
html[data-theme=light] input:-webkit-autofill, html[data-theme=light] input:-webkit-autofill:hover, html[data-theme=light] input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f9fafb inset !important;
  -webkit-text-fill-color: var(--color) !important;
  caret-color: var(--color);
}
html[data-theme=light] ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
}
html[data-theme=light] .topbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.35));
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
html[data-theme=light] .topbar .event-selection select {
  background-color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
html[data-theme=light] header.tabs {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.35));
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(0, 0, 0, 0.04);
}
html[data-theme=light] header.tabs a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--blue);
}
html[data-theme=light] header.tabs a.active {
  box-shadow: none;
}
html[data-theme=light] footer {
  background: rgba(248, 250, 252, 0.8);
  border-top-color: rgba(0, 0, 0, 0.08);
  color: rgba(17, 24, 39, 0.38);
}
html[data-theme=light] .row input[type=text], html[data-theme=light] .row input[type=password], html[data-theme=light] .row input[type=date], html[data-theme=light] .row input:not([type]), html[data-theme=light] .row textarea, html[data-theme=light] form .row input[type=text], html[data-theme=light] form .row input[type=password], html[data-theme=light] form .row input[type=date], html[data-theme=light] form .row input:not([type]), html[data-theme=light] form .row textarea {
  background-color: #f9fafb;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
}
html[data-theme=light] .row input[type=text]:focus, html[data-theme=light] .row input[type=password]:focus, html[data-theme=light] .row input[type=date]:focus, html[data-theme=light] .row input:not([type]):focus, html[data-theme=light] .row textarea:focus, html[data-theme=light] form .row input[type=text]:focus, html[data-theme=light] form .row input[type=password]:focus, html[data-theme=light] form .row input[type=date]:focus, html[data-theme=light] form .row input:not([type]):focus, html[data-theme=light] form .row textarea:focus {
  background-color: #ffffff;
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.2);
}
html[data-theme=light] .row input[type=text].invalid, html[data-theme=light] .row input[type=password].invalid, html[data-theme=light] .row input[type=date].invalid, html[data-theme=light] .row input:not([type]).invalid, html[data-theme=light] .row textarea.invalid, html[data-theme=light] form .row input[type=text].invalid, html[data-theme=light] form .row input[type=password].invalid, html[data-theme=light] form .row input[type=date].invalid, html[data-theme=light] form .row input:not([type]).invalid, html[data-theme=light] form .row textarea.invalid {
  box-shadow: 0px 0px 0px 1px var(--red), 0 0 12px rgba(220, 38, 38, 0.18) !important;
}
html[data-theme=light] .row select, html[data-theme=light] form .row select {
  background-color: #f9fafb;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}
html[data-theme=light] .row select:focus, html[data-theme=light] form .row select:focus {
  background-color: #ffffff;
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.2);
}
html[data-theme=light] .overlay .content {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.38));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22), 0 12px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
html[data-theme=light] .login-block .header img {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html[data-theme=light] .overlay .close:hover {
  background: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}
html[data-theme=light] .ts-wrapper.single .ts-control,
html[data-theme=light] .ts-wrapper.single.input-active .ts-control {
  background-color: #f9fafb !important;
  color: var(--color) !important;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
}
html[data-theme=light] .ts-control > input {
  color: var(--color) !important;
}
html[data-theme=light] .ts-wrapper.single.focus .ts-control {
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.2) !important;
}
html[data-theme=light] .ts-wrapper .ts-dropdown {
  background: #ffffff !important;
  color: var(--color) !important;
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme=light] .ts-wrapper .ts-dropdown .option.active {
  background: rgba(0, 0, 0, 0.07);
  color: var(--color);
}
html[data-theme=light] .ts-wrapper .ts-dropdown .option.selected {
  background: rgba(26, 47, 110, 0.12);
  color: var(--color);
}
html[data-theme=light] .presenter .photo {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme=light] .presenter .photo svg {
  fill: rgba(0, 0, 0, 0.28);
}
html[data-theme=light] .presenter table, html[data-theme=light] .presenter table[border] {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme=light] .photo[data-type] {
  background: rgba(0, 0, 0, 0.04);
}
html[data-theme=light] .photo[data-type] .upload, html[data-theme=light] .photo[data-type] .upload-workshop {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ink-muted);
}
html[data-theme=light] .photo[data-type] .upload:hover, html[data-theme=light] .photo[data-type] .upload-workshop:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(26, 47, 110, 0.06);
}
html[data-theme=light] input.search, html[data-theme=light] .search-wrap input, html[data-theme=light] .tickets-container input[type=text] {
  background-color: #f9fafb;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
}
html[data-theme=light] input.search:focus, html[data-theme=light] .search-wrap input:focus, html[data-theme=light] .tickets-container input[type=text]:focus {
  background-color: #ffffff;
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.2);
}
html[data-theme=light] .tickets-tr .td.actions select,
html[data-theme=light] .registration .actions select,
html[data-theme=light] table.clients select {
  background-color: #f9fafb;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
}
html[data-theme=light] .client-sort-select, html[data-theme=light] .order-sort-select {
  background-color: #f9fafb;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.12);
  color-scheme: light;
  color: var(--color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2f6e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4Z'/%3E%3C/svg%3E");
}
html[data-theme=light] .client-sort-select:focus, html[data-theme=light] .order-sort-select:focus {
  background-color: #fff;
  box-shadow: 0px 0px 0px 1px var(--blue), 0 0 12px rgba(26, 47, 110, 0.2);
}
html[data-theme=light] button.white:hover, html[data-theme=light] button.ghost:hover,
html[data-theme=light] .button.white:hover, html[data-theme=light] .button.ghost:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  filter: none !important;
}
html[data-theme=light] .spinner {
  border-color: rgba(0, 0, 0, 0.12);
  border-top-color: var(--blue);
  box-shadow: none;
}
html[data-theme=light] .loading-bar {
  box-shadow: none;
}
html[data-theme=light] .toast {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color);
}

.theme-cycle-btn {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  box-shadow: none;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, color 200ms ease;
}
.theme-cycle-btn::before {
  display: none;
}
.theme-cycle-btn:hover {
  background: rgba(26, 47, 110, 0.15);
  color: var(--light-blue);
}
.theme-cycle-btn:active {
  transform: scale(0.92);
}
.theme-cycle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}/*# sourceMappingURL=style.css.map */
/* ---------- CKEditor 5 (.editor) — match the admin dark theme ---------- */
.ck.ck-editor { width: 100%; }
.ck.ck-editor__main > .ck-editor__editable { min-height: 150px; }
.ck-editor__editable_inline { padding: 0 1rem !important; }
.row:has(> .ck.ck-editor) label,
.row:has(> .ck.ck-editor) > label {
  position: static;
  transform: none;
  padding: 0 0 6px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
html:not([data-theme=light]) .ck.ck-editor__main > .ck-editor__editable {
  background: rgba(8, 12, 24, 0.55) !important;
  color: var(--color) !important;
  border-color: var(--stroke) !important;
  box-shadow: none !important;
}
html:not([data-theme=light]) .ck.ck-editor__main > .ck-editor__editable.ck-focused {
  border-color: rgba(100, 140, 240, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(100, 140, 240, 0.4) !important;
}
html:not([data-theme=light]) .ck.ck-toolbar {
  background: rgba(8, 12, 24, 0.78) !important;
  border-color: var(--stroke) !important;
}
html:not([data-theme=light]) .ck.ck-toolbar .ck-button,
html:not([data-theme=light]) .ck.ck-toolbar .ck-button .ck-button__label,
html:not([data-theme=light]) .ck.ck-toolbar .ck-icon { color: var(--color) !important; }
html:not([data-theme=light]) .ck.ck-toolbar .ck-icon * { fill: currentColor; }
html:not([data-theme=light]) .ck.ck-button:not(.ck-disabled):hover,
html:not([data-theme=light]) .ck.ck-button.ck-on {
  background: rgba(255, 255, 255, 0.10) !important;
  color: var(--color) !important;
}
html:not([data-theme=light]) .ck.ck-dropdown__panel,
html:not([data-theme=light]) .ck.ck-list {
  background: #0b1020 !important;
  border-color: var(--stroke) !important;
  color: var(--color) !important;
}
html:not([data-theme=light]) .ck.ck-list__item .ck-button.ck-on,
html:not([data-theme=light]) .ck.ck-list__item .ck-button:hover:not(.ck-disabled) {
  background: rgba(255, 255, 255, 0.10) !important;
  color: var(--color) !important;
}
html:not([data-theme=light]) .ck.ck-editor__editable a { color: #7aa2ff !important; }
html:not([data-theme=light]) .ck.ck-editor__editable blockquote { border-left-color: var(--stroke) !important; }


/* two short fields side by side (used on the program form for date/time pairs) */
.group.pair { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
.group.pair > .row { flex: 1 1 45%; min-width: 200px; }

