/* ============================================================
 * Public webforms — Licensing Inquiry and Ballet License Request.
 *
 * Loaded ONLY when the front-end theme renders a webform submission
 * form (attached from a theme-scoped hook_form_BASE_FORM_ID_alter, so
 * staff in Claro never load it).
 *
 * Deliberately the same visual language as contributor-form.css: navy
 * /blue palette, Josefin Sans uppercase labels over Nunito Sans inputs,
 * generous spacing and NO divider line between fields (Tzipora,
 * 2026-07-10: "cut the divider between every input — it's visual noise").
 *
 * ONE DELIBERATE DIVERGENCE from the contributor form: it separates
 * every field by 56px, which is right for a tabbed pane holding a
 * handful of fields. The Ballet License Request has ~30, so 56px
 * throughout would make it several screens taller than it needs to be.
 * Fields inside a section are 34px apart and SECTIONS are 56px apart, so
 * the rhythm still reads as the same family while the grouping does the
 * work the extra whitespace was doing.
 * ============================================================ */

/* ---- The form is a card, like the contributor form ---- */
.webform-submission-form {
  box-sizing: border-box;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(26px, 3.5vw, 52px) clamp(20px, 4.5vw, 64px);
  background: var(--white, #fff);
  border: 1px solid #dde6f2;
  border-radius: 16px;
  box-shadow: 0 22px 60px -28px rgba(11,44,77,.35), 0 2px 6px rgba(11,44,77,.05);
  font-family: var(--effra, 'Nunito Sans', sans-serif);
  color: var(--black, #262626);
  text-align: left;
}

/* Brand accent bar, as on the contributor card.
   NOT shared via selector with .cd-accent-bar (concert-dance.css) even
   though the look is identical -- this file (webform.css) only attaches
   when an actual webform renders on the page, so a shared rule here is
   invisible on /privacy-policy, /terms-and-conditions and /cookie-policy,
   none of which carry a form. Caught live 17 Nov: .cd-accent-bar measured
   780x0 with no background on /privacy-policy -- it had inherited block
   width/zero height from nothing, because this whole declaration was never
   loaded there. If the size/colour changes, update both. */
.webform-submission-form::before {
  width: 64px;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy, #0b2c4d), var(--highlight, #10629e));
}
.webform-submission-form::before {
  content: "";
  display: block;
  margin-bottom: 30px;
}

.webform-submission-form * { box-sizing: border-box; }
.webform-submission-form input,
.webform-submission-form textarea,
.webform-submission-form select { max-width: 100%; }

/* On /license-inquiry the form is embedded in a designed page that already
   supplies the heading, the intro and the checklist — a second card inside
   that column would read as a box in a box. Keep the controls and rhythm,
   drop the card chrome.

   /subscribe joins it (DIG-004993, 2026-09-14): same situation, and Tzipora
   asked for that form to look like this one — "I would prefer that these forms
   be styled the way that your forms are styled" (10 September). Her own comp
   shows the fields on the page, not in a card, so the two agree.

   /contact joined it too, first via its own `.cd-contact-form` wrapper class
   (concert-dance-footer-pages-handoff.md, 12 Nov) with its OWN separately
   injected page-title accent bar -- so the form's own ::before had to stay
   hidden there or the page would show two bars. DIG-005764 (19 Nov) rebuilt
   /contact onto this SAME .li-form template instead (StaticPagesController::
   contact(), pages/contact.html.twig), so it now gets its bar the same way
   License Inquiry and Subscribe do, below -- `.cd-contact-form` no longer
   renders anywhere and the `::before { display:none }` override it needed
   is gone with it. */
.li-form .webform-submission-form,
.subscribe-form .webform-submission-form {
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.li-form .webform-submission-form::before,
.subscribe-form .webform-submission-form::before {
  margin-bottom: 26px;
}

/* DIG-005764 (Tzip, 19 Nov handoff §4): Contact has no fieldsets, so the
   sitewide 34px rhythm below (".webform-submission-form > .js-form-item")
   never applied its OWN 34px here anyway -- these three rules are its
   deliberate 26px rhythm instead. #page-contact outranks the generic rule's
   specificity, so source order doesn't matter. */
#page-contact .page-content > p.body-a { margin-bottom: 26px; }
#page-contact .webform-submission-form > .js-form-item { margin-bottom: 26px; }
#page-contact .webform-submission-form .form-actions {
  border-top: 0;
  padding-top: 0;
}

/* ---- Intro copy inside the form ----
   concert-dance-forms-handoff.md §2 (Tzip, approved 27 Oct): the stock Webform
   type (rem-based, no mobile override at all) is retired for the site's own
   tokens, px with an explicit mobile value at every rule, so the breakpoint
   actually does something -- it didn't before. */
.webform-submission-form .form-item-intro,
.webform-submission-form .js-form-item-intro {
  margin: 0 0 40px;
  font-family: var(--effra); font-weight: 300;
  font-size: 20px; line-height: 1.7; letter-spacing: 0.01em;
  color: var(--black);
}
.webform-submission-form .form-item-intro a { color: var(--highlight); }

/* ---- Sections. Annie's own mockup ruled each section title in blue; the
   site's navy/blue does the same job, so the two agree. ---- */
.webform-submission-form fieldset.webform-type-fieldset {
  margin: 0 0 56px;
  padding: 0;
  border: 0;
}
.webform-submission-form fieldset.webform-type-fieldset:last-of-type { margin-bottom: 40px; }

.webform-submission-form legend {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--highlight, #10629e);
}
.webform-submission-form legend .fieldset-legend {
  font-family: var(--brandon);
  font-weight: 700;
  font-size: 16px; line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--main);
}
/* A fieldset's own help text sits under the rule, not jammed against it */
.webform-submission-form .fieldset-wrapper > .description,
.webform-submission-form fieldset > .description {
  margin: -12px 0 22px;
  font-size: .82rem;
  color: #6c7a90;
}

/* ---- Field rhythm: 34px inside a section, no dividers ---- */
.webform-submission-form .fieldset-wrapper > .js-form-item,
.webform-submission-form .fieldset-wrapper > .js-form-wrapper,
.webform-submission-form > .js-form-item,
.webform-submission-form > div > .js-form-item {
  margin: 0 0 34px;
  padding: 0;
  border-bottom: 0;
}
.webform-submission-form .fieldset-wrapper > .js-form-item:last-child,
.webform-submission-form .fieldset-wrapper > .js-form-wrapper:last-child {
  margin-bottom: 0;
}

/* ---- Labels ---- */
.webform-submission-form label,
.webform-submission-form .form-item__label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--brandon);
  font-weight: 700;
  font-size: 14px; line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--main);
}

