:root {
  --nova-font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nova-ink: #17202a;
  --nova-ink-soft: #354052;
  --nova-wine: #76132c;
  --nova-wine-dark: #4d0d1f;
  --nova-wine-deep: #5f0f23;
  --nova-gold: #c99a3f;
  --nova-gold-soft: #fbf5e8;
  --nova-academic: #0d5670;
  --nova-ivory: #f5f7fa;
  --nova-paper: #ffffff;
  --nova-stone: #e5e9ef;
  --nova-muted: #687385;
  --nova-success: #27705f;
  --nova-danger: #b4233c;
  --nova-blue: #0d5670;
  --nova-radius: 10px;
  --nova-radius-sm: 8px;
  --nova-shadow: 0 24px 70px rgba(23, 32, 42, 0.11);
  --nova-shadow-sm: 0 14px 34px rgba(23, 32, 42, 0.07);
  --nova-shadow-xs: 0 8px 20px rgba(23, 32, 42, 0.045);
  --nova-focus: 0 0 0 4px rgba(201, 154, 63, 0.2);
  --nova-transition: 160ms ease;
}

html,
body {
  font-family: var(--nova-font) !important;
  background: var(--nova-ivory);
  color: var(--nova-ink);
  font-size: 15px;
  letter-spacing: 0;
}

a {
  transition: color var(--nova-transition), background-color var(--nova-transition), border-color var(--nova-transition), box-shadow var(--nova-transition);
}

a:hover {
  text-decoration: none;
}

::selection {
  background: rgba(118, 19, 44, 0.18);
}

body.eventic-login-page {
  min-height: 100dvh;
  background:
    linear-gradient(rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(118, 19, 44, 0.08), transparent 42%),
    var(--nova-ivory);
  background-size: 28px 28px, 28px 28px, auto;
}

.eventic-login-page .account-content {
  align-items: center;
  display: flex;
  min-height: 100dvh;
  padding: 26px 0;
}

.eventic-login-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) 430px;
  margin: 0 auto;
  padding: 0 18px;
  width: min(1180px, 100%);
}

.eventic-login-hero,
.eventic-login-card {
  border-radius: 14px;
  box-shadow: var(--nova-shadow);
}

.eventic-login-hero {
  background:
    linear-gradient(145deg, rgba(118, 19, 44, 0.98), rgba(77, 13, 31, 0.98)),
    var(--nova-wine);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.eventic-login-hero::before {
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  height: 440px;
  position: absolute;
  right: -90px;
  top: -120px;
  transform: rotate(24deg);
  width: 260px;
}

.eventic-login-hero::after {
  background:
    linear-gradient(90deg, rgba(201, 154, 63, 0.96), rgba(201, 154, 63, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  content: "";
  height: 380px;
  position: absolute;
  right: -18px;
  top: 92px;
  transform: rotate(-6deg);
  width: 210px;
}

.eventic-login-brand,
.eventic-login-hero > div:last-child {
  position: relative;
  z-index: 1;
}

.eventic-login-brand img {
  background: #fff;
  border-radius: 10px;
  height: 58px;
  padding: 7px 10px;
  width: auto;
}

.eventic-login-kicker,
.eventic-login-form-kicker,
.eventic-eyebrow {
  color: var(--nova-gold);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.eventic-login-kicker {
  color: #f3d99d;
}

.eventic-login-hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 5.1vw, 5.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: .96;
  margin: 0 0 22px;
  max-width: 780px;
}

.eventic-login-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
  max-width: 610px;
}

.eventic-login-proof {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.eventic-login-proof span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 58px;
  padding: 14px;
}

.eventic-login-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 233, 239, 0.96);
  display: flex;
  padding: 34px;
}

.eventic-login-card .account-box,
.eventic-login-card .account-wrapper {
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.eventic-access-tabs {
  background: #f5f7fa;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 26px;
  padding: 5px;
}

.eventic-access-tab {
  align-items: center;
  border-radius: 8px;
  color: var(--nova-muted);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  text-decoration: none;
}

.eventic-access-tab.is-active {
  background: var(--nova-wine);
  color: #fff;
}

.eventic-login-card .account-title {
  color: var(--nova-ink);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 10px;
  text-align: left;
}

.eventic-login-card .account-subtitle {
  color: var(--nova-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: left;
}

.eventic-login-card .form-label,
.eventic-filter-card .form-label,
.eventic-event-form .form-label {
  color: var(--nova-ink-soft);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.eventic-filter-card .form-group,
.eventic-test-mail-form .form-group,
.eventic-checkout-row .form-group,
.eventic-cash-helper .form-group {
  margin-bottom: 0 !important;
}

.eventic-login-card .form-control,
.eventic-filter-card .form-control,
.eventic-filter-card .form-select,
.eventic-event-form .form-control,
.eventic-event-form .form-select {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-ink);
  font-weight: 600;
  min-height: 50px;
}

.eventic-filter-card .btn {
  align-self: end;
  min-height: 50px;
  width: 100%;
}

.eventic-login-card .form-control:focus,
.form-control:focus,
.form-select:focus,
.eventic-access-tab:focus-visible {
  border-color: var(--nova-gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 63, 0.18);
  outline: 0;
}

.btn,
.eventic-actions .btn {
  align-items: center;
  border-radius: 8px;
  border-width: 1px;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  margin-bottom: 0;
  min-height: 44px;
  padding: 0 16px;
  transition: transform var(--nova-transition), box-shadow var(--nova-transition), background-color var(--nova-transition), border-color var(--nova-transition), color var(--nova-transition);
}

.eventic-filter-card form,
.eventic-test-mail-form,
.eventic-event-form {
  margin-bottom: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
.page-link:focus,
.eventic-icon-btn:focus-visible,
.nova-icon-action:focus-visible,
.nova-nav-link:focus-visible {
  box-shadow: var(--nova-focus);
  outline: 0;
}

.btn-sm {
  min-height: 38px;
  padding: 0 12px;
}

.btn-primary,
.eventic-shell .btn-primary,
.eventic-staff-shell .btn-primary,
.eventic-login-card .account-btn {
  background: var(--nova-wine) !important;
  border-color: var(--nova-wine) !important;
  box-shadow: 0 12px 24px rgba(118, 19, 44, 0.22);
  color: #fff !important;
}

.btn-primary:hover,
.eventic-shell .btn-primary:hover,
.eventic-staff-shell .btn-primary:hover {
  background: var(--nova-wine-dark) !important;
  border-color: var(--nova-wine-dark) !important;
}

.btn-outline-primary,
.eventic-shell .btn-outline-primary,
.eventic-staff-shell .btn-outline-primary {
  background: #fff;
  border-color: var(--nova-stone);
  color: var(--nova-ink);
}

.btn-outline-primary:hover,
.eventic-shell .btn-outline-primary:hover,
.eventic-staff-shell .btn-outline-primary:hover,
.btn-outline-secondary:hover,
.eventic-shell .btn-outline-secondary:hover,
.eventic-staff-shell .btn-outline-secondary:hover {
  background: var(--nova-gold-soft);
  border-color: rgba(201, 154, 63, 0.44);
  color: var(--nova-wine);
}

.btn-dark,
.btn-secondary,
.eventic-shell .btn-dark,
.eventic-shell .btn-secondary {
  background: var(--nova-ink) !important;
  border-color: var(--nova-ink) !important;
  color: #fff !important;
}

.badge,
.eventic-status,
.eventic-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1;
  min-height: 28px;
  padding: 0 10px;
  white-space: nowrap;
}

.badge.bg-success,
.badge-success,
.eventic-status.is-active {
  background: #dcfce7 !important;
  color: #166534 !important;
}

.badge.bg-warning,
.badge-warning {
  background: #fff7ed !important;
  color: #9a3412 !important;
}

.badge.bg-light,
.badge-light,
.eventic-status.is-muted {
  background: #f1f5f9 !important;
  color: var(--nova-muted) !important;
}

.badge.bg-danger,
.badge-danger {
  background: #ffe4e6 !important;
  color: #9f1239 !important;
}

.eventic-link {
  color: var(--nova-gold);
  font-weight: 700;
  text-decoration: none;
}

.eventic-home-shell {
  align-items: center;
  display: flex;
  min-height: 100dvh;
  padding: 24px;
}

.eventic-home-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(201, 154, 63, 0.24), transparent 26%),
    linear-gradient(145deg, rgba(118, 19, 44, 0.98), rgba(77, 13, 31, 0.98));
  border-radius: 16px;
  box-shadow: var(--nova-shadow);
  color: #fff;
  display: grid;
  gap: 34px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
  width: min(1080px, 100%);
}

