* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
}

a {
  color: inherit;
}

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

img {
  max-width: 100%;
  display: block;
}

:root {
  --reumi-primary: #087e83;
  --reumi-border: #dce3ed;
  --reumi-text: #172b43;
  --reumi-canvas: #f4f6fa;
}

body {
  background: #f4f6fa;
  color: #172b43;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 650;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

h1:focus {
  outline: none;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  color: #087e83;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

a {
  text-underline-offset: 0.2em;
}

a:focus-visible, summary:focus-visible, input[type=checkbox]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

input[type=checkbox] {
  accent-color: #087e83;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

::selection {
  background: #d0eeee;
  color: #075e64;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.public-shell {
  min-height: 100vh;
}

.public-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dce3ed;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1rem max(1rem, (100% - 69rem) / 2);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  color: #172b43;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 700;
  gap: 0.65rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.public-main {
  margin: 0 auto;
  max-width: 72rem;
  padding: 2rem 1rem 3rem;
}

.public-main > .page-header {
  margin-block: 1rem 2rem;
}

.login-panel {
  margin: clamp(1rem, 6vh, 4rem) auto;
  max-width: 28rem;
}

.login-panel > .brand-mark {
  margin-bottom: 1.5rem;
  height: 3rem;
  width: 3rem;
}

.login-panel .page-header {
  margin-bottom: 1.5rem;
}

.login-panel .card {
  padding: 2rem;
}

.login-panel .checkbox {
  font-size: 0.875rem;
}

@media (max-width: 35.99rem) {
  .public-header {
    gap: 0.5rem;
  }
  .public-header .public-nav {
    gap: 0;
  }
  .public-nav a {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
  .public-header .brand-mark {
    display: none;
  }
  .login-panel .card {
    padding: 1.5rem;
  }
}
@media (min-width: 48rem) {
  .public-main {
    padding: 3rem 1.5rem;
  }
}
.admin-shell {
  min-height: 100vh;
}

.nav-toggle {
  position: fixed;
  left: 1.1rem;
  top: 1.1rem;
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle:focus-visible ~ .admin-content .hamburger {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.admin-sidebar {
  background: #142438;
  color: #e6edf5;
  inset: 0 auto 0 0;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  position: fixed;
  transform: translateX(-100%);
  transition: transform 0.2s ease, visibility 0.2s;
  visibility: hidden;
  width: 15.5rem;
  z-index: 10;
}

.nav-toggle:checked ~ .admin-sidebar {
  transform: translateX(0);
  visibility: visible;
}

.admin-brand {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin: 0.25rem 0.5rem 2rem;
  text-decoration: none;
}

.admin-brand strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.admin-brand small {
  color: #a7b8cc;
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.brand-mark {
  align-items: center;
  background: #20364d;
  border: 1px solid rgba(154, 238, 231, 0.3);
  border-radius: 0.75rem;
  color: white;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.brand-mark svg {
  height: 1.85rem;
  width: 1.85rem;
}

.admin-content {
  min-height: 100vh;
  min-width: 0;
}

.admin-topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dce3ed;
  display: flex;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding: 0.875rem 1rem;
}

.hamburger {
  align-items: center;
  border: 1px solid #dce3ed;
  border-radius: 0.625rem;
  cursor: pointer;
  display: flex;
  flex: 0 0 2.75rem;
  font-size: 1.25rem;
  height: 2.75rem;
  justify-content: center;
}

.admin-main {
  margin: 0 auto;
  max-width: 100rem;
  min-width: 0;
  padding: 1.5rem 1rem 3rem;
}

.active-event {
  margin-left: auto;
  min-width: 0;
}

.active-event__trigger {
  max-width: min(34rem, 100%);
  text-align: left;
  white-space: normal;
}

.active-event__trigger > span:first-of-type {
  color: #596b80;
  font-weight: 400;
}

.active-event__name {
  min-width: 0;
}

.active-event__trigger > svg {
  flex-shrink: 0;
}

.profile-menu {
  position: relative;
  flex: 0 0 auto;
}

.profile-menu summary {
  align-items: center;
  background: #f4f7fb;
  border: 1px solid #dce3ed;
  border-radius: 0.7rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  list-style: none;
  min-height: 2.75rem;
  width: 2.75rem;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-menu summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.profile-menu nav {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  display: grid;
  min-width: 10rem;
  padding: 0.4rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 15;
}

.profile-menu a {
  border-radius: 0.4rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.profile-menu a:hover {
  background: #f4f6fa;
}

.profile-menu a.active {
  background: #e9f5f5;
  color: #075e64;
  font-weight: 600;
}

.active-event-dialog {
  border: 0;
  margin: auto;
  max-height: 85vh;
  max-width: 55rem;
  overflow-y: auto;
  width: calc(100% - 2rem);
}

.active-event-dialog::backdrop {
  background: rgba(15, 28, 46, 0.55);
  backdrop-filter: blur(3px);
}

.active-event-dialog__header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.active-event-dialog__actions {
  margin-bottom: 0.75rem;
}

.active-event-dialog .table button {
  text-align: left;
  white-space: normal;
}

.active-event-dialog .is-selected {
  background: #e9f5f5;
}

.active-event-dialog [aria-pressed=true] {
  outline: 2px solid currentColor;
}

.sidebar-scrim {
  display: none;
}

@media (max-width: 63.99rem) {
  .nav-toggle:checked ~ .sidebar-scrim {
    background: rgba(15, 28, 46, 0.5);
    display: block;
    inset: 4.75rem 0 0;
    position: fixed;
    z-index: 9;
  }
  .admin-sidebar {
    top: 4.75rem;
  }
  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 11;
  }
  .admin-topbar > .brand {
    font-size: 1.1rem;
  }
  .admin-topbar .active-event__trigger {
    display: block;
    font-size: 0.75rem;
    min-height: 2.75rem;
    padding: 0.3rem 0.6rem;
    width: 100%;
  }
  .active-event__trigger > span {
    display: block;
  }
  .active-event__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .active-event__trigger > svg {
    display: none;
  }
  .admin-topbar {
    gap: 0.5rem;
  }
}
@media (min-width: 64rem) {
  .admin-sidebar {
    transform: none;
    visibility: visible;
  }
  .admin-content {
    margin-left: 15.5rem;
  }
  .hamburger, .nav-toggle {
    display: none;
  }
  .admin-main {
    padding: 2rem 2rem 3rem;
  }
  .admin-topbar {
    padding-inline: 2rem;
  }
}
.btn, .button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  line-height: 1.4;
  min-height: 2.65rem;
  padding: 0.6rem 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:focus-visible, .button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.btn--primary, .button:not(.button-secondary) {
  background: #e7f5f4;
  border-color: #b6deda;
  border-left: 4px solid #35a89c;
  border-radius: 10px;
  color: #135c60;
  padding-inline: 1.1rem;
  box-shadow: none;
}

.btn--secondary, .button-secondary {
  background: white;
  border-color: #dce3ed;
  color: #35485f;
  box-shadow: 0 1px 2px rgba(20, 38, 63, 0.04);
}

.btn--danger {
  background: #b34d36;
  border-radius: 8px;
  color: white;
  box-shadow: none;
}

.btn--primary:hover:not(:disabled), .button:not(.button-secondary):hover:not(:disabled) {
  background: #d3eeeb;
  border-left-color: #218b81;
}

.btn--primary:active:not(:disabled), .button:not(.button-secondary):active:not(:disabled) {
  background: #bfe3df;
  border-left-color: #1b756d;
}

.btn--secondary:hover:not(:disabled), .button-secondary:hover:not(:disabled) {
  background: #f0f5f9;
  border-color: #b8c6d7;
}

.btn--danger:hover:not(:disabled) {
  background: #963f2c;
}

.btn--danger:active:not(:disabled) {
  background: #803626;
}

.button-small {
  padding: 0.45rem 0.7rem;
}

.btn:disabled, .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (pointer: coarse) {
  .btn, .button {
    min-height: 2.75rem;
  }
}
.form-stack {
  display: grid;
  gap: 1rem;
}

.detail-edit-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.detail-edit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dce3ed;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
}

label, .form-field label, .checkbox {
  color: #172b43;
  font-weight: 600;
}

.input, input:not([type=checkbox]), select, textarea {
  background: white;
  border: 1px solid #cbd6e3;
  border-radius: 0.5rem;
  color: #172b43;
  padding: 0.6rem 0.75rem;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(20, 38, 63, 0.025);
}

input::placeholder, textarea::placeholder {
  color: #6a7c90;
  opacity: 1;
}

input:disabled, select:disabled, textarea:disabled {
  background: #f4f6fa;
  color: #596b80;
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

.input:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
  border-color: #087e83;
}

.field-validation {
  color: #b42318;
  font-size: 0.9rem;
}

.form-help, .help-text {
  display: block;
  color: #596b80;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

.file-drop-zone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  border: 1.5px dashed #9caec2;
  border-radius: 0.75rem;
  background: #f6f9fc;
  padding: 1.5rem 1rem;
  transition: border-color 0.15s, background 0.15s;
}

.file-drop-zone__icon {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.65rem;
  color: #087e83;
  height: 2.5rem;
  width: 2.5rem;
  margin-bottom: 0.35rem;
  padding: 0.5rem;
}

.file-drop-zone:hover {
  border-color: #087e83;
  background: #edf7f7;
}

.file-drop-zone input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  padding: 0;
}

.file-drop-zone__label {
  font-weight: 600;
}

.file-drop-zone--active, .file-drop-zone:focus-within {
  border-color: #087e83;
  background: #eef6f4;
}

.file-drop-zone:focus-within {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.file-drop-zone[aria-busy=true] {
  opacity: 0.6;
}

.file-drop-zone input:disabled {
  cursor: not-allowed;
}

.address-grid {
  display: grid;
  gap: 1rem;
}

.street-suggest {
  position: relative;
  min-width: 0;
}

.street-suggest__popup {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  width: max(100%, 17rem);
  max-width: calc(100vw - 3rem);
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  overflow: hidden;
}

.street-suggest__popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.street-suggest__popup li {
  padding: 0.6rem 0.75rem;
  cursor: pointer;
}

.street-suggest__popup li span {
  display: block;
  color: #596b80;
  font-size: 0.85rem;
}

.street-suggest__popup li:hover, .street-suggest__popup li[aria-selected=true] {
  background: #e5f4ef;
}

.street-suggest__attribution {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #dce3ed;
}

.street-suggest__attribution img {
  width: auto;
  height: 16px;
}

.street-suggest__status:empty {
  display: none;
}

.richtext {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.75rem;
  overflow: hidden;
  min-width: 0;
}

.richtext .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #dce3ed;
  background: #f8fafb;
  padding: 0.5rem;
}

.richtext .ql-container.ql-snow {
  border: 0;
  min-height: 12rem;
  font: inherit;
}

.richtext .ql-editor {
  min-height: 12rem;
  padding: 0.8rem 1rem;
}

.richtext .ql-editor p {
  margin: 0;
}

.validation-message {
  color: #b42318;
  font-size: 0.9rem;
}

.date-picker {
  min-width: 0;
  position: relative;
}

.date-picker__input {
  display: flex;
  position: relative;
}

.date-picker__input input {
  padding-right: 2.8rem;
}

.date-picker__toggle {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  bottom: 0.3rem;
  border: 0;
  border-radius: 0.5rem;
  background: #f1f3f5;
  color: #172b43;
  cursor: pointer;
  padding: 0 0.65rem;
}

.date-picker__calendar {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  color: #172b43;
  margin: 0;
  padding: 0.75rem;
  width: min(20rem, 100vw - 1rem);
}

.date-picker__heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.date-picker__calendar button {
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
  color: inherit;
  cursor: pointer;
  min-height: 2rem;
  padding: 0.25rem;
}

.date-picker__calendar button:hover {
  background: #eef1f3;
}

.date-picker__calendar button:focus-visible, .date-picker__toggle:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.date-picker__calendar button[aria-pressed=true] {
  background: #087e83;
  color: white;
}

.date-picker__calendar button[aria-current=date] {
  box-shadow: inset 0 0 0 1px #087e83;
}

.date-picker__weekdays, .date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  text-align: center;
}

.date-picker__weekdays {
  color: #596b80;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (min-width: 48rem) {
  .address-grid {
    grid-template-columns: 2fr 1.4fr 0.8fr;
  }
}
.card {
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  margin-bottom: 1.5rem;
  min-width: 0;
  padding: 1.5rem;
}

.card__title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card__header .card__title {
  margin-bottom: 0;
  min-width: 0;
}

.card__actions {
  flex-shrink: 0;
  margin-left: auto;
}

.page-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-header > div {
  min-width: 0;
}

.page-header h1 {
  overflow-wrap: anywhere;
}

.page-header > div > :last-child {
  margin-bottom: 0;
}

.page-header p {
  color: #596b80;
  max-width: 52rem;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-left: auto;
}

@media (max-width: 35.99rem) {
  .card {
    padding: 1rem;
  }
  .page-header__actions {
    margin-left: 0;
  }
}
.table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  width: 100%;
}

.table th, .table td {
  border-bottom: 1px solid #dce3ed;
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.table th {
  background: #f4f7fb;
  color: #53667c;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.table th:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.table th:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.table tbody tr:hover {
  background: #f7fafc;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table td a:not(.btn):not(.button) {
  color: #075e64;
  font-weight: 500;
  text-decoration: none;
}

.table td a:not(.btn):not(.button):hover {
  text-decoration: underline;
}

.table .btn, .table .button {
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}

.table .badge {
  justify-self: start;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.table-scroll:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.pager {
  align-items: center;
  border-top: 1px solid #dce3ed;
  color: #596b80;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
}

.pager span {
  text-align: center;
}

@media (max-width: 47.99rem) {
  .table--responsive thead {
    display: none;
  }
  .table--responsive tr {
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 0.65rem;
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
  }
  .table--responsive td {
    border: 0;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(5rem, 34%) minmax(0, 1fr);
    overflow-wrap: anywhere;
    padding: 0.4rem;
  }
  .table--responsive td::before {
    color: #596b80;
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 600;
  }
  .table--responsive .btn {
    min-height: 2.75rem;
  }
  .pager span {
    flex-basis: 100%;
    order: 1;
  }
}
.badge {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 0.4rem;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.badge--success {
  background: rgba(19, 121, 91, 0.12);
  color: #13795b;
}

.badge--warning {
  background: rgba(137, 83, 0, 0.14);
  color: #895300;
}

.badge--danger {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.badge--muted {
  background: #eef1f2;
  color: #596b80;
}

.alert {
  border: 1px solid rgba(21, 71, 97, 0.15);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.alert--info {
  background: #e8f4fb;
  color: #154761;
}

.alert--success {
  background: rgba(19, 121, 91, 0.12);
  color: #13795b;
}

.alert--warning {
  background: rgba(137, 83, 0, 0.14);
  color: #895300;
}

.alert--danger {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.dialog-backdrop {
  align-items: center;
  background: rgba(15, 28, 46, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 20;
}

.dialog {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(15, 28, 46, 0.2);
  color: #172b43;
  max-height: 90dvh;
  max-width: 32rem;
  overflow-y: auto;
  padding: 1.5rem;
  width: 100%;
}

.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.public-nav, .admin-nav {
  display: flex;
  gap: 0.5rem;
}

.public-nav {
  flex-wrap: wrap;
}

.public-nav a, .admin-nav a {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.public-nav a:hover {
  background: #f4f6fa;
}

.public-nav a.active {
  background: #e9f5f5;
  color: #075e64;
  font-weight: 600;
}

.admin-nav {
  flex-direction: column;
}

.admin-nav a {
  align-items: center;
  color: #c6d3e2;
  display: flex;
  gap: 0.75rem;
  min-height: 2.75rem;
}

.admin-nav a svg {
  flex-shrink: 0;
  height: 1.15rem;
  opacity: 0.8;
  width: 1.15rem;
}

.admin-nav a:hover {
  background: #20354d;
  color: white;
}

.admin-nav a.active {
  background: #104c57;
  box-shadow: inset 3px 0 #48c9c4;
  color: #e4ffff;
  font-weight: 600;
}

.admin-nav a.active svg {
  opacity: 1;
}

.admin-nav__section {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1rem;
}

.admin-nav__section + .admin-nav__section {
  border-top: 1px solid #2b3c52;
  padding-top: 1rem;
}

.admin-nav__section-title {
  color: #91a6bf;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem 0.6rem;
  text-transform: uppercase;
}

.detail-nav {
  border-bottom: 1px solid #dce3ed;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.detail-nav button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
  font: inherit;
  font-weight: 500;
  padding: 0.85rem 0.1rem;
  white-space: nowrap;
}

.detail-nav button:hover {
  color: #087e83;
}

.detail-nav button[aria-current=location] {
  border-bottom-color: #087e83;
  color: #075e64;
  font-weight: 600;
}

.detail-nav button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.spinner {
  animation: spin 0.9s linear infinite;
  border: 4px solid #dce3ed;
  border-top-color: #087e83;
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
}

.pager {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.person-fields {
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.person-fields__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.person-fields__header h3 {
  margin: 0;
}

.person-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .person-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.magic-code-panel {
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.magic-code-panel h2,
.magic-code-panel p {
  margin: 0;
}

.magic-code-panel__grid {
  align-items: end;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .magic-code-panel__grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.push-toggle {
  border: 1px solid #dce3ed;
  border-radius: 0.7rem;
  background: white;
  color: #475569;
  padding: 0.55rem;
  flex: 0 0 auto;
  min-height: 2.75rem;
  width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.push-toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.push-toggle__message {
  display: block;
  color: #596b80;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.push-toggle[aria-pressed=true] {
  color: #087e83;
  background: #edf4f1;
}

.admin-sidebar .push-toggle {
  color: #1e293b;
  margin: 0.75rem 1rem;
}

.admin-sidebar .push-toggle__message {
  color: #475569;
  margin: 0 1rem 0.5rem;
}

.admin-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.admin-grid--cards:has(.dashboard-metric) .card {
  border-top: 3px solid #087e83;
  margin-bottom: 0;
}

.admin-grid--cards:has(.dashboard-metric) {
  margin-bottom: 1.5rem;
}

.admin-grid--cards:has(.dashboard-metric) .card__title {
  color: #596b80;
  font-size: 0.85rem;
  font-weight: 500;
}

.dashboard-metric {
  color: #172b43;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin: 0;
}

.dashboard-metric + p {
  color: #596b80;
  font-size: 0.8rem;
  margin: 0.35rem 0 0;
}

.multiline-text {
  white-space: pre-line;
}

.admin-grid--two {
  grid-template-columns: 1fr;
}

@media (min-width: 64rem) {
  .admin-grid--two {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.7fr);
  }
}
@media (min-width: 64rem) {
  .admin-grid--cards:has(.dashboard-metric) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.filter-bar {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.filter-bar > label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

@media (min-width: 48rem) {
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
  }
  .filter-bar > label, .filter-bar > .search-box {
    flex: 1 1 14rem;
  }
  .filter-bar > .btn {
    flex: 0 0 auto;
    min-width: 7rem;
  }
}
.search-box {
  display: flex;
  gap: 0.5rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 48rem) {
  .form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.definition-list {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  margin: 0;
}

.definition-list dt {
  color: #596b80;
  font-weight: 600;
}

.definition-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 35.99rem) {
  .definition-list {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .definition-list dd {
    margin-bottom: 0.65rem;
  }
}
.person-summary {
  display: grid;
  gap: 0.2rem;
}

.nested-card {
  border: 1px solid #dce3ed;
  border-radius: 0.9rem;
  padding: 1rem;
}

.application-submission-hint {
  color: #596b80;
  margin: 0 0 1rem;
}

.application-attendee-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(25rem, 50% - 0.5rem)), 1fr));
  margin-bottom: 0;
}

.application-attendee-card {
  min-width: 0;
}

.application-attendee-card--current {
  border-color: #087e83;
  box-shadow: inset 0 3px 0 #087e83;
}

.application-attendee-card__header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.application-attendee-card__header h3 {
  margin: 0;
}

.application-attendee-card__header > span {
  color: #596b80;
  font-size: 0.85rem;
}

.attachment-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.attachment-list li {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.email-body {
  background: white;
  border: 1px solid #dce3ed;
  border-radius: 0.75rem;
  padding: 1rem;
}

.event-options {
  background: #f8fafc;
  display: grid;
  gap: 0.75rem;
  border: 1px solid #dce3ed;
  border-radius: 0.65rem;
  margin: 0;
  padding: 1rem;
  min-width: 0;
}

.event-options legend {
  padding: 0 0.4rem;
  font-weight: 600;
}

.event-options__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  align-items: start;
}

.event-options--settings .event-options__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.event-options .checkbox {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin: 0;
}

.event-options .checkbox input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.event-participation-table th, .event-participation-table td {
  vertical-align: middle;
}

.event-participation-table input:not([type=checkbox]) {
  min-height: 0;
  height: 2rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
}

.event-participation-table input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.event-participation-table .btn {
  min-height: 0;
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
}

.placeholder {
  color: #596b80;
}

.placeholder-help [data-placeholder] {
  background: #e9f5f5;
  border: 1px solid #dce3ed;
  border-radius: 0.35rem;
  color: #075e64;
  cursor: grab;
  display: inline-block;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.2rem 0.4rem;
}

.placeholder-help [data-placeholder]:active {
  cursor: grabbing;
}

.camp-list {
  display: grid;
  gap: 1.5rem;
}

.camp-card {
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.035), 0 12px 28px rgba(20, 38, 63, 0.025);
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 3px solid #087e83;
}

.camp-card__meta,
.camp-card__price {
  color: #596b80;
  font-weight: 500;
  margin: 0;
}

.camp-card__meta {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.camp-card__price {
  color: #075e64;
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.camp-card__description {
  color: #596b80;
  font-size: 0.875rem;
}

.camp-card__actions {
  border-top: 1px solid #dce3ed;
  padding-top: 1rem;
}

.camp-card__actions .btn--primary {
  margin-left: auto;
}

.camp-card__description {
  max-height: 9rem;
  overflow: hidden;
}

.camp-card__actions,
.camp-detail__actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.camp-detail__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.camp-detail__facts div {
  background: #f4f6fa;
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.camp-detail__facts dt {
  color: #596b80;
  font-size: 0.9rem;
  font-weight: 700;
}

.camp-detail__facts dd {
  margin: 0;
}

.rich-content,
.attachments {
  margin-block: 1.5rem;
}

@media (min-width: 48rem) {
  .camp-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .camp-card {
    align-content: space-between;
  }
  .camp-detail__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.application-form {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.validation-summary {
  background: #fff2f0;
  border: 1px solid rgba(180, 35, 24, 0.35);
  border-radius: 0.875rem;
  color: #b42318;
  padding: 1rem;
}

.validation-summary ul {
  margin-bottom: 0;
}

.checkbox {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  margin-block: 0.75rem;
}

.checkbox input {
  margin-top: 0.25rem;
  width: 1.1rem;
}

.admin-settings-page {
  display: grid;
  gap: 1.5rem;
}

.settings-vapid {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.settings-vapid code {
  display: block;
  word-break: break-all;
  padding: 0.75rem;
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  background: #f4f6fa;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.75rem 0;
}

.admin-templates-page {
  display: grid;
  gap: 1.5rem;
}

.template-editor-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  align-items: start;
}

.placeholder-help, .template-preview {
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 0.875rem;
  padding: 1rem;
}

.placeholder-help ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.template-attachments {
  margin-top: 1.5rem;
}

.template-editor-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.pdf-template-save-status {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0.75rem;
}

.pdf-template-save-status svg {
  flex-shrink: 0;
}

.placeholder-group {
  border-top: 1px solid #dce3ed;
  padding: 0.75rem 0;
}

.placeholder-group > summary {
  cursor: pointer;
  font-weight: 600;
}

.button-link {
  border: 0;
  background: transparent;
  color: #b42318;
  cursor: pointer;
  text-decoration: underline;
}

.form-label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

@media (max-width: 64rem) {
  .template-editor-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=app.css.map */
