:root{
  --esn-orange: #f47b20;
  --esn-cyan: #00aeef;
  --esn-magenta: #ec008c;
  --esn-green: #7ac143;
  --esn-blue: #2e3192;
  --support-white: #ffffff;
  --support-black: #121318;
  --font-body: "Lato", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-heading: "Oswald", "Francois One", "Arial Narrow", sans-serif;
  --ink: var(--support-black);
  --muted: #5d6174;
  --line: rgba(46,49,146,.14);
  --bg: #f7f9fd;
  --surface: var(--support-white);
  --surface-muted: #f3f6fb;
  --brand: var(--esn-magenta);
  --brand-strong: var(--esn-blue);
  --mint: var(--esn-green);
  --rose: var(--esn-orange);
  --sky: var(--esn-cyan);
  --topbar: var(--esn-blue);
  --brand-soft: rgba(236,0,140,.14);
  --brand-soft-strong: rgba(236,0,140,.22);
  --brand-border: rgba(236,0,140,.38);
  --brand-border-strong: rgba(236,0,140,.55);
  --blue-soft: rgba(46,49,146,.08);
  --blue-soft-strong: rgba(46,49,146,.16);
  --sky-soft: rgba(0,174,239,.18);
  --sky-soft-strong: rgba(0,174,239,.35);
  --mint-soft: rgba(122,193,67,.18);
  --mint-soft-strong: rgba(122,193,67,.4);
  --rose-soft: rgba(244,123,32,.18);
  --rose-soft-strong: rgba(244,123,32,.4);
  --shadow-sm: 0 10px 24px rgba(46,49,146,.08);
  --shadow-md: 0 16px 36px rgba(46,49,146,.12);
  --shadow-lg: 0 24px 56px rgba(46,49,146,.16);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
}

*{
  box-sizing: border-box;
}

.support-honeypot{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html{
  scroll-behavior: smooth;
  overflow-x: clip;
}

body{
  color: var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(0,174,239,.04) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #f9fbff 0%, #f9fbff 60%, #eef3fb 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html.scroll-lock,
html.cookie-dialog-open{
  overflow: hidden;
  overscroll-behavior: none;
}

body.scroll-lock{
  overflow: hidden;
  overscroll-behavior: none;
}

.container{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 576px){
  .container{
    max-width: 459px;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 768px){
  .container{
    max-width: 612px;
  }
}
@media (min-width: 992px){
  .container{
    max-width: 816px;
  }
}
@media (min-width: 1200px){
  .container{
    max-width: 969px;
  }
}
@media (min-width: 1400px){
  .container{
    max-width: 1122px;
  }
}

main{
  flex: 1 0 auto;
}

html.first-load main{
  animation: page-in .5s ease-out;
}

img{
  max-width: 100%;
  height: auto;
}
::view-transition-old(root),
::view-transition-new(root){
  animation: none;
}
a{
  color: var(--brand-strong);
  text-decoration-color: rgba(46,49,146,.35);
  transition: all 0.3s ease-in-out;
}
a:hover{
  color: var(--brand);
  text-decoration-color: rgba(236,0,140,.7);
}

a:focus-visible{
  outline: 3px solid var(--sky-soft-strong);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4, .brand-name{
  font-family: var(--font-heading);
  letter-spacing: .3px;
}

button,
input,
select,
textarea{
  font: inherit;
}

.text-muted{
  color: var(--muted) !important;
}

:is(.card, .hero-card, .step-card, .payment-card, .cta-card, .event-map-card, .reg-card, .empty-card, .cookie-inner, .toast-message){
  position: relative;
  overflow: hidden;
}

.btn{
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  min-height: 44px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.btn-sm{
  padding: 8px 14px;
  min-height: 40px;
  font-size: .85rem;
}
.btn-tight{
  padding: 6px 6px;
  min-height: 34px;
}
.btn:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-sm);
}
.btn:active{
  transform: scale(1);
}
.btn:focus-visible{
  box-shadow: 0 0 0 3px var(--sky-soft-strong);
}

.btn-dark{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(236,0,140,.18);
}
.btn-dark:disabled,
.btn-dark.disabled,
.btn-dark[aria-disabled="true"]{
  box-shadow: none;
}
.btn-dark:hover,
.btn-dark:focus-visible,
.btn-brand:hover,
.btn-brand:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.btn-outline-dark{
  border-color: var(--brand-strong);
  color: var(--brand-strong);
  background: rgba(46,49,146,.04);
}
.btn-outline-dark:hover,
.btn-outline-dark:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.btn-brand{
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(236,0,140,.18);
}

.brand-name{
  font-weight: 600;
  letter-spacing: .8px;
  color: var(--brand-strong);
  text-transform: uppercase;
}

.nav-link{
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}
.nav-link:hover,
.nav-link:focus-visible{
  color: var(--brand-strong);
  background: var(--blue-soft);
  transform: scale(1.02);
}
.nav-link.is-active{
  color: var(--brand-strong);
  background: linear-gradient(90deg, rgba(46,49,146,.08), rgba(0,174,239,.1));
  box-shadow: inset 0 0 0 1px rgba(46,49,146,.08);
}

.navbar.bg-white{
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(46,49,146,.04);
  overflow: hidden;
  padding: 0;
}

.navbar.bg-white::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--brand), transparent);
}

.navbar .container{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  min-width: 0;
}

.navbar-toggler{
  border-radius: var(--radius-sm);
  border-color: var(--line);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.navbar-toggler:focus,
.navbar-toggler:focus-visible{
  box-shadow: none;
  outline: none;
}
.navbar-expand-lg .navbar-toggler{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.navbar-nav-centered{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.brand-logo{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(46,49,146,.12));
  padding-bottom: 2px;
}

.brand-logo--wordmark{
  height: 60px;
}

.navbar.bg-white .navbar-brand,
.navbar.bg-white .brand-name{
  color: var(--brand-strong);
}

.navbar.bg-white .navbar-brand{
  padding: 0;
  margin-right: 0;
  line-height: 0;
}

.navbar.bg-white .navbar-toggler{
  border-color: var(--line);
  color: var(--brand-strong);
}

.navbar.bg-white .navbar-toggler-icon{
  filter: none;
}

.topbar{
  background: var(--topbar);
  color: #fff;
  padding: 8px 0;
  position: relative;
  z-index: 1050;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}

.topbar-link{
  color: #fff;
  text-decoration: none;
  opacity: .92;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  line-height: 1;
  background: transparent;
}
.topbar-link--support{
  font-weight: 600;
}
.topbar-link__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 700;
}
.topbar-left,
.topbar-right{
  min-width: 0;
}
.topbar-link:hover,
.topbar-link:focus-visible{
  opacity: 1;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  transform: scale(1.02);
}
.topbar-link:focus-visible{
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.topbar-greeting{
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
.topbar-greeting::after{
  content: "|";
  opacity: .45;
  margin-left: 10px;
}
@media (min-width: 992px){
  .topbar-greeting{
    display: inline-flex;
    align-items: center;
  }
}
.sep{ opacity: .5; margin: 0 8px; }

.hero{
  padding: var(--space-4) 0;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: var(--space-4);
  align-items: center;
}

.hero-title{
  font-weight: 600;
  font-size: 3.375rem;
  line-height: 1;
  color: var(--brand-strong);
  margin: 0 0 var(--space-2) 0;
  text-wrap: balance;
  hyphens: auto;
}

.hero-text{
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 var(--space-2) 0;
  max-width: none;
  width: 100%;
  grid-area: text;
}

.hero-actions{
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-card{
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  background:
    radial-gradient(circle at 12% 18%, rgba(0,174,239,.1), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,246,251,.95));
  box-shadow: none;
}
.hero-card-content{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "text"
    "actions";
  gap: var(--space-1) var(--space-3);
  align-items: start;
  justify-items: center;
}
.hero-headline{
  grid-area: title;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.hero-card .hero-text{
  text-align: center;
}
.hero-actions{
  grid-area: actions;
  justify-content: center;
}

.media-frame{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--brand-strong);
  box-shadow: var(--shadow-lg);
}

.media-content{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.cta-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,246,251,.95));
  box-shadow: var(--shadow-sm);
}

.cta-title{
  margin: 0 0 var(--space-1) 0;
}
.cta-text{
  color: var(--muted);
  margin: 0 0 var(--space-2) 0;
}

.section-title{
  font-weight: 600;
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(84px, 100%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand) 62%, var(--sky));
}

.section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.events-carousel{
  position: relative;
}
.events-carousel-track{
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 14px 14px;
  padding-left: 10px;
  scrollbar-width: none;
}
.events-carousel-track::-webkit-scrollbar{
  display: none;
}
.events-carousel-track .event-card{
  flex: 0 0 calc((100% - (3 * var(--space-3))) / 4);
  scroll-snap-align: start;
}
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease-in-out;
  z-index: 2;
}
.carousel-btn svg{
  width: 20px;
  height: 20px;
}
.carousel-btn:hover,
.carousel-btn:focus-visible{
  background: var(--blue-soft);
  border-color: var(--brand-border);
  color: var(--brand-strong);
}
.carousel-btn--prev{ left: -18px; }
.carousel-btn--next{ right: -18px; }
.carousel-btn.is-hidden{
  opacity: 0;
  pointer-events: none;
}

