/* Component layout and controls only; the store theme owns the page and font. */
.cst-intake { --cst-form-accent: #C90015; max-width: 56rem; margin: 2rem auto; padding: 1rem; color: inherit; font: inherit; overflow-wrap: anywhere; }
.cst-intake *, .cst-intake *::before, .cst-intake *::after { box-sizing: border-box; }
.cst-intake [hidden] { display: none !important; }
.cst-intake h1 { margin: 0 0 .75rem; font: inherit; font-size: clamp(1.65rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.2; }
.cst-intake h2, .cst-intake legend { font: inherit; font-size: 1.25rem; font-weight: 600; }
.cst-intake .cst-intake-heading { margin-bottom: 1.75rem; }
/* #828: the event logo, scaled down to fit, never cropped or stretched. */
.cst-intake .cst-intake-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 6rem; margin: 0 0 1rem; object-fit: contain; }
.cst-intake fieldset { min-width: 0; padding: 1.25rem; margin: 1.25rem 0; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); border-radius: .5rem; }
.cst-intake legend { padding: 0 .4rem; }
.cst-intake .cst-intake-grid { display: grid; gap: 1rem; }
.cst-intake .cst-intake-field { min-width: 0; }
.cst-intake label { display: block; margin-bottom: .4rem; font-size: .95em; font-weight: 500; }
.cst-intake input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .cst-intake select, .cst-intake textarea { width: 100%; min-height: 2.75rem; padding: .65rem .75rem; color: inherit; background: transparent; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); border-radius: .375rem; font: inherit; }
.cst-intake option { color: CanvasText; background: Canvas; }
.cst-intake input[type=checkbox], .cst-intake input[type=radio] { width: 1.3rem; height: 1.3rem; accent-color: var(--cst-form-accent); flex-shrink: 0; }
.cst-intake .cst-intake-check { display: grid; grid-template-columns: 1.3rem 1fr; align-items: start; gap: .65rem; margin-block: .75rem; }
.cst-intake .cst-intake-check label { grid-column: 2; grid-row: 1; margin: 0; }
.cst-intake .cst-intake-check input { grid-column: 1; grid-row: 1; margin: .15rem 0; }
.cst-intake .cst-intake-check .errorlist { grid-column: 1 / -1; }
.cst-intake button, .cst-intake .cst-intake-primary { min-height: 3rem; padding: .75rem 1.1rem; border: 1px solid currentColor; border-radius: .375rem; font: inherit; font-weight: 600; cursor: pointer; }
.cst-intake .cst-intake-primary { display: block; width: 100%; margin-top: 1.25rem; color: #fff; background: var(--cst-form-accent); border-color: var(--cst-form-accent); }
.cst-intake .cst-intake-primary:hover { background: #a30012; }
.cst-intake .cst-intake-secondary { background: transparent; color: inherit; }
.cst-intake .cst-intake-secondary:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.cst-intake :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cst-intake button:disabled { opacity: .6; cursor: wait; }
.cst-intake .cst-intake-help { font-size: .875em; opacity: .8; }
.cst-intake .cst-intake-error, .cst-intake .errorlist { border-left: 3px solid var(--cst-form-accent); padding: .75rem 1rem; margin-block: 1rem; }
.cst-intake .errorlist { list-style: none; font-size: .9em; }
.cst-intake .cst-intake-warning { border-left: 3px solid #b7791f; padding: .75rem 1rem; margin-block: 1rem; }
.cst-intake .cst-intake-waiver { margin-block: 1rem; }
.cst-intake .cst-intake-waiver-text { white-space: pre-wrap; max-height: 16rem; overflow-y: auto; margin-block: .75rem 1rem; padding: .75rem; border: 1px solid currentColor; }
.cst-intake .cst-intake-policies { margin-block: 1.5rem; font-size: .9em; }
.cst-intake .cst-intake-policies h3 { font: inherit; font-weight: 600; }
.cst-intake .cst-intake-policies p { white-space: pre-wrap; }
.cst-intake .cst-intake-policies a { text-decoration: underline; }
.cst-intake .cst-intake-summary { padding-block: 1rem; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.cst-intake .cst-intake-total-lines { margin: 0; }
.cst-intake .cst-intake-total-lines > div { display: flex; justify-content: space-between; gap: 1rem; margin-block: .75rem; }
.cst-intake .cst-intake-total-lines dd { margin: 0; white-space: nowrap; }
.cst-intake .cst-intake-total { font-size: 1.2em; font-weight: 700; }
@media (min-width: 40rem) { .cst-intake .cst-intake-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cst-intake .cst-intake-wide { grid-column: 1 / -1; } }

.cst-intake [data-custom-question] { margin-block: 1rem; }
.cst-intake [data-custom-question] input[type=checkbox], .cst-intake [data-custom-question] input[type=radio] { margin-right: .5rem; }
.cst-intake .cst-question-help { font-size: .875em; opacity: .8; }
/* #813: registration not open yet / closed. */
.cst-intake-status { max-width: 40rem; text-align: center; }
.cst-intake-status h2 { margin: 0 0 .5rem; }
.cst-intake-status a.cst-intake-primary { box-sizing: border-box; text-align: center; text-decoration: none; }
.cst-intake-status a.cst-intake-primary:hover { color: #fff; }
