.join-form-shell {
  --jf-ink: #0b2638;
  --jf-muted: #526771;
  --jf-accent: #126a72;
  --jf-edge: #c9d6d9;
  color: var(--jf-ink);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
  min-width: 0;
}
.join-form-shell *, .join-form-shell *::before, .join-form-shell *::after { box-sizing: border-box; }
.join-form-shell [hidden] { display: none !important; }
.join-form[data-join-can-start="false"] [data-privacy-gate] { display: none !important; }
.join-form-shell :is(button,input,select,textarea) { font: inherit; }
.join-form-shell :is(button,select,summary) { cursor: pointer; }
.join-form-shell :is(button,input,select,textarea,summary,a):focus-visible,
.join-form-shell [tabindex="-1"]:focus-visible { outline: 3px solid #167780; outline-offset: 3px; }
.join-form-shell a { color: #075d68; text-decoration: underline; text-underline-offset: .19em; }
.join-form-shell button { min-height: 44px; }
.join-form-shell .jf-reader {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.join-form-shell .jf-heading h3, .join-form-shell .jf-receipt h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); font-weight: 750; margin: 0 0 .4rem; line-height: 1.45; color: var(--jf-ink);
}
.join-form-shell .jf-heading p, .join-form-shell .jf-receipt p { margin: 0; color: var(--jf-muted); font-size: 1rem; line-height: 1.7; }
.jf-heading { margin-bottom: 1.35rem; }
.jf-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem 1.35rem; }
.jf-wide { grid-column: 1 / -1; }
.jf-fields, .jf-products { min-width: 0; border: 0; margin: 0; padding: 0; }
.jf-field { display: flex; flex-flow: column; min-width: 0; gap: .35rem; }
.jf-field label, .jf-products legend { font-weight: 650; font-size: .95rem; color: var(--jf-ink); }
.jf-required { color: #af242d; font-size: .82em; }
.jf-field :is(input,select,textarea) {
  width: 100%; max-width: 100%; min-width: 0; min-height: 47px; padding: .58rem .8rem; border-radius: .45rem;
  border: 1px solid var(--jf-edge); background-color: #fff; color: var(--jf-ink); line-height: 1.4;
  transition: border-color 150ms, box-shadow 150ms;
}
.jf-field select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, #526771 50%), linear-gradient(135deg,#526771 50%,transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.jf-field textarea { resize: vertical; min-height: 6rem; }
.jf-field :is(input,textarea)::placeholder { color: #5c7079; opacity: 1; }
.jf-field :is(input,select,textarea):focus { border-color: var(--jf-accent); }
.jf-field :is(input,select,textarea):disabled { color: #425760; opacity: 1; background-color: #f4f7f6; cursor: default; }
.jf-field small, .jf-products small { font-size: .875rem; font-weight: 400; color: var(--jf-muted); }
.jf-context { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; margin: 0 0 1.4rem; border-left: 3px solid var(--jf-accent); background: #edf5f4; }
.jf-context strong { display: block; font-weight: 700; }
.join-form-shell .jf-context p { font-size: .94rem; margin: .12rem 0 0; color: var(--jf-muted); }
.jf-context button, .jf-receipt button {
  border: 1px solid var(--jf-edge); line-height: 1.45; border-radius: .4rem; background: #fff; color: var(--jf-ink);
  padding: .5rem .8rem; flex-shrink: 0;
}
.jf-context button:hover, .jf-receipt button:hover { border-color: var(--jf-accent); }
.jf-products legend { padding: 0 0 .4rem; }
.jf-products small { margin-left: .35rem; }
.jf-products > div { display: flex; flex-wrap: wrap; gap: .35rem .55rem; }
.jf-products label { display: inline-flex; cursor: pointer; align-items: center; gap: .42rem; min-height: 44px; padding: .42rem .67rem; border: 1px solid var(--jf-edge); border-radius: .4rem; }
.jf-products label:has(input:checked) { background: #edf5f4; border-color: var(--jf-accent); }
.jf-products input, .jf-consent input { width: 1.08rem; height: 1.08rem; margin: 0; flex: 0 0 auto; cursor: pointer; accent-color: var(--jf-accent); }
.jf-extra { margin: 1.1rem 0; border-block: 1px solid #dce4e5; }
.jf-extra summary, .jf-consent summary { padding: .63rem 0; min-height: 44px; font-size: .94rem; }
.jf-extra summary span { color: var(--jf-muted); margin-left: .5rem; font-size: .875rem; }
.jf-extra > div { margin: .2rem 0 1.1rem; }
.jf-consent > label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.jf-consent input { margin-top: .33rem; }
.jf-consent details { margin-left: 1.7rem; }
.jf-consent summary { color: var(--jf-accent); width: fit-content; }
.join-form-shell .jf-consent p { margin: 0 0 .7rem; color: var(--jf-muted); font-size: .92rem; }
.jf-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.jf-submit-row { display: flex; margin-top: .85rem; }
.join-form-shell .jf-submit {
  display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 48px; border: 0; border-radius: .45rem;
  background: #0b3448; color: #fff; padding: .7rem 1.5rem; font-weight: 700; transition: background-color 160ms, transform 160ms;
}
.join-form-shell .jf-submit:hover:not(:disabled) { background: #145167; transform: translateY(-1px); }
.join-form-shell .jf-submit:disabled { cursor: default; opacity: .73; }
.join-form[aria-busy="true"] .jf-submit::before { content: ""; width: 1rem; height: 1rem; border: 2px solid #92afb8; border-top-color: #fff; border-radius: 50%; animation: jf-spin .85s linear infinite; }
.jf-feedback { border-radius: .45rem; padding: .65rem .85rem; margin-top: .8rem; background: #edf5f4; color: #194850; overflow-wrap: anywhere; }
.jf-feedback[data-tone="error"] { color: #76252b; background: #fff1f1; }
.jf-receipt { border-radius: .6rem; border: 1px solid #b3d2cf; background: #eff7f5; padding: clamp(1.15rem, 3vw, 2rem); animation: jf-appear 220ms ease-out; }
.jf-check { display: grid; place-items: center; background: #14655e; color: #fff; font-size: 1.2rem; border-radius: 50%; width: 2.15rem; height: 2.15rem; margin-bottom: .8rem; }
.jf-ticket { display: grid; gap: .2rem; margin: 1rem 0; }
.jf-ticket span { color: var(--jf-muted); font-size: .9rem; }
.jf-ticket strong { font: 650 .98rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
@keyframes jf-spin { to { transform: rotate(1turn); } }
@keyframes jf-appear { from { opacity: 0; transform: translateY(.3rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 650px) {
  .jf-grid { grid-template-columns: 1fr; gap: .9rem; } .jf-wide { grid-column: auto; }
  .jf-context { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .jf-submit-row .jf-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 .join-form-shell *, .join-form-shell *::before, .join-form-shell *::after { animation: none !important; transition: none !important; transform: none !important; }
}