.eventic-home-hero::after {
  background:
    linear-gradient(90deg, rgba(201, 154, 63, 0.95), rgba(201, 154, 63, 0.24)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 18px);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  content: "";
  height: 360px;
  position: absolute;
  right: -84px;
  top: 80px;
  transform: rotate(-7deg);
  width: 220px;
}

.eventic-home-hero > * {
  position: relative;
  z-index: 1;
}

.eventic-home-hero h1 {
  color: #fff;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: .98;
  margin: 0 0 20px;
  max-width: 820px;
}

.eventic-home-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}

.eventic-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eventic-home-actions .btn-outline-primary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

body.eventic-admin-page,
.page-wrapper,
.content.container-fluid {
  background:
    linear-gradient(rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(118, 19, 44, 0.055), transparent 260px),
    var(--nova-ivory) !important;
  background-size: 28px 28px, 28px 28px, auto;
}

.nova-admin-body {
  min-height: 100dvh;
}

.nova-admin-layout {
  background:
    linear-gradient(rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(118, 19, 44, 0.08), transparent 34%),
    var(--nova-ivory);
  background-size: 28px 28px, 28px 28px, auto;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100dvh;
}

.nova-sidebar {
  background: var(--nova-wine-deep);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  min-height: 100dvh;
  padding: 24px 16px;
  position: sticky;
  top: 0;
}

.nova-sidebar-brand {
  margin-bottom: 34px;
  padding: 0 8px;
}

.nova-sidebar-brand img {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  height: 62px;
  padding: 9px 12px;
  width: auto;
}

.nova-nav {
  display: grid;
  gap: 6px;
}

.nova-nav-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 18px 12px 6px;
  text-transform: uppercase;
}

.nova-nav-link {
  align-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  font-weight: 700;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  text-decoration: none;
}

.nova-nav-link i {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nova-nav-link:hover,
.nova-nav-link.active {
  background: rgba(201, 154, 63, 0.22);
  color: #fff;
}

.nova-workspace {
  min-width: 0;
}

.nova-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--nova-stone);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nova-topbar > div:first-child span,
.nova-panel-heading span {
  color: var(--nova-gold);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.nova-topbar > div:first-child strong {
  color: var(--nova-ink);
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nova-topbar > div:first-child span {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.nova-topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nova-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  width: min(280px, 28vw);
}

.nova-search i {
  color: var(--nova-muted);
}

.nova-search input {
  background: transparent;
  border: 0;
  color: var(--nova-ink);
  font-weight: 700;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.nova-user-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-ink);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
}

.nova-icon-action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 46px;
}

.nova-icon-action:hover {
  border-color: var(--nova-gold);
  color: var(--nova-gold);
}

.nova-content {
  padding: 30px;
}

.nova-page-context {
  margin-bottom: 20px;
}

.nova-page-context h1 {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
}

.nova-dashboard {
  display: grid;
  gap: 22px;
}

.nova-dashboard-hero {
  align-items: end;
  background:
    radial-gradient(circle at 80% 30%, rgba(201, 154, 63, 0.24), transparent 25%),
    linear-gradient(140deg, rgba(118, 19, 44, 0.98), rgba(77, 13, 31, 0.98)),
    var(--nova-wine);
  border-radius: 14px;
  box-shadow: var(--nova-shadow);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.nova-dashboard-hero::before {
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
  height: 300px;
  position: absolute;
  right: -56px;
  top: -110px;
  transform: rotate(22deg);
  width: 180px;
}

.nova-dashboard-hero::after {
  background:
    linear-gradient(135deg, rgba(201, 154, 63, 0.96), rgba(183, 139, 45, 0.64)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  bottom: -70px;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  content: "";
  height: 240px;
  position: absolute;
  right: 12%;
  transform: rotate(-8deg);
  width: 160px;
}

.nova-dashboard-hero > * {
  position: relative;
  z-index: 1;
}

.nova-dashboard-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: .98;
  margin: 0 0 18px;
  max-width: 820px;
}

.nova-dashboard-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 660px;
}

.nova-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nova-kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nova-kpi-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  box-shadow: var(--nova-shadow-sm);
  display: flex;
  gap: 16px;
  min-height: 118px;
  padding: 20px;
}