.events-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.event-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
  transition: all 0.3s ease-in-out;
}
.event-card:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(46,49,146,.08);
  border-color: var(--brand-border-strong);
}
.event-card:active{
  transform: translateY(-1px) scale(1);
}
.event-card:focus-visible{
  outline: 3px solid var(--sky-soft-strong);
  outline-offset: 2px;
}

.event-card-body{
  padding: var(--space-2);
  background: var(--surface);
}
.event-card-title{
  margin: 0 0 var(--space-1) 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.event-card-meta{
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.empty-card{
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--muted);
  background: var(--surface);
}

.calendar-page-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.calendar-page-head h1{
  margin: 0;
}

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

.calendar-view-controls{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.calendar-mode-toggle{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.9);
}

.calendar-mode-link{
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
}

.calendar-mode-link:hover,
.calendar-mode-link:focus-visible{
  color: var(--brand-strong);
  background: var(--blue-soft);
}

.calendar-mode-link.is-active{
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 16px rgba(236,0,140,.14);
}

.calendar-toolbar{
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px auto;
  align-items: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto var(--space-2);
}

.calendar-month-picker{
  position: relative;
  justify-self: center;
  min-width: 0;
}

.calendar-month-title{
  margin: 0;
  color: var(--brand-strong);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: capitalize;
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.calendar-month-title::-webkit-details-marker{
  display: none;
}

.calendar-month-title svg{
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease-in-out;
}

.calendar-month-picker[open] .calendar-month-title,
.calendar-month-title:hover,
.calendar-month-title:focus-visible{
  background: var(--blue-soft);
  border-color: var(--line);
}

.calendar-month-picker[open] .calendar-month-title svg{
  transform: rotate(180deg);
}

.calendar-month-panel{
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 50%;
  width: min(320px, calc(100vw - 32px));
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
}

.calendar-year-switcher{
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--brand-strong);
  font-weight: 800;
  text-align: center;
}

.calendar-year-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-year-btn svg{
  width: 17px;
  height: 17px;
}

.calendar-year-btn:hover,
.calendar-year-btn:focus-visible{
  background: var(--blue-soft);
  color: var(--brand-strong);
}

.calendar-month-options{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.calendar-month-option{
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  text-transform: capitalize;
}

.calendar-month-option:hover,
.calendar-month-option:focus-visible{
  background: #fff;
  border-color: var(--brand-border);
  color: var(--brand-strong);
}

.calendar-month-option.is-active{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 16px rgba(236,0,140,.16);
}

.calendar-nav-btn{
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.calendar-nav-btn svg{
  width: 20px;
  height: 20px;
}

.calendar-nav-btn:hover,
.calendar-nav-btn:focus-visible{
  background: var(--blue-soft);
  border-color: var(--brand-border);
  color: var(--brand-strong);
  transform: translateY(-1px);
}

.calendar-today-link{
  justify-self: end;
}

.events-calendar{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  max-width: 1000px;
  margin: 0 auto;
}

.events-calendar-weekdays{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: linear-gradient(90deg, rgba(46,49,146,.06), rgba(0,174,239,.07));
  border-bottom: 1px solid var(--line);
}

.events-calendar-weekdays div{
  padding: 7px 10px;
  color: var(--brand-strong);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  text-align: center;
}

.events-calendar-grid{
  display: block;
}

.calendar-week{
  position: relative;
  --calendar-bar-height: 44px;
  --calendar-bar-gap: 4px;
  --calendar-bar-stack-height: 0px;
  --calendar-bar-extra-height: 0px;
}

.calendar-week-days{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day{
  position: relative;
  min-width: 0;
  min-height: calc(118px + var(--calendar-bar-extra-height));
  padding: 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: visible;
  position: relative;
}

.calendar-day:nth-child(7n){
  border-right: 0;
}

.calendar-week:last-child .calendar-day{
  border-bottom: 0;
}

.calendar-day--outside{
  background: rgba(243,246,251,.72);
}

.calendar-day--empty .calendar-day-events{
  display: none;
}

.calendar-compact-trigger,
.calendar-compact-detail-source,
.calendar-compact-panel{
  display: none;
}

.calendar-day-number{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.calendar-day-number span{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-day-number small{
  display: none;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-day--today .calendar-day-number span{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 16px rgba(236,0,140,.18);
}

.calendar-day-events{
  position: relative;
  display: grid;
  flex: 1 1 auto;
  align-content: center;
  justify-items: center;
  gap: 5px;
  margin-top: calc(var(--calendar-bar-stack-height) + clamp(0px, var(--calendar-bar-stack-height), var(--calendar-bar-gap)));
  max-height: 84px;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(46,49,146,.24) transparent;
}

.calendar-day-events::-webkit-scrollbar{
  width: 6px;
}

.calendar-day-events::-webkit-scrollbar-track{
  background: transparent;
}

.calendar-day-events::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(46,49,146,.22);
}

.calendar-day-events::-webkit-scrollbar-thumb:hover{
  background: rgba(236,0,140,.34);
}

.calendar-day-events.is-scrollable{
  align-content: start;
  padding-right: 8px;
  padding-bottom: 4px;
  -webkit-mask-image: none;
  mask-image: none;
}

.calendar-day-events.is-scrollable.has-more-events{
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - 16px), transparent 100%);
}

.calendar-event{
  min-width: 0;
  width: min(100%, 146px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46,49,146,.1);
  border-radius: 10px;
  padding: 4px;
  background: rgba(247,249,253,.9);
  color: var(--ink);
  text-decoration: none;
  transform-origin: center;
}

.calendar-event:hover,
.calendar-event:focus-visible{
  position: relative;
  z-index: 30;
  color: var(--brand-strong);
  border-color: var(--brand-border-strong);
  background: #fff;
  box-shadow: 0 6px 12px rgba(46,49,146,.08);
  transform: translateX(1px);
}

.calendar-event-thumb{
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--blue-soft);
}

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

.calendar-event-body{
  min-width: 0;
  display: grid;
  gap: 1px;
}

.calendar-event-time{
  color: var(--brand-strong);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.1;
}

.calendar-event-title{
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event--mobile-multi{
  display: none;
}

.calendar-week-bars{
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: var(--calendar-bar-height);
  gap: var(--calendar-bar-gap) 0;
  pointer-events: none;
}

.calendar-week-bars .calendar-event--bar{
  width: auto;
  min-width: 0;
  max-width: none;
  height: var(--calendar-bar-height);
  pointer-events: auto;
  border-radius: 0;
  border-color: rgba(46,49,146,.12);
  background: linear-gradient(90deg, rgba(247,249,253,.98), rgba(243,246,251,.97));
  box-shadow: 0 4px 10px rgba(46,49,146,.04);
  margin-left: -1px;
  margin-right: -1px;
  padding: 5px 8px;
}

.calendar-week-bars .calendar-event--bar:hover,
.calendar-week-bars .calendar-event--bar:focus-visible{
  border-color: var(--brand-border-strong);
  background: #fff;
  box-shadow: 0 6px 12px rgba(236,0,140,.08);
}

.calendar-week-bars .calendar-event--bar-start{
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  margin-left: 8px;
}

.calendar-week-bars .calendar-event--bar-end{
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-right: 8px;
}

.calendar-event--bar .calendar-event-thumb{
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 8px;
}

.calendar-event--bar .calendar-event-body{
  display: grid;
  align-items: center;
  gap: 1px;
  min-width: 0;
}

.calendar-event--bar .calendar-event-time,
.calendar-event-end-time{
  color: var(--brand-strong);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.calendar-event--bar .calendar-event-title{
  font-size: .82rem;
  white-space: nowrap;
}

.calendar-event-end-time{
  margin-left: auto;
}

.events-calendar--compact .calendar-week{
  --calendar-bar-stack-height: 0px !important;
  --calendar-bar-extra-height: 0px !important;
}

.events-calendar--compact .calendar-week-bars,
.events-calendar--compact .calendar-day-number,
.events-calendar--compact .calendar-day-events{
  display: none;
}

.events-calendar--compact .calendar-day{
  min-height: 68px;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

.events-calendar--compact .calendar-day--empty .calendar-compact-trigger{
  opacity: .72;
}

.calendar-compact-trigger{
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  font-weight: 800;
  transition: all 0.2s ease-in-out;
}

.events-calendar--compact .calendar-compact-trigger{
  display: inline-flex;
}

.calendar-compact-trigger.has-events{
  color: var(--brand-strong);
  background: rgba(46,49,146,.04);
  border-color: rgba(46,49,146,.1);
}

.calendar-compact-trigger:hover,
.calendar-compact-trigger:focus-visible,
.calendar-compact-trigger.is-active{
  color: var(--brand-strong);
  background: #fff;
  border-color: var(--brand-border);
  box-shadow: 0 8px 16px rgba(46,49,146,.08);
}

.calendar-compact-trigger.is-active{
  border-color: var(--brand-border-strong);
}

.calendar-compact-number{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-day--today .calendar-compact-number{
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 16px rgba(236,0,140,.18);
}

.calendar-compact-trigger.has-events:not(.is-active) .calendar-compact-number{
  background: var(--sky-soft);
}

.calendar-compact-markers{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 6px;
}

.calendar-compact-markers span{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.calendar-compact-markers span:nth-child(2){
  background: var(--sky);
}

.calendar-compact-markers span:nth-child(3){
  background: var(--mint);
}

.calendar-compact-markers span:nth-child(n+4){
  display: none;
}

.calendar-compact-count{
  min-width: 22px;
  min-height: 18px;
  border-radius: 999px;
  padding: 1px 6px;
  background: var(--brand-strong);
  color: #fff;
  font-size: .7rem;
  line-height: 1.3;
}

.calendar-compact-panel{
  max-width: 1000px;
  margin: 12px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.96);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.calendar-compact-panel:not([hidden]){
  display: block;
}

.calendar-compact-detail-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--brand-strong);
}

.calendar-compact-detail-head span{
  min-width: 26px;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  color: #fff;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
}

.calendar-compact-detail-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.calendar-event--compact-detail{
  width: 100%;
  max-width: none;
  justify-content: flex-start;
}

.calendar-compact-empty{
  margin: 0;
  color: var(--muted);
}

.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.step-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,246,251,.95));
  box-shadow: var(--shadow-sm);
}
.step-number{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.site-footer{
  border-top: 0;
  padding: var(--space-3) 0;
  background: linear-gradient(90deg, rgba(46,49,146,.98), rgba(46,49,146,.94));
  color: #fff;
  margin-top: auto;
  position: relative;
}
.site-footer::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--brand), var(--rose));
}
.site-footer::after{
  content: "";
  position: absolute;
  right: -52px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.2), transparent 68%);
  pointer-events: none;
}
.site-footer-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.site-footer-brand{
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: .6px;
  text-transform: uppercase;
}
.site-footer-links{
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: .95rem;
}
.site-footer-links a{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.site-footer-links a:hover{
  text-decoration: underline;
  color: #fff;
  transform: scale(1.02);
}
.site-footer-meta{
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,246,251,.95));
  box-shadow: var(--shadow-sm);
}

