.tpc-reg {
  --tpc-ink: #101820;
  --tpc-muted: #4a4f55;
  --tpc-line: #ddd8cf;
  --tpc-accent: #a84a22;
  --tpc-accent-dark: #7d3616;
  --tpc-panel: #f7f5f1;
  --tpc-accent-soft: #fff6ef;
  --tpc-focus: #f0b48f;
  --tpc-error: #a11d1d;
  --tpc-button-text: #ffffff;
  --tpc-summary-bg: #101820;
  --tpc-summary-text: #f7f5f1;
  --tpc-heading: var(--tpc-ink);
  --tpc-input-text: var(--tpc-ink);
  --tpc-input-bg: #ffffff;
  --tpc-input-border: #b9b3a8;
  color: var(--tpc-ink);
  font-size: 16px;
  line-height: 1.5;
  max-width: 1140px;
  margin: 0 auto;
}
.tpc-reg *, .tpc-reg *::before, .tpc-reg *::after { box-sizing: border-box; }
.tpc-reg h2, .tpc-reg h3 { margin: 0 0 8px; line-height: 1.2; color: var(--tpc-heading); }
.tpc-reg p { margin: 0 0 10px; }

.tpc-reg-box { background: #fff; border: 1px solid var(--tpc-line); padding: 22px; margin-bottom: 20px; }
.tpc-reg-done { border-color: #9bc5a4; background: #f1f8f3; }
.tpc-reg-price { border-left: 5px solid var(--tpc-accent); }
.tpc-reg-rate-label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tpc-muted); font-weight: 600; }
.tpc-reg-rate { font-size: 44px; font-weight: 700; line-height: 1.1; color: var(--tpc-heading); }
.tpc-reg-rate span { font-size: 16px; font-weight: 400; color: var(--tpc-muted); }
.tpc-reg-rate-note { color: var(--tpc-muted); margin-top: 4px; }
.tpc-reg-next-title { margin-top: 16px; }
.tpc-reg-next { margin: 6px 0 0; padding-left: 18px; color: var(--tpc-muted); }