/* ---- Controls ---- */
.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form input[type="url"],
.webform-submission-form input[type="number"],
.webform-submission-form input[type="date"],
.webform-submission-form textarea,
.webform-submission-form select {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--effra); font-weight: 400;
  font-size: 18px; line-height: 1.5; letter-spacing: 0.01em;
  color: var(--black);
  background: #fbfcff;
  border: 1.5px solid #ccd8ea;
  /* DIG-005116. Was 9px. "A little bit too much of a rounded bevel on the edges
     of the input fields... I want slightly less of a bevel so that it matches the
     buttons." Matching the buttons means 4px.

     ⚠ This is only visible signed OUT. Checked as an admin first and the inputs
     measured 0px, because the field that matched was a hidden one — the honeypot.
     Re-checked in a clean context and it is 9px on both public forms. */
  border-radius: 4px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.webform-submission-form textarea {
  min-height: 118px;
  resize: vertical;
}
/* DIG-005641. Native select arrow sat flush against the border with no gap --
   draw our own chevron (same shape as .sort-btn .sort-arrow) so the right-side
   gap to the edge matches the 15px left-side text padding. */
.webform-submission-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304304d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px 14px;
}
/* concert-dance-forms-handoff.md §2: a placeholder (or an unpicked "- Select -")
   reads as a hint, not a filled-in answer -- light italic, Main at 50%. */
.webform-submission-form ::placeholder,
.webform-submission-form select:has(option[value=""]:checked) {
  font-family: var(--effra); font-weight: 300; font-style: italic;
  font-size: 18px; letter-spacing: 0.01em;
  color: rgba(4, 48, 77, 0.5);
  opacity: 1;
}
.webform-submission-form input:focus,
.webform-submission-form textarea:focus,
.webform-submission-form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--highlight, #10629e);
  box-shadow: 0 0 0 4px rgba(16,98,158,.14);
}
/* Native date inputs sit a pixel high next to text inputs without this */
.webform-submission-form input[type="date"] { min-height: 49px; }