.about-card{
  border-radius: var(--radius-md);
}

.about-photo{
  max-width: 100%;
  height: auto;
}

.payment-amount{
  font-size: 1.1em;
  font-family: var(--font-heading);
  letter-spacing: .2px;
  color: var(--brand-strong);
}

.msg{
  margin-bottom: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.msg--success{
  background: var(--mint-soft);
  border-color: rgba(122,193,67,.45);
  color: #32541a;
}

.msg--danger{
  background: var(--rose-soft);
  border-color: rgba(244,123,32,.48);
  color: #7a3a09;
}

.breadcrumb-wrap{
  margin-bottom: var(--space-2);
}
.breadcrumb{
  margin-bottom: 0;
  font-size: .92rem;
}
.breadcrumb a{
  text-decoration: none;
  color: var(--brand-strong);
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before{
  color: var(--muted);
}
.breadcrumb .breadcrumb-item.active{
  color: var(--muted);
}

.event-detail-grid{
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.event-detail-grid > *{
  min-width: 0;
}
.vt-card-active .event-detail-media .media-frame{
  view-transition-name: event-card-active;
}
.event-detail-media .media-frame{
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
  height: auto;
  min-height: 0;
}
.event-media{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.event-detail-text{
  color: var(--ink);
  line-height: 1.7;
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-detail-text a{
  overflow-wrap: anywhere;
  word-break: break-word;
}
.event-detail-text p{
  margin: 0 0 0.75rem;
}
.event-detail-text ul,
.event-detail-text ol{
  margin: 0.35rem 0 0.75rem 1.2rem;
  padding: 0;
}
.event-detail-text p:last-child,
.event-detail-text ul:last-child,
.event-detail-text ol:last-child{
  margin-bottom: 0;
}
.event-detail-text ol li::marker{
  font-weight: 700;
}
.event-detail-text li{
  margin: 0.2rem 0;
}
.event-detail-meta{
  display: grid;
  gap: var(--space-1);
  margin: var(--space-2) 0 var(--space-3);
}
.event-detail-optionals{
  display: grid;
  gap: 4px;
}
.event-detail-optionals-list{
  display: grid;
  gap: 2px;
  padding-left: 12px;
}
.event-detail-meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.event-meta-value{
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-meta-action{
  width: 25px;
  min-width: 25px;
  height: 25px;
  min-height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}
.event-meta-action span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.event-meta-action__icon{
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
  top : 2px;
}
.event-detail-actions{
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}
.qr-card{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 18px;
}
.qr-image{
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}
.qr-actions{
  justify-content: center;
}
.qr-actions .qr-download{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qr-actions .qr-download svg{
  width: 18px;
  height: 18px;
}
.event-map-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  background: var(--surface);
  margin-bottom: var(--space-3);
}
.event-map-title{
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.event-map-frame{
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,246,251,.96));
}
.event-map-frame iframe{
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}
.event-map-placeholder{
  min-height: 240px;
  padding: 24px 22px;
  display: grid;
  align-content: center;
  gap: 12px;
}
.event-map-placeholder__icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,174,239,.12);
  color: #126fb5;
}
.event-map-placeholder__icon svg{
  width: 24px;
  height: 24px;
}
.event-map-placeholder__title{
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.event-map-placeholder__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.event-map-placeholder__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.event-map-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 600;
}
.event-map-link:hover{
  color: var(--brand-strong);
  text-decoration: none;
  transform: translateY(-1px);
}
.event-map-embed[hidden]{
  display: none !important;
}

.payment-grid{
  column-count: 2;
  column-gap: var(--space-3);
}
.payment-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,246,251,.95));
  box-shadow: var(--shadow-sm);
}
.payment-grid > .payment-card{
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--space-3);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.wallet-badges{
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}
.wallet-badge{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .78rem;
  color: var(--muted);
  background: var(--surface-muted);
}
.wallet-badge--logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 50px;
  padding: 0;
  background: #fff;
  flex: 0 0 84px;
}
.wallet-badge-logo{
  display: block;
  width: 64px;
  height: 24px;
  object-fit: contain;
  object-position: center;
}
.wallet-badge-logo--paypal{
  width: 70px;
  height: 26px;
}
.wallet-badge-logo--apple-pay,
.wallet-badge-logo--google-pay{
  width: 60px;
}
.wallet-badge-logo--revolut-pay,
.wallet-badge-logo--satispay{
  width: 70px;
}
.form-legend{
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: var(--space-2);
}
.page-loader{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,249,253,.58);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 12000;
}
.page-loader.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.page-loader__spinner{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(46,49,146,.2);
  border-top-color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.662);
  box-shadow: 0 12px 28px rgba(46,49,146,.16);
  animation: page-loader-spin 0.9s linear infinite;
}

.form-control,
.form-select,
.form-check-input{
  border-radius: var(--radius-sm);
  border-color: var(--line);
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus{
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-soft);
}
.form-control::placeholder{
  color: rgba(93,93,102,.7);
}
.fee-option-forced-input,
.fee-option-forced-input:read-only{
  cursor: default;
  caret-color: transparent;
}