.nova-kpi-card .nova-kpi-icon {
  align-items: center;
  background: var(--nova-gold-soft);
  border: 1px solid #efe0bd;
  border-radius: 8px;
  color: var(--nova-gold);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.nova-kpi-card span:not(.nova-kpi-icon) {
  color: var(--nova-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nova-kpi-card strong {
  color: var(--nova-ink);
  display: block;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 4px 0;
}

.nova-kpi-card small {
  color: var(--nova-muted);
  font-size: 12px;
  font-weight: 700;
}

.nova-dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.nova-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  box-shadow: var(--nova-shadow-sm);
  min-width: 0;
  padding: 22px;
}

.nova-panel-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nova-panel-heading h2 {
  color: var(--nova-ink);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.04em;
  margin: 0;
}

.nova-soft-pill {
  align-items: center;
  background: var(--nova-gold-soft);
  border: 1px solid #efe0bd;
  border-radius: 999px;
  color: var(--nova-gold) !important;
  display: inline-flex !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  min-height: 34px;
  padding: 0 12px;
  text-transform: none !important;
  white-space: nowrap;
}

.nova-compact-events {
  display: grid;
  gap: 14px;
}

.nova-event-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  padding: 14px;
}

.nova-event-thumb {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #ffffff, #eef3f7);
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.nova-event-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nova-event-thumb span {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--nova-wine);
  display: inline-flex;
  font-size: 42px;
  font-weight: 700;
  height: 78px;
  justify-content: center;
  width: 78px;
}

.nova-event-row-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.nova-event-row-title h3 {
  color: var(--nova-ink);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin: 0;
}

.nova-event-row-body p {
  color: var(--nova-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 6px 0 10px;
}

.nova-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nova-event-meta span {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 999px;
  color: var(--nova-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
}

.nova-progress-line {
  background: #e5e9ef;
  border-radius: 999px;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.nova-progress-line span {
  background: linear-gradient(90deg, var(--nova-gold), var(--nova-success));
  display: block;
  height: 100%;
}

.nova-event-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nova-activity-list {
  display: grid;
  gap: 12px;
}

.nova-activity-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 12px;
}

.nova-activity-item > span {
  align-items: center;
  background: var(--nova-gold-soft);
  border-radius: 8px;
  color: var(--nova-gold);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.nova-activity-item strong,
.nova-activity-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nova-activity-item strong {
  color: var(--nova-ink);
  font-size: 14px;
}

.nova-activity-item small,
.nova-activity-item time {
  color: var(--nova-muted);
  font-size: 12px;
  font-weight: 700;
}

.eventic-app-header.header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--nova-stone);
  box-shadow: 0 8px 26px rgba(23, 32, 42, 0.05);
}

.eventic-app-header .header-left {
  background: #fff !important;
  border-right: 1px solid var(--nova-stone);
}

.eventic-admin-logo img {
  content: url("/assets/img/eventic-mark.svg");
  height: 42px;
  width: auto;
}

.eventic-app-header #toggle_btn {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.eventic-app-header .page-title-box h3,
.eventic-user-chip {
  color: var(--nova-ink);
}

.top-nav-search form {
  background: #fff !important;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  height: 46px;
}

.sidebar {
  background: var(--nova-wine-deep) !important;
}

.sidebar-menu .menu-title span {
  color: #a8a29e;
  font-size: 11px;
  letter-spacing: .08em;
}

.sidebar-menu ul li a {
  border-radius: 8px;
  color: #d6d3d1;
  display: flex;
  gap: 12px;
  margin: 4px 12px;
  min-height: 46px;
  padding: 12px 14px;
}

.sidebar-menu ul li a.active,
.sidebar-menu ul li a:hover {
  background: rgba(201, 154, 63, 0.22);
  color: #fff;
}

.eventic-shell {
  --eventic-primary: var(--nova-ink);
  --eventic-accent: var(--nova-gold);
  --eventic-ink: var(--nova-ink);
  --eventic-muted: var(--nova-muted);
  --eventic-border: var(--nova-stone);
  --eventic-bg: var(--nova-ivory);
  padding-bottom: 42px;
}

.eventic-pagebar {
  align-items: center;
  background: linear-gradient(135deg, var(--nova-wine), var(--nova-wine-dark));
  border-radius: 14px;
  color: #fff;
  margin-bottom: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.eventic-pagebar::after {
  background: rgba(201, 154, 63, 0.56);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  content: "";
  height: 180px;
  position: absolute;
  right: -60px;
  top: -70px;
  width: 180px;
}

.eventic-pagebar > * {
  position: relative;
  z-index: 1;
}

.eventic-pagebar .eventic-title,
.eventic-pagebar .eventic-subtitle {
  color: #fff;
}

.eventic-pagebar .eventic-eyebrow {
  color: #f3d99d;
}

.eventic-pagebar .btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--nova-ink) !important;
}

.eventic-pagebar .btn-outline-primary,
.eventic-pagebar .btn-outline-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.eventic-title {
  color: var(--nova-ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eventic-subtitle {
  color: var(--nova-muted);
  font-size: 15px;
  line-height: 1.6;
}

.eventic-card,
.eventic-kpi,
.eventic-event-card,
.eventic-staff-card,
.eventic-staff-hero {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  box-shadow: var(--nova-shadow-sm);
}

.eventic-card {
  padding: 22px;
}

.eventic-form-card {
  max-width: 760px;
}

.eventic-card-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.eventic-card-heading h2 {
  color: var(--nova-ink);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin: 0;
}

.eventic-card-heading p {
  color: var(--nova-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 6px 0 0;
}

.eventic-filter-card {
  padding: 18px;
}

.eventic-filter-grid {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) auto;
}

.eventic-form .input,
.eventic-card .input,
.eventic-filter-card .input {
  margin-bottom: 16px;
}

.eventic-form .input:last-child,
.eventic-card .input:last-child {
  margin-bottom: 0;
}

.form-label,
label {
  color: var(--nova-ink-soft);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-control,
.form-select,
textarea.form-control,
select.form-control {
  background-color: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-ink);
  font-size: 15px;
  font-weight: 650;
  min-height: 48px;
}

textarea.form-control {
  line-height: 1.55;
  min-height: 128px;
}

input[type="color"].form-control {
  min-height: 48px;
  padding: 6px;
}

.form-text,
.help-block,
.text-muted {
  color: var(--nova-muted) !important;
}

.input-group > .form-control {
  min-height: 46px;
}

.eventic-kpi {
  padding: 20px;
}

.eventic-kpi::before {
  background: linear-gradient(180deg, var(--nova-gold), var(--nova-success));
  border-radius: 999px;
  inset: 16px auto 16px 0;
  width: 4px;
}

.eventic-kpi-icon {
  background: var(--nova-gold-soft);
  border-color: #efe0bd;
  border-radius: 8px;
  color: var(--nova-gold);
  height: 48px;
  width: 48px;
}

.eventic-kpi-value {
  color: var(--nova-ink);
  font-size: 32px;
}

.eventic-event-cover,
.eventic-detail-cover {
  border-radius: 8px;
}

.eventic-event-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.eventic-event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px;
}

.eventic-event-thumb {
  aspect-ratio: 16 / 8.8;
  background: linear-gradient(135deg, #eef4fb, #f8fafc);
  border: 1px solid var(--nova-stone);
  border-radius: 9px;
  overflow: hidden;
  position: relative;
}

.eventic-event-cover {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.eventic-event-status {
  box-shadow: 0 10px 22px rgba(23, 32, 42, 0.12);
  position: absolute;
  right: 10px;
  top: 10px;
}

.eventic-event-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  padding: 16px 4px 0;
}

.eventic-event-name {
  color: var(--nova-ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 7px;
}

.eventic-event-name a {
  color: inherit;
}

.eventic-event-description {
  color: var(--nova-muted);
  display: -webkit-box;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.eventic-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.eventic-event-meta span {
  min-height: 30px;
}

.eventic-progress {
  color: var(--nova-ink);
}

.eventic-progress .progress {
  background: #e9eef5;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.eventic-progress .progress-bar {
  border-radius: 999px;
}

.eventic-event-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eventic-event-stats span {
  border-radius: 8px;
  display: block;
  min-height: 58px;
  padding: 10px;
}

.eventic-event-stats strong {
  color: var(--nova-ink);
  display: block;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 6px;
}

.eventic-event-stats span,
.eventic-event-stats span:last-child {
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
}

.eventic-event-cover-placeholder {
  background: linear-gradient(135deg, #ffffff, #eef3f7);
  border-color: var(--nova-stone);
  color: var(--nova-ink);
}

.eventic-event-cover-placeholder span {
  color: var(--nova-wine);
}

.eventic-status.is-active {
  background: #dcfce7;
  color: #166534;
}

.eventic-pill,
.eventic-event-meta span,
.eventic-event-stats span,
.eventic-staff-mini-stats span {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  color: var(--nova-muted);
}

.eventic-status,
.eventic-pill,
.eventic-event-meta span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  line-height: 1;
}

.eventic-event-actions {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) repeat(3, 46px);
  margin-top: auto;
}

.eventic-event-actions .btn {
  margin: 0;
}

.eventic-event-main-action {
  min-width: 0;
}

.eventic-icon-btn,
.eventic-event-actions .eventic-icon-btn,
.eventic-event-actions .btn.eventic-icon-btn {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center !important;
  line-height: 1;
  min-height: 46px;
  padding: 0 !important;
  width: 46px;
}

.eventic-icon-btn i,
.eventic-event-actions i,
.btn i,
.nova-icon-action i {
  align-items: center;
  display: inline-flex;
  height: 1em;
  justify-content: center;
  line-height: 1;
  margin: 0;
  text-align: center;
  width: 1em;
}

.eventic-event-main-action i {
  width: auto;
}

.eventic-detail-card {
  padding: 18px;
}

.eventic-detail-cover {
  aspect-ratio: 16 / 8.2;
  display: block;
  object-fit: cover;
  width: 100%;
}

.eventic-detail-meta,
.eventic-config-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eventic-detail-meta div,
.eventic-config-list div {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  min-width: 0;
  padding: 13px;
}

.eventic-detail-meta span,
.eventic-config-list span {
  color: var(--nova-muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.eventic-detail-meta strong,
.eventic-config-list strong {
  align-items: center;
  color: var(--nova-ink);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-width: 0;
}

.eventic-config-list {
  grid-template-columns: 1fr;
}

.eventic-config-list i {
  border: 1px solid rgba(23, 32, 42, 0.14);
  border-radius: 999px;
  display: inline-flex;
  height: 14px;
  width: 14px;
}

.eventic-ticket-preview {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  padding: 12px;
}

.eventic-ticket-preview img {
  border-radius: 8px;
  display: block;
  width: 100%;
}

.eventic-test-mail {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  padding: 12px;
}

.eventic-test-mail-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.eventic-test-mail-form .input {
  margin: 0;
}

.eventic-test-mail-form .form-label {
  color: var(--nova-ink);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 7px;
}

.eventic-test-mail-form .form-control {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-ink);
  font-weight: 700;
  min-height: 50px;
}

.eventic-test-mail-form .btn {
  align-self: end;
  box-shadow: none;
  min-height: 50px;
  padding-inline: 20px;
}

.eventic-test-mail-form .btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.eventic-test-mail-status {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--nova-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  grid-column: 1 / -1;
  line-height: 1.35;
  min-height: 34px;
  padding: 7px 10px;
  max-width: 100%;
  width: fit-content;
}

.eventic-test-mail-status:empty {
  display: none;
}

.eventic-test-mail-status.is-loading {
  background: #f8fafc;
  border-color: var(--nova-stone);
  color: var(--nova-muted);
}

.eventic-test-mail-status.is-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: var(--nova-success);
}

.eventic-test-mail-status.is-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--nova-danger);
}

.eventic-test-mail-status.is-loading i {
  animation: eventicSpin .9s linear infinite;
}

@keyframes eventicSpin {
  to {
    transform: rotate(360deg);
  }
}

.eventic-permission-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eventic-permission-summary span {
  background: var(--nova-gold-soft);
  border: 1px solid #efe0bd;
  border-radius: 999px;
  color: #7a5717;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  min-height: 26px;
  padding: 7px 9px;
}

.eventic-progress .progress-bar {
  background: linear-gradient(90deg, var(--nova-gold), var(--nova-success));
}

.eventic-table-wrap {
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  overflow: auto;
  max-width: 100%;
}

.eventic-table-wrap .table {
  margin: 0;
  min-width: max-content;
}

.eventic-table-wrap .table thead th,
.eventic-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid var(--nova-stone);
  color: var(--nova-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  padding: 14px 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.eventic-table-wrap .table tbody td,
.eventic-table tbody td {
  border-color: #edf1f5;
  color: var(--nova-ink-soft);
  font-size: 13px;
  font-weight: 650;
  padding: 14px 16px;
  vertical-align: middle;
}

.eventic-table-wrap .table tbody tr:hover td {
  background: #fbfcfe;
}

.eventic-table-wrap .table a {
  color: var(--nova-wine);
  font-weight: 850;
}

.eventic-table-footer {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
}

.eventic-table-footer > span,
.pagination {
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 700;
}

.pagination,
.eventic-table-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li,
.pagination .page-item,
.eventic-table-footer li {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span,
.page-link,
.eventic-table-footer li a,
.eventic-table-footer li span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px !important;
  color: var(--nova-ink);
  display: inline-flex;
  font-weight: 800;
  min-height: 38px;
  min-width: 38px;
  justify-content: center;
  padding: 0 12px;
}

.pagination .active a,
.pagination .active span,
.page-item.active .page-link {
  background: var(--nova-wine);
  border-color: var(--nova-wine);
  color: #fff;
}

.pagination .disabled a,
.pagination .disabled span,
.page-item.disabled .page-link,
.eventic-table-footer li.disabled a,
.eventic-table-footer li.disabled span {
  background: #f8fafc;
  color: var(--nova-muted);
  cursor: not-allowed;
  opacity: .65;
}

@media (max-width: 640px) {
  .eventic-table-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.eventic-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eventic-actions .btn-light,
.eventic-table .btn-light,
.table .btn-light {
  background: #fff;
  border: 1px solid var(--nova-stone);
  color: var(--nova-ink);
  height: 38px;
  min-height: 38px;
  padding: 0;
  width: 38px;
}

.eventic-ticket-actions-cell {
  min-width: 300px;
}

.eventic-ticket-resend {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(160px, 1fr) auto;
  margin-bottom: 8px;
}

.eventic-ticket-resend .input {
  margin: 0;
}

.eventic-ticket-resend .form-control-sm {
  min-height: 38px;
}

.eventic-inline-feedback {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  line-height: 1.35;
  padding: 8px 10px;
}

.eventic-inline-feedback[hidden] {
  display: none;
}

.eventic-inline-feedback.is-loading,
.eventic-inline-feedback.is-warning {
  background: #fff8eb;
  border-color: #f1d49e;
  color: #7a4b00;
}

.eventic-inline-feedback.is-success {
  background: #eefaf4;
  border-color: #bfe8d0;
  color: #135b36;
}

.eventic-inline-feedback.is-error {
  background: #fff1f2;
  border-color: #f1b8c2;
  color: #8a1230;
}

.eventic-ticket-resend-feedback {
  grid-column: 1 / -1;
}

.eventic-ticket-cancel,
.eventic-ticket-cancelled,
.eventic-ticket-delivery {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.eventic-ticket-cancelled {
  color: var(--nova-danger);
  font-weight: 800;
}

.eventic-empty {
  align-items: center;
  background:
    linear-gradient(rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
  border: 1px dashed #d8dee8;
  border-radius: 10px;
  color: var(--nova-muted);
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  min-height: 148px;
  padding: 24px;
  text-align: center;
}

.eventic-empty strong {
  color: var(--nova-ink);
  font-size: 18px;
  font-weight: 850;
}

.message,
.alert,
.eventic-alert {
  align-items: flex-start;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: var(--nova-shadow-xs);
  color: var(--nova-ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr) 36px;
  font-weight: 750;
  margin-bottom: 18px;
  padding: 14px;
}

.eventic-alert.hidden {
  display: none !important;
}

.eventic-alert-icon {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.eventic-alert-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 1px;
}

.eventic-alert-copy strong {
  color: currentColor;
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.eventic-alert-copy span {
  color: currentColor;
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.eventic-alert-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  opacity: .72;
  padding: 0;
  transition: background .16s ease, opacity .16s ease;
  width: 36px;
}

.eventic-alert-close:hover,
.eventic-alert-close:focus-visible {
  background: rgba(255, 255, 255, .56);
  opacity: 1;
}

.eventic-alert-close:focus-visible {
  box-shadow: var(--nova-focus);
  outline: 0;
}

.message.success,
.alert-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #14532d;
}

.message.success .eventic-alert-icon {
  background: #d1fae5;
  color: #047857;
}

.message.error,
.alert-danger,
.alert-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.message.error .eventic-alert-icon,
.alert-danger .eventic-alert-icon,
.alert-error .eventic-alert-icon {
  background: #ffe4e6;
  color: #be123c;
}

.message.warning,
.alert-warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.message.warning .eventic-alert-icon,
.alert-warning .eventic-alert-icon {
  background: #ffedd5;
  color: #c2410c;
}

.message.info,
.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.message.info .eventic-alert-icon,
.alert-info .eventic-alert-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.close,
.btn-close {
  border-radius: 8px;
  opacity: .72;
}

.eventic-staff-page {
  background:
    linear-gradient(rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 19, 44, 0.035) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(201, 154, 63, 0.14), transparent 30%),
    var(--nova-ivory);
  background-size: 28px 28px, 28px 28px, auto;
  min-height: 100dvh;
}

.eventic-staff-shell {
  margin: 0 auto;
  padding: 18px;
  width: min(940px, 100%);
}

.eventic-staff-header {
  align-items: center;
  background: rgba(95, 15, 35, 0.98);
  border-radius: 10px;
  box-shadow: var(--nova-shadow-sm);
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 76px;
  padding: 12px 16px;
  position: sticky;
  top: 12px;
  z-index: 10;
}

.eventic-staff-brand img {
  content: url("/assets/img/eventic-mark.svg");
  background: #fff;
  border-radius: 8px;
  height: 44px;
  padding: 6px 8px;
  width: auto;
}

.eventic-staff-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.eventic-staff-brand span,
.eventic-staff-brand strong {
  display: block;
}

.eventic-staff-brand span {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.eventic-staff-brand strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.eventic-staff-header .btn {
  flex: 0 0 auto;
}

.eventic-staff-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 154, 63, 0.26), transparent 28%),
    linear-gradient(135deg, var(--nova-wine), var(--nova-wine-dark));
  color: #fff;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.eventic-staff-hero::after {
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  content: "";
  height: 160px;
  position: absolute;
  right: -44px;
  top: -50px;
  transform: rotate(10deg);
  width: 140px;
}

.eventic-staff-hero > * {
  position: relative;
  z-index: 1;
}

.eventic-staff-hero h1 {
  color: #fff;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 10px;
}

.eventic-staff-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

.eventic-staff-list {
  display: grid;
  gap: 14px;
}

.eventic-staff-card {
  padding: 18px;
}

.eventic-staff-event-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.eventic-staff-event-head h2 {
  color: var(--nova-ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0;
}

.eventic-staff-event-head p {
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 750;
  margin: 6px 0 0;
}

.eventic-staff-mini-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eventic-staff-mini-stats span {
  border-radius: 8px;
  display: block;
  padding: 11px;
}

.eventic-staff-mini-stats strong {
  color: var(--nova-ink);
  display: block;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.eventic-staff-mini-stats span {
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
}

.eventic-staff-card-progress {
  margin-top: 14px;
}

.eventic-scan-shell {
  display: grid;
  gap: 14px;
}

.eventic-scan-result {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--nova-stone);
  border-radius: 12px;
  box-shadow: var(--nova-shadow-sm);
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 88px;
  padding: 12px;
}

.eventic-scan-result-icon {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.eventic-scan-result span {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eventic-scan-result strong {
  color: var(--nova-ink);
  display: block;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eventic-scan-result p {
  color: var(--nova-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 5px 0 0;
}

.eventic-scan-result.is-ready .eventic-scan-result-icon,
.eventic-scan-result.is-loading .eventic-scan-result-icon {
  background: var(--nova-gold-soft);
  color: var(--nova-gold);
}

.eventic-scan-result.is-valid {
  background: #ecfdf5;
  border-color: #86efac;
}

.eventic-scan-result.is-valid .eventic-scan-result-icon {
  background: #dcfce7;
  color: #166534;
}

.eventic-scan-result.is-duplicate,
.eventic-scan-result.is-hold {
  background: #fff7ed;
  border-color: #fed7aa;
}

.eventic-scan-result.is-duplicate .eventic-scan-result-icon,
.eventic-scan-result.is-hold .eventic-scan-result-icon {
  background: #ffedd5;
  color: #9a3412;
}

.eventic-scan-result.is-invalid,
.eventic-scan-result.is-wrong {
  background: #fff1f2;
  border-color: #fecdd3;
}

.eventic-scan-result.is-invalid .eventic-scan-result-icon,
.eventic-scan-result.is-wrong .eventic-scan-result-icon {
  background: #ffe4e6;
  color: #9f1239;
}

.eventic-scan-panel,
.eventic-ticket-result-card,
.eventic-manual-scan {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  box-shadow: var(--nova-shadow-sm);
  padding: 16px;
}

.eventic-scanner-toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-bottom: 14px;
}

.eventic-scanner-toolbar .btn,
.eventic-scanner-toolbar .form-select {
  min-height: 48px;
}

.eventic-scan-stage {
  background: #e8eef5;
  border-radius: 12px;
  height: clamp(340px, 58dvh, 560px);
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.eventic-scan-stage .eventic-scan-result {
  backdrop-filter: blur(12px);
  left: 12px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
}

#qr-reader {
  background: #0f172a;
  border-radius: 12px;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

#qr-reader video {
  border-radius: 12px;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.eventic-camera-help {
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 0;
}

.eventic-ticket-result-card {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eventic-ticket-result-card div {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  padding: 12px;
}

.eventic-ticket-result-card span,
.eventic-manual-scan label {
  color: var(--nova-muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.eventic-ticket-result-card strong {
  color: var(--nova-ink);
  display: block;
  font-size: 14px;
  font-weight: 850;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eventic-manual-scan {
  padding: 0;
}

.eventic-manual-scan summary {
  align-items: center;
  color: var(--nova-ink);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  gap: 9px;
  list-style: none;
  min-height: 52px;
  padding: 0 16px;
}

.eventic-manual-scan summary::-webkit-details-marker {
  display: none;
}

.eventic-manual-scan summary::after {
  color: var(--nova-muted);
  content: "+";
  font-size: 20px;
  font-weight: 850;
  margin-left: auto;
}

.eventic-manual-scan[open] summary::after {
  content: "-";
}

.eventic-manual-scan form {
  border-top: 1px solid var(--nova-stone);
  margin: 0;
  padding: 14px 16px 16px;
}

.eventic-register-entry,
.eventic-buyer-strip,
.eventic-checkout-toolbar,
.eventic-checkout-submit {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px;
}

.eventic-register-entry strong,
.eventic-buyer-strip strong {
  color: var(--nova-ink);
  display: block;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.eventic-register-entry p,
.eventic-buyer-strip p {
  color: var(--nova-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.eventic-buyer-strip {
  align-items: flex-start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  margin-bottom: 16px;
}

.eventic-checkout-row {
  align-items: end;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1.15fr) 44px;
  margin-bottom: 12px;
  padding: 12px;
  width: 100%;
}

.eventic-checkout-row > .input {
  margin: 0;
  min-width: 0;
}

.eventic-checkout-index {
  align-items: center;
  background: var(--nova-gold-soft);
  border: 1px solid #efe0bd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
}

.eventic-checkout-index span {
  color: #7a5717;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.eventic-checkout-index strong {
  color: var(--nova-wine);
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
}

.eventic-icon-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  color: var(--nova-danger);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: all var(--nova-transition);
  width: 44px;
}

.eventic-icon-button i,
.btn i,
.eventic-pill i,
.badge i {
  display: inline-flex;
  line-height: 1;
  vertical-align: middle;
}

.eventic-icon-button:hover {
  background: #fff1f2;
  border-color: #fecdd3;
}

.eventic-icon-button:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.eventic-checkout-toolbar {
  margin: 6px 0 16px;
}

.eventic-checkout-toolbar span {
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 800;
}

.eventic-checkout-submit {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(120px, .8fr) minmax(220px, 1.1fr) minmax(170px, auto);
  width: 100%;
}

.eventic-checkout-submit > div {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  padding: 12px;
}

.eventic-checkout-submit span,
.eventic-checkout-summary span,
.eventic-audit-grid span,
.eventic-note span,
.eventic-ticket-profile-head span {
  color: var(--nova-muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.eventic-checkout-submit strong,
.eventic-checkout-summary strong,
.eventic-audit-grid strong,
.eventic-note strong {
  color: var(--nova-ink);
  display: block;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.eventic-cash-helper {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
}

.eventic-cash-helper .input {
  margin: 0;
}

.eventic-cash-helper .form-control {
  min-height: 50px;
}

.eventic-cash-change {
  align-self: stretch;
  background: #f8fafc !important;
  border: 1px solid var(--nova-stone) !important;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  padding: 8px 12px !important;
}

.eventic-checkout-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.eventic-checkout-summary div {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  padding: 14px;
}

.eventic-template-actions {
  margin-bottom: 16px;
}

.eventic-ticket-catalog {
  display: grid;
  gap: 16px;
}

.eventic-ticket-capacity-meter {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
  padding: 12px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.eventic-ticket-capacity-meter div {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  padding: 12px 14px;
}

.eventic-ticket-capacity-meter span {
  color: var(--nova-muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eventic-ticket-capacity-meter strong {
  color: var(--nova-ink);
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.eventic-ticket-capacity-meter p {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  color: var(--nova-muted);
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
}

.eventic-ticket-capacity-meter p::before {
  align-items: center;
  background: var(--nova-muted);
  border-radius: 999px;
  color: #fff;
  content: "!";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 12px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.eventic-ticket-capacity-meter[data-status="complete"] div:last-child {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.eventic-ticket-capacity-meter[data-status="complete"] {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 16px 38px rgba(22, 163, 74, .1);
}

.eventic-ticket-capacity-meter[data-status="complete"] p {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.eventic-ticket-capacity-meter[data-status="complete"] p::before {
  background: #16a34a;
  content: "\2713";
}

.eventic-ticket-capacity-meter[data-status="pending"] div:last-child {
  background: #fffbeb;
  border-color: #fde68a;
}

.eventic-ticket-capacity-meter[data-status="pending"] {
  background: #fffbeb;
  border-color: #fbbf24;
  box-shadow: 0 16px 38px rgba(217, 119, 6, .1);
}

.eventic-ticket-capacity-meter[data-status="pending"] p {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #92400e;
}

.eventic-ticket-capacity-meter[data-status="pending"] p::before {
  background: #d97706;
}

.eventic-ticket-capacity-meter[data-status="exceeded"] div:last-child {
  background: #fef2f2;
  border-color: #fecaca;
}

.eventic-ticket-capacity-meter[data-status="exceeded"],
.eventic-ticket-capacity-meter[data-status="invalid"] {
  background: #fef2f2;
  border-color: #f87171;
  box-shadow: 0 16px 38px rgba(185, 28, 28, .1);
}

.eventic-ticket-capacity-meter[data-status="exceeded"] p {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.eventic-ticket-capacity-meter[data-status="invalid"] div:last-child {
  background: #fef2f2;
  border-color: #fecaca;
}

.eventic-ticket-capacity-meter[data-status="invalid"] p {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.eventic-ticket-capacity-meter[data-status="exceeded"] p::before,
.eventic-ticket-capacity-meter[data-status="invalid"] p::before {
  background: #dc2626;
}

.eventic-ticket-type-card {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 12px;
  padding: 14px;
}

.eventic-ticket-type-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.eventic-ticket-type-fields {
  display: grid;
  flex: 1 1 auto;
  gap: 12px;
  grid-template-columns: minmax(190px, 1.35fr) minmax(110px, .6fr) minmax(150px, .75fr) minmax(220px, 1.4fr);
}

.eventic-ticket-type-fields .input {
  margin: 0;
}

.eventic-ticket-type-fields label {
  color: var(--nova-ink);
  display: block;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

.eventic-ticket-type-fields input,
.eventic-ticket-type-fields textarea {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1399px) {
  .eventic-buyer-strip {
    grid-template-columns: 1fr;
  }

  .eventic-checkout-row {
    align-items: stretch;
    grid-template-columns: 58px repeat(2, minmax(0, 1fr)) 44px;
  }

  .eventic-checkout-row > div:nth-child(4) {
    grid-column: span 2;
  }

  .eventic-checkout-row [data-remove-ticket] {
    grid-column: 4;
    grid-row: 1;
    align-self: end;
  }

  .eventic-checkout-submit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventic-checkout-submit .btn {
    grid-column: 1 / -1;
    min-height: 54px;
  }

  .eventic-ticket-type-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .eventic-ticket-type-fields {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventic-switch-wrap {
    grid-column: auto;
  }

  .eventic-ticket-type-actions {
    grid-column: 2;
    justify-content: flex-end;
  }
}

.eventic-ticket-type-number {
  align-items: center;
  background: var(--nova-wine-soft);
  border: 1px solid #ead2d8;
  border-radius: 10px;
  color: var(--nova-wine);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 18px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  justify-self: start;
  width: 42px;
}

.eventic-switch-wrap {
  align-items: center;
  display: flex;
  min-height: 44px;
}

.eventic-switch-wrap .input {
  margin: 0;
}

.eventic-switch-wrap label {
  align-items: center;
  color: var(--nova-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.eventic-switch-wrap input[type="checkbox"] {
  accent-color: var(--nova-wine);
  height: 16px;
  width: 16px;
}

.eventic-switch-wrap .form-check-input:checked {
  background-color: var(--nova-wine);
  border-color: var(--nova-wine);
}

.eventic-switch-wrap .form-check-input:focus {
  border-color: rgba(118, 19, 44, .5);
  box-shadow: 0 0 0 .2rem rgba(118, 19, 44, .14);
}

.eventic-ticket-type-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-height: 44px;
}

.eventic-ticket-type-remove {
  align-items: center;
  background: #fff;
  border: 1px solid #f3c5cf;
  border-radius: 10px;
  color: var(--nova-wine);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.eventic-ticket-type-remove:hover {
  background: var(--nova-wine-soft);
  border-color: #e7a8b8;
}

.eventic-ticket-type-remove:disabled {
  background: #f8fafc;
  border-color: #e5e9ef;
  color: var(--nova-muted);
  cursor: not-allowed;
}

.eventic-ticket-type-sold {
  background: #eef6f8;
  border: 1px solid #cce2e8;
  border-radius: 999px;
  color: var(--nova-blue);
  font-size: 12px;
  font-weight: 850;
  padding: 7px 10px;
  white-space: nowrap;
}

.eventic-ticket-type-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #92400e;
  font-size: 13px;
  font-weight: 750;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.eventic-ticket-type-card[data-retired="1"] {
  background: #fffaf5;
  border-color: #fed7aa;
}

.eventic-catalog-summary {
  display: grid;
  gap: 12px;
}

.eventic-catalog-summary-type {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  padding: 12px;
}

.eventic-catalog-summary-type > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.eventic-catalog-summary-type strong {
  color: var(--nova-ink);
  font-size: 15px;
  font-weight: 900;
}

.eventic-catalog-summary-type span,
.eventic-catalog-summary-type small {
  color: var(--nova-muted);
  font-size: 12px;
  font-weight: 800;
}

.eventic-catalog-summary-type p {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 6px 0 0;
  padding: 9px 10px;
}

.eventic-staff-matrix {
  display: grid;
  gap: 14px;
}

.eventic-staff-builder-card {
  overflow: visible;
}

.eventic-staff-toolbar {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0;
}

.eventic-staff-toolbar strong {
  color: var(--nova-ink);
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.eventic-staff-toolbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.eventic-staff-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  color: var(--nova-muted);
  display: flex;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
}

.eventic-staff-search input {
  border: 0;
  color: var(--nova-ink);
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 750;
  min-width: 0;
  outline: 0;
}

.eventic-staff-overview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eventic-staff-overview div {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  padding: 10px 12px;
}

.eventic-staff-overview span {
  color: var(--nova-muted);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eventic-staff-overview strong {
  color: var(--nova-ink);
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.eventic-staff-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eventic-staff-filters button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 999px;
  color: var(--nova-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  min-height: 38px;
  padding: 8px 13px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.eventic-staff-filters button:hover,
.eventic-staff-filters button.is-active {
  background: var(--nova-wine);
  border-color: var(--nova-wine);
  color: #fff;
  box-shadow: 0 12px 24px rgba(118, 19, 44, .14);
}

.eventic-staff-builder {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.eventic-current-team {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.eventic-available-staff {
  align-content: start;
  background: #fff;
  border: 1px solid rgba(229, 233, 239, .92);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(23, 32, 42, .22);
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  max-height: calc(100vh - 48px);
  min-width: 0;
  overflow-y: auto;
  padding: 20px;
  position: relative;
  width: min(620px, calc(100vw - 34px));
  z-index: 1;
}

.eventic-staff-drawer[hidden] {
  display: none;
}

.eventic-staff-drawer {
  display: grid;
  inset: 0;
  place-items: center;
  padding: 24px;
  position: fixed;
  z-index: 1050;
}

.eventic-staff-drawer-backdrop {
  background: rgba(23, 32, 42, .38);
  inset: 0;
  position: absolute;
}

.eventic-drawer-open,
.eventic-editor-open {
  overflow: hidden;
}

.eventic-drawer-close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  color: var(--nova-ink);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.eventic-section-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eventic-section-heading h2 {
  color: var(--nova-ink);
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}

.eventic-staff-pill {
  background: var(--nova-wine-soft);
  border: 1px solid #ead2d8;
  border-radius: 999px;
  color: var(--nova-wine);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.eventic-role-lanes {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eventic-role-lane {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 12px;
  padding: 12px;
}

.eventic-role-lane.is-empty {
  display: none;
}

.eventic-role-lane-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.eventic-role-lane-head strong {
  color: var(--nova-ink);
  font-size: 15px;
  font-weight: 900;
}

.eventic-role-lane-head span {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 999px;
  color: var(--nova-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  min-width: 28px;
  padding: 0 8px;
}

.eventic-role-lane-list,
.eventic-available-list {
  align-content: start;
  display: grid;
  gap: 10px;
}

.eventic-role-lane-empty {
  background: #f8fafc;
  border: 1px dashed var(--nova-stone);
  border-radius: 10px;
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  padding: 14px;
  text-align: center;
}

.eventic-empty-filter {
  background: #f8fafc;
  border: 1px dashed var(--nova-stone);
  border-radius: 12px;
  color: var(--nova-muted);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 22px;
  text-align: center;
}

.eventic-staff-assignment {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 12px;
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.eventic-staff-assignment.is-assigned {
  border-color: rgba(118, 19, 44, .28);
  box-shadow: 0 16px 34px rgba(23, 32, 42, .06);
}

.eventic-available-list .eventic-staff-assignment {
  box-shadow: none;
}

.eventic-staff-assignment.is-editing {
  border-color: rgba(118, 19, 44, .42);
}

.eventic-staff-assignment.is-saving {
  opacity: .72;
  pointer-events: none;
}

.eventic-inline-feedback {
  align-items: center;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  color: var(--nova-ink);
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
  margin: 14px 0 0;
  padding: 11px 14px;
}

.eventic-inline-feedback::before {
  background: var(--nova-wine);
  border-radius: 999px;
  content: "";
  height: 10px;
  width: 10px;
}

.eventic-inline-feedback.is-success {
  background: #f2fbf6;
  border-color: #bce7ca;
  color: #126335;
}

.eventic-inline-feedback.is-success::before {
  background: #1f9d55;
}

.eventic-inline-feedback.is-warning {
  background: #fff9ec;
  border-color: #f2d59b;
  color: #845b12;
}

.eventic-inline-feedback.is-warning::before {
  background: var(--nova-gold);
}

.eventic-inline-feedback.is-error {
  background: #fff5f6;
  border-color: #f1b9c4;
  color: #8b0f27;
}

.eventic-inline-feedback.is-error::before {
  background: #b4233f;
}

.eventic-staff-assignment-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 48px;
}

.eventic-staff-assignment-head strong {
  color: var(--nova-ink);
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.eventic-staff-assignment-head span {
  color: var(--nova-muted);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-top: 2px;
}

.eventic-staff-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.eventic-staff-assignment [data-staff-edit][hidden],
.eventic-staff-assignment [data-staff-remove][hidden],
.eventic-staff-assignment [data-staff-add][hidden],
.eventic-staff-assignment.is-available [data-staff-edit],
.eventic-staff-assignment.is-available [data-staff-remove] {
  display: none !important;
}

.eventic-staff-state-input {
  display: none !important;
}

.eventic-staff-assignment-body {
  background: #fff;
  border: 1px solid rgba(229, 233, 239, .92);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(23, 32, 42, .22);
  display: grid;
  gap: 14px;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 20px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, calc(100vw - 34px));
  z-index: 1061;
}

.eventic-staff-editor-backdrop[hidden],
.eventic-staff-assignment-body[hidden] {
  display: none;
}

.eventic-staff-editor-backdrop {
  background: rgba(23, 32, 42, .46);
  inset: 0;
  position: fixed;
  z-index: 1060;
}

.eventic-staff-editor-head {
  align-items: start;
  border-bottom: 1px solid var(--nova-stone);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.eventic-staff-editor-head h2 {
  color: var(--nova-ink);
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}

.eventic-staff-editor-head p {
  color: var(--nova-muted);
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0;
  max-width: 560px;
}

.eventic-staff-editor-footer {
  align-items: center;
  border-top: 1px solid var(--nova-stone);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 14px;
}

.eventic-staff-editor-error {
  background: #fff5f6;
  border: 1px solid #f1b9c4;
  border-radius: 10px;
  color: #8b0f27;
  font-size: 13px;
  font-weight: 850;
  padding: 10px 12px;
}

.eventic-staff-assignment-grid {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .8fr) auto;
}

.eventic-permission-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  margin-top: 14px;
}

.eventic-permission-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  color: var(--nova-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
}

.eventic-permission-chip input {
  accent-color: var(--nova-wine);
}

.eventic-switch {
  align-items: center;
  color: var(--nova-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  margin: 0;
  min-height: 42px;
}

.eventic-switch input {
  accent-color: var(--nova-wine);
  height: 16px;
  width: 16px;
}

.eventic-staff-type-limits {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  margin-top: 14px;
  padding: 14px;
}

.eventic-staff-type-limits p {
  color: var(--nova-muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.eventic-staff-type-limit-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.eventic-staff-type-limit-grid label {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px;
}

.eventic-staff-type-limit-grid strong,
.eventic-staff-type-limit-grid small {
  display: block;
}

.eventic-staff-type-limit-grid strong {
  color: var(--nova-ink);
  font-size: 13px;
  font-weight: 850;
}

.eventic-staff-type-limit-grid small,
.eventic-staff-limit-summary span {
  color: var(--nova-muted);
  font-size: 11px;
  font-weight: 800;
}

.eventic-staff-limit-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.eventic-staff-limit-summary span {
  background: #fff;
  border: 1px solid var(--nova-stone);
  border-radius: 999px;
  padding: 4px 8px;
}

.eventic-staff-limit-summary.is-muted span {
  border-style: dashed;
  color: var(--nova-muted);
}

.eventic-staff-limit-warning span {
  background: #fff8ed;
  border-color: #f0d39d;
  color: #8a5a08;
}

.eventic-ticket-profile {
  padding: 16px;
}

.eventic-ticket-profile-head {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 14px;
}

.eventic-ticket-profile-head span,
.eventic-ticket-profile-head strong {
  grid-column: 1;
}

.eventic-ticket-profile-head strong {
  color: var(--nova-ink);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.eventic-ticket-profile-head .badge {
  grid-column: 2;
  grid-row: 1 / 3;
}

.eventic-ticket-image {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 10px;
  display: block;
  padding: 10px;
  width: 100%;
}

.eventic-audit-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eventic-audit-grid div,
.eventic-note {
  background: #f8fafc;
  border: 1px solid var(--nova-stone);
  border-radius: 8px;
  padding: 13px;
}

.eventic-ticket-detail-actions {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.eventic-ticket-detail-actions .input {
  margin: 0;
}

.eventic-alert {
  border-radius: 8px;
}

@media (max-width: 991px) {
  .nova-admin-layout {
    grid-template-columns: 1fr;
  }

  .nova-sidebar {
    min-height: auto;
    overflow-x: auto;
    padding: 14px;
    position: relative;
  }

  .nova-sidebar-brand {
    margin-bottom: 12px;
  }

  .nova-sidebar-brand img {
    height: 46px;
  }

  .nova-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nova-nav-label {
    display: none;
  }

  .nova-nav-link {
    min-width: max-content;
  }

  .nova-topbar {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
  }

  .nova-topbar-actions,
  .nova-search {
    width: 100%;
  }

  .nova-search {
    flex: 1 1 auto;
  }

  .nova-dashboard-hero,
  .nova-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .nova-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .nova-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nova-event-row {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .nova-event-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .eventic-filter-grid,
  .eventic-scanner-toolbar {
    grid-template-columns: 1fr;
  }

  .eventic-scan-stage,
  #qr-reader,
  #qr-reader video {
    height: clamp(360px, 58dvh, 520px);
    min-height: 360px;
  }

  .eventic-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventic-ticket-result-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventic-buyer-strip,
  .eventic-checkout-row,
  .eventic-checkout-submit,
  .eventic-ticket-detail-actions {
    grid-template-columns: 1fr;
  }

  .eventic-checkout-index {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 12px;
  }

  .eventic-cash-helper {
    grid-template-columns: 1fr;
  }

  .eventic-staff-type-limit-grid {
    grid-template-columns: 1fr;
  }

  .eventic-staff-toolbar,
  .eventic-staff-builder,
  .eventic-role-lanes,
  .eventic-staff-assignment-grid,
  .eventic-permission-grid,
  .eventic-staff-overview {
    grid-template-columns: 1fr;
  }

  .eventic-staff-assignment-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .eventic-staff-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .eventic-staff-assignment-head .eventic-switch {
    width: 100%;
  }

  .eventic-staff-filters button {
    flex: 1 1 180px;
    justify-content: center;
  }

  .eventic-ticket-capacity-meter,
  .eventic-ticket-type-fields {
    grid-template-columns: 1fr;
  }

  .eventic-ticket-type-head {
    display: grid;
  }

  .eventic-login-panel {
    grid-template-columns: 1fr;
  }

  .eventic-login-hero {
    min-height: 470px;
  }
}

@media (max-width: 767px) {
  .nova-content {
    padding: 18px;
  }

  .nova-topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nova-user-chip {
    justify-content: center;
  }

  .nova-dashboard-hero {
    border-radius: 14px;
    padding: 26px;
  }

  .nova-dashboard-hero h1 {
    font-size: 42px;
  }

  .nova-kpi-grid {
    grid-template-columns: 1fr;
  }

  .nova-event-row {
    grid-template-columns: 1fr;
  }

  .nova-event-thumb {
    width: 100%;
  }

  .nova-event-actions {
    flex-wrap: wrap;
  }

  .nova-event-actions .btn {
    flex: 1 1 180px;
  }

  .eventic-login-panel {
    padding: 0 10px;
  }

  .eventic-login-hero,
  .eventic-login-card,
  .eventic-pagebar {
    border-radius: 14px;
    padding: 24px;
  }

  .eventic-login-proof {
    grid-template-columns: 1fr;
  }

  .eventic-login-hero h1 {
    font-size: 3rem;
  }

  .eventic-pagebar {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .eventic-pagebar .eventic-actions,
  .eventic-pagebar .btn {
    width: 100%;
  }

  .eventic-event-grid {
    grid-template-columns: 1fr;
  }

  .eventic-event-actions {
    grid-template-columns: 1fr repeat(3, 46px);
  }

  .eventic-detail-meta,
  .eventic-ticket-result-card {
    grid-template-columns: 1fr;
  }

  .eventic-scan-result {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 74px;
    padding: 10px;
  }

  .eventic-scan-result-icon {
    font-size: 18px;
    height: 42px;
    width: 42px;
  }

  .eventic-scan-stage .eventic-scan-result {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .eventic-scan-result span {
    font-size: 10px;
  }

  .eventic-scan-result strong {
    font-size: 16px;
    white-space: normal;
  }

  .eventic-scan-result p {
    display: none;
  }

  .eventic-table-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .eventic-register-entry,
  .eventic-checkout-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .eventic-register-entry .btn,
  .eventic-checkout-toolbar .btn,
  .eventic-checkout-submit .btn,
  .eventic-ticket-detail-actions .btn {
    width: 100%;
  }

  .eventic-ticket-resend {
    grid-template-columns: 1fr;
  }

  .eventic-test-mail-form {
    grid-template-columns: 1fr;
  }

  .eventic-staff-shell {
    padding: 12px;
  }

  .eventic-staff-header {
    top: 8px;
  }

  .eventic-staff-brand strong {
    display: none;
  }

  #qr-reader {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .nova-content {
    padding: 14px;
  }

  .eventic-title,
  .nova-page-context h1 {
    font-size: 28px;
  }

  .eventic-event-actions {
    grid-template-columns: repeat(3, 46px);
  }

  .eventic-event-main-action {
    grid-column: 1 / -1;
  }

  .eventic-staff-mini-stats,
  .eventic-event-stats {
    grid-template-columns: 1fr;
  }
}