/* The works list is a multi-select: give it room to show several without
   scrolling, since picking more than one is the normal case. */
.webform-submission-form select[multiple] {
  min-height: 220px;
  padding: 8px;
}
.webform-submission-form select[multiple] option {
  padding: 6px 8px;
  border-radius: 5px;
}

/* ---- Checkboxes read to the RIGHT of the control, as on the contributor form ---- */
.webform-submission-form .js-form-type-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
.webform-submission-form .js-form-type-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--highlight, #10629e);
}
.webform-submission-form .js-form-type-checkbox label {
  margin: 0;
  /* flex-basis 0, not auto: with `auto` the browser sizes the wrap decision
     off the label's max-content (single-line) width, so a label long enough
     to need wrapping -- "I agree to receive email communications from MTI
     Concert Dance" (DIG-?, Tzipora call 4 Nov 2026: "get this copy to be
     next to the checkbox as opposed to below it") -- never fit beside the
     18px checkbox and dropped to its own line below instead. Basis 0 lets it
     grow to fill the remaining width and wrap its TEXT there instead of
     wrapping the whole flex item. min-width still stops it shrinking to a
     few characters wide when help text shares the row. */
  flex: 1 1 0%;
  min-width: 12ch;
  /* concert-dance-forms-handoff.md §2: the checkbox label is the one label NOT
     in caps -- this rule must come after the generic label rule (it does,
     lower in the file) so it wins. */
  text-transform: none;
  font-family: var(--effra); font-weight: 300;
  font-size: 18px; line-height: 1.5; letter-spacing: 0.01em;
  color: var(--black);
}
.webform-submission-form .js-form-type-checkbox .description {
  flex: 1 0 100%;
  margin-left: 28px;
}

/* ---- Help text + required marker ---- */
.webform-submission-form .description,
.webform-submission-form .form-item__description,
.webform-submission-form .webform-element-description {
  margin-top: 7px;
  font-family: var(--effra); font-weight: 300;
  font-size: 16px; line-height: 1.5; letter-spacing: 0.01em;
  color: #555555;
}
.webform-submission-form .description a { color: var(--highlight); }

.webform-submission-form .form-required::after,
.webform-submission-form abbr.form-required {
  content: "*";
  margin-left: 4px;
  color: var(--error);
  border: 0;
  text-decoration: none;
  font-size: 1em;
}

/* ---- Errors ----
   concert-dance-forms-handoff.md §2 + concert-dance-subscribe-handoff.md §2
   (amends the first -- error messages get an icon). ⚠ `.form-item .error`
   USED to be grouped into the SAME rule as `.form-item--error-message` --
   Drupal also stamps the literal class "error" onto the erroring INPUT
   itself (confirmed live: `<input class="form-email required error">`), so
   that combined selector was shrinking and recoloring the FIELD TEXT to the
   small error-message style too. Split apart: `input.error` etc. only ever
   touch the border/background below; `.form-item--error-message` alone
   carries the message type, so the typed text stays --black regardless.
   The actual reason an error didn't show at all (her mail's main bug): Drupal
   core's `inline_form_errors` module was never enabled on this site, so
   every error -- field class included -- rendered into the page-top summary
   with nothing written into these per-field slots. Enabled per-environment
   via `drush pm:enable inline_form_errors`, not a config import. */
.webform-submission-form input.error,
.webform-submission-form textarea.error,
.webform-submission-form select.error {
  border-color: var(--error);
  background: #fffaf9;
}
.webform-submission-form .form-item--error-message {
  position: relative;
  margin-top: 7px;
  padding-left: 23px; /* 17px icon + 6px gap */
  font-family: var(--effra); font-weight: 400;
  font-size: 16px; line-height: 1.5; letter-spacing: 0.01em;
  color: var(--error);
}
.webform-submission-form .form-item--error-message::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 17px; height: 17px;
  background-color: var(--error);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cline x1='12' x2='12' y1='8' y2='12' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 17px 17px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cline x1='12' x2='12' y1='8' y2='12' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 17px 17px;
}
/* reCAPTCHA error: the box border turns --error (message sits under it via
   the same .form-item--error-message rule above). */
.webform-submission-form .captcha.error,
.webform-submission-form .captcha:has(.form-item--error-message) {
  border-color: var(--error);
}