.bank-details{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-1);
}
.bank-detail{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px var(--space-1);
  background: var(--surface-muted);
}
.bank-label{
  min-width: 110px;
  font-weight: 600;
  font-size: .9rem;
}
.bank-value{
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
  word-break: break-word;
}
.payment-custom-link-box{
  background: #e9eef8;
  border-color: var(--line);
  color: var(--ink);
}
.copy-btn{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: visible;
}
.copy-btn:hover{
  transform: scale(1.02);
  background: var(--surface-muted);
}
.copy-btn--copied{
  background: var(--mint);
  border-color: var(--mint);
  color: #264a10;
  animation: copy-btn-pop .35s ease;
}
.copy-btn::after{
  content: attr(data-copied-label);
  position: absolute;
  left: 50%;
  top: -1.65rem;
  transform: translate(-50%, 0);
  opacity: 0;
  pointer-events: none;
  font-size: .68rem;
  font-weight: 700;
  color: #264a10;
  background: var(--mint);
  border: 1px solid rgba(38,74,16,.2);
  border-radius: 999px;
  padding: 2px 8px;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.copy-btn--copied::after{
  opacity: 1;
  transform: translate(-50%, -4px);
}
.copy-icon{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
@keyframes copy-btn-pop{
  0%{ transform: scale(1); }
  45%{ transform: scale(1.14); }
  100%{ transform: scale(1); }
}

.registrations-page-head{
  display: grid;
  gap: 14px;
}
.registrations-event-nav{
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.registrations-title-block{
  min-width: 0;
}
.registrations-title-block h1{
  margin: 0;
  overflow-wrap: anywhere;
}
.registrations-title-kicker{
  color: var(--brand-strong);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.registrations-event-arrow{
  width: 46px;
  height: 46px;
  border: 1px solid rgba(46,49,146,.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.registrations-event-arrow svg{
  width: 22px;
  height: 22px;
}
.registrations-event-arrow:hover,
.registrations-event-arrow:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
}
.registrations-event-arrow--empty{
  opacity: 0;
  pointer-events: none;
}
.registrations-page-actions{
  display: flex;
  justify-content: center;
}

.registrations-insight-panel{
  border: 1px solid rgba(46,49,146,.16);
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,255,.98) 100%);
  box-shadow: var(--shadow-sm);
}
.registrations-insight-modal{
  max-width: 440px;
}
.registrations-insight-modal .modal-content{
  border-radius: 14px;
}
.registrations-insight-modal .modal-header{
  padding: 10px 12px;
}
.registrations-insight-modal .modal-title{
  font-size: 1rem;
}
.registrations-insight-modal .modal-body{
  padding: 10px 12px 12px;
}
.registrations-insight-card,
.registrations-insight-detail-card{
  border: 1px solid rgba(46,49,146,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  padding: 9px 10px;
}
.registrations-insight-card__label{
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.registrations-insight-card__value,
.registrations-insight-detail-card__value{
  color: var(--ink);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 800;
  line-height: 1.05;
}
.registrations-insight-metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.registrations-insight-detail-card__copy{
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.28;
}
.registrations-insight-detail-card--list{
  padding-top: 9px;
  padding-bottom: 9px;
}
.registrations-insight-list{
  display: grid;
  gap: 6px;
  max-height: 126px;
  overflow: auto;
  padding-right: 2px;
}
.registrations-insight-list__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .82rem;
  line-height: 1.25;
}
.registrations-insight-empty{
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.registrations-filter-panel{
  border: 1px solid rgba(46,49,146,.24);
  border-radius: 20px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,255,.98) 100%);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.registrations-filter-summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  border-radius: 13px;
  min-height: 42px;
  padding: 2px 6px;
  background: var(--surface);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.registrations-filter-summary::-webkit-details-marker{
  display: none;
}
.registrations-filter-summary:hover{
  background: var(--surface-muted);
}
.registrations-filter-panel[open] .registrations-filter-summary{
  background: var(--surface);
}
.registrations-filter-summary:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.registrations-filter-summary__icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--brand-strong);
  color: var(--brand-strong);
  background: rgba(46,49,146,.04);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.registrations-filter-summary:hover .registrations-filter-summary__icon,
.registrations-filter-summary:focus-visible .registrations-filter-summary__icon,
.registrations-filter-panel[open] .registrations-filter-summary__icon{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
.registrations-filter-summary__icon svg{
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.registrations-filter-panel[open] .registrations-filter-summary__icon svg{
  transform: rotate(180deg);
}
.registrations-filter-kicker{
  font-size: .8rem;
  font-weight: 1000;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.registrations-filter-copy{
  font-size: .95rem;
  color: var(--ink);
}
.registrations-filter-form{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(46,49,146,.12);
}
.registrations-filter-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.registrations-filter-grid > *{
  min-width: 0;
}
.registrations-filter-search{
  flex: 0 1 250px;
  max-width: 280px;
}
.registrations-filter-phone{
  flex: 0 1 190px;
  max-width: 220px;
}
.registrations-filter-field{
  flex: 1 1 180px;
}
.registrations-filter-field--participant-type{
  flex: 0 1 244px;
  min-width: 244px;
  max-width: 260px;
}
.registrations-filter-field--checkin{
  flex: 0 1 156px;
  max-width: 156px;
}
.registrations-filter-field--esncard{
  flex: 0 1 auto;
  max-width: 100%;
}
.registrations-filter-field--optional{
  flex: 0 1 auto;
  max-width: 100%;
}
.registrations-filter-sort{
  flex: 0 0 auto;
}
.reg-filter-search-shell .input-group-text,
.reg-filter-search-shell .form-control,
.reg-filter-select,
.reg-filter-action,
.reg-sort-toggle{
  min-height: 42px;
  border-radius: 12px;
}
.reg-filter-search-shell .input-group-text,
.reg-filter-search-shell .form-control,
.reg-filter-select,
.reg-sort-toggle{
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.reg-filter-search-shell .input-group-text{
  padding: 0 12px;
  border-right: 0;
  color: var(--muted);
}
.reg-filter-search-shell .form-control{
  border-left: 0;
  padding-right: 12px;
}
.reg-filter-search-shell .form-control:focus{
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.reg-filter-search-shell .form-control::placeholder{
  color: var(--muted);
}
.reg-filter-search-shell svg,
.reg-sort-toggle svg{
  width: 18px;
  height: 18px;
}
.reg-filter-select{
  padding-left: 12px;
  padding-right: 34px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='rgba(18,19,24,0.74)' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
}
.reg-filter-select--placeholder{
  color: var(--muted);
}
.reg-filter-select-wrap{
  position: relative;
}
.reg-filter-select-wrap--prefixed{
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}
.reg-filter-select-prefix{
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--muted);
  font-weight: 400;
  pointer-events: none;
  white-space: nowrap;
}
.reg-filter-select-wrap--prefixed:focus-within{
  border-color: rgba(46,49,146,.48);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.reg-filter-select--embedded{
  flex: 1 1 auto;
  min-width: 0;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 28px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: right 2px center;
  box-shadow: none;
}
.reg-filter-select-wrap--prefixed .reg-filter-select:focus{
  border-color: transparent;
  box-shadow: none;
}
.reg-filter-select--prefix-only{
  color: transparent;
  text-shadow: none;
}
.reg-filter-select:focus,
.reg-filter-search-shell .form-control:focus,
.reg-filter-action:focus-visible,
.reg-sort-toggle:focus-visible{
  border-color: rgba(46,49,146,.48);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.reg-filter-select option{
  color: #101828;
}
.registrations-sort-group{
  display: grid;
  grid-template-columns: auto 42px;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}
.reg-sort-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-color: rgba(46,49,146,.35);
  background: var(--surface);
  color: var(--brand-strong);
}
.reg-sort-toggle svg{
  transition: transform .2s ease;
}
.reg-sort-toggle[data-direction="desc"] svg{
  transform: rotate(180deg);
}
.reg-filter-action{
  flex: 0 0 auto;
  min-width: 108px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(46,49,146,.35);
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: none;
}
.reg-filter-action--ghost{
  color: var(--ink);
}
.reg-filter-action:hover,
.reg-sort-toggle:hover{
  background: var(--surface-muted);
  color: var(--brand-strong);
}
.registrations-filter-count{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}
.registration-closed-cta{
  gap: 8px;
}
.registration-closed-cta__icon{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--esn-magenta);
}

.reg-cards{
  display: grid;
  gap: var(--space-2);
}
.reg-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
}
.reg-card-title{
  flex: 1;
  min-width: 0;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.reg-card-title-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.col-select,
.col-review,
.col-email-select{
  width: 44px;
  min-width: 44px;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.sticky-table__table .email-selection-column{
  display: none;
}
body.registration-email-selection-mode .sticky-table__table .email-selection-column{
  display: table-cell;
}
.reg-card .email-selection-column{
  display: none;
}
body.registration-email-selection-mode .reg-card .email-selection-column{
  display: block;
}
.email-selection-toolbar{
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(46,49,146,.24);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
body.registration-email-selection-mode .email-selection-toolbar{
  display: flex;
}
.email-selection-toolbar__title{
  font-weight: 800;
  color: var(--ink);
}
.email-selection-toolbar__copy{
  color: var(--muted);
  font-size: .9rem;
}
.email-selection-toolbar__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.email-recipient-choice-dialog{
  max-width: min(390px, calc(100vw - 2rem));
}
.email-recipient-choice-actions{
  display: grid;
  gap: 10px;
  justify-items: center;
}
.email-recipient-choice-actions .btn{
  width: min(100%, 260px);
  min-height: 42px;
  padding-inline: 16px;
}
.reg-select-checkbox{
  cursor: pointer;
}
.reg-review-toggle{
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46,49,146,.28);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: none;
}
.reg-review-toggle svg{
  width: 16px;
  height: 16px;
}
.reg-review-toggle:not(.reg-review-toggle--static):hover,
.reg-review-toggle:focus-visible,
.reg-review-toggle.is-reviewed{
  background: var(--mint-soft);
  border-color: rgba(122,193,67,.8);
  color: #32541a;
}
.reg-review-toggle--static{
  cursor: default;
  pointer-events: none;
}
.reg-review-toggle--static:not(.is-reviewed){
  opacity: 0;
}
.sticky-table__table tbody tr.registration-row--reviewed td,
.sticky-table__table tbody tr.registration-row--reviewed .sticky-col{
  background: #f0faeb;
}
.reg-card.registration-row--reviewed{
  background: #f0faeb;
  border-color: rgba(122,193,67,.45);
}
.event-email-scope-note{
  display: inline-block;
  color: var(--esn-magenta);
  font-weight: 700;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 8px 10px;
}
.reg-card-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-1);
  font-size: .92rem;
}
.reg-card-label{
  color: var(--muted);
}
.reg-card-value{
  flex: 1;
  min-width: 0;
  text-align: right;
  word-break: break-word;
}
.reg-actions{
  white-space: nowrap;
}
.sticky-table{
  --sticky-col-select: 44px;
  --sticky-col-1: 116px;
  --sticky-col-2: 142px;
  --sticky-col-actions: 90px;
  --sticky-header-offset: 0px;
  --sticky-header-height: 0px;
  overflow-x: auto;
  overflow-y: visible;
  position: relative;
}
.sticky-table__table{
  width: max-content;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  position: relative;
  z-index: 2;
  background: transparent;
  font-size: .86rem;
  line-height: 1.22;
}
.sticky-table__table thead{
  position: relative;
  z-index: 6;
  background: var(--surface);
}

.sticky-table__table thead th{
  position: sticky;
  top: var(--sticky-header-offset);
  background: var(--surface);
  z-index: 8;
  box-shadow: 0 1px 0 var(--line);
  background-clip: padding-box;
}

.sticky-table__table th,
.sticky-table__table td{
  white-space: nowrap;
  padding: 8px 9px;
}
.sticky-table__table tbody{
  position: relative;
  z-index: 1;
}
.sticky-table__table tbody tr:first-child td{
  border-top: 0;
}
.sticky-col{
  position: sticky;
  background: var(--surface);
}
.sticky-col--select{
  left: 0;
  width: var(--sticky-col-select);
  min-width: var(--sticky-col-select);
  max-width: var(--sticky-col-select);
  z-index: 5;
  box-shadow: none;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.sticky-col--first{
  left: var(--sticky-col-select);
  min-width: var(--sticky-col-1);
  z-index: 5;
  box-shadow: none;
}
.sticky-col--second{
  left: calc(var(--sticky-col-select) + var(--sticky-col-1));
  min-width: var(--sticky-col-2);
  z-index: 5;
  box-shadow: none;
}
.sticky-col--actions{
  right: 0;
  width: var(--sticky-col-actions);
  min-width: var(--sticky-col-actions);
  max-width: var(--sticky-col-actions);
  z-index: 5;
  box-shadow: none;
}
.sticky-table__table th.sticky-col--first,
.sticky-table__table td.sticky-col--first,
.sticky-table__table th.sticky-col--second,
.sticky-table__table td.sticky-col--second{
  padding-left: 10px;
}
.sticky-table__table th.sticky-col--actions,
.sticky-table__table td.sticky-col--actions{
  padding-right: 10px;
}
.col-phone{
  min-width: max-content;
}

.col-email{
  min-width: 210px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-email a{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-registration-date{
  min-width: max-content;
}

.col-dietary{
  min-width: max-content;
}

.col-extra{
  min-width: 132px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-table__table .small{
  font-size: .76rem;
  line-height: 1.18;
}

.sticky-table__table .badge{
  font-size: .68rem;
  padding: .25em .42em;
}

.sticky-table__table .proof-thumb{
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: .62rem;
}

.sticky-table__table .btn-tight{
  min-height: 28px;
  padding: 3px 6px;
  font-size: .72rem;
}

.sticky-table__table .d-flex.flex-column.gap-2{
  gap: .25rem !important;
}

.sticky-table__table th.sticky-col,
.sticky-table__table td.sticky-col{
  position: sticky;       
  background: var(--surface);
  z-index: 5;       
}
.sticky-table__table th.sticky-col{
  z-index: 9;
}
/* Ombra sul bordo destro di Cognome quando has-scroll-left */
.sticky-table.has-scroll-left .sticky-col--select::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 0;
  pointer-events: none;
}
.sticky-table.has-scroll-left .sticky-col--second::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px; 
  width: 16px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0));
}

/* Ombra sul bordo sinistro di Azioni quando has-scroll-right */
.sticky-table.has-scroll-right .sticky-col--actions::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  width: 16px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.16));
}
 

.scroll-anchor{
  scroll-margin-top: calc(var(--sticky-header-offset) + 24px);
}
.scroll-top-btn{
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(46,49,146,.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1080;
}
.scroll-top-btn svg{
  width: 18px;
  height: 18px;
}
.scroll-top-btn.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.reg-action-stack{
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.reg-action-btn{
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.reg-action-btn svg{
  width: 15px;
  height: 15px;
}
.reg-action-btn--active{
  background: var(--mint-soft);
  border-color: rgba(122,193,67,.8);
  color: #32541a;
}
.reg-action-btn--danger{
  background: var(--rose-soft);
  border-color: rgba(244,123,32,.75);
  color: #7a3a09;
}
.checkin-scope-action{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.checkin-scope-action__label{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkin-scope-action__command{
  font-size: .82rem;
}
.reg-note-btn--active{
  background: var(--brand-soft);
  border-color: var(--brand-border-strong);
  color: var(--brand-strong);
}
.reg-note-dot{
  position: absolute;
  top: 5px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid var(--surface);
}
.reg-card-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-2);
}
.reg-card-actions .reg-action-btn{
  width: auto;
  height: auto;
  padding: 6px 12px;
  gap: 8px;
}
.reg-card-actions .reg-action-btn svg{
  width: 16px;
  height: 16px;
}
.notes-list{
  display: grid;
  gap: 10px;
}
.notes-modal-body{
  max-height: 260px;
  overflow-y: auto;
}
.note-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-muted);
}
.note-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted);
}
.note-meta-main{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.note-body{
  margin-top: 6px;
  font-size: .9rem;
  color: var(--ink);
}
.note-delete-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: .78rem;
  margin-left: auto;
  color: #b42318;
  text-decoration: none;
  line-height: 1.2;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.note-delete-btn:hover,
.note-delete-btn:focus-visible{
  color: #912018;
  border-color: rgba(180,35,24,.4);
  background: #fff5f4;
  text-decoration: none;
}
.note-delete-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(180,35,24,.14);
}
.new-action-toggle{
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.new-action-toggle::after{
  display: none;
}
.payment-link-trigger{
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 18px rgba(31,31,33,.18), 3px 2px 4px rgba(31,31,33,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.payment-link-trigger:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(31,31,33,.2), 0 4px 8px rgba(31,31,33,.14);
}
.payment-link-trigger:focus-visible{
  outline: 3px solid var(--sky-soft-strong);
  outline-offset: 2px;
}
.payment-link-qr-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
}
.payment-link-qr{
  width: 180px;
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(31,31,33,.14);
  padding: 10px;
}
.proof-thumb{
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
}
.proof-thumb--pdf{
  display: inline-flex;
}
.proof-trigger{
  padding: 0;
  border: 0;
  background: transparent;
}
.proof-link{
  display: inline-flex;
}
.proof-modal-sm{
  max-width: min(520px, calc(100vw - 2rem));
}
.proof-preview-body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}
.proof-preview-image{
  max-width: 100%;
  max-height: calc(100vh - 220px);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transform-origin: center center;
  transition: transform 0.2s ease-in-out;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
}
.proof-preview-image.is-dragging{
  cursor: grabbing;
}
.proof-preview-frame{
  width: 100%;
  height: 70vh;
  border: 0;
  border-radius: var(--radius-sm);
}
.proof-preview-pdf{
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.proof-preview-pdf-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-strong);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .6px;
}
.proof-zoom-controls{
  display: inline-flex;
  gap: 8px;
  margin-left: 10px;
}
.proof-zoom-controls .btn{
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.proof-zoom-controls svg{
  width: 18px;
  height: 18px;
}

.qr-scan-grid{
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  justify-content: center;
}
.qr-scan-modal-dialog{
  max-width: 760px;
}
.qr-scan-modal-dialog .modal-header{
  justify-content: flex-start;
  gap: 12px;
}
.qr-scan-modal-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  margin-left: 0;
}
.qr-scan-modal-actions .btn-close{
  margin-left: auto;
}
.qr-scan-open__icon{
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.qr-beep-toggle{
  width: 30px;
  height: 30px;
  padding: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: none;
  transform: none;
}
.qr-beep-toggle:hover,
.qr-beep-toggle:focus-visible,
.qr-beep-toggle:active{
  transform: none;
  box-shadow: none;
}
.qr-beep-toggle__icon{
  width: 15px;
  height: 15px;
  display: none;
}
.qr-beep-toggle__icon svg{
  width: 15px;
  height: 15px;
  display: block;
}
.qr-beep-toggle--on .qr-beep-toggle__icon--on,
.qr-beep-toggle--off .qr-beep-toggle__icon--off{
  display: inline-flex;
}
.qr-beep-toggle--on,
.qr-beep-toggle--on:hover,
.qr-beep-toggle--on:focus-visible{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.qr-beep-toggle--off,
.qr-beep-toggle--off:hover,
.qr-beep-toggle--off:focus-visible{
  background: rgba(46,49,146,.04);
  border-color: var(--brand-strong);
  color: var(--brand-strong);
}
.qr-video-frame{
  width: min(100%, 250px);
  aspect-ratio: 1 / 1;
  padding: 2px;
  border-radius: calc(var(--radius-md) + 10px);
  background: rgba(148, 163, 184, .45);
  justify-self: center;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.qr-video-frame--result{
  padding: 10px;
  background: var(--qr-dietary-frame-gradient, #94A3B8);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .06);
}
.qr-video{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, .14);
  background: var(--brand-strong);
  display: block;
}
.qr-scan-sidebar{
  min-width: 0;
}
.qr-scan-scope-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qr-scan-scope-buttons .btn{
  border-radius: 999px;
  box-shadow: none;
  transform: none;
}
.qr-scan-scope-buttons .btn:hover,
.qr-scan-scope-buttons .btn:focus-visible,
.qr-scan-scope-buttons .btn:active{
  box-shadow: none;
  transform: none;
}
.qr-scan-scope-buttons .btn:focus-visible{
  box-shadow: none;
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
.qr-scan-scope-buttons .btn-outline-dark{
  background: #fff;
}
.qr-scan-scope-buttons .btn-outline-dark:hover,
.qr-scan-scope-buttons .btn-outline-dark:focus-visible{
  background: #fff;
  border-color: var(--brand-strong);
  color: var(--brand-strong);
}
.qr-scan-scope-buttons .qr-scan-scope-button--active,
.qr-scan-scope-buttons .qr-scan-scope-button--active:hover,
.qr-scan-scope-buttons .qr-scan-scope-button--active:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
  box-shadow: none;
}
.qr-scan-scope-buttons .qr-scan-scope-button--inactive,
.qr-scan-scope-buttons .qr-scan-scope-button--inactive:disabled{
  background: var(--surface-muted);
  border-color: rgba(93, 97, 116, .28);
  color: var(--muted);
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
.qr-result-card{
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.qr-result-body{
  flex: 1;
  padding: var(--space-2);
  background: var(--surface-muted);
}
.qr-result-name{
  font-weight: 700;
  margin-bottom: 2px;
}
.qr-result-email{
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: var(--space-1);
}
.qr-result-row{
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: .95rem;
  padding: 2px 0;
  align-items: flex-start;
}
.qr-result-label{
  color: var(--muted);
}
.qr-result-value{
  text-align: right;
}
.qr-result-note{
  margin-top: 6px;
  font-size: .85rem;
  color: var(--muted);
}
.qr-result-icon{
  width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 800;
}
.qr-result-card--success{
  border-color: rgba(122,193,67,.8);
}
.qr-result-card--success .qr-result-body{
  background: var(--mint-soft);
}
.qr-result-card--success .qr-result-icon{
  background: var(--mint);
  color: #264a10;
}
.qr-result-card--already{
  border-color: rgba(244,123,32,.72);
}
.qr-result-card--already .qr-result-body{
  background: rgba(244,123,32,.14);
}
.qr-result-card--already .qr-result-icon{
  background: rgba(244,123,32,.24);
  color: #7a3a09;
}
.qr-result-card--danger{
  border-color: rgba(244,123,32,.8);
}
.qr-result-card--danger .qr-result-body{
  background: var(--rose-soft);
}
.qr-result-card--danger .qr-result-icon{
  background: var(--rose);
  color: #7a3a09;
}
.qr-result-card--warning{
  border-color: var(--brand-border-strong);
}
.qr-result-card--warning .qr-result-body{
  background: var(--brand-soft);
}
.qr-result-card--warning .qr-result-icon{
  background: var(--brand);
  color: #fff;
}

.menu-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255,255,255,.56);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.menu-link::after{
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .28;
  flex: 0 0 auto;
}
.menu-link:hover,
.menu-link:focus-visible{
  background: var(--blue-soft);
  color: var(--brand-strong);
  transform: scale(1.02);
}
.menu-link.is-active{
  background: linear-gradient(90deg, rgba(46,49,146,.09), rgba(0,174,239,.12));
  border-color: rgba(46,49,146,.12);
  color: var(--brand-strong);
}

.cookie-banner{
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  padding-top: max(18px, env(safe-area-inset-top));
  z-index: 9999;
  display: block;
  pointer-events: none;
}
.cookie-banner[hidden],
.cookie-settings-trigger[hidden]{
  display: none !important;
}
.cookie-inner{
  width: min(640px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.995), rgba(248,250,253,.98));
  border: 1px solid rgba(46,49,146,.12);
  border-radius: 22px;
  padding: 14px 16px 16px;
  box-shadow: 0 18px 40px rgba(31,31,33,.16), 0 8px 18px rgba(46,49,146,.1);
  max-height: calc(100dvh - max(36px, env(safe-area-inset-top)) - max(18px, env(safe-area-inset-bottom)));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}
.cookie-shell{
  display: grid;
  gap: 12px;
}
.cookie-summary{
  display: grid;
  gap: 10px;
}
.cookie-summary__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cookie-summary__title-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cookie-summary__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,174,239,.12), rgba(46,49,146,.18));
  color: var(--brand-strong);
  flex: 0 0 auto;
}
.cookie-summary__icon-image{
  width: 26px;
  height: 26px;
  display: block;
}
.cookie-close{
  width: 34px;
  height: 34px;
  border: 1px solid rgba(18,19,24,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cookie-close:hover,
.cookie-close:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(31,31,33,.12);
  background: #fff;
}
.cookie-title{
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.1;
}
.cookie-copy{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.cookie-details{
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(18,19,24,.08);
}
.cookie-category{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(18,19,24,.08);
  border-radius: 16px;
  background: rgba(247,249,253,.92);
}
.cookie-category__main{
  min-width: 0;
  flex: 1 1 auto;
}
.cookie-category__summary{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.cookie-category__summary:hover{
  color: var(--brand-strong);
}
.cookie-category__summary[aria-expanded="true"] .cookie-category__chevron{
  transform: rotate(180deg);
}
.cookie-category__chevron{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--brand-strong);
  transition: transform .2s ease;
}
.cookie-category__chevron svg{
  width: 16px;
  height: 16px;
}
.cookie-category__title{
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
}
.cookie-category__body{
  margin-top: 10px;
}
.cookie-category__text{
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.cookie-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--brand-strong);
  background: rgba(46,49,146,.08);
}
.cookie-chip--required{
  color: #2b7b37;
  background: rgba(122,193,67,.16);
}
.cookie-toggle-field{
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle-input{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle-button{
  width: 54px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  padding: 4px;
  background: rgba(18,19,24,.18);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  transition: background .2s ease, transform .2s ease;
}
.cookie-toggle-button__thumb{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(31,31,33,.18);
  transition: transform .2s ease;
}
.cookie-toggle-input:checked + .cookie-toggle-button,
.cookie-toggle-button.is-on{
  background: linear-gradient(135deg, var(--brand-strong), var(--sky));
}
.cookie-toggle-input:checked + .cookie-toggle-button .cookie-toggle-button__thumb,
.cookie-toggle-button.is-on .cookie-toggle-button__thumb{
  transform: translateX(22px);
}
.cookie-toggle-input:focus-visible + .cookie-toggle-button,
.cookie-toggle-button:focus-visible{
  outline: 3px solid var(--sky-soft-strong);
  outline-offset: 2px;
}
.cookie-toggle-button.is-locked{
  cursor: pointer;
}
.cookie-actions{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cookie-actions .btn{
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 14px;
  font-weight: 700;
}
.cookie-actions .btn-outline-dark{
  background: rgba(46,49,146,.04);
  border-color: var(--brand-strong);
  color: var(--brand-strong);
}
.cookie-actions .btn-outline-dark:hover,
.cookie-actions .btn-outline-dark:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
.cookie-actions .is-save-mode{
  background: var(--brand-strong);
  color: #fff;
  border-color: var(--brand-strong);
}
.cookie-actions .is-save-mode:hover,
.cookie-actions .is-save-mode:focus-visible{
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
.cookie-banner.is-expanded .cookie-inner{
  width: min(680px, 100%);
}
.cookie-settings-trigger{
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9998;
}
.cookie-settings-button{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-strong), #2d89e4);
  box-shadow: 0 18px 34px rgba(31,31,33,.2), 0 6px 16px rgba(46,49,146,.18);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.cookie-settings-button:hover,
.cookie-settings-button:focus-visible{
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 38px rgba(31,31,33,.24), 0 10px 22px rgba(46,49,146,.2);
}
.cookie-settings-button__icon{
  width: 34px;
  height: 34px;
  display: block;
}
.cookie-modal{
  background: #2f3137;
  color: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(18,19,24,.28);
}
.cookie-dialog{
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: auto;
}
.cookie-dialog__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(18,19,24,.46);
  backdrop-filter: blur(3px);
}
.cookie-dialog__panel{
  position: relative;
  width: min(460px, 100%);
  padding: 28px 24px 20px;
  background: #2f3137;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(18,19,24,.32);
}
.cookie-dialog__actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal__title{
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-modal__text{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.55;
}
.cookie-modal__button{
  min-width: 92px;
  border-radius: 999px;
}

.flag-btn{
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}
.flag-btn:hover{ background: rgba(255,255,255,.08); transform: scale(1.02); }
.lang-dropdown{
  margin: 0;
}
.lang-btn{
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease-in-out;
}
.lang-btn:hover,
.lang-btn:focus-visible{
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: scale(1.02);
}
.lang-flag{
  font-size: 1rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lang-text{
  font-size: .9rem;
  font-weight: 600;
}
.lang-menu .dropdown-item{
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-menu{
  z-index: 1060;
}
.topbar .dropdown-menu{
  z-index: 1060;
}

.alert{
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.alert-success{
  background: var(--mint-soft);
  border-color: rgba(122,193,67,.6);
  color: #32541a;
}
.alert-danger{
  background: var(--rose-soft);
  border-color: rgba(244,123,32,.6);
  color: #7a3a09;
}
.alert-warning{
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand-strong);
}
.alert-info{
  background: var(--sky-soft);
  border-color: rgba(0,174,239,.45);
  color: #124867;
}
.alert-banner{
  border-left: 4px solid var(--mint);
  padding: 12px 16px;
}
.alert-banner .alert-icon{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: #264a10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.alert-banner .alert-icon svg{
  width: 18px;
  height: 18px;
}
.toast-stack{
  position: fixed;
  bottom: 56px;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  z-index: 1080;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  pointer-events: none;
}
.toast-message{
  pointer-events: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(31,31,33,.16);
  background: var(--surface);
  overflow: hidden;
  width: fit-content;
  max-width: calc(100vw - 32px);
}
.toast-body{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--ink);
}
.toast-icon{
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  background: rgba(18,19,24,.08);
  color: var(--ink);
  flex: 0 0 auto;
}
.toast-text{
  flex: 1;
}
.toast-close{
  filter: none;
  opacity: .6;
}
.toast-close:hover{
  opacity: 1;
}
.toast--success .toast-icon{
  background: var(--mint-soft-strong);
  color: #264a10;
}
.toast--danger .toast-icon{
  background: var(--rose-soft-strong);
  color: #7a3a09;
}
.toast--warning .toast-icon{
  background: var(--brand-soft-strong);
  color: var(--brand-strong);
}
.toast--info .toast-icon{
  background: var(--sky-soft-strong);
  color: #124867;
}

@keyframes page-in{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes page-loader-spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@view-transition{
  navigation: auto;
}

@keyframes fade-in{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
@keyframes fade-out{
  from{ opacity: 1; }
  to{ opacity: 0; }
}

::view-transition-old(event-card-active),
::view-transition-new(event-card-active){
  animation-fill-mode: both;    /* importante per evitare glitch tra keyframes */
  transform-origin: center;
}

@keyframes card-zoom-out{
  from{ transform: scale(1); opacity: 1; }
  to{ transform: scale(1.1); opacity: .1; }
}
@keyframes card-zoom-in{
  from{ transform: scale(.92); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}
html.vt-card-active .event-hero-media{
  view-transition-name: event-card-active;
}
.event-hero-media,
.event-hero-media img{
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.event-card-media{
  background: var(--surface);
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.event-card-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

@media (hover: none), (pointer: coarse){
  a,
  button,
  summary,
  .btn,
  [role="button"]{
    -webkit-tap-highlight-color: rgba(0,174,239,.16);
  }

  .btn:hover{
    transform: none;
    box-shadow: none;
  }

  .btn[class*="btn-outline-"]:hover{
    background: transparent;
    border-color: var(--bs-btn-border-color, currentColor);
    color: var(--bs-btn-color, currentColor);
  }

  .btn-light:hover{
    background: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
    color: var(--bs-btn-color);
  }

  .btn-dark:hover,
  .btn-brand:hover{
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(236,0,140,.18);
  }

  .btn-dark:disabled:hover,
  .btn-dark.disabled:hover,
  .btn-dark[aria-disabled="true"]:hover{
    box-shadow: none;
  }

  .btn.btn-outline-dark:hover{
    background: rgba(46,49,146,.04);
    border-color: var(--brand-strong);
    color: var(--brand-strong);
  }

  .cookie-actions .btn-outline-dark:hover{
    background: rgba(46,49,146,.04);
    border-color: var(--brand-strong);
    color: var(--brand-strong);
  }

  .nav-link:hover{
    color: var(--ink);
    background: transparent;
    transform: none;
  }

  .nav-link.is-active:hover{
    color: var(--brand-strong);
    background: linear-gradient(90deg, rgba(46,49,146,.08), rgba(0,174,239,.1));
    box-shadow: inset 0 0 0 1px rgba(46,49,146,.08);
  }

  .topbar-link:hover{
    opacity: .92;
    text-decoration: none;
    background: transparent;
    transform: none;
  }

  .carousel-btn:hover{
    background: var(--surface);
    border-color: var(--line);
    color: var(--brand-strong);
  }

  .event-card:hover{
    transform: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .calendar-mode-link:hover{
    color: var(--muted);
    background: transparent;
  }

  .calendar-mode-link.is-active:hover{
    color: #fff;
    background: var(--brand);
  }

  .calendar-month-title:hover{
    background: transparent;
    border-color: transparent;
  }

  .calendar-month-picker[open] .calendar-month-title:hover{
    background: var(--blue-soft);
    border-color: var(--line);
  }

  .calendar-year-btn:hover{
    background: var(--surface);
    color: var(--brand-strong);
  }

  .calendar-month-option:hover{
    background: var(--surface-muted);
    border-color: var(--line);
    color: var(--ink);
  }

  .calendar-month-option.is-active:hover{
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }

  .calendar-nav-btn:hover{
    background: var(--surface);
    border-color: var(--line);
    color: var(--brand-strong);
    transform: none;
  }

  .calendar-event:hover{
    z-index: 1;
    color: var(--ink);
    border-color: rgba(46,49,146,.1);
    background: rgba(247,249,253,.9);
    box-shadow: none;
    transform: none;
  }

  .calendar-week-bars .calendar-event--bar:hover{
    border-color: rgba(46,49,146,.12);
    background: linear-gradient(90deg, rgba(247,249,253,.98), rgba(243,246,251,.97));
    box-shadow: 0 4px 10px rgba(46,49,146,.04);
  }

  .calendar-compact-trigger:hover{
    color: var(--muted);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .calendar-compact-trigger.has-events:hover{
    color: var(--brand-strong);
    background: rgba(46,49,146,.04);
    border-color: rgba(46,49,146,.1);
  }

  .calendar-compact-trigger.is-active:hover{
    color: var(--brand-strong);
    background: #fff;
    border-color: var(--brand-border-strong);
    box-shadow: 0 8px 16px rgba(46,49,146,.08);
  }

  .registrations-event-arrow:hover{
    background: var(--surface);
    border-color: rgba(46,49,146,.28);
    color: var(--brand-strong);
    transform: none;
  }

  .reg-filter-action:hover{
    background: var(--surface);
    color: var(--brand-strong);
  }

  .reg-filter-action--ghost:hover{
    color: var(--ink);
  }

  .reg-sort-toggle:hover{
    background: var(--surface);
    color: var(--brand-strong);
  }

  .copy-btn:hover{
    transform: none;
    background: var(--surface);
  }

  .copy-btn--copied:hover{
    background: var(--mint);
    border-color: var(--mint);
    color: #264a10;
  }

  .payment-link-trigger:hover{
    transform: none;
    box-shadow: 8px 8px 18px rgba(31,31,33,.18), 3px 2px 4px rgba(31,31,33,.12);
  }

  .qr-scan-scope-buttons .btn-outline-dark:hover{
    background: #fff;
    border-color: var(--brand-strong);
    color: var(--brand-strong);
  }

  .qr-scan-scope-buttons .qr-scan-scope-button--active:hover{
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff;
  }

  .menu-link:hover{
    background: rgba(255,255,255,.56);
    color: var(--ink);
    transform: none;
  }

  .menu-link.is-active:hover{
    background: linear-gradient(90deg, rgba(46,49,146,.09), rgba(0,174,239,.12));
    border-color: rgba(46,49,146,.12);
    color: var(--brand-strong);
  }

  .cookie-close:hover{
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.94);
  }

  .cookie-actions .is-save-mode:hover{
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff;
  }

  .cookie-settings-button:hover{
    color: #fff;
    transform: none;
    box-shadow: 0 18px 34px rgba(31,31,33,.2), 0 6px 16px rgba(46,49,146,.18);
  }

  .flag-btn:hover,
  .lang-btn:hover{
    background: transparent;
    color: #fff;
    transform: none;
  }
}

/* responsive */
@media (max-width: 991px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero{
    padding: var(--space-4) 0;
  }
  .hero-title{
    font-size: 2.875rem;
  }
  .events-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .events-carousel-track .event-card{
    flex-basis: calc((100% - var(--space-3)) / 2);
  }
  .calendar-week-days,
  .events-calendar-weekdays{
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .calendar-day{
    min-height: 120px;
    padding: 8px;
  }
  .calendar-day-events .calendar-event{
    align-items: flex-start;
  }
  .calendar-day-events .calendar-event-thumb{
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .carousel-btn--prev{ left: -10px; }
  .carousel-btn--next{ right: -10px; }
  .steps-grid{
    grid-template-columns: 1fr;
  }
  .event-detail-grid{
    grid-template-columns: 1fr;
  }
  .payment-grid{
    column-count: 1;
  }
  .event-map-frame iframe{
    height: 200px;
  }
  .qr-scan-grid{
    grid-template-columns: 1fr;
  }
  .qr-video{
    width: 100%;
  }
  .qr-video-frame{
    width: min(100%, 200px);
  }
  .site-footer-row{
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px){
  .registrations-event-nav{
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }
  .registrations-event-arrow{
    width: 40px;
    height: 40px;
  }
  .registrations-event-arrow svg{
    width: 20px;
    height: 20px;
  }
  .registrations-filter-panel{
    padding: var(--space-2);
    border-radius: 20px;
  }
  .registrations-filter-grid{
    flex-direction: column;
  }
  .registrations-filter-search,
  .registrations-filter-phone,
  .registrations-filter-field,
  .registrations-filter-sort,
  .reg-filter-action{
    flex: 1 1 auto;
    width: 100%;
  }
  .registrations-filter-search,
  .registrations-filter-phone{
    max-width: none;
  }
  .registrations-filter-field--participant-type,
  .registrations-filter-field--esncard,
  .registrations-filter-field--checkin{
    min-width: 0;
    max-width: none;
  }
  .email-selection-toolbar{
    align-items: stretch;
    flex-direction: column;
  }
  .email-selection-toolbar__actions{
    justify-content: stretch;
  }
  .email-selection-toolbar__actions .btn{
    flex: 1 1 0;
  }
  .reg-filter-action{
    min-width: 0;
  }
  .navbar .container{
    min-height: 58px;
  }
  .topbar .container{
    flex-wrap: wrap;
  }
  .brand-logo--wordmark{
    height: 50px;
  }
  .hero-card-content{
    text-align: center;
    justify-items: center;
  }
  .hero-title{
    font-size: 2.25rem;
    line-height: 1.04;
  }
  .hero-card,
  .hero-text{
    text-align: center;
  }
  .hero-actions{
    justify-content: center;
  }
  .section-head{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .section-head .btn{
    width: 100%;
    max-width: 280px;
  }
  .breadcrumb{
    justify-content: center;
  }
  .calendar-page-head{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .calendar-view-actions{
    justify-content: center;
  }
  .calendar-view-controls{
    justify-content: center;
  }
  .calendar-mode-toggle{
    width: 100%;
    max-width: 280px;
  }
  .calendar-mode-link{
    flex: 1;
  }
  .calendar-toolbar{
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }
  .calendar-month-title{
    font-size: 1.45rem;
  }
  .calendar-today-link{
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .events-calendar-weekdays{
    display: none;
  }
  .events-calendar-grid{
    display: block;
  }
  .calendar-week{
    --calendar-bar-stack-height: 0px !important;
    --calendar-bar-extra-height: 0px !important;
  }
  .calendar-week-days{
    display: block;
  }
  .calendar-week-bars{
    display: none;
  }
  .calendar-day{
    min-height: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }
  .calendar-day:nth-last-child(-n+7){
    border-bottom: 1px solid var(--line);
  }
  .calendar-day:last-child{
    border-bottom: 0;
  }
  .calendar-day--outside{
    display: none;
  }
  .calendar-day-number{
    align-items: center;
    justify-content: center;
    flex-direction: column;
    align-self: start;
  }
  .calendar-day-number small{
    display: inline;
  }
  .calendar-day-events{
    max-height: none;
    align-content: center;
    margin-top: 0;
    overflow: visible;
    padding-right: 0;
    mask-image: none;
  }
  .calendar-event,
  .calendar-event--bar{
    width: min(100%, 280px);
    justify-self: center;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    border-color: rgba(46,49,146,.1);
    border-radius: 10px;
    padding: 4px;
  }
  .calendar-event--mobile-multi{
    display: flex;
  }
  .calendar-day--empty .calendar-day-events{
    display: block;
  }
  .calendar-event-title{
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* line-clamp: 2; da aggiungere nel futuro quando sarà più supportata*/
  }
  .events-calendar--compact .events-calendar-weekdays{
    display: grid;
  }
  .events-calendar--compact .calendar-week-days{
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .events-calendar--compact .calendar-day{
    min-height: 58px;
    display: flex;
    border-right: 1px solid var(--line);
    padding: 4px;
  }
  .events-calendar--compact .calendar-day:nth-child(7n){
    border-right: 0;
  }
  .events-calendar--compact .calendar-day--outside{
    display: flex;
    opacity: .5;
  }
  .events-calendar--compact .calendar-day-number,
  .events-calendar--compact .calendar-day-events{
    display: none;
  }
  .events-calendar--compact .calendar-compact-trigger{
    min-height: 48px;
    padding: 3px;
  }
  .events-calendar--compact .calendar-compact-number{
    width: 24px;
    height: 24px;
  }
  .calendar-compact-panel{
    padding: 12px;
  }
  .calendar-compact-detail-list{
    grid-template-columns: 1fr;
  }
  .event-detail-actions{
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .event-detail-actions .btn,
  .event-detail-actions .alert{
    width: 100%;
  }
  .qr-card{
    width: 100%;
  }
  .qr-image{
    margin-left: auto;
    margin-right: auto;
  }
  .qr-video{
    width: 100%;
  }
  .qr-video-frame{
    width: min(100%, 180px);
  }
  .qr-result-icon{
    width: 72px;
  }
  .site-footer-row{
    align-items: center;
    text-align: center;
  }
  .site-footer-links{
    justify-content: center;
  }
  .events-grid{
    grid-template-columns: 1fr;
  }
  .events-carousel-track .event-card{
    flex-basis: 85%;
  }
  .carousel-btn{
    width: 38px;
    height: 38px;
  }
  .payment-card .btn,
  .modal-footer .btn{
    width: 100%;
  }
  .modal-footer{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .modal-footer > *{
    margin: 0;
  }
  .bank-detail{
    align-items: flex-start;
  }
  .bank-label{
    min-width: 0;
    width: 100%;
  }
  .copy-btn{
    margin-left: auto;
  }
  .reg-card{
    padding: var(--space-2);
  }
  .registrations-insight-metrics{
    grid-template-columns: 1fr;
  }
  .registrations-insight-modal{
    width: min(100% - 2.5rem, 340px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .registrations-insight-modal .modal-content{
    max-height: min(80dvh, 560px);
  }
  .registrations-insight-modal .modal-header{
    padding: 9px 10px;
  }
  .registrations-insight-modal .modal-body{
    padding: 8px 10px 10px;
    overflow-y: auto;
  }
  .registrations-insight-panel{
    padding: 8px;
  }
  .registrations-insight-card,
  .registrations-insight-detail-card{
    padding: 8px 9px;
  }
  .registrations-insight-metrics{
    gap: 6px;
  }
  .registrations-insight-detail-card__copy{
    font-size: .75rem;
    line-height: 1.22;
  }
  .registrations-insight-list{
    max-height: 108px;
  }
  .reg-card-row{
    flex-direction: column;
  }
  .reg-card-value{
    text-align: left;
  }
  .cookie-banner{
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding-top: max(12px, env(safe-area-inset-top));
  }
  .cookie-inner{
    padding: 14px;
    border-radius: 18px;
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  }
  .cookie-title{
    font-size: 1.05rem;
  }
  .cookie-actions{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .cookie-category{
    flex-direction: column;
  }
  .cookie-category__summary{
    width: 100%;
  }
  .cookie-toggle-field,
  .cookie-toggle-button.is-locked{
    align-self: flex-start;
  }
  .cookie-actions .btn,
  .event-map-placeholder__actions .btn,
  .event-map-link{
    width: 100%;
  }
  .cookie-settings-trigger{
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .cookie-settings-button{
    width: 50px;
    height: 50px;
  }
  .event-map-placeholder{
    padding: 20px 16px;
  }
  .event-map-placeholder__actions{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-dialog{
    padding: 16px;
  }
  .cookie-dialog__panel{
    padding: 22px 18px 18px;
    border-radius: 20px;
  }
}
@media (max-width: 400px){
  .cookie-summary__title-wrap{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* reduce motion 
@media (prefers-reduced-motion: reduce){
  *{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root){
    animation-duration: 0.01ms !important;
  }
  main{
    animation: none;
  }
}*/

.password-toggle .password-toggle-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}

.password-toggle .password-toggle-icon{
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.password-toggle-btn .password-toggle-icon--off{
  display: none;
}

.password-toggle-btn.is-active .password-toggle-icon--on{
  display: none;
}

.password-toggle-btn.is-active .password-toggle-icon--off{
  display: inline;
}

.mobile-menu{
  --bs-offcanvas-width: min(340px, 86vw);
  --bs-offcanvas-zindex: 1095;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,253,.98)),
    repeating-linear-gradient(135deg, rgba(0,174,239,.04) 0 2px, transparent 2px 20px);
  border-left: 1px solid rgba(46,49,146,.12);
  overflow: hidden;
  z-index: var(--bs-offcanvas-zindex);
}

.offcanvas-backdrop{
  z-index: 1090;
}

.mobile-menu .offcanvas-header{
  padding-bottom: 6px;
}

.mobile-menu .offcanvas-body{
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu .offcanvas-body hr{
  margin: 0;
  opacity: .14;
}

.mobile-menu__section{
  display: grid;
  gap: 8px;
}

@media (min-width: 992px){
  .mobile-menu__section--primary,
  .mobile-menu__divider--primary{
    display: none;
  }
}

.feedback-modal{
  width: max-content;
  max-width: 95vw;
}

.feedback-scale{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46,49,146,.22);
  background: linear-gradient(
    90deg,
    rgba(46,49,146,.08),
    rgba(0,174,239,.14)
  );
  overflow-x: hidden;
  width: max-content;
}

.feedback-scale .form-check{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.feedback-scale .form-check-input{
  margin-top: 0;
  accent-color: var(--brand);
}

.feedback-scale .form-check-label{
  font-weight: 600;
  color: var(--brand-strong);
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.feedback-scale .form-check-input:checked + .form-check-label{
  background: var(--sky-soft);
  border-color: rgba(0,174,239,.55);
  color: var(--brand-strong);
}

@media (max-width: 768px){
  .feedback-modal{
    width: 100%;
    max-width: 100%;
  }

  .feedback-scale{
    flex-direction: column-reverse;
    align-items: flex-start;
    overflow-x: visible;
    width: 100%;
  }
}
