/* ============================================================================
   SYHF 2026 — Closed-door sessions add-on picker (apply.html, every ticket).
   Lives on the dark glass registration form. All five sessions are listed at
   once as checkbox rows; the running total sits underneath. Locked palette.
   ========================================================================== */
.cdpick__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.cdpick__legend { padding: 0; font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 0.35rem; }
.cdpick__opt { color: rgba(255, 255, 255, 0.55); font-weight: 500; font-size: 0.9rem; }
.cdpick__lede { margin: 0 0 1rem; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; line-height: 1.55; }
.cdpick__lede a { color: var(--syhs-tint-mint); font-weight: 600; }
.cdpick__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cdpick__item { position: relative; }
.cdpick__box { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cdpick__label { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; cursor: pointer;
  min-height: 56px; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s var(--ease-editorial), border-color 0.2s var(--ease-editorial); }
.cdpick__label:hover { border-color: rgba(150, 130, 202, 0.75); background: rgba(255, 255, 255, 0.08); }
.cdpick__n { font-family: var(--font-serif); font-size: 1.15rem; color: rgba(255, 255, 255, 0.55); position: relative; display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.cdpick__body { display: grid; gap: 0.15rem; min-width: 0; }
.cdpick__title { font-weight: 700; color: #fff; line-height: 1.3; }
.cdpick__meta { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }
.cdpick__seat { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.cdpick__seat b { color: #fff; font-variant-numeric: tabular-nums; }
.cdpick__full { color: #ff9a9a; font-weight: 700; }
.cdpick__price { white-space: nowrap; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.cdpick__price b { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.cdpick__box:focus-visible + .cdpick__label { box-shadow: 0 0 0 3px #241640, 0 0 0 5px var(--syhs-tint-mint); }
.cdpick__box:checked + .cdpick__label { border-color: var(--syhs-tint-mint); background: rgba(102, 211, 161, 0.16); }
.cdpick__box:checked + .cdpick__label .cdpick__n { background: var(--syhs-tint-mint); border-color: var(--syhs-tint-mint); color: transparent; }
.cdpick__box:checked + .cdpick__label .cdpick__n::after { content: ''; position: absolute; width: 11px; height: 6px; border-left: 2.5px solid var(--syhs-ink);
  border-bottom: 2.5px solid var(--syhs-ink); transform: translateY(-2px) rotate(-45deg); }
.cdpick__box:disabled + .cdpick__label { cursor: not-allowed; opacity: 0.55; border-style: dashed; }
.cdpick__clash { margin-top: 0.9rem; padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid rgba(255, 214, 120, 0.55); background: rgba(255, 214, 120, 0.1); color: #fff; font-size: 0.9rem; line-height: 1.5; }
.cdpick__clash-h { margin: 0 0 0.4rem; font-weight: 700; color: #ffe3a3; }
.cdpick__clash ul { margin: 0; padding-inline-start: 1.1rem; }
.cdpick__clash-f { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.8); }
.cdpick__err { margin: 0.6rem 0 0; color: #ff9a9a; font-weight: 600; font-size: 0.9rem; }
.cdpick__total { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 0.35rem; }
.cdpick__line { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.cdpick__amt b { color: #fff; font-variant-numeric: tabular-nums; }
.cdpick__x { color: rgba(255, 255, 255, 0.6); margin-inline-end: 0.5rem; }
.cdpick__line--total { padding-top: 0.45rem; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700; }
.cdpick__line--total b { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; color: var(--syhs-tint-mint); }
.cdpick__fine { margin: 0.2rem 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.field--invalid .cdpick__label { border-color: rgba(255, 154, 154, 0.6); }
@media (max-width: 560px) {
  .cdpick__label { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .cdpick__price { grid-column: 2; }
}

/* Confirmation screen: the sessions note + pay button. */
.confirm__cd { margin: var(--space-3) auto 0; max-width: 32rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1px solid rgba(102, 211, 161, 0.45); background: rgba(102, 211, 161, 0.1); text-align: center; }
.confirm__cd-k { margin: 0 0 0.3rem; font-weight: 700; }
.confirm__cd-k b { color: var(--syhs-tint-mint); font-variant-numeric: tabular-nums; }
.confirm__cd-t { margin: 0 0 0.8rem; opacity: 0.85; line-height: 1.5; }

/* ---- "Already registered for a track?" — the overlap check on the form (v52) */
.cdpick__other { margin-top: 0.9rem; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.28); padding: 0.2rem 1rem; }
.cdpick__other summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.cdpick__other summary:focus-visible { outline: 2px solid var(--syhs-tint-mint); outline-offset: 2px; border-radius: 6px; }
.cdpick__other-t { margin: 0 0 0.6rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.cdpick__other-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cdpick__other-in, .cdx__input { flex: 1 1 12rem; min-height: 46px; padding: 0 0.9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cdpick__other-in::placeholder, .cdx__input::placeholder { color: rgba(255, 255, 255, 0.45); text-transform: none; }
.cdpick__other-in:focus-visible, .cdx__input:focus-visible { outline: 2px solid var(--syhs-tint-mint); outline-offset: 1px; border-color: transparent; }
.cdpick__other-btn { min-height: 46px; padding: 0 1rem; border-radius: 10px; border: 1px solid var(--syhs-tint-mint); background: transparent; color: var(--syhs-tint-mint); font: inherit; font-weight: 700; cursor: pointer; }
.cdpick__other-btn:hover { background: rgba(102, 211, 161, 0.12); }
.cdpick__other-btn:disabled { opacity: 0.55; cursor: progress; }
.cdpick__other-msg { margin: 0.5rem 0 0.7rem; min-height: 1.2em; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

/* ---- "I already have a registration": add sessions to it (closed-door.html, v52) */
.cdx { display: grid; gap: 1.2rem; }
.cdx__find { padding: 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.cdx__label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.cdx__hint { margin: 0 0 0.8rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.cdx__hint a, .cdx__err a { color: var(--syhs-tint-mint); font-weight: 600; }
.cdx__row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cdx__go { min-height: 46px; }
.cdx__go[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.cdx__input[aria-invalid="true"] { border-color: #ff9a9a; }
.cdx__err { margin: 0.6rem 0 0; color: #ffb4b4; font-weight: 600; font-size: 0.92rem; }
.cdx__hello { margin: 0 0 0.9rem; font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); }
.cdx__hello:focus { outline: none; }
.cdx__ref { font-family: 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.04em; color: var(--syhs-tint-mint); font-weight: 600; }
.cdx__name { color: #fff; font-weight: 600; }
.cdx .is-held .cdpick__label { cursor: default; opacity: 1; border-style: solid; border-color: rgba(102, 211, 161, 0.4); background: rgba(102, 211, 161, 0.07); }
.cdx .is-held .cdpick__n { color: var(--syhs-tint-mint); }
.cdx__tag { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.cdx__tag--ok { border-color: var(--syhs-tint-mint); color: var(--syhs-tint-mint); }
.cdx__pay { margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.cdx__paybtn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: auto; }
.cdx__payhint { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 560px) {
  .cdx__go, .cdpick__other-btn { flex: 1 1 100%; }
  .cdx__paybtn { width: 100%; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .cdx__result:not([hidden]) { animation: cdxIn 260ms cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes cdxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Payment page: the sessions being added (pay.html?ref=…&add=…, v52). */
.pay__cd-list { list-style: none; margin: 0.5rem 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.88rem; }
.pay__cd-list li { padding-inline-start: 0.7rem; border-inline-start: 2px solid var(--syhs-tint-mint); line-height: 1.4; }
.pay__cd-when { display: block; opacity: 0.72; font-size: 0.8rem; }
.pay__cd-note { opacity: 0.8; }