/* ---- CAPTCHA: a bordered block so it reads as part of the form ---- */
.webform-submission-form .captcha {
  margin: 0 0 34px;
  padding: 18px;
  background: #f6f9fe;
  border: 1px solid #dde6f2;
  border-radius: 12px;
}
.webform-submission-form .captcha > legend,
.webform-submission-form .captcha .fieldset-legend { display: none; }
/* CAPTCHA's stock description ("This question is for testing whether or not you
   are a human visitor...") says nothing the widget does not say itself, and it
   was the only paragraph of grey boilerplate on the page. */
.webform-submission-form .captcha > .description,
.webform-submission-form .captcha .captcha__description { display: none; }
/* Keep the widget from overflowing the card on narrow screens */
.webform-submission-form .captcha iframe { max-width: 100%; }

/* DIG-005116. `max-width: 100%` on the iframe was NOT enough, and could not be:
   reCAPTCHA renders at a fixed 304px INSIDE the frame, so constraining the frame
   clips it rather than shrinking it, and the block is still forced wider than its
   container.

   Measured anonymously at 375x667 on /subscribe and /license-inquiry, before this:
       .captcha block   right edge 372     form right edge 330   -> 42px over
       .g-recaptcha     right edge 353                           -> 23px over
   Tzipora, 18 Sep: "as the screen shrinks down, the CAPTCHA box should never
   extend past all the other content in frame above and below."

   ⚠ ONLY VISIBLE SIGNED OUT. An admin has the skip-captcha permission, so no
   widget renders at all and the page looks fine — which is why this needed a
   clean browser context to reproduce rather than the usual admin session.

   Scaled rather than squeezed: 304 x 0.86 = 261px, which sits inside the ~290px
   of content width available at this breakpoint. The height is set to match the
   scaled widget so the block does not keep the unscaled 78px and leave a gap,
   and overflow:hidden means nothing can escape the block whatever the widget
   decides to render. */
@media (max-width: 639px) {
  .webform-submission-form .captcha {
    padding: 14px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* ⚠ A transform ALONE does not fix this, and the first attempt at it did not:
     `transform: scale()` changes what is PAINTED and not what is laid out, so the
     element still reserved reCAPTCHA's full 304px and the block stayed 34px too
     wide. Measured on dev after that attempt: captcha right 364, form right 330.
     The explicit width is what actually shrinks the box; the transform is what
     makes the widget fit inside it. Both are needed. */
  .webform-submission-form .captcha .g-recaptcha {
    transform: scale(0.86);
    transform-origin: 0 0;
    width: 262px;    /* 304 x 0.86, so the layout box matches the painted size */
    height: 68px;    /* 78 x 0.86 */
    overflow: hidden;
  }
}

/* DIG-005781 follow-up, Tzipora 20 Nov (screenshot from
   live-mti-concert-dance.pantheonsite.io/license-inquiry): the 639px scale above
   is tuned for the ~245px of content width available down to ~375px viewports --
   below that (measured live: 320px and 360px both overflow, 375px does not) the
   form's own content column shrinks faster than the fixed 262px scaled widget
   does, so the .captcha block (and the reCAPTCHA badge inside it) pokes past the
   form's right edge again. Same fix, smaller scale for the narrower range: 304 x
   0.7 = 213px fits inside the ~225px available at 320px wide with room to spare. */
@media (max-width: 374px) {
  .webform-submission-form .captcha {
    padding: 10px;
  }
  .webform-submission-form .captcha .g-recaptcha {
    transform: scale(0.7);
    transform-origin: 0 0;
    width: 213px;    /* 304 x 0.7 */
    height: 55px;    /* 78 x 0.7 */
    overflow: hidden;
  }
}

/* The honeypot must stay invisible and must never gain layout from the rules
   above — belt and braces over the config's own off-screen wrapper. */
.webform-submission-form .js-form-item-url,
.webform-submission-form .form-item-url,
.webform-submission-form .js-form-item-website-url {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0;
  overflow: hidden;
}

/* ---- Submit ---- */
.webform-submission-form .form-actions {
  margin: 8px 0 0;
  padding-top: 28px;
  border-top: 1px solid #e6edf7;
}
/* concert-dance-forms-handoff.md §2: the submit button becomes the site's
   OUTLINE button (white/Main border, no fill), matching every other button
   on the site, instead of its own filled-navy treatment. DIG-005116's 4px
   radius carries over unchanged. */
.webform-submission-form .webform-button--submit {
  appearance: none;
  padding: 12px 20px 8px; /* site button padding */
  font-family: var(--brandon);
  font-weight: 700;
  font-size: 18px; line-height: 1.4;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--main);
  background: var(--white);
  border: 2px solid var(--main);
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
}
.webform-submission-form .webform-button--submit:hover,
.webform-submission-form .webform-button--submit:focus-visible {
  background: var(--pale);
  box-shadow: none;
  transform: none;
}