.tpc-reg-form { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.tpc-reg-intro { color: var(--tpc-muted); }

.tpc-reg-card { border: 1px solid var(--tpc-line); background: #fff; padding: 20px; margin: 0 0 14px; min-width: 0; }
.tpc-reg-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.tpc-reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tpc-reg-wide { grid-column: span 2; }
.tpc-reg-field label { display: block; font-size: 14px; color: var(--tpc-muted); margin-bottom: 4px; }
.tpc-reg-field input {
  width: 100%; border: 1px solid var(--tpc-input-border); background: var(--tpc-input-bg); color: var(--tpc-input-text);
  padding: 11px 12px; font: inherit; border-radius: 0; min-height: 44px;
}
.tpc-reg-field input:focus { outline: 3px solid var(--tpc-focus); outline-offset: 0; border-color: var(--tpc-accent); }
.tpc-reg-field input[aria-invalid="true"] { border-color: var(--tpc-error); }
.tpc-reg-err { color: var(--tpc-error); font-size: 14px; margin-top: 4px; }

.tpc-reg-errors { border: 2px solid var(--tpc-error); background: #fdf1f1; color: var(--tpc-error); padding: 14px 16px; margin-bottom: 16px; }
.tpc-reg-errors ul { margin: 6px 0 0; padding-left: 18px; }
.tpc-reg-errors[hidden] { display: none; }

.tpc-reg-hint { font-size: 14px; color: var(--tpc-muted); }
.tpc-reg-saved { font-size: 14px; color: #2d6a3f; min-height: 20px; }
.tpc-reg-note { background: #fff7e0; border-left: 4px solid #d9a521; padding: 10px 12px; }

.tpc-reg-summary { background: var(--tpc-summary-bg); color: var(--tpc-summary-text); padding: 22px; position: sticky; top: 24px; }
.tpc-reg-summary h3 { color: var(--tpc-summary-text); }
.tpc-reg-summary .tpc-reg-hint { color: var(--tpc-summary-text); opacity: 0.8; }
.tpc-reg-line, .tpc-reg-total { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(128, 128, 128, 0.35); margin-top: 12px; }
.tpc-reg-total strong { font-size: 30px; line-height: 1; }

.tpc-reg-primary, .tpc-reg-secondary {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 0; min-height: 44px; padding: 11px 18px;
}
.tpc-reg-primary { display: block; width: 100%; margin: 16px 0 12px; background: var(--tpc-accent); color: var(--tpc-button-text); border: 0; font-size: 17px; padding: 14px; }
.tpc-reg-primary:hover:not(:disabled) { background: var(--tpc-accent-dark); }
.tpc-reg-primary:disabled, .tpc-reg-secondary:disabled { opacity: 0.55; cursor: not-allowed; }
.tpc-reg-secondary { background: #fff; color: var(--tpc-ink); border: 1px solid var(--tpc-ink); }
.tpc-reg-link { background: none; border: 0; color: var(--tpc-accent); text-decoration: underline; cursor: pointer; font: inherit; padding: 4px; }

.tpc-reg-hotel { background: var(--tpc-panel); padding: 12px 14px; margin: 8px 0; }
.tpc-reg-hotel p { margin: 0 0 4px; }
.tpc-reg-hotel-name { font-size: 18px; font-weight: 700; color: var(--tpc-heading); }
.tpc-reg-hotel .tpc-reg-hotel-small { font-size: 13px; color: var(--tpc-muted); margin-bottom: 12px; }
.tpc-reg-hotel .tpc-reg-hotel-book { margin: 10px 0 4px; }
.tpc-reg-hotel-book + .tpc-reg-hotel-small, .tpc-reg-hotel p:last-child { margin-bottom: 0; }
.tpc-reg-book { display: inline-block; background: var(--tpc-accent); color: var(--tpc-button-text); text-decoration: none; font-weight: 600; padding: 9px 16px; }
.tpc-reg-book:hover { background: var(--tpc-accent-dark); color: var(--tpc-button-text); }
.tpc-reg-plain { color: inherit; text-decoration: underline; text-decoration-color: var(--tpc-line); }
.tpc-reg-banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
.tpc-reg-banner { margin: 0; }
.tpc-reg-banner img { display: block; width: 100%; height: auto; border: 1px solid var(--tpc-line); }
.tpc-reg-banner figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tpc-reg-banner .tpc-reg-secondary { display: inline-block; text-decoration: none; }
.tpc-reg-attending { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-weight: 600; cursor: pointer; }
.tpc-reg-attending input { width: 18px; height: 18px; margin: 0; }
.tpc-reg-captcha { margin: 14px 0 0; min-height: 0; }
.tpc-reg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.tpc-reg-scroll { overflow-x: auto; }
.tpc-reg-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tpc-reg-table th, .tpc-reg-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--tpc-line); }

@media (max-width: 860px) {
  .tpc-reg-form { grid-template-columns: minmax(0, 1fr); }
  .tpc-reg-summary { position: static; }
  .tpc-reg-grid { grid-template-columns: minmax(0, 1fr); }
  .tpc-reg-wide { grid-column: auto; }
  .tpc-reg-rate { font-size: 36px; }
}

/* Attendee checkout polish (scoped so the sponsor pages are untouched) */
#tpc-reg-app { --tpc-radius: 12px; --tpc-shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 10px 28px rgba(16, 24, 32, 0.06); }
#tpc-reg-app .tpc-reg-box.tpc-reg-price { border: 1px solid var(--tpc-line); border-left: 5px solid var(--tpc-accent); border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 18px 22px; margin-bottom: 22px; }
#tpc-reg-app .tpc-reg-rate { font-size: 17px; font-weight: 400; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-top: 2px; }
#tpc-reg-app .tpc-reg-rate strong { font-size: 36px; line-height: 1.1; font-weight: 700; color: var(--tpc-heading); }
#tpc-reg-app .tpc-reg-rate span { font-size: 16px; font-weight: 400; color: var(--tpc-muted); }
#tpc-reg-app .tpc-reg-rate .tpc-reg-ratetag { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--tpc-accent-dark); }
#tpc-reg-app .tpc-reg-rate-note { margin-top: 2px; font-size: 15px; }
#tpc-reg-app .tpc-reg-who { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
#tpc-reg-app .tpc-reg-who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#tpc-reg-app .tpc-reg-who legend { padding: 0; margin: 0 0 8px; font-weight: 700; font-size: 18px; color: var(--tpc-heading); }
#tpc-reg-app .tpc-reg-who-opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--tpc-line); border-radius: var(--tpc-radius); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
#tpc-reg-app .tpc-reg-who-opt > span { display: flex; flex-direction: column; gap: 2px; }
#tpc-reg-app .tpc-reg-who-opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--tpc-accent); flex: 0 0 auto; }
#tpc-reg-app .tpc-reg-who-opt:hover { border-color: var(--tpc-accent); }
#tpc-reg-app .tpc-reg-who-opt:has(input:checked) { border-color: var(--tpc-accent); background: var(--tpc-accent-soft); box-shadow: 0 0 0 1px var(--tpc-accent); }
#tpc-reg-app .tpc-reg-who-opt:has(input:focus-visible) { outline: 3px solid var(--tpc-focus); outline-offset: 2px; }
#tpc-reg-app .tpc-reg-intro { margin-bottom: 14px; }
#tpc-reg-app .tpc-reg-card { border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 20px 22px 22px; }
#tpc-reg-app .tpc-reg-card-head { margin-bottom: 4px; }
#tpc-reg-app .tpc-reg-card-head h3 { font-size: 19px; margin: 0; }
#tpc-reg-app .tpc-reg-cardhint { margin: 0 0 14px; }
#tpc-reg-app .tpc-reg-card-head + .tpc-reg-grid { margin-top: 12px; }
#tpc-reg-app .tpc-reg-field label { font-weight: 600; color: var(--tpc-ink); font-size: 14px; }
#tpc-reg-app .tpc-reg-field input { border-radius: 8px; }
#tpc-reg-app .tpc-reg-add { display: block; width: 100%; font: inherit; font-weight: 600; color: var(--tpc-accent-dark); background: transparent; border: 2px dashed var(--tpc-line); border-radius: var(--tpc-radius); padding: 14px; cursor: pointer; min-height: 52px; transition: border-color 0.15s, background 0.15s; }
#tpc-reg-app .tpc-reg-add:hover { border-color: var(--tpc-accent); background: var(--tpc-accent-soft); }
#tpc-reg-app .tpc-reg-limit { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--tpc-accent); background: var(--tpc-accent-soft); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--tpc-ink); }
#tpc-reg-app .tpc-reg-limit a { color: var(--tpc-accent-dark); font-weight: 600; }
#tpc-reg-app .tpc-reg-limit[hidden] { display: none; }
#tpc-reg-app .tpc-reg-summary { border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 24px; }
#tpc-reg-app .tpc-reg-primary { border-radius: 8px; }
#tpc-reg-app .tpc-reg-summary .tpc-reg-hint { font-size: 13px; line-height: 1.5; margin: 0 0 8px; padding-top: 8px; border-top: 1px solid rgba(128, 128, 128, 0.25); }
#tpc-reg-app .tpc-reg-summary .tpc-reg-primary + .tpc-reg-hint { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  #tpc-reg-app .tpc-reg-who-grid { grid-template-columns: minmax(0, 1fr); }
}

/* phone: total and button stay on screen until the order summary itself is in view */
#tpc-reg-app .tpc-reg-bar { display: none; }
@media (max-width: 860px) {
  #tpc-reg-app .tpc-reg-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--tpc-summary-bg); color: var(--tpc-summary-text); box-shadow: 0 -6px 20px rgba(16, 24, 32, 0.25); transition: transform 0.2s; }
  #tpc-reg-app .tpc-reg-bar[hidden] { display: none; }
  #tpc-reg-app .tpc-reg-bar.tpc-reg-bar-off { transform: translateY(110%); pointer-events: none; }
  #tpc-reg-app .tpc-reg-bar-total { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
  #tpc-reg-app .tpc-reg-bar-total strong { font-size: 22px; }
  #tpc-reg-app .tpc-reg-bar-btn { font: inherit; font-weight: 700; background: var(--tpc-accent); color: var(--tpc-button-text); border: 0; border-radius: 8px; min-height: 44px; padding: 10px 20px; cursor: pointer; }
  #tpc-reg-app .tpc-reg-bar-btn:disabled { opacity: 0.55; cursor: not-allowed; }
  #tpc-reg-app.tpc-reg-hasbar { padding-bottom: 76px; }
}

/* Confirmation page */
#tpc-reg-app .tpc-reg-cfbox { border: 1px solid var(--tpc-line); border-radius: var(--tpc-radius); box-shadow: var(--tpc-shadow); padding: 20px 22px; margin: 0 0 20px; background: #fff; }
#tpc-reg-app .tpc-reg-cfbanner { display: flex; align-items: flex-start; gap: 16px; border: 1px solid #9bc5a4; background: #f1f8f3; border-radius: var(--tpc-radius); padding: 22px 24px; margin-bottom: 22px; }
#tpc-reg-app .tpc-reg-cfbanner h2 { margin: 0 0 6px; font-size: 26px; }
#tpc-reg-app .tpc-reg-cfbanner p { margin: 0; }
#tpc-reg-app .tpc-reg-cfbanner p + p { margin-top: 8px; }
#tpc-reg-app .tpc-reg-cfcheck { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #2b7a4b; color: #fff; font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
#tpc-reg-app .tpc-reg-cfgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
#tpc-reg-app .tpc-reg-cfside { position: sticky; top: 24px; }
#tpc-reg-app .tpc-reg-cfmain > :last-child, #tpc-reg-app .tpc-reg-cfside > :last-child { margin-bottom: 0; }
#tpc-reg-app .tpc-reg-cffacts { display: flex; flex-direction: column; gap: 2px; }
#tpc-reg-app .tpc-reg-cffacts strong { margin-top: 10px; font-size: 17px; }
#tpc-reg-app .tpc-reg-cffacts span { color: var(--tpc-muted); }
#tpc-reg-app .tpc-reg-cfref { font-size: 28px; font-weight: 700; letter-spacing: 0.02em; color: var(--tpc-heading); line-height: 1.2; overflow-wrap: anywhere; }
#tpc-reg-app .tpc-reg-cfpeople { list-style: none; margin: 8px 0 0; padding: 0; }
#tpc-reg-app .tpc-reg-cfpeople li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--tpc-line); }
#tpc-reg-app .tpc-reg-cfpeople li:first-child { border-top: 0; }
#tpc-reg-app .tpc-reg-cfavatar { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--tpc-accent-soft); color: var(--tpc-accent-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tpc-accent); }
#tpc-reg-app .tpc-reg-cfperson { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
#tpc-reg-app .tpc-reg-cfperson span { color: var(--tpc-muted); font-size: 15px; }
#tpc-reg-app .tpc-reg-cfperson .tpc-reg-cfemail { overflow-wrap: anywhere; font-size: 14px; }
#tpc-reg-app .tpc-reg-cfbox h3 { margin: 0 0 8px; font-size: 19px; }
#tpc-reg-app .tpc-reg-hotel { border-radius: 10px; }
@media (max-width: 860px) {
  #tpc-reg-app .tpc-reg-cfgrid { grid-template-columns: minmax(0, 1fr); }
  #tpc-reg-app .tpc-reg-cfside { position: static; }
  #tpc-reg-app .tpc-reg-cfbanner h2 { font-size: 22px; }
}

/* discount code */
#tpc-reg-app .tpc-reg-discount { color: #9bd8b0; }
#tpc-reg-app .tpc-reg-codebox { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(128, 128, 128, 0.35); }
#tpc-reg-app .tpc-reg-summary .tpc-reg-codetoggle { color: var(--tpc-summary-text); padding: 0; font-size: 15px; }
#tpc-reg-app .tpc-reg-coderow { display: flex; gap: 8px; margin-top: 10px; }
#tpc-reg-app .tpc-reg-coderow[hidden], #tpc-reg-app .tpc-reg-codemsg[hidden] { display: none; }
#tpc-reg-app .tpc-reg-codein { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 1px solid var(--tpc-input-border); border-radius: 8px; padding: 8px 12px; font: inherit; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tpc-input-bg); color: var(--tpc-input-text); }
#tpc-reg-app .tpc-reg-codebtn { flex: 0 0 auto; min-height: 44px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--tpc-summary-text); background: transparent; color: var(--tpc-summary-text); font: inherit; font-weight: 600; cursor: pointer; }
#tpc-reg-app .tpc-reg-codebtn:disabled { opacity: 0.55; cursor: wait; }
#tpc-reg-app .tpc-reg-codemsg { margin-top: 8px; font-size: 14px; color: #ffb4a8; }
#tpc-reg-app .tpc-reg-coded { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: #9bd8b0; }
#tpc-reg-app .tpc-reg-summary .tpc-reg-coded .tpc-reg-link { color: var(--tpc-summary-text); }

/* Elementor / Hello theme guard (0.24.4). The site's global button, heading and label styles
   (.elementor-kit-N button, h3, label) out-rank the plain plugin classes above, so these rules
   restate what the plugin wants at ID level. Hover is restated so the theme cannot recolor it. */
#tpc-reg-app button { text-transform: none; letter-spacing: normal; box-shadow: none; }
#tpc-reg-app .tpc-reg-link { background: none; border: 0; border-radius: 0; color: var(--tpc-accent); text-decoration: underline; }
#tpc-reg-app .tpc-reg-link:hover, #tpc-reg-app .tpc-reg-link:focus { background: none; box-shadow: none; }
#tpc-reg-app .tpc-reg-summary .tpc-reg-link { color: var(--tpc-summary-text); }
#tpc-reg-app .tpc-reg-primary { background: var(--tpc-accent); color: var(--tpc-button-text); border: 0; }
#tpc-reg-app .tpc-reg-primary:hover:not(:disabled) { background: var(--tpc-accent-dark); color: var(--tpc-button-text); }
#tpc-reg-app h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
#tpc-reg-app .tpc-reg-field label, #tpc-reg-app .tpc-reg-hint { line-height: 1.5; }
/* confirmation page: boxes use 19px headings, plain, secondary and Book links keep their own colors */
#tpc-reg-app .tpc-reg-cfmain h3, #tpc-reg-app .tpc-reg-cfside h3 { font-size: 19px; }
#tpc-reg-app a.tpc-reg-plain, #tpc-reg-app a.tpc-reg-plain:hover, #tpc-reg-app a.tpc-reg-plain:focus { color: inherit; }
#tpc-reg-app a.tpc-reg-secondary, #tpc-reg-app a.tpc-reg-secondary:hover, #tpc-reg-app a.tpc-reg-secondary:focus { background: #fff; color: var(--tpc-ink); border: 1px solid var(--tpc-ink); text-decoration: none; }
#tpc-reg-app a.tpc-reg-book { background: var(--tpc-accent); color: var(--tpc-button-text); text-decoration: none; }
#tpc-reg-app a.tpc-reg-book:hover, #tpc-reg-app a.tpc-reg-book:focus { background: var(--tpc-accent-dark); color: var(--tpc-button-text); }
/* discount code messages: the old light salmon and green were made for a dark summary panel and could not be read on a light one */
#tpc-reg-app .tpc-reg-summary .tpc-reg-codemsg { color: #8a1c0f; background: #fdecea; padding: 6px 10px; border-radius: 6px; }
#tpc-reg-app .tpc-reg-summary .tpc-reg-coded { color: #1b5e36; background: #e7f5ec; padding: 6px 10px; border-radius: 6px; }
#tpc-reg-app .tpc-reg-summary .tpc-reg-hint { opacity: 1; }
/* the discount line under the cost: green that follows the summary text color, so it is dark on a light panel and light on a dark one */
#tpc-reg-app .tpc-reg-summary .tpc-reg-discount { color: #2f6b47; color: color-mix(in srgb, #1f8a4c 55%, var(--tpc-summary-text)); font-weight: 600; }

/* Terms and conditions pop-up (shared by the attendee and sponsor checkouts) */
.tpc-tc-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; }
.tpc-tc-modal { background: #fff; color: var(--tpc-ink); max-width: 640px; 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); outline: none; text-align: left; }
.tpc-tc-head { position: relative; padding: 18px 56px 14px 24px; background: var(--tpc-accent-soft); border-bottom: 3px solid var(--tpc-accent); }
.tpc-tc-modal h3.tpc-tc-title { margin: 0; font-size: 24px; line-height: 1.2; color: var(--tpc-accent-dark); }
.tpc-tc-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--tpc-ink); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tpc-tc-x span { display: block; margin-top: -3px; }
.tpc-tc-x:hover { background: rgba(0, 0, 0, 0.08); }
.tpc-tc-body { padding: 18px 24px; overflow: auto; white-space: pre-wrap; font-size: 15px; line-height: 1.55; }
.tpc-tc-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px 20px; border-top: 1px solid var(--tpc-line); background: #fff; }
.tpc-tc-btn { width: auto; margin: 0; padding: 12px 22px; font-size: 16px; border-radius: 6px; cursor: pointer; }
.tpc-tc-line { margin: 22px 0 12px; font-size: 14px; line-height: 1.45; }
.tpc-tc-line.tpc-tc-ok { font-weight: 600; color: #14612b; background: #e3f6e9; padding: 8px 10px; border-radius: 6px; }
.tpc-tc-line.tpc-tc-ok .tpc-reg-link, .tpc-reg-summary .tpc-tc-line.tpc-tc-ok .tpc-reg-link { color: #14612b; }
.tpc-tc-line .tpc-reg-link { color: inherit; padding: 0; font-weight: 700; }
.tpc-reg-summary .tpc-tc-line .tpc-reg-link { color: var(--tpc-summary-text); }
@media (max-width: 520px) { .tpc-tc-foot .tpc-tc-btn { flex: 1; } }

/* Terms line in the order summary: set apart from the discount link and made hard to miss */
.tpc-reg-summary .tpc-tc-line, .tpc-reg-summary .tpc-tc-line { margin: 28px 0 18px !important; padding: 14px 16px !important; border-radius: 8px; font-size: 16px; line-height: 1.4; border-top: 0; }
.tpc-reg-summary .tpc-tc-line.tpc-tc-need { background: #fff; color: var(--tpc-ink); border: 2px solid var(--tpc-accent); box-shadow: 0 0 0 4px var(--tpc-focus); font-weight: 600; opacity: 1; }
.tpc-reg-summary .tpc-tc-line.tpc-tc-need .tpc-reg-link { color: var(--tpc-accent-dark); font-weight: 800; text-decoration: underline; font-size: inherit; }
.tpc-reg-summary .tpc-tc-line.tpc-tc-need::before { content: "!"; display: inline-block; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--tpc-accent); color: #fff; text-align: center; line-height: 22px; font-size: 14px; font-weight: 800; vertical-align: 1px; }
.tpc-reg-summary .tpc-tc-line.tpc-tc-ok { border: 2px solid #14612b; }
.tpc-reg-summary .tpc-tc-line.tpc-tc-flash { animation: tpc-tc-shake 0.5s; }
@keyframes tpc-tc-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .tpc-reg-summary .tpc-tc-line.tpc-tc-flash { animation: none; } }

/* small "not attending" switch under the first person */
#tpc-reg-app .tpc-reg-switch { margin: 10px 0 0; font-size: 13px; }
#tpc-reg-app .tpc-reg-switch .tpc-reg-link { font-size: 13px; padding: 2px 0; color: var(--tpc-muted); }

/* the summary and the yellow policy box below it move together */
#tpc-reg-app .tpc-reg-sidecol { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#tpc-reg-app .tpc-reg-sidecol .tpc-reg-summary { position: static; }
#tpc-reg-app .tpc-reg-policy { margin: 0; border: 1px solid #f0d36a; border-radius: var(--tpc-radius); background: #fff6c8; color: #101820; padding: 14px 16px; font-size: 13px; line-height: 1.5; }
@media (max-width: 860px) { #tpc-reg-app .tpc-reg-sidecol { position: static; } }
