.tpc-sp { max-width: 1140px; margin: 0 auto; }
.tpc-sp-narrow { max-width: 560px; margin: 0 auto; }
.tpc-sp select { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; border: 1px solid var(--tpc-line); background: #fff; color: var(--tpc-ink); min-height: 44px; }
.tpc-sp select:focus, .tpc-sp input:focus-visible, .tpc-sp button:focus-visible { outline: 3px solid var(--tpc-focus); outline-offset: 1px; }
.tpc-sp h4 { margin: 18px 0 6px; font-size: 16px; }
.tpc-sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tpc-sp-head h2 { margin: 0; }
.tpc-sp-status { font-size: 14px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--tpc-line); background: #fff; }
.tpc-sp-status-paid, .tpc-sp-status-comped { border-color: #9bc5a4; background: #f1f8f3; color: #2d6a3f; }
.tpc-sp-status-invoice_requested { border-color: #e0c27a; background: #fdf6e3; }
.tpc-sp-notice { padding: 12px 14px; margin: 0 0 14px; border-left: 4px solid var(--tpc-muted); background: #f5f5f5; font-size: 15px; }
.tpc-sp-error { border-left-color: var(--tpc-error); background: #fdf0ee; color: #8a2d20; }
.tpc-sp-warn { border-left-color: #c9962b; background: #fdf6e3; }
.tpc-sp-info { border-left-color: var(--tpc-accent); background: var(--tpc-accent-soft); }
.tpc-sp-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 10px; }
.tpc-sp-tier { border: 1px solid var(--tpc-line); background: #fff; padding: 14px; text-align: left; font: inherit; color: var(--tpc-ink); }
.tpc-sp-pick { cursor: pointer; }
.tpc-sp-pick:disabled { opacity: 0.6; cursor: not-allowed; }
.tpc-sp-pick:hover:not(:disabled) { border-color: var(--tpc-accent); }
.tpc-sp-on { border: 2px solid var(--tpc-accent); background: var(--tpc-accent-soft); padding: 13px; }
.tpc-sp-price { font-size: 24px; font-weight: 700; margin: 4px 0; }
.tpc-sp-soldout { color: var(--tpc-error); font-weight: 600; font-size: 14px; }
.tpc-sp-radio { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.tpc-sp-radio input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.tpc-sp-gone { opacity: 0.55; }
.tpc-sp-terms { max-height: 180px; overflow: auto; border: 1px solid var(--tpc-line); padding: 10px; font-size: 14px; white-space: pre-wrap; margin-bottom: 10px; }
.tpc-sp-todo { margin: 12px 0 0; padding-left: 18px; font-size: 14px; }
.tpc-sp-block { display: block; width: 100%; }
.tpc-sp-contact { border-top: 1px solid var(--tpc-line); padding-top: 4px; margin-top: 12px; }
.tpc-sp-chosen { font-weight: 600; }
.tpc-sp-extra { border-top: 1px solid var(--tpc-line); margin-top: 22px; padding-top: 4px; }
.tpc-sp-pass > div:nth-child(3) { flex: 1 0 100%; }
.tpc-sp-passinfo { margin-bottom: 14px; padding: 12px 14px; border-left: 4px solid var(--tpc-accent, #888); }
.tpc-sp-pass { flex-wrap: wrap; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--tpc-line); word-break: break-word; }
.tpc-sp-sum { margin-top: 10px; }
.tpc-sp-svgwrap { overflow-x: auto; border: 1px solid var(--tpc-line); background: var(--tpc-panel); }
.tpc-sp-svg { display: block; width: 100%; min-width: 520px; height: auto; }
.tpc-sp-space rect, .tpc-sp-space polygon { stroke: #8a8f98; stroke-width: 1; }
.tpc-sp-space text { font-size: 12px; fill: var(--tpc-ink); pointer-events: none; }
.tpc-sp-open rect, .tpc-sp-open polygon { fill: #fff; }
.tpc-sp-taken rect, .tpc-sp-taken polygon { fill: #d9dbe0; }
.tpc-sp-taken text { fill: #7a7f88; }
.tpc-sp-reserved rect, .tpc-sp-reserved polygon { fill: #fdf0d5; stroke: #c9962b; }
.tpc-sp-svg .tpc-sp-fixed { fill: none; stroke: #7a5312; stroke-width: 2.5; pointer-events: none; }
.tpc-sp-table rect { stroke-dasharray: 3 2; }
.tpc-sp-can { cursor: pointer; }
.tpc-sp-can:hover rect, .tpc-sp-can:hover polygon { fill: var(--tpc-accent-soft); stroke: var(--tpc-accent); stroke-width: 2; }
.tpc-sp-can:focus { outline: none; }
.tpc-sp-can:focus-visible rect, .tpc-sp-can:focus-visible polygon { stroke: var(--tpc-accent); stroke-width: 3; }
.tpc-sp-cannot.tpc-sp-open { opacity: 0.55; }
.tpc-sp-partner rect, .tpc-sp-partner polygon { fill: var(--tpc-accent-soft); stroke: var(--tpc-accent); stroke-width: 3; stroke-dasharray: 5 3; }
.tpc-sp-sel rect, .tpc-sp-sel polygon { fill: var(--tpc-accent); stroke: var(--tpc-accent-dark); stroke-width: 2; }
.tpc-sp-sel text { fill: var(--tpc-button-text); font-weight: 700; }
.tpc-sp-feature { fill: #e8eef3; stroke: #9aa7b3; }
.tpc-sp-featurelabel { font-size: 12px; fill: #5b6b7a; letter-spacing: 0.08em; }
.tpc-sp-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin: 8px 0; }
.tpc-sp-key::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 5px; border: 1px solid #8a8f98; vertical-align: -1px; }
.tpc-sp-key-open::before { background: #fff; }
.tpc-sp-key-sel::before { background: var(--tpc-accent); }
.tpc-sp-key-taken::before { background: #d9dbe0; }
.tpc-sp-key-reserved::before { background: #fdf0d5; border-color: #c9962b; }
.tpc-sp-key-fixed::before { background: transparent; border: 2px solid #7a5312; border-radius: 3px; }
.tpc-sp-listpick { max-width: 420px; }
.tpc-sp [hidden] { display: none !important; }
/* Themes decide how wide page content is. Fill whatever width we are given, and stack the layout when it is narrow. */
.tpc-sp { width: 100%; max-width: 1140px; min-width: 0; container-type: inline-size; }
@container (max-width: 860px) {
  .tpc-sp .tpc-reg-form { grid-template-columns: minmax(0, 1fr); }
  .tpc-sp .tpc-reg-summary { position: static; }
  .tpc-sp .tpc-reg-grid { grid-template-columns: minmax(0, 1fr); }
}
@container (min-width: 520px) and (max-width: 860px) { .tpc-sp .tpc-reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The extra team member form sits in a narrow column: every field on its own line, as on a phone. */
.tpc-sp .tpc-reg-grid.tpc-sp-stack { grid-template-columns: minmax(0, 1fr); }

.tpc-sp .tpc-reg-summary { top: 72px; }
/* Three short fields (name, email, job title) sit on one line when there is room. */
.tpc-sp .tpc-reg-grid.tpc-sp-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@container (max-width: 640px) { .tpc-sp .tpc-reg-grid.tpc-sp-grid3 { grid-template-columns: minmax(0, 1fr); } }
.tpc-sp-contact > .tpc-reg-secondary { margin-top: 16px; }
.tpc-sp-contact .tpc-reg-grid + div, .tpc-sp-contact .tpc-reg-grid + div + .tpc-reg-secondary { margin-top: 16px; }
.tpc-reg-summary .tpc-sp-block + .tpc-reg-hint { margin-top: 18px; }
.tpc-reg-summary { padding-bottom: 28px; }
.tpc-sp-adjoin { margin-top: 12px; }

.tpc-sp-enh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@container (max-width: 700px) { .tpc-sp-enh { grid-template-columns: minmax(0, 1fr); } }

.tpc-sp .tpc-reg-grid { margin-bottom: 18px; }
.tpc-sp .tpc-reg-field { margin-bottom: 4px; }
.tpc-sp .tpc-reg-secondary { margin-top: 6px; }
.tpc-sp .tpc-reg-summary .tpc-reg-secondary { margin-top: 0; }
.tpc-sp .tpc-reg-card > .tpc-reg-field + .tpc-reg-secondary, .tpc-sp .tpc-reg-card > div + .tpc-reg-secondary { margin-top: 14px; }

.tpc-sp-extra-panel { margin-top: 12px; }
.tpc-sp-person { border: 1px solid var(--tpc-line); padding: 14px; margin-bottom: 14px; background: var(--tpc-panel); }
.tpc-sp-rowhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tpc-sp-extra-panel .tpc-sp-chosen { margin: 14px 0 0; }
.tpc-sp-buy { width: auto; display: inline-block; padding: 12px 24px; }
.tpc-sp-later { display: block; margin: 12px auto 0; }
.tpc-reg-summary .tpc-sp-notice { color: var(--tpc-ink); font-size: 14px; margin-top: 10px; }
.tpc-reg-summary .tpc-sp-later { color: var(--tpc-summary-text); }

.tpc-sp .tpc-reg-field textarea.tpc-sp-note, .tpc-sp textarea.tpc-sp-note { display: block !important; width: 100% !important; max-width: none !important; min-width: 0 !important; box-sizing: border-box !important; min-height: 110px; font: inherit !important; padding: 10px 12px; }
.tpc-sp .tpc-sp-pass > div:nth-child(3) .tpc-reg-field { width: 100%; max-width: none; }

.tpc-sp-tierwrap { display: flex; flex-direction: column; gap: 6px; }
.tpc-sp-tierwrap .tpc-sp-tier { flex: 1; }
.tpc-sp-size { font-size: 14px; color: var(--tpc-muted); margin-bottom: 2px; }
.tpc-sp-link { background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14px; color: var(--tpc-accent); text-decoration: underline; cursor: pointer; text-align: left; }
.tpc-sp-overlay { position: fixed; inset: 0; background: rgba(16, 24, 32, 0.62); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100000; animation: tpc-sp-fade 0.15s ease-out; }
.tpc-sp-modal { background: #fff; color: var(--tpc-ink); max-width: 560px; width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); animation: tpc-sp-rise 0.18s ease-out; outline: none; }
.tpc-sp-modal-head { position: relative; padding: 22px 56px 18px 28px; background: var(--tpc-accent-soft); border-bottom: 3px solid var(--tpc-accent); }
.tpc-sp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tpc-muted); }
.tpc-sp-modal-title { margin: 2px 0 0; font-size: 32px; line-height: 1.1; color: var(--tpc-accent-dark); }
.tpc-sp-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--tpc-ink); font-size: 26px; line-height: 1; cursor: pointer; }
.tpc-sp-x:hover { background: rgba(0, 0, 0, 0.08); }
.tpc-sp-modal-body { padding: 22px 28px 8px; overflow: auto; }
.tpc-sp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
.tpc-sp-fact { background: var(--tpc-panel); border: 1px solid var(--tpc-line); border-radius: 8px; padding: 12px 14px; }
.tpc-sp-fact-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tpc-muted); margin-bottom: 2px; }
.tpc-sp-fact-value { font-size: 18px; font-weight: 700; line-height: 1.25; }
.tpc-sp-fact-price .tpc-sp-fact-value { font-size: 26px; color: var(--tpc-accent-dark); }
.tpc-sp-checks { list-style: none; margin: 10px 0 14px; padding: 0; }
.tpc-sp-checks li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--tpc-line); line-height: 1.4; }
.tpc-sp-checks li:last-child { border-bottom: 0; }
.tpc-sp-checks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--tpc-accent); }
.tpc-sp-checks li::after { content: ""; position: absolute; left: 8px; top: 15px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tpc-sp-modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 28px 22px; border-top: 1px solid var(--tpc-line); background: #fff; }
.tpc-sp-modal-btn { width: auto; margin: 0; padding: 12px 22px; font-size: 16px; border-radius: 6px; cursor: pointer; }
@keyframes tpc-sp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tpc-sp-rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tpc-sp-overlay, .tpc-sp-modal { animation: none; } }
@media (max-width: 520px) {
  .tpc-sp-modal-head { padding: 18px 52px 14px 20px; }
  .tpc-sp-modal-title { font-size: 26px; }
  .tpc-sp-modal-body { padding: 18px 20px 4px; }
  .tpc-sp-modal-foot { padding: 12px 20px 18px; }
  .tpc-sp-modal-btn { flex: 1; }
}

/* ---------- Sponsor page polish (v0.14.0) ---------- */
.tpc-sp { --tpc-ok: #2b7a4b; --tpc-radius: 12px; --tpc-shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 10px 28px rgba(16, 24, 32, 0.06); }
.tpc-sp-head { padding-bottom: 16px; border-bottom: 1px solid var(--tpc-line); margin-bottom: 22px; }
.tpc-sp-head h2 { font-size: clamp(28px, 4vw, 38px); }
.tpc-sp-status { border-radius: 999px; padding: 6px 14px; font-size: 13px; }

/* progress bar, stays in view while scrolling */
.tpc-sp-steps { list-style: none; display: flex; margin: 0 0 18px; padding: 14px 0 12px; position: sticky; top: 0; z-index: 20; background: var(--tpc-sticky-bg, #fff); border-bottom: 1px solid var(--tpc-line); }
.tpc-sp-steps li { flex: 1 1 0; min-width: 0; position: relative; text-align: center; }
.tpc-sp-steps li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: var(--tpc-line); }
.tpc-sp-steps li:first-child::before { display: none; }
.tpc-sp-steps li.prev-done::before { background: var(--tpc-ok); }
.tpc-sp-stepbtn { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 0 4px; background: none; border: 0; font: inherit; color: var(--tpc-muted); cursor: pointer; }
.tpc-sp-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: #fff; border: 2px solid var(--tpc-line); color: var(--tpc-muted); transition: background 0.15s, border-color 0.15s; }
.tpc-sp-steplbl { font-size: 13px; font-weight: 600; line-height: 1.25; }
.tpc-sp-steps li.is-done .tpc-sp-dot { background: var(--tpc-ok); border-color: var(--tpc-ok); color: #fff; }
.tpc-sp-steps li.is-current .tpc-sp-dot { border-color: var(--tpc-accent); background: var(--tpc-accent-soft); color: var(--tpc-accent-dark); box-shadow: 0 0 0 4px var(--tpc-accent-soft); }
.tpc-sp-steps li.is-current .tpc-sp-steplbl { color: var(--tpc-ink); }
.tpc-sp-stepbtn:hover .tpc-sp-dot { border-color: var(--tpc-accent); }
@container (max-width: 560px) {
  .tpc-sp-steplbl { display: none; }
  .tpc-sp-steps li.is-current .tpc-sp-steplbl { display: block; position: absolute; top: 44px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .tpc-sp-steps { margin-bottom: 18px; padding-bottom: 34px; }
}

/* step cards */
.tpc-sp .tpc-reg-card { border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 26px 28px; margin-bottom: 18px; scroll-margin-top: calc(var(--tpc-sp-top, 0px) + 110px); }
.tpc-sp-stephead { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.tpc-sp-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tpc-accent); color: var(--tpc-button-text); font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.tpc-sp-step.is-done .tpc-sp-badge { background: var(--tpc-ok); color: #fff; }
.tpc-sp-steptext h3 { margin: 3px 0 2px; font-size: 22px; }
.tpc-sp-stephint { margin: 0; color: var(--tpc-muted); font-size: 15px; }
@container (max-width: 560px) { .tpc-sp .tpc-reg-card { padding: 20px 18px; } }

/* sponsorship level cards */
.tpc-sp-tiers { gap: 14px; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.tpc-sp-tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--tpc-line); border-radius: var(--tpc-radius); padding: 18px 14px 14px; box-shadow: none; transition: border-color 0.15s, box-shadow 0.15s; }
.tpc-sp-pick:hover:not(:disabled) { border-color: var(--tpc-accent); box-shadow: 0 4px 14px rgba(16, 24, 32, 0.08); transform: none; }
.tpc-sp-on, .tpc-sp-on:hover:not(:disabled) { border: 1px solid var(--tpc-accent); background: var(--tpc-accent-soft); padding: 18px 14px 14px; box-shadow: 0 0 0 1px var(--tpc-accent); transform: none; }
/* the level name is a quiet tinted label; the Select button is the one strong thing on the card */
.tpc-sp-tier .tpc-reg-rate-label { background: var(--tpc-accent-soft); background: color-mix(in srgb, var(--tpc-accent) 12%, #fff); color: var(--tpc-accent-dark); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; margin-top: 0; }
.tpc-sp-tier .tpc-sp-cta { align-self: stretch; }
.tpc-sp-tier .tpc-sp-soldout { margin-top: auto; }
.tpc-sp-price { font-size: 30px; letter-spacing: -0.01em; margin: 10px 0 2px; }
.tpc-sp-size { font-size: 14px; margin-bottom: 16px; text-align: center; }
.tpc-sp-cta { margin-top: auto; text-align: center; font-weight: 600; font-size: 14px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--tpc-line); background: #fff; color: var(--tpc-ink); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.tpc-sp-pick:hover:not(:disabled) .tpc-sp-cta { border-color: var(--tpc-accent); color: var(--tpc-accent-dark); }
.tpc-sp-on .tpc-sp-cta, .tpc-sp-on:hover:not(:disabled) .tpc-sp-cta { background: var(--tpc-accent); border-color: var(--tpc-accent); color: var(--tpc-button-text); font-weight: 700; }
.tpc-sp-tier:disabled .tpc-sp-cta { border-color: var(--tpc-line); color: var(--tpc-muted); }
.tpc-sp-pick:disabled { opacity: 1; }
.tpc-sp-link { font-size: 14px; padding: 4px 2px; }
.tpc-sp-tierwrap { gap: 8px; }

/* choices (enhancements, terms) look like things you can tap */
.tpc-sp-enh { gap: 10px 14px; }
.tpc-sp-radio { align-items: center; border: 1px solid var(--tpc-line); border-radius: 10px; padding: 12px 14px; margin: 0 0 10px; background: #fff; transition: border-color 0.15s, background 0.15s; }
.tpc-sp-radio input { margin-top: 0; }
.tpc-sp-radio:hover { border-color: var(--tpc-accent); }
.tpc-sp-radio:has(input:checked) { border-color: var(--tpc-accent); background: var(--tpc-accent-soft); }
.tpc-sp-gone { opacity: 0.5; }

/* forms and notices */
.tpc-sp .tpc-reg-field input, .tpc-sp select, .tpc-sp textarea { border-radius: 8px; }
.tpc-sp .tpc-reg-field label { font-weight: 600; color: var(--tpc-ink); font-size: 14px; }
.tpc-sp-terms { border-radius: 8px; background: var(--tpc-panel); }
.tpc-sp-notice { border-radius: 10px; padding: 14px 16px; }
.tpc-sp-contact { padding-top: 14px; margin-top: 16px; }

/* order summary */
.tpc-sp .tpc-reg-summary { border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 26px 24px; }
.tpc-sp .tpc-reg-summary h3 { font-size: 22px; }
.tpc-sp .tpc-reg-primary { border-radius: 10px; font-size: 18px; padding: 15px; }
.tpc-sp .tpc-reg-secondary { border-radius: 10px; }
.tpc-sp-todo { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; }
.tpc-sp-todo::before { content: "Still needed"; display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 6px; }
.tpc-sp-todo li { position: relative; padding-left: 26px; margin: 7px 0; }
.tpc-sp-todo li::before { content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .tpc-sp-tier, .tpc-sp-radio, .tpc-sp-dot { transition: none; } .tpc-sp-pick:hover:not(:disabled) { transform: none; } }

/* right column: the reminder box sits just above the order summary, and both stay in view together */
.tpc-sp-sidecol { position: sticky; top: calc(var(--tpc-sp-top, 0px) + 16px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tpc-sp .tpc-sp-sidecol .tpc-reg-summary { position: static; }
.tpc-sp-sidenote { border: 1px solid #f0d36a; border-radius: var(--tpc-radius); background: #fff6c8; color: var(--tpc-ink); padding: 14px 16px; font-size: 14px; line-height: 1.5; }
@container (max-width: 860px) { .tpc-sp-sidecol { position: static; } }

/* quiet per-level tints for the level name label */
.tpc-sp-tier .tpc-sp-lv-title { background: #ece8f5; color: #4a3d78; }
.tpc-sp-tier .tpc-sp-lv-platinum { background: #e8edf1; color: #44535f; }
.tpc-sp-tier .tpc-sp-lv-gold { background: #f6eed2; color: #7a5d0a; }
.tpc-sp-tier .tpc-sp-lv-silver { background: #eceeef; color: #5a6168; }
.tpc-sp-tier .tpc-sp-lv-bronze { background: #f3e5da; color: #7a4a24; }
.tpc-sp-tier .tpc-sp-lv-logo { background: #e4eee9; color: #31604a; }

/* Confirmed sponsor page: banner on top, then the to-do sections beside a sticky summary and bookmark note */
.tpc-sp-dash { display: block; }
.tpc-sp-banner h2 { margin-bottom: 4px; }
.tpc-sp-banner p { margin: 0; }
.tpc-sp-dashgrid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; align-items: start; }
.tpc-sp-dashside { order: -1; display: grid; gap: 16px; }
.tpc-sp-dashmain > .tpc-reg-card { margin-top: 0; margin-bottom: 20px; }
.tpc-sp-dashmain > .tpc-reg-card:last-child { margin-bottom: 0; }
.tpc-sp-sidecard { margin: 0; }
.tpc-sp-sidecard h3 { margin-top: 0; }
.tpc-sp-bookmark { background: var(--tpc-accent-soft); border-color: var(--tpc-accent); }
.tpc-sp-bookmark p { margin: 0 0 10px; }
.tpc-sp-copyrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tpc-sp-warn { font-weight: 600; font-size: 14px; border-left: 3px solid var(--tpc-accent); padding-left: 10px; }
.tpc-sp-nextlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tpc-sp-nextlist li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tpc-line); }
.tpc-sp-nextlist li:first-child { border-top: 0; }
.tpc-sp-nextdot { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 2px solid var(--tpc-line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; box-sizing: border-box; }
.tpc-sp-nextdone .tpc-sp-nextdot { background: var(--tpc-ok); border-color: var(--tpc-ok); }
.tpc-sp-nexttext { display: flex; flex-direction: column; gap: 1px; }
.tpc-sp-nextlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--tpc-accent-dark); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tpc-sp-nextdetail { font-size: 14px; color: var(--tpc-muted); }
@container (min-width: 900px) {
  .tpc-sp-dashgrid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .tpc-sp-dashside { order: 0; position: sticky; top: 20px; }
}

/* compact people rows, forms behind buttons, dismissible bookmark note */
.tpc-sp-people { list-style: none; margin: 8px 0 12px; padding: 0; }
.tpc-sp-person-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tpc-line); }
.tpc-sp-person-row:last-child { border-bottom: 1px solid var(--tpc-line); }
.tpc-sp-pmain { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 0; align-items: baseline; }
.tpc-sp-pemail { color: var(--tpc-muted); font-size: 14px; overflow-wrap: anywhere; }
.tpc-sp-pstate { flex: 0 0 auto; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eceeef; color: var(--tpc-muted); }
.tpc-sp-pstate-confirmed { background: #e3f1e8; color: #1f6b3d; }
.tpc-sp-pstate-waiting { background: #f6eed2; color: #7a5d0a; }
.tpc-sp-addpanel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tpc-line); }
.tpc-sp-addpanel[hidden], .tpc-sp-bookmark[hidden] { display: none; }
.tpc-sp-btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }
.tpc-sp-bmhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tpc-sp-bmhead h3 { margin: 0 0 8px; }
.tpc-sp-bmx { flex: 0 0 auto; background: none; border: 0; font-size: 24px; line-height: 1; padding: 0 4px; cursor: pointer; color: var(--tpc-muted); }
.tpc-sp-bmx:hover { color: var(--tpc-ink); }
.tpc-sp-sidecard .tpc-sp-extra { border-top: 0; margin: 0; padding: 0; }
.tpc-sp-sidecard .tpc-sp-extra h4 { margin-top: 0; }

.tpc-sp-contact { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid var(--tpc-line); }
.tpc-sp-contact:first-of-type { border-top: 0; padding-top: 0; }
.tpc-sp-contactrole { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tpc-muted); }
.tpc-sp-contactnote { margin: 8px 0 0; }

/* Guest pass form */
.tpc-sp-guest.tpc-sp-narrow { max-width: 640px; margin: 0 auto; }
.tpc-sp-guest > .tpc-reg-box { border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 26px 28px; }
.tpc-sp-guest h2 { font-size: 26px; margin-bottom: 6px; }
.tpc-sp-guestsec { margin-top: 22px; }
.tpc-sp-guestsec h3 { font-size: 17px; margin: 0 0 10px; }
.tpc-sp-codein { font-size: 20px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.tpc-sp-guest .tpc-sp-passinfo { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #f1f8f3; border: 1px solid #9bc5a4; }
.tpc-sp-guest .tpc-sp-passinfo p { margin: 0; }
.tpc-sp-guest .tpc-sp-passinfo p + p { margin-top: 4px; }
.tpc-sp-guest .tpc-sp-guestbtn { margin-top: 22px; border-radius: 8px; }
.tpc-sp-logorow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.tpc-sp-logorow input[type=file] { max-width: 100%; }
.tpc-sp-logolink { background: none; border: 0; padding: 0; margin: 2px 0 6px; font: inherit; font-size: 13px; color: var(--tpc-muted, #4a4f55); text-decoration: underline; cursor: pointer; }
.tpc-sp-logolink:hover { color: var(--tpc-accent, #a84a22); }
.tpc-sp-logolink + div { margin-top: 8px; }
/* smaller buttons: logo upload, and the extra team members button (keeps its text on one line) */
.tpc-sp .tpc-reg-primary.tpc-sp-smallbtn, .tpc-sp .tpc-reg-secondary.tpc-sp-smallbtn { display: inline-block; width: auto; max-width: 100%; font-size: 14px; font-weight: 600; padding: 9px 16px; margin: 6px 0 0; }
.tpc-sp .tpc-reg-secondary.tpc-sp-smallbtn { white-space: nowrap; font-size: 13.5px; padding: 8px 12px; }
.tpc-sp-extra h4, .tpc-sp-sidecard .tpc-sp-extra h4 { margin: 0 0 16px; }
.tpc-sp-logook { font-weight: 600; color: #1d6b2f; margin: 0 0 10px; }
.tpc-sp-logoprev { margin: 0 0 6px; padding: 12px; border: 1px solid var(--tpc-line, #d4d5d7); border-radius: 8px; background: #fff; display: inline-block; max-width: 100%; }
.tpc-sp-logoprev img { display: block; max-width: 100%; height: 70px; width: auto; }
.tpc-sp-logowhen { font-size: 12px; margin: 0 0 8px; }

/* Elementor / Hello theme guard (0.24.4). Elementor's kit rule (.elementor-kit-N button) out-ranks the
   plain plugin button classes, giving every button an accent colored outline, transparent background
   and 3px corners. These rules (class + element, one step above the kit) restate the intended look.
   State rules (selected level, hover) are restated so the guard never hides them. */
.tpc-sp button { text-transform: none; letter-spacing: normal; }
.tpc-sp button.tpc-reg-primary { background: var(--tpc-accent); color: var(--tpc-button-text); border: 0; }
.tpc-sp button.tpc-reg-primary:hover:not(:disabled) { background: var(--tpc-accent-dark); color: var(--tpc-button-text); }
.tpc-sp button.tpc-reg-secondary, .tpc-sp button.tpc-reg-secondary:hover, .tpc-sp button.tpc-reg-secondary:focus { background: #fff; color: var(--tpc-ink); border: 1px solid var(--tpc-ink); }
.tpc-sp button.tpc-reg-link, .tpc-sp button.tpc-sp-link { background: none; border: 0; border-radius: 0; color: var(--tpc-accent); }
.tpc-sp .tpc-reg-summary button.tpc-reg-link { color: var(--tpc-summary-text); }
.tpc-sp button.tpc-reg-link:hover, .tpc-sp button.tpc-reg-link:focus, .tpc-sp button.tpc-sp-link:hover, .tpc-sp button.tpc-sp-link:focus { background: none; }
.tpc-sp button.tpc-sp-nextlink { background: none; border: 0; border-radius: 0; color: var(--tpc-accent-dark); }
.tpc-sp button.tpc-sp-logolink { background: none; border: 0; border-radius: 0; color: var(--tpc-muted, #4a4f55); }
.tpc-sp button.tpc-sp-logolink:hover { background: none; color: var(--tpc-accent, #a84a22); }
.tpc-sp button.tpc-sp-bmx { background: none; border: 0; border-radius: 0; color: var(--tpc-muted); }
.tpc-sp button.tpc-sp-bmx:hover { background: none; color: var(--tpc-ink); }
.tpc-sp button.tpc-sp-x { background: transparent; border: 0; border-radius: 50%; color: var(--tpc-ink); }
.tpc-sp button.tpc-sp-x:hover { background: rgba(0, 0, 0, 0.08); }
.tpc-sp button.tpc-sp-stepbtn, .tpc-sp button.tpc-sp-stepbtn:hover, .tpc-sp button.tpc-sp-stepbtn:focus { background: none; border: 0; border-radius: 0; color: var(--tpc-muted); }
.tpc-sp button.tpc-sp-tier { background: #fff; color: var(--tpc-ink); border-color: var(--tpc-line); border-radius: var(--tpc-radius); }
.tpc-sp button.tpc-sp-tier.tpc-sp-on { background: var(--tpc-accent-soft); border-color: var(--tpc-accent); }
.tpc-sp h3:not([class]) { font-size: 22px; font-weight: 700; line-height: 1.2; }
.tpc-sp h3.tpc-sp-modal-title { font-weight: 700; }
.tpc-sp .tpc-sp-guestsec h3 { font-size: 17px; font-weight: 700; }
.tpc-sp .tpc-sp-steptext h3 { font-weight: 700; }
.tpc-sp h4 { color: inherit; font-weight: 700; line-height: 1.3; }
.tpc-sp .tpc-reg-summary .tpc-reg-hint { opacity: 1; }
.tpc-sp .tpc-sp-todo::before { opacity: 0.9; }
.tpc-sp label { line-height: 1.5; }