/* ---- Two-column rows for name pairs (class set on the fieldset in config) ---- */
@media (min-width: 640px) {
  .webform-submission-form .cd-2col > .fieldset-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
  }
  /* the "same as primary" tick and any lone trailing control span the row */
  .webform-submission-form .cd-2col > .fieldset-wrapper > .js-form-type-checkbox {
    grid-column: 1 / -1;
  }
}

/* ---- The standalone webform page (Ballet License Request) ----
   On a designed page the shared hero carousel is what pushes content clear of
   the fixed nav. This page has no carousel (deliberately — see page.html.twig),
   so it has to make that room itself or the heading renders UNDER the nav. */
#page-webform .page-header {
  padding-top: calc(var(--nav-height, 64px) + 56px);
  padding-bottom: 6px;
}
.cd-webform-page { padding-bottom: 96px; }

/* ---- License Inquiry title picker (concert-dance-forms-handoff.md §3) ----
   Progressively enhances the real #edit-work-selector <select> (see
   concert_dance_custom_license_inquiry_webform_alter() and the matching
   Drupal.behaviors.concertDanceLicenseInquiryPicker in concert-dance.js).
   The select stays in the DOM and the a11y tree as a genuine no-JS
   fallback -- visually hidden only once the JS has actually replaced it,
   never display:none (some assistive tech treats that as fully removed). */
/* `.webform-submission-form select` (specificity 0,1,1) otherwise beats a
   bare `.li-picker-enhanced` (0,1,0) and keeps its own width:100% — scoped
   with the tag + container class so this one actually wins. */
.webform-submission-form select.li-picker-enhanced {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.li-picker { position: relative; }

.li-picker-field-wrap { position: relative; }

.li-picker-icon-search {
  position: absolute;
  left: 15px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  color: var(--main);
  pointer-events: none;
}

.li-picker-input {
  /* Inherits the generic .webform-submission-form input[type="text"] rule
     (padding/border/font/focus ring) since it sits inside that container --
     only the left/right padding needs widening for the icon and clear button. */
  padding-left: 45px !important; /* 15px + 20px icon + 10px gap */
  padding-right: 40px !important;
}

.li-picker-clear {
  position: absolute;
  right: 12px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--main);
  cursor: pointer;
}
.li-picker-clear svg { display: block; width: 100%; height: 100%; }
.li-picker-clear:hover { color: var(--highlight); }

.li-picker-list-wrap {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 20;
  background: var(--white);
  border: 1.5px solid var(--highlight);
  border-radius: 4px;
  box-shadow: 0 10px 28px -12px rgba(4, 48, 77, 0.35);
  overflow: hidden;
}

.li-picker-listbox {
  margin: 0; padding: 0;
  list-style: none;
  overflow-y: auto;
}

.li-picker-option {
  position: relative;
  padding: 16px 24px;
  cursor: pointer;
}
.li-picker-option:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 1px;
  background: rgba(4, 48, 77, 0.15);
  transition: height 0.2s ease, background-color 0.2s ease;
}
/* No background tint on hover/active -- the hairline below thickens instead,
   same treatment as the FAQ row hover. */
.li-picker-option:hover::after,
.li-picker-option.active::after {
  height: 3px;
  background: var(--main);
}

.li-picker-option-title {
  font-family: var(--effra); font-weight: 400;
  font-size: 18px; line-height: 1.35; letter-spacing: 0.01em;
  color: var(--black);
}
.li-picker-option.active .li-picker-option-title { color: var(--main); }
.li-picker-option-title .li-picker-match { font-weight: 600; }

.li-picker-option-choreo {
  margin-top: 3px;
  font-family: var(--brandon); font-weight: 700; text-transform: uppercase;
  font-size: 13px; letter-spacing: 0.12em;
  color: var(--highlight);
}
.li-picker-option-choreo .li-picker-match { color: var(--main); }

