@font-face {
  font-family: Karla;
  src: url("/fonts/karla.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Karla, Arial, sans-serif;
  color: #191b19;
  background: #faf9f6;
  --primary: #c42717;
  --on-primary: #fff;
  --line: #d8d8d1;
  --muted: #53574f;
  --backdrop: #f1f1ee;
  --reading-width: 43rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, h4, p, dl { margin: 0; }
h1 { font-size: clamp(2.25rem, 6.5vw, 3.75rem); letter-spacing: -.055em; line-height: 1.04; overflow-wrap: anywhere; }
h2 { font-size: 1.5rem; letter-spacing: -.04em; }
h3 { font-size: 1.13rem; }
a { color: #942018; text-underline-offset: .19em; }
button, input, select, textarea { font: inherit; }
button, .button-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  padding: .6rem .9rem; border: 1px solid #96988e; border-radius: 0;
  background: white; color: #191b19; font-weight: 750; cursor: pointer; text-decoration: none;
}
button:hover:not(:disabled), .button-link:hover { background: #f4f4ee; }
button:disabled { opacity: .58; cursor: default; }
.primary, .event-action { background: var(--primary); color: var(--on-primary); border-color: transparent; }
button.primary:hover:not(:disabled), .event-action:hover { background: var(--primary); filter: brightness(.9); }
:focus-visible { outline: 3px solid #85271d; outline-offset: 3px; }
input:not([type="checkbox"], [type="radio"]), select, textarea {
  min-width: 0; width: 100%; min-height: 2.75rem; border: 1px solid #86897f;
  border-radius: 0; padding: .55rem .65rem; background: white; color: #191b19;
}
input[type="checkbox"], input[type="radio"] { width: 1.17em; height: 1.17em; margin: .1em 0 0; accent-color: #98261c; flex: none; }
input[type="color"] { padding: .2rem; }
textarea { resize: vertical; }
hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }
img { display: block; max-width: 100%; }
.wordmark { color: #191b19; font-weight: 800; letter-spacing: -.055em; font-size: 1.25rem; text-decoration: none; }
.wordmark span { color: var(--primary); }
.hint { color: var(--muted); font-size: .9rem; }
.description { white-space: pre-wrap; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.error, .danger, .form-status { color: #9c241a; }
.form-root { background: var(--backdrop); min-height: 100svh; padding: clamp(1rem, 5vw, 4rem) 1rem; }
.form-root .form-root { min-height: auto; padding: 0; }
.form-root[data-font="serif"] { font-family: Georgia, serif; }
.form-root[data-font="mono"] { font-family: ui-monospace, monospace; }
.form-root[data-button="rounded"] .primary { border-radius: .6rem; }
.form-root[data-button="pill"] .primary { border-radius: 100vw; }
.form-card {
  max-width: 39rem; margin: auto; padding: 0;
  overflow-wrap: anywhere;
}
.form-header { display: grid; gap: .85rem; border-bottom: 1px solid var(--line); padding-bottom: 1.35rem; margin-bottom: 1.35rem; }
.form-header h1 { font-size: clamp(1.9rem, 7vw, 3.25rem); }
.logo { max-width: min(12rem, 100%); max-height: 6rem; object-fit: contain; }
.questionnaire, .form-section { display: grid; gap: 1.3rem; min-width: 0; }
.form-section { border-top: 1px solid var(--line); padding-top: 1rem; }
.form-section > h2 + .description { margin-top: -.7rem; }
.question { display: grid; gap: .4rem; min-width: 0; }
.question label, legend { font-weight: 750; }
fieldset { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
legend { padding: 0; margin-bottom: .25rem; }
fieldset .hint { margin-bottom: .35rem; }
.choice { display: flex; align-items: flex-start; gap: .6rem; padding: .48rem 0; line-height: 1.35; }
.questionnaire .primary { justify-self: start; min-width: 9rem; min-height: 3rem; padding-inline: 1.2rem; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status:empty { display: none; }
.confirmation { font-size: 1.2rem; font-weight: 750; }
.back-to-workshop { display: block; margin: 0 auto 1rem; }

.event-page { width: min(var(--reading-width), 100% - 2rem); margin-inline: auto; padding-bottom: 3rem; }
.event-masthead { padding: 1.15rem 0; margin-bottom: clamp(.7rem, 2.6vw, 1.6rem); }
.event-masthead .wordmark { display: inline-block; }
.event-hero { display: grid; gap: clamp(1rem, 3vw, 1.75rem); }
.event-intro { display: grid; gap: .7rem; justify-items: start; }
.event-intro .description { max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.poster { width: auto; max-width: 100%; max-height: min(30rem, 54vh); height: auto; object-fit: contain; }
.event-date { color: #98261c; font-size: .95rem; font-weight: 750; }
.event-date:empty { display: none; }
.form-jump { padding: .55rem 0; font-weight: 750; text-underline-offset: .25em; }
.event-content, .event-privacy { display: grid; justify-items: start; gap: .75rem; margin-top: clamp(1.5rem, 4.5vw, 2.75rem); }
.event-content > .description, .event-privacy > .description { max-width: 65ch; }
.event-privacy { border-top: 1px solid var(--line); padding-top: 1.2rem; font-size: .95rem; }
.event-apply { margin-top: 1.35rem; gap: .5rem; }
.event-privacy h2 { font-size: 1.1rem; }
.embedded-form {
  min-height: 0; min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem) 0 0; margin-top: clamp(1.75rem, 4.5vw, 2.75rem);
  background: transparent; border-top: 1px solid var(--line); scroll-margin-top: 1rem;
}
.embedded-form .form-card { max-width: none; }
.embedded-form .form-header { border: 0; padding: 0; }
.embedded-form .form-header h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); line-height: 1.12; }
.timeline { list-style: none; margin: 0; padding: 0; width: 100%; }
.timeline li { display: grid; grid-template-columns: minmax(5.6rem, 1fr) minmax(0, 4fr); gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.timeline time { font-variant-numeric: tabular-nums; font-weight: 800; }
.timeline-detail { display: grid; gap: .55rem; justify-items: start; }
.timeline-detail img { max-height: 20rem; object-fit: cover; }
.faq { padding: .7rem 0; border-top: 1px solid var(--line); }
.faq p { margin-top: .6rem; }

.masthead { color: #191b19; }
.masthead > div { width: min(64rem, 100% - 2rem); min-height: 3.5rem; margin: auto; display: flex; align-items: center; gap: 1rem; }
.nav, .workspace { width: min(64rem, 100% - 2rem); margin-inline: auto; }
.nav { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); gap: .55rem; }
.nav button, .tabs button { background: transparent; border: 0; border-bottom: .2rem solid transparent; }
.nav button[aria-current="page"], .tabs button[aria-current="page"] { border-color: var(--primary); }
.workspace { margin-top: 1.5rem; margin-bottom: 4rem; }
#app > h1, #app > .split > h1 { font-size: clamp(1.85rem, 5vw, 2.75rem); }
#app > h1 { margin-bottom: 1rem; }
.workspace .landing-preview { width: min(var(--reading-width), 100%); margin-top: 1.5rem; border-top: 1px solid var(--line); }
.split, .actions, .filters, .tabs { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.split { justify-content: space-between; }
.split h1 { margin: 0; }
.form-title, .forms-list { margin-top: .75rem; }
.tabs { margin-top: .8rem; border-bottom: 1px solid var(--line); }
.actions, .filters { margin: .75rem 0; }
.filters { align-items: end; }
.actions .edit, .filters .edit { margin: 0; }
.actions select { width: auto; }
.link-button { min-height: 0; padding: 0; background: transparent; border: 0; text-decoration: underline; text-align: left; overflow-wrap: anywhere; }
.status:not(:empty) { border-left: .25rem solid var(--primary); background: white; margin-bottom: 1rem; padding: .65rem .85rem; }
.badge { background: #e4e4dc; padding: .25rem .62rem; font-weight: 750; }
.panel { min-width: 0; margin-bottom: 1rem; overflow-wrap: anywhere; }
.panel h2 { margin-bottom: .75rem; }
.panel > p + p, .panel > p + label { margin-top: .65rem; }
.form-item { padding: .6rem 0; }
.form-item + .form-item { border-top: 1px solid var(--line); }
.builder, .columns { display: grid; min-width: 0; gap: .85rem; align-items: start; }
.columns { grid-template-columns: 1fr 1fr; }
.stack { display: grid; gap: .65rem; min-width: 0; }
.stack .panel { margin: 0; }
.field-editor { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; }
.field-editor summary { padding: .8rem 0; overflow-wrap: anywhere; }
.field-body { padding: .25rem 0 1rem; }
.edit { display: grid; gap: .35rem; margin-bottom: .95rem; font-weight: 700; min-width: 0; }
.edit > :is(input, textarea, select) { font-weight: 400; }
.edit > textarea { min-height: 5rem; }
.edit:last-child { margin-bottom: 0; }
.edit small { font-weight: 500; }
.preview { min-height: 0; margin-top: 1.4rem; }
.responses-table { width: 100%; border-collapse: collapse; }
.responses-table :is(th, td) { padding: .7rem .5rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.responses-table th { color: var(--muted); font-size: .85rem; }
.mobile-cell-label { display: none; }
.responses-title { margin-bottom: .7rem; }
.main-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(7rem, .45fr); max-width: 38rem; }
.answers { display: grid; gap: .25rem .6rem; }
dt { font-weight: 750; }
dd { margin: 0 0 .4rem; white-space: pre-wrap; overflow-wrap: anywhere; }
dialog { width: min(40rem, 100% - 2rem); max-height: 85vh; border: 1px solid var(--line); padding: 1.2rem; overflow-wrap: anywhere; }
dialog .dialog-error:empty { display: none; }
dialog::backdrop { background: #191b1999; }
dialog p + label, dialog h2 + form { margin-top: .65rem; }
.page-title { align-items: baseline; }
.page-actions { margin: 1rem 0 0; padding-block: .7rem; border-block: 1px solid var(--line); }
.page-actions #event-draft { margin-right: auto; flex-basis: 100%; }
.page-actions button:not(.primary) { background: transparent; border-color: var(--line); }
.page-actions button:not(.primary):hover { background: #f1f1ec; }
.settings-content { margin-top: .85rem; }
.form-settings { gap: 1.35rem; }
.page-settings { min-width: 0; }
@media (max-width: 51.99rem) {
  .responses-table, .responses-table tbody { display: block; }
  .responses-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .responses-table tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem .75rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .responses-table tbody td { padding: 0; border: 0; }
  .responses-table tbody td:nth-child(n+3) { grid-column: 2; display: grid; grid-template-columns: minmax(6rem, 7rem) minmax(0, 1fr); gap: .4rem; }
  .mobile-cell-label { display: inline; color: var(--muted); font-size: .9rem; }
}
@media (max-width: 30rem) {
  .main-filters { grid-template-columns: minmax(0, 1fr) auto; }
  .main-filters > .edit:last-child { grid-column: 1 / -1; }
  .questionnaire .primary { justify-self: stretch; }
  .page-actions button { flex: 1 1 auto; }
}
.page-editor { display: grid; gap: clamp(1rem, 4vw, 3rem); margin-top: 1.4rem; }
.secondary-tools { border-top: 1px solid var(--line); padding: .7rem 0; }
.secondary-tools > summary { color: var(--muted); }
.secondary-tools > .panel { margin-top: 1rem; }
.answers-section { margin-top: 1.5rem; }
#app > .edit { max-width: 26rem; }
.local-mail-list { overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .page-actions #event-draft { flex-basis: auto; }
  .builder { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .builder > .panel:last-child:nth-child(3) { grid-column: 1 / -1; }
  .page-editor { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* Uovo — desktop reference at 1440 CSS px.
 * IDML: 40 px margins; 5 × 256.4 px columns; 19.5 px gutters.
 * PDF: 49.55/39 px body; 75 px headings; 30/30 px service copy.
 * The same composition scales proportionally to the available browser width.
 */
.uovo-masthead, .uovo-logo, .uovo-selection { display: none; }
.uovo-form-meta { display: contents; }
@media (min-width: 0px) {
  body:has(.uovo-landing) { background: #fff; container-type: inline-size; }
  .uovo-landing {
    --uovo-unit: calc(100vw / 1440);
    /* ABC Diatype: underlineThickness 50/1000 em × the 30 px privacy link. */
    --uovo-underline-weight: max(1px, calc(1.5 * var(--uovo-unit)));
    --uovo-gutter: calc(19.5 * var(--uovo-unit));
    --uovo-label: calc(532.3 * var(--uovo-unit));
    width: calc(1360 * var(--uovo-unit)); max-width: calc(100% - calc(80 * var(--uovo-unit)));
    padding: calc(35 * var(--uovo-unit)) 0 calc(80 * var(--uovo-unit)); color: #000; background: #fff;
    font-family: "Uovo Diatype", Arial, sans-serif;
    font-size: calc(49.55 * var(--uovo-unit)); font-weight: 700; line-height: calc(39 * var(--uovo-unit));
    letter-spacing: -.052em; font-synthesis: none;
    display: flex; flex-direction: column;
  }
  .uovo-landing :is(button, input, textarea, select) { font: inherit; letter-spacing: inherit; }
  .uovo-landing :is(a, .description, .hint, .event-date) { color: #000; }
  .uovo-landing .description { font-size: inherit; line-height: inherit; max-width: none; }
  .uovo-landing .event-masthead { display: none; }
  .uovo-masthead {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: calc(19.5 * var(--uovo-unit)); font-size: calc(49.55 * var(--uovo-unit)); line-height: calc(39 * var(--uovo-unit)); letter-spacing: -.07em;
    margin-bottom: calc(19.5 * var(--uovo-unit)); order: 0;
  }
  .uovo-masthead a { text-decoration: none; }
  .uovo-masthead p:last-child { grid-column: 3 / 6; }
  .uovo-landing .event-hero { display: block; order: 10; position: relative; }
  .uovo-logo {
    display: flex; font-size: calc(544.3338103335 * var(--uovo-unit)); line-height: calc(439.6880051533 * var(--uovo-unit));
    letter-spacing: 0; white-space: nowrap;
    margin-bottom: calc(11 * var(--uovo-unit));
  }
  /* PDF glyph advances include InDesign's optical kerning. */
  .uovo-logo span + span { margin-left: calc(-86.0047420327 * var(--uovo-unit)); }
  .uovo-logo span:nth-child(2) { margin-left: calc(-69.0759605313 * var(--uovo-unit)); }
  .uovo-logo span:nth-child(4) { margin-left: calc(-85.5148416034 * var(--uovo-unit)); }
  .uovo-landing .event-intro { display: block; }
  .uovo-landing .event-intro h1 { font: inherit; letter-spacing: inherit; margin-bottom: calc(39 * var(--uovo-unit)); }
  .uovo-landing .event-intro h1:has(+ .description) { font-size: 0; line-height: 0; margin: 0; }
  .uovo-landing .event-date { font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); margin-bottom: calc(19.5 * var(--uovo-unit)); }
  .uovo-landing .form-jump { display: inline-block; font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); margin-top: calc(19.5 * var(--uovo-unit)); padding: 0; }
  .uovo-landing .event-content { display: block; margin-top: calc(156 * var(--uovo-unit)); order: 15; }
  .uovo-landing :is(h2, .embedded-form .form-header h2) {
    font-family: inherit; font-size: calc(75 * var(--uovo-unit)); line-height: calc(78 * var(--uovo-unit));
    font-weight: 700; letter-spacing: -.057em; margin-bottom: calc(31 * var(--uovo-unit));
  }
  .uovo-landing #programma { order: 20; }
  .uovo-landing #programma > h3 { font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); margin: 0 0 calc(19.5 * var(--uovo-unit)); }
  .uovo-landing .timeline li {
    grid-template-columns: var(--uovo-label) minmax(0, 1fr);
    gap: var(--uovo-gutter); border: 0; padding: 0; margin-bottom: calc(39 * var(--uovo-unit));
  }
  .uovo-landing .timeline time { font: inherit; font-variant-numeric: normal; }
  .uovo-landing .timeline-detail { display: grid; gap: 0; }
  .uovo-landing .timeline-detail h4 { font: inherit; }
  .uovo-landing .timeline-detail .hint { font: inherit; }
  .uovo-landing .event-apply { order: 60; font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); margin-top: calc(78 * var(--uovo-unit)); }
  .uovo-landing .event-apply > .description { display: none; }
  .uovo-landing .embedded-form {
    order: 40; border: 0; padding: 0; margin-top: calc(156 * var(--uovo-unit));
    font-family: inherit; font-size: inherit; line-height: inherit;
  }
  .uovo-landing .form-header { margin-bottom: calc(39 * var(--uovo-unit)); gap: 0; }
  .uovo-landing .form-header .description { margin-top: 0; }
  .uovo-landing .questionnaire { gap: 0; }
  .uovo-form-meta {
    display: grid; grid-template-columns: var(--uovo-label) minmax(0, 1fr);
    gap: calc(19.5 * var(--uovo-unit)); margin-bottom: calc(78 * var(--uovo-unit)); font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); letter-spacing: -.047em;
  }
  .uovo-form-meta .hint { font: inherit; }
  .uovo-selection { display: block; white-space: pre-wrap; }
  .uovo-landing .question {
    display: grid; grid-template-columns: var(--uovo-label) minmax(0, 1fr);
    column-gap: calc(19.5 * var(--uovo-unit)); row-gap: 0; min-height: calc(78 * var(--uovo-unit)); align-items: start;
  }
  .uovo-landing .question label { font-weight: 700; }
  .uovo-landing .question > .hint { grid-column: 1; font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); }
  .uovo-landing .question :is(input, select, textarea) {
    grid-column: 2; grid-row: 1 / span 2; min-height: calc(39 * var(--uovo-unit)); height: calc(39 * var(--uovo-unit));
    border: 0; border-bottom: calc(1 * var(--uovo-unit)) solid #000; background: transparent;
    color: #000; padding: 0; border-radius: 0;
  }
  .uovo-landing .question textarea {
    height: calc(156 * var(--uovo-unit)); line-height: calc(78 * var(--uovo-unit)); resize: vertical; padding: 0;
    border: 0; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(77 * var(--uovo-unit)), #000 calc(77 * var(--uovo-unit)), #000 calc(78 * var(--uovo-unit)));
    margin-bottom: calc(78 * var(--uovo-unit));
  }
  .uovo-landing fieldset {
    display: block; position: relative; margin: calc(78 * var(--uovo-unit)) 0;
    padding-left: calc(551.8 * var(--uovo-unit)); min-height: calc(156 * var(--uovo-unit));
  }
  .uovo-landing legend { float: left; margin-left: calc(-551.8 * var(--uovo-unit)); width: calc(532.3 * var(--uovo-unit)); font-weight: 700; }
  .uovo-landing fieldset .hint { font-size: calc(30 * var(--uovo-unit)); line-height: calc(30 * var(--uovo-unit)); margin-bottom: calc(19.5 * var(--uovo-unit)); }
  .uovo-landing .choice { gap: calc(19.5 * var(--uovo-unit)); padding: 0; line-height: calc(39 * var(--uovo-unit)); font-weight: 700; }
  .uovo-landing :is(input[type="radio"], input[type="checkbox"]) {
    appearance: none; width: calc(31 * var(--uovo-unit)); height: calc(31 * var(--uovo-unit)); border: calc(1 * var(--uovo-unit)) solid #000;
    border-radius: 0; margin-top: calc(4 * var(--uovo-unit)); background: #fff; cursor: pointer;
  }
  .uovo-landing :is(input[type="radio"], input[type="checkbox"]):checked { background: #000; box-shadow: inset 0 0 0 calc(6 * var(--uovo-unit)) #fff; }
  .uovo-landing :is(.privacy-link, .questionnaire > .choice) {
    margin-left: calc(551.8 * var(--uovo-unit)); font-size: calc(30 * var(--uovo-unit)); line-height: calc(32 * var(--uovo-unit));
  }
  .uovo-landing .privacy-link { margin-top: 0; }
  .uovo-landing .questionnaire > .choice input { width: calc(19 * var(--uovo-unit)); height: calc(19 * var(--uovo-unit)); }
  .uovo-landing .questionnaire .primary {
    margin: calc(78 * var(--uovo-unit)) 0 0 calc(551.8 * var(--uovo-unit)); width: calc(533.217 * var(--uovo-unit)); min-height: calc(78 * var(--uovo-unit));
    padding: 0 calc(19.5 * var(--uovo-unit)); border: 0; border-radius: 0;
    background: #000; color: #fff; font-size: calc(49.55 * var(--uovo-unit)); line-height: calc(39 * var(--uovo-unit)); font-weight: 700;
  }
  .uovo-landing .form-status { margin-top: calc(19.5 * var(--uovo-unit)); font-size: calc(30 * var(--uovo-unit)); line-height: calc(32 * var(--uovo-unit)); }
  .uovo-landing .event-privacy { order: 70; font-size: calc(30 * var(--uovo-unit)); line-height: calc(32 * var(--uovo-unit)); margin-top: calc(78 * var(--uovo-unit)); }
  .uovo-landing .event-privacy h2 { font-size: calc(30 * var(--uovo-unit)); line-height: calc(32 * var(--uovo-unit)); margin-bottom: 0; }
  .uovo-landing .confirmation { font: inherit; line-height: 1.1; }
}

@supports (width: 1cqw) {
  .uovo-landing { --uovo-unit: calc(100cqw / 1440); }
}

/* Monochrome public form, including focus, validation and the email dialog. */
.uovo-landing,
.uovo-landing .form-root,
body:has(.uovo-landing) dialog {
  --primary: #000 !important;
  --on-primary: #fff !important;
}
.uovo-landing :is(input, textarea, select),
body:has(.uovo-landing) dialog :is(input, textarea, select) {
  caret-color: #000;
  accent-color: #000;
}
.uovo-landing :is(.error, .danger, .form-status, .dialog-error),
body:has(.uovo-landing) dialog :is(.error, .danger, .form-status, .dialog-error) {
  color: #000;
}
.uovo-landing :focus,
.uovo-landing :focus-visible,
body:has(.uovo-landing) dialog :focus,
body:has(.uovo-landing) dialog :focus-visible {
  outline: none;
}
.uovo-landing .question :is(input, textarea, select):focus,
body:has(.uovo-landing) dialog :is(input, textarea, select):focus {
  outline: none;
  box-shadow: none;
  border-color: #000;
}
/* Keyboard focus follows the existing baseline instead of drawing a box. */
.uovo-landing .question :is(input, textarea, select):focus-visible,
body:has(.uovo-landing) dialog :is(input, textarea, select):focus-visible {
  box-shadow: inset 0 -2px 0 #000;
}
.uovo-landing :is(button, a):focus-visible,
body:has(.uovo-landing) dialog :is(button, a):focus-visible {
  text-decoration: underline;
  text-decoration-thickness: var(--uovo-underline-weight, 1.5px);
  text-underline-offset: .2em;
}
.uovo-landing :is(input[type="radio"], input[type="checkbox"]):focus-visible {
  border-width: 2px;
}
.uovo-landing ::selection,
body:has(.uovo-landing) dialog ::selection {
  background: #000;
  color: #fff;
}

/* Only the elements present in the supplied landing artwork. The form's
 * privacy link and required consent remain inside the questionnaire. */
.uovo-landing :is(.event-date, .form-jump, .event-apply, .event-privacy),
.uovo-landing #programma > h3 {
  display: none;
}

/* Insertion rules follow the label's measured first baseline, not the bottom
 * of the native input box. A fallback covers the first frame before measurement. */
.uovo-landing .question {
  --uovo-first-baseline: calc(36.817725 * var(--uovo-unit));
  --uovo-rule-weight: var(--uovo-underline-weight);
}
.uovo-baseline-marker {
  display: inline-block;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  vertical-align: baseline;
}
.uovo-landing .question :is(input, select, textarea) {
  appearance: none;
  border: 0;
  line-height: calc(39 * var(--uovo-unit));
  background-color: transparent;
  background-image: linear-gradient(#000, #000);
  background-size: 100% var(--uovo-rule-weight);
  background-repeat: no-repeat;
  background-position: left var(--uovo-first-baseline);
}
.uovo-landing .question textarea {
  /* 78 px leading adds half a line (19.5 px) above the first text baseline;
   * offset that half-line while preserving the original control footprint. */
  margin-top: calc(-19.5 * var(--uovo-unit));
  height: calc(175.5 * var(--uovo-unit));
  line-height: calc(78 * var(--uovo-unit));
  background-image: repeating-linear-gradient(to bottom,
    #000 0, #000 var(--uovo-rule-weight),
    transparent var(--uovo-rule-weight), transparent calc(78 * var(--uovo-unit)));
  background-size: 100% calc(78 * var(--uovo-unit));
  background-repeat: repeat-y;
  background-position: left calc(var(--uovo-first-baseline) + calc(19.5 * var(--uovo-unit)));
  background-attachment: local;
}
.uovo-landing .question :is(input, textarea, select):focus-visible {
  --uovo-rule-weight: var(--uovo-underline-weight);
  box-shadow: none;
}

/* Font glyphs replace the browser's grey number-input spinner. */
.uovo-landing .question:has(input[type="number"]) { position: relative; }
.uovo-landing .question input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  padding-right: 2.5em;
}
.uovo-landing input[type="number"]::-webkit-inner-spin-button,
.uovo-landing input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.uovo-number-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: .25em;
  font: inherit;
  line-height: inherit;
}
.uovo-landing .uovo-number-actions button,
.uovo-landing .uovo-number-actions button:hover,
.uovo-landing .uovo-number-actions button:active {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  box-shadow: none;
  opacity: 1;
}

/* Baseline-to-baseline distances extracted from the supplied PDF. JS refines
 * these fallbacks with the loaded font's measured line boxes on each resize. */
.uovo-landing { padding-top: calc(41.182275 * var(--uovo-unit)); }
.uovo-masthead { margin-bottom: calc(-2.7709442882 * var(--uovo-unit)); }
.uovo-logo { margin-bottom: calc(15.7001391349 * var(--uovo-unit)); }
.uovo-landing #programma { margin-top: calc(155.387925 * var(--uovo-unit)); }
.uovo-landing #programma > h2 { margin-bottom: calc(32.511475 * var(--uovo-unit)); }
.uovo-landing .timeline li { align-items: first baseline; }
.uovo-landing .timeline li:last-child { margin-bottom: 0; }
.uovo-landing .embedded-form { margin-top: calc(156.354525 * var(--uovo-unit)); }
.uovo-landing .embedded-form .form-header h2 { margin-bottom: calc(32.511675 * var(--uovo-unit)); }
.uovo-landing .form-header { margin-bottom: calc(37.740925 * var(--uovo-unit)); }
.uovo-form-meta { margin-bottom: calc(80.784275 * var(--uovo-unit)); }
.uovo-landing fieldset { margin-top: 0; margin-bottom: 0; }
.uovo-landing fieldset > .hint { display: none; }
.uovo-landing fieldset .choice {
  align-items: baseline;
  gap: calc(19.4873 * var(--uovo-unit));
}
.uovo-landing fieldset :is(input[type="radio"], input[type="checkbox"]) {
  width: calc(31.984 * var(--uovo-unit));
  height: calc(31.984 * var(--uovo-unit));
  margin-top: 0;
  border-width: 1px;
}
.uovo-landing .questionnaire > .choice {
  align-items: baseline;
  gap: calc(17.136 * var(--uovo-unit));
  line-height: calc(32.01 * var(--uovo-unit));
}
.uovo-landing .questionnaire > .choice input {
  width: calc(18.864 * var(--uovo-unit));
  height: calc(20 * var(--uovo-unit));
  margin-top: 0;
  border-width: 1px;
}
.uovo-landing .questionnaire .primary { min-width: 0; }

/* One underline weight throughout Uovo, independent of the text's own size. */
.uovo-landing *,
body:has(.uovo-landing) dialog * {
  text-decoration-thickness: var(--uovo-underline-weight, 1.5px);
}
body:has(.uovo-landing) dialog {
  --uovo-underline-weight: max(1px, calc(1.5 * 100vw / 1440));
}

/* Choice boxes use the same shared stroke as every underline, in all states. */
.uovo-landing :is(input[type="checkbox"], input[type="radio"]),
.uovo-landing :is(input[type="checkbox"], input[type="radio"]):focus-visible,
.uovo-landing fieldset :is(input[type="checkbox"], input[type="radio"]),
.uovo-landing .questionnaire > .choice input,
body:has(.uovo-landing) dialog :is(input[type="checkbox"], input[type="radio"]) {
  border-width: var(--uovo-underline-weight, 1.5px);
  border-color: #000;
}

/* Inset strokes preserve fractional CSS-pixel widths; native borders can round
 * 1.5 px back to 1 px. Keep the existing outer box dimensions unchanged. */
.uovo-landing .questionnaire input:is([type="checkbox"], [type="radio"]) {
  border: 0;
  background: #fff;
  box-shadow: inset 0 0 0 var(--uovo-underline-weight) #000;
}
.uovo-landing .questionnaire input:is([type="checkbox"], [type="radio"]):checked {
  border: 0;
  background: #000;
  box-shadow: inset 0 0 0 var(--uovo-underline-weight) #000,
    inset 0 0 0 calc(var(--uovo-underline-weight) + calc(6 * var(--uovo-unit))) #fff;
}
.uovo-landing .questionnaire input:is([type="checkbox"], [type="radio"]):focus-visible {
  border: 0;
}

/* Mobile: Grande and Piccolo retained; verified Piccolissimo -> Piccolo.
 * One baseline module = 19.5 px; one text line = 39 px. Desktop rules above stay intact. */
@media (max-width: 767px) {
  .uovo-landing {
    --uovo-unit: 1px;
    --uovo-underline-weight: 1.5px;
    --uovo-logo-unit: calc((100vw - 39px) / 1360);
    width: calc(100% - 39px);
    max-width: none;
    min-width: 0;
    margin-inline: 19.5px;
    padding: 19.5px 0 39px;
    font-size: 44.595px;
    font-weight: 700;
    line-height: 39px;
    letter-spacing: -.07em;
    overflow-wrap: anywhere;
    hyphens: none;
  }
  /* Grande is restored from its named IDML definition: 75 / 57.5 px, Tracking -40.
   * Piccolissimo is present in the newer INDD (30 / 30 px); its service roles
   * are replaced with the existing Piccolo definition, never a new size. */
  .uovo-landing #programma > h2,
  .uovo-landing .event-content:not(.event-apply) > h2,
  .uovo-landing .embedded-form .form-header h2 {
    font-family: inherit;
    font-size: 67.5px;
    font-weight: 700;
    line-height: 57.5px;
    letter-spacing: -.04em;
  }
  .uovo-masthead {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0 0 19.5px;
    font: inherit;
    letter-spacing: inherit;
  }
  .uovo-masthead p:last-child { grid-column: auto; }
  .uovo-logo {
    font-size: calc(544.3338103335 * var(--uovo-logo-unit));
    line-height: calc(439.6880051533 * var(--uovo-logo-unit));
    margin: 0 0 39px;
  }
  .uovo-logo span + span { margin-left: calc(-86.0047420327 * var(--uovo-logo-unit)); }
  .uovo-logo span:nth-child(2) { margin-left: calc(-69.0759605313 * var(--uovo-logo-unit)); }
  .uovo-logo span:nth-child(4) { margin-left: calc(-85.5148416034 * var(--uovo-logo-unit)); }
  .uovo-landing :is(.event-content, #programma, .embedded-form) {
    margin-top: 78px;
    padding: 0;
    min-width: 0;
  }
  .uovo-landing #programma > h2,
  .uovo-landing .embedded-form .form-header h2 { margin: 0 0 39px; }
  .uovo-landing .timeline li {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 19.5px;
    margin: 0 0 39px;
  }
  .uovo-landing .timeline li:last-child { margin-bottom: 0; }
  .uovo-landing .timeline-detail { min-width: 0; }
  .uovo-landing .form-card { width: 100%; min-width: 0; max-width: none; }
  .uovo-landing .form-header { margin: 0 0 39px; }
  .uovo-form-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 19.5px;
    margin: 0 0 39px;
  }
  .uovo-landing .questionnaire { gap: 0; }
  .uovo-landing .question {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 19.5px;
    min-height: 0;
    margin: 0 0 39px;
    padding: 0;
  }
  .uovo-landing .question label { min-width: 0; }
  .uovo-landing .question :is(input, select, textarea) {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 39px;
    height: 39px;
    padding: 0;
  }
  .uovo-landing .question textarea {
    height: 175.5px;
    min-height: 175.5px;
    margin-top: -19.5px;
    margin-bottom: 0;
    line-height: 78px;
  }
  .uovo-landing fieldset {
    min-width: 0;
    min-height: 0;
    margin: 0 0 39px;
    padding: 0;
  }
  .uovo-landing legend {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 0 0 19.5px;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
  }
  .uovo-landing fieldset .choice,
  .uovo-landing .questionnaire > .choice {
    min-width: 0;
    gap: 19.4873px;
    margin-left: 0;
    align-items: baseline;
  }
  .uovo-landing .questionnaire > .choice input {
    width: 31.984px;
    height: 31.984px;
  }
  .uovo-landing .privacy-link {
    margin: 0 0 19.5px;
    letter-spacing: -.047em;
  }
  .uovo-landing .questionnaire > .choice {
    margin: 0;
    line-height: 32.01px;
    letter-spacing: -.046em;
  }
  .uovo-landing .questionnaire .primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 78px;
    height: auto;
    margin: 39px 0 0;
    padding: 19.5px;
    font: inherit;
    line-height: 39px;
    letter-spacing: inherit;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .uovo-landing .form-status { margin-top: 19.5px; }
  .uovo-landing .question input[type="number"] { padding-right: 2.5em; }
  .uovo-number-actions { top: auto; bottom: 0; }
  .uovo-landing button:disabled { opacity: 1; }

  body:has(.uovo-landing) dialog {
    --uovo-underline-weight: 1.5px;
    width: calc(100% - 39px);
    max-width: calc(100% - 39px);
    padding: 19.5px;
    font-family: "Uovo Diatype", Arial, sans-serif;
    font-size: 44.595px;
    font-weight: 700;
    line-height: 39px;
    letter-spacing: -.052em;
    color: #000;
    background: #fff;
    border-color: #000;
    overflow-wrap: anywhere;
    overflow-y: auto;
  }
  body:has(.uovo-landing) dialog :is(h2, p, label, input, button) {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
  }
  body:has(.uovo-landing) dialog input {
    padding: 0;
    border: 0;
    border-bottom: 1.5px solid #000;
    background: #fff;
    box-shadow: none;
  }
  body:has(.uovo-landing) dialog button {
    min-width: 0;
    max-width: 100%;
    border-color: #000;
    background: #fff;
  }
  body:has(.uovo-landing) dialog button.primary { background: #000; color: #fff; }
  body:has(.uovo-landing) dialog button:disabled { opacity: 1; }
  body:has(.uovo-landing) dialog .actions { gap: 19.5px; }
  @supports (width: 1cqw) {
    .uovo-landing { --uovo-logo-unit: calc((100cqw - 39px) / 1360); }
  }
}

@media (max-width: 767px) {
  /* These 30 px service roles are the occurrences of Piccolissimo removed here. */
  .uovo-landing .uovo-form-meta,
  .uovo-landing .uovo-form-meta .hint,
  .uovo-landing .questionnaire > .privacy-link,
  .uovo-landing .questionnaire > .choice,
  .uovo-landing .question > .hint,
  .uovo-landing fieldset > .hint,
  .uovo-landing .form-status {
    font-family: inherit;
    font-size: 44.595px;
    font-weight: 700;
    line-height: 39px;
    letter-spacing: -.07em;
  }

  /* Fix the boxes that can grow wider than their mobile track; no overflow mask. */
  .uovo-landing :is(section, article, form, header, footer, fieldset, .timeline, .timeline-detail, .question, .uovo-form-meta) {
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  .uovo-landing :is(h2, h3, h4, p, legend, label, a, time) {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
  }
  .uovo-landing :is(h2, h3, h4, legend, label, a, time) { white-space: normal; }
  .uovo-landing .event-intro > .description,
  .uovo-landing .form-header > .description { white-space: pre-line; }
  .uovo-landing label.choice {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .uovo-landing .choice > .uovo-choice-copy {
    display: block;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .uovo-landing .choice > input { flex: 0 0 auto; }
  .uovo-landing legend { width: 100%; }
  .uovo-landing .uovo-logo {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    flex-wrap: nowrap;
  }
  .uovo-landing .question :is(input, select) {
    height: 78px;
    min-height: 78px;
    background-position: left calc(var(--uovo-first-baseline) + 19.5px);
  }
  .uovo-number-actions { bottom: 19.5px; }
  .uovo-landing .questionnaire .primary {
    white-space: normal;
    overflow-wrap: anywhere;
    min-inline-size: 0;
  }
  body:has(.uovo-landing) dialog :is(form, .actions, label, input, button, p, h2) {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body:has(.uovo-landing) dialog :is(p, h2, label) { word-break: normal; }
}

@media (max-width: 767px) {
  /* Natural mobile copy flow: no justified word spacing or desktop line breaks. */
  .uovo-landing .event-intro > .description,
  .uovo-landing .form-header > .description,
  .uovo-landing .uovo-selection {
    text-align: start;
    word-spacing: normal;
    white-space: pre-line;
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  /* Match the desktop :is() specificity so its answer-column offset is reset. */
  .uovo-landing .questionnaire > .privacy-link,
  .uovo-landing .questionnaire > .choice {
    margin-inline: 0;
    min-inline-size: 0;
    max-inline-size: 100%;
    justify-self: stretch;
  }

  /* Definite single tracks prevent intrinsic content widths enlarging the form. */
  .uovo-landing :is(.form-card, .form-header, .questionnaire, .form-section) {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  .uovo-landing :is(.form-header, .questionnaire, .form-section, .timeline-detail) {
    grid-template-columns: minmax(0, 1fr);
  }
  .uovo-landing :is(.form-header, .questionnaire, .form-section, .uovo-form-meta, .timeline-detail) > * {
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  .uovo-landing .question textarea {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  /* One extra 19.5 px grid module after the gender choices (39 + 19.5). */
  .uovo-landing .question:has(> #question-email) {
    margin-top: 19.5px;
  }
  /* Native single-line editors clip glyphs to their internal line box.
   * Diatype at 44.595 px needs 55.788 px (975 + 276 units / 1000),
   * which fits the existing 78 px control without changing its footprint. */
  .uovo-landing .question :is(input, select) {
    line-height: normal;
  }
  body:has(.uovo-landing) dialog input:not([type="checkbox"], [type="radio"]) {
    height: 78px;
    min-height: 78px;
    line-height: normal;
  }
}

/* Give native editors room above AND below their baseline. Balanced negative
 * margins retain the original grid footprint and vertically centred baseline;
 * move the decorative rule inside the larger box by the same top extension. */
@media (min-width: 768px) {
  .uovo-landing .question :is(input, select) {
    height: calc(78 * var(--uovo-unit));
    min-height: calc(78 * var(--uovo-unit));
    margin-block: calc(-19.5 * var(--uovo-unit));
    line-height: normal;
    background-position: left calc(var(--uovo-first-baseline) + 19.5 * var(--uovo-unit));
  }
}
@media (max-width: 767px) {
  .uovo-landing .question :is(input, select) {
    height: 117px;
    min-height: 117px;
    margin-block: -19.5px;
    line-height: normal;
    background-position: left calc(var(--uovo-first-baseline) + 39px);
  }
}