.li-picker-status {
  padding: 10px 24px;
  border-top: 1px solid #e6edf7;
  font-family: var(--effra); font-weight: 300;
  font-size: 16px; line-height: 1.5;
  color: #555555;
}
.li-picker-status a { color: var(--highlight); }
.li-picker-status:empty { display: none; border-top: 0; padding: 0; }

@media (max-width: 768px) {
  .li-picker-input { font-size: 16px !important; }
  .li-picker-option-title { font-size: 16px; }
  .li-picker-option-choreo { font-size: 12px; }
  .li-picker-status { font-size: 14px; }
}

/* License Inquiry thank-you page CSS lives in concert-dance.css, not here --
   this file's library (mti_concert_dance/webform) only attaches when an
   actual webform renders on the page (see mti_concert_dance_form_alter()),
   and /license-inquiry/thank-you has no form at all. Found live: the whole
   .ty-header/.ty-icon/.li-dw-card block was being written to a stylesheet
   that never loaded there, so the icon+h1 rendered unstyled/stacked instead
   of the designed one-line row. See the THANK YOU section of
   concert-dance.css. */

/* ---- Confirmation ---- */
.webform-confirmation {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 38px;
  background: var(--white, #fff);
  border: 1px solid #dde6f2;
  border-radius: 16px;
  font-family: var(--effra, 'Nunito Sans', sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
}
.webform-confirmation__back { margin-top: 22px; }
.webform-confirmation__back a { color: var(--highlight, #10629e); }

/* ---- Mobile type (concert-dance-forms-handoff.md §2) ----
   The site's own mobile breakpoint (768px), NOT this file's existing 639px
   structural one below -- her spec is explicit ("desktop 769px and wider,
   mobile 768px and narrower"), and leaving these at 639px would apply
   DESKTOP sizes between 640-768px, e.g. on an iPad Mini portrait. Field text
   never goes below 16px here (iPhones zoom into a field below that on tap). */
@media (max-width: 768px) {
  .webform-submission-form .form-item-intro,
  .webform-submission-form .js-form-item-intro { font-size: 18px; }
  .webform-submission-form legend .fieldset-legend { font-size: 14px; }
  .webform-submission-form label,
  .webform-submission-form .form-item__label { font-size: 13px; }
  .webform-submission-form input[type="text"],
  .webform-submission-form input[type="email"],
  .webform-submission-form input[type="tel"],
  .webform-submission-form input[type="url"],
  .webform-submission-form input[type="number"],
  .webform-submission-form input[type="date"],
  .webform-submission-form textarea,
  .webform-submission-form select,
  .webform-submission-form ::placeholder { font-size: 16px; } /* never below 16px */
  .webform-submission-form .description,
  .webform-submission-form .form-item__description,
  .webform-submission-form .webform-element-description,
  .webform-submission-form .form-item--error-message { font-size: 14px; }
  .webform-submission-form .form-item--error-message { padding-left: 21px; }
  .webform-submission-form .form-item--error-message::before {
    top: 2px; width: 15px; height: 15px;
    -webkit-mask-size: 15px 15px; mask-size: 15px 15px;
  }
  .webform-submission-form .js-form-type-checkbox label { font-size: 16px; }
  .webform-submission-form .webform-button--submit { font-size: 16px; }
}

/* ---- Mobile (structural -- padding/border-radius/width; this file's own
   639px breakpoint, unchanged by the forms handoff: "field borders,
   backgrounds, padding and spacing stay as they are") ---- */
@media (max-width: 639px) {
  .webform-submission-form {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .webform-submission-form fieldset.webform-type-fieldset { margin-bottom: 44px; }
  .webform-submission-form .fieldset-wrapper > .js-form-item { margin-bottom: 28px; }
}
/* DIG-005764 (Tzip, 19 Nov handoff §4): "Buttons should never span the
   content frame... they keep the standard button style and hug their text
   at every width." This is what stretched every webform's submit button
   full-width on mobile (License Inquiry's "Send inquiry" included) -- not
   scoped to the 639px query above like the rest of this file's mobile
   rules, since nothing above 639px ever set width:100% in the first place. */
.webform-submission-form .webform-button--submit {
  width: auto;
  display: inline-block;
}
