/* ==========================================================================
   /courses/ (#rtc-hub) and the sign-up page (body.rtc-signup .rtc-signup-page);
   /profile/ (body.rtc-profile) at the end
   From the approved mockup, Creative/courses-page/index.html (30 Oct 2026).
   Loaded on those two screens only (rtc_account_assets()). Every rule is
   under #rtc-hub or .rtc-signup-page, so the site header and footer are
   untouched. Same palette and type as the sales page.
   ========================================================================== */

#rtc-hub, .rtc-signup-page {
  --paper: #FAF3E8; --paper-2: #F2E7D5; --rule: #E6D8C4;
  --ink: #4A3B32; --ink-2: #7A6154;
  --tint: #E4EADF; --tint-ink: #333F2B; --tint-label: #4A5B3E;
  --accent: #B0533A; --accent-dk: #8C3E29;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 3px; --gutter: 20px; --wide: 1120px;
  color: var(--ink); font: 400 17px/1.6 var(--body);
}
#rtc-hub { display: block; background: var(--paper); }
#rtc-hub *, #rtc-hub *::before, #rtc-hub *::after,
.rtc-signup-page *, .rtc-signup-page *::before, .rtc-signup-page *::after { box-sizing: border-box; }
#rtc-hub img, .rtc-signup-page img { display: block; max-width: 100%; height: auto; }
#rtc-hub h1, #rtc-hub h2, #rtc-hub h3, .rtc-signup-page h1 {
  font-family: var(--display); font-variation-settings: "SOFT" 30; font-weight: 420; line-height: 1.15;
  letter-spacing: -0.012em; margin: 0 0 .45em; color: var(--ink); text-transform: none;
}
#rtc-hub h1, .rtc-signup-page h1 { font-size: clamp(32px, 5vw, 46px); font-variation-settings: "SOFT" 40, "opsz" 144; }
#rtc-hub h2 { font-size: clamp(25px, 3.4vw, 32px); }
#rtc-hub h3 { font-size: 22px; }
#rtc-hub p, .rtc-signup-page p { margin: 0 0 1em; max-width: 62ch; font-size: inherit; line-height: inherit; color: inherit; }
#rtc-hub a, .rtc-signup-page a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 2px; }
#rtc-hub s, .rtc-signup-page s { color: var(--ink-2); }
#rtc-hub .wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
#rtc-hub section { padding: 48px 0; margin: 0; }
#rtc-hub section + section { border-top: 1px solid var(--rule); }
#rtc-hub .eyebrow, .rtc-signup-page .rtc-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: 12px; }
#rtc-hub .lede { font-size: 19px; }
#rtc-hub .small, .rtc-signup-page .rtc-small { font-size: 14px; color: var(--ink-2); }

/* buttons */
#rtc-hub .btn, #rtc-hub #wp-submit,
.rtc-signup-page #wp-submit, .rtc-signup-page #btn-join, .rtc-signup-page .btn-join {
  display: inline-block; width: auto; background: var(--accent-dk) !important; color: #fff !important; text-decoration: none;
  font: 600 17px/1.25 var(--body) !important; padding: 16px 28px !important; border-radius: 999px !important; border: 0 !important;
  cursor: pointer; text-align: center; text-transform: none !important; letter-spacing: 0 !important; min-height: 50px; box-shadow: none;
}
#rtc-hub .btn:hover, #rtc-hub #wp-submit:hover,
.rtc-signup-page #wp-submit:hover, .rtc-signup-page #btn-join:hover, .rtc-signup-page .btn-join:hover { background: #73321f !important; }
#rtc-hub .btn.ghost { background: transparent !important; color: var(--accent-dk) !important; box-shadow: inset 0 0 0 2px var(--accent-dk); }
#rtc-hub .btn.ghost:hover { background: var(--accent-dk) !important; color: #fff !important; }
#rtc-hub #wp-submit, .rtc-signup-page #wp-submit, .rtc-signup-page #btn-join, .rtc-signup-page .btn-join { display: block; width: 100%; }
#rtc-hub :focus-visible, .rtc-signup-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#rtc-hub .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* cards and fields */
#rtc-hub .card, .rtc-signup-page .rtc-card, .rtc-signup-page .rtc-order { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; }
#rtc-hub .card.soft, .rtc-signup-page .rtc-order { background: var(--paper-2); border-color: transparent; }
#rtc-hub label, .rtc-signup-page label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; color: var(--ink); }
#rtc-hub input[type=email], #rtc-hub input[type=text], #rtc-hub input[type=password],
.rtc-signup-page input[type=email], .rtc-signup-page input[type=text], .rtc-signup-page input[type=password] {
  width: 100%; font: 400 17px/1.3 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #b9a796;
  border-radius: var(--radius); padding: 13px 14px; min-height: 50px; box-shadow: none; margin: 0;
}
#rtc-hub input:focus, .rtc-signup-page input:focus { border-color: var(--accent-dk); }
.rtc-pw { position: relative; display: block; }
.rtc-pw input { padding-right: 78px !important; }
.rtc-pw .rtc-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none !important; border: 0; font: 600 14px var(--body, sans-serif); color: #8C3E29 !important; padding: 10px; cursor: pointer; min-height: 0; box-shadow: none; }
.rtc-hint { display: block; font-size: 14px; color: #7A6154; margin-top: 6px; font-weight: 400; }

/* /courses/ log-in form (wp_login_form markup) */
#rtc-hub #rtc-login p { margin: 0 0 18px; max-width: none; }
#rtc-hub #rtc-login .login-remember label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 0; }
#rtc-hub #rtc-login .login-remember input { width: 18px; height: 18px; accent-color: var(--accent-dk); }
#rtc-hub #rtc-login .login-submit { margin: 0; }
#rtc-hub .forgot { margin: 14px 0 0; font-size: 15px; text-align: center; max-width: none; }

/* how it works */
#rtc-hub .top { padding-top: 40px; }
#rtc-hub .top-grid { display: grid; gap: 28px; }
#rtc-hub ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
#rtc-hub ol.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
#rtc-hub ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-dk); color: #fff; font: 600 15px/32px var(--body); text-align: center; }
#rtc-hub ol.steps strong { display: block; }

/* course cards */
#rtc-hub .courses { display: grid; gap: 28px; }
#rtc-hub .course { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
#rtc-hub .course .img { aspect-ratio: 12 / 5; overflow: hidden; background: var(--paper-2); }
#rtc-hub .course .img img, #rtc-hub .mine .img img { width: 100%; height: 100%; object-fit: cover; }
#rtc-hub .course .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
#rtc-hub .course .body p { font-size: 16px; }
#rtc-hub .course .meta { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
#rtc-hub .course .price { font-weight: 600; margin: auto 0 16px; padding-top: 4px; font-size: 16px; }
#rtc-hub .course .price span { font-weight: 400; color: var(--ink-2); }

/* my course */
#rtc-hub .mine { display: grid; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
#rtc-hub img { contain-intrinsic-size: none; }   /* WordPress's 3000×1500 lazy placeholder */
#rtc-hub .mine .img { background: var(--paper-2); position: relative; aspect-ratio: 12 / 7; }
#rtc-hub .mine .img img { position: absolute; inset: 0; }
#rtc-hub .mine .body { padding: 24px; }
#rtc-hub .bar { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
#rtc-hub .bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
#rtc-hub .next { background: var(--paper); border-left: 3px solid var(--accent); padding: 12px 16px; margin: 16px 0 20px; font-size: 16px; }
#rtc-hub .next b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dk); font-weight: 600; margin-bottom: 2px; }
#rtc-hub .welcome { background: var(--tint); color: var(--tint-ink); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px; }
#rtc-hub .welcome strong { color: var(--tint-label); display: block; font-size: 18px; margin-bottom: 4px; }
#rtc-hub .welcome p { margin: 0; }
#rtc-hub .welcome--wait { background: var(--paper-2); color: var(--ink); }
#rtc-hub .welcome--wait strong { color: var(--ink); }

/* help */
#rtc-hub .help { display: grid; gap: 20px; }
#rtc-hub .help h3 { font-size: 19px; margin-bottom: .3em; }
#rtc-hub .help p { font-size: 16px; margin: 0; }

/* ---------- sign-up page ---------- */
body.rtc-signup .site-main, body.rtc-signup .page-content { max-width: none; }
body.rtc-signup .site-main { background: #FAF3E8; }
.rtc-signup-page { max-width: 1120px; margin: 0 auto; padding: 32px 20px 56px; }
.rtc-signup-page .rtc-progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.rtc-signup-page .rtc-progress li { display: flex; align-items: center; gap: 8px; margin: 0; }
.rtc-signup-page .rtc-progress li + li::before { content: ""; width: 22px; height: 1px; background: var(--ink-2); }
.rtc-signup-page .rtc-progress .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink-2); display: inline-grid; place-items: center; font-weight: 600; font-size: 13px; }
.rtc-signup-page .rtc-progress .on { color: var(--ink); font-weight: 600; }
.rtc-signup-page .rtc-progress .on .n { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.rtc-signup-page .rtc-progress .done .n { background: var(--tint); border-color: var(--tint-label); color: var(--tint-label); }
.rtc-signup-page .rtc-signup-grid { display: grid; gap: 28px; align-items: start; }

/* LearnDash's own pieces inside our card */
.rtc-signup-page .learndash-wrapper, .rtc-signup-page #learndash-registration-wrapper { width: auto !important; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.rtc-signup-page .order-overview,
.rtc-signup-page .learndash-registration-field-confirmpassword { display: none !important; }
.rtc-signup-page #learndash_registerform p, .rtc-signup-page .registration-login-form p { margin: 0 0 18px; max-width: none; }
.rtc-signup-page #learndash_registerform .learndash-required-field { color: var(--accent-dk); }
.rtc-signup-page #learndash_registerform input, .rtc-signup-page .registration-login-form input { margin-bottom: 0 !important; }
.rtc-signup-page .registration-login { font-size: 15px; margin: 0 0 18px; }
.rtc-signup-page .ld_captcha_el { margin: 0 0 18px; }
.rtc-signup-page #pass-strength-result, .rtc-signup-page .ld-password-strength, .rtc-signup-page #password-strength { font-size: 14px; margin-top: 6px; }
.rtc-signup-page .ld-alert { margin: 0 0 20px; }
.rtc-signup-page .rtc-disclaimer { font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 20px; }
.rtc-signup-page .rtc-disclaimer p { max-width: none; margin: 0; }

/* order summary */
.rtc-signup-page .rtc-order__item { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.rtc-signup-page .rtc-order__item img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); flex: none; }
.rtc-signup-page .rtc-order__title { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.rtc-signup-page .rtc-order__total { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 4px; font-weight: 600; }
.rtc-signup-page .rtc-order form { margin: 20px 0 0; }
.rtc-signup-page .rtc-owned { margin: 18px 0 0; }
.rtc-signup-page ul.rtc-ticks { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; }
.rtc-signup-page ul.rtc-ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.rtc-signup-page ul.rtc-ticks li::before { content: "\2713"; position: absolute; left: 2px; color: var(--tint-label); font-weight: 700; }

/* phones: Hello's .site-main already adds 10px a side; the reCAPTCHA box is a fixed 304px */
@media (max-width: 759px) {
  .rtc-signup-page { padding: 24px 10px 48px; }
  .rtc-signup-page .rtc-card, .rtc-signup-page .rtc-order { padding: 24px 16px; }
  .rtc-signup-page .rtc-progress { gap: 6px 14px; font-size: 13px; }
  .rtc-signup-page .rtc-progress li + li::before { display: none; }
}
@media (max-width: 380px) {
  .rtc-signup-page .ld_captcha_el { transform: scale(.9); transform-origin: 0 0; height: 70px; }
}
@media (min-width: 760px) {
  #rtc-hub .top-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  #rtc-hub .courses { grid-template-columns: 1fr 1fr; }
  #rtc-hub .mine { grid-template-columns: 2fr 3fr; }
  #rtc-hub .mine .img { aspect-ratio: auto; min-height: 260px; }   /* the text sets the height; the picture fills it */
  #rtc-hub .mine .body { padding: 32px; }
  #rtc-hub .help { grid-template-columns: repeat(3, 1fr); }
  #rtc-hub .card, .rtc-signup-page .rtc-card, .rtc-signup-page .rtc-order { padding: 32px; }
  .rtc-signup-page .rtc-signup-grid { grid-template-columns: 1.3fr 1fr; }
  .rtc-signup-page #learndash_registerform { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .rtc-signup-page #learndash_registerform > * { grid-column: 1 / -1; }
  .rtc-signup-page #learndash_registerform > .learndash-registration-field-first_name { grid-column: 1; }
  .rtc-signup-page #learndash_registerform > .learndash-registration-field-last_name { grid-column: 2; }
  .rtc-signup-page.rtc-signup-page--pay .rtc-signup-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   /profile/ (body.rtc-profile) — LearnDash's own profile block, restyled to
   match /courses/ and the courses (Gary, 3 Nov 2026). Structure, wording and
   behaviour stay LearnDash's: avatar, name, four stats, the course list with
   its search and expand buttons. Every rule is under body.rtc-profile .site-main,
   so the header and footer are untouched. LearnDash's colour pickers mark
   their utility classes !important (see rtc-courses.css §3), so the colour
   rules here restate them with !important, one class stronger.
   ========================================================================== */
body.rtc-profile {
  --paper: #FAF3E8; --paper-2: #F2E7D5; --rule: #E6D8C4;
  --ink: #4A3B32; --ink-2: #7A6154;
  --tint: #E4EADF; --tint-ink: #333F2B; --tint-mark: #5A6B48; --butter: #ECD5A8;
  --accent: #B0533A; --accent-dk: #8C3E29;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--paper);
}
body.rtc-profile .site-main { max-width: 880px; margin: 0 auto; padding: 40px 20px 72px; color: var(--ink); font: 400 17px/1.6 var(--body); }
body.rtc-profile .site-main .page-header,
body.rtc-profile .site-main .page-header .entry-title { margin: 0 0 24px; padding: 0 !important; }
body.rtc-profile .site-main .entry-title {
  font-family: var(--display); font-weight: 420; font-variation-settings: "SOFT" 40, "opsz" 144;
  font-size: clamp(32px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); margin: 0;
}
body.rtc-profile .site-main .learndash-wrapper,
body.rtc-profile .site-main .learndash-wrapper * { font-family: var(--body); }

/* summary: avatar + name, then the four stats, in one white card */
body.rtc-profile .site-main #ld-profile .ld-profile-summary {
  background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 28px 24px; margin: 0 0 48px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
body.rtc-profile .site-main #ld-profile .ld-profile-card { margin: 0; text-align: center; }
body.rtc-profile .site-main #ld-profile .ld-profile-avatar { width: 88px; height: 88px; margin: 0 auto 12px; border: 0; box-shadow: none; }
body.rtc-profile .site-main #ld-profile .ld-profile-avatar img { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--paper-2); }
body.rtc-profile .site-main #ld-profile .ld-profile-heading {
  font-family: var(--display) !important; font-weight: 420; font-variation-settings: "SOFT" 30; font-size: 26px; line-height: 1.2; color: var(--ink);
}
body.rtc-profile .site-main #ld-profile .ld-profile-edit-link { font-size: 14px; color: var(--accent-dk) !important; text-decoration: underline; text-underline-offset: 2px; }
body.rtc-profile .site-main #ld-profile .ld-profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 520px; margin: 0; }
body.rtc-profile .site-main #ld-profile .ld-profile-stat { padding: 4px 8px !important; margin: 0 !important; border: 0; text-align: center !important; width: auto !important; }
body.rtc-profile .site-main #ld-profile .ld-profile-stat + .ld-profile-stat { border-left: 1px solid var(--rule); }
body.rtc-profile .site-main #ld-profile .ld-profile-stat strong {
  display: block; font-family: var(--display) !important; font-weight: 420; font-size: 30px; line-height: 1.1; color: var(--ink);
}
body.rtc-profile .site-main #ld-profile .ld-profile-stat span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }

/* "Your Courses" heading and its search / expand-all controls */
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading { align-items: center; margin-bottom: 16px; }
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading h3 {
  font-family: var(--display) !important; font-weight: 420; font-variation-settings: "SOFT" 30;
  font-size: clamp(25px, 3.4vw, 32px); line-height: 1.15; color: var(--ink) !important; text-transform: none; letter-spacing: -0.012em;
}
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading .ld-expand-button.ld-primary-background,
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading .ld-expand-button {
  background: transparent !important; color: var(--accent-dk) !important; box-shadow: inset 0 0 0 2px var(--accent-dk);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600;
}
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading .ld-expand-button * { color: var(--accent-dk) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading .ld-expand-button:hover { background: var(--accent-dk) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-section-heading .ld-expand-button:hover * { color: #fff !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-search-prompt { color: var(--ink-2) !important; }

/* one white card per course */
body.rtc-profile .site-main .learndash-wrapper .ld-item-list .ld-item-list-item {
  background: #fff; border: 1px solid var(--rule) !important; border-radius: 3px; box-shadow: none; margin-bottom: 12px;
}
body.rtc-profile .site-main .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview { padding: 18px 20px; }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list .ld-item-name,
body.rtc-profile .site-main .learndash-wrapper .ld-item-list .ld-course-title { color: var(--ink) !important; font-size: 18px; font-weight: 600; }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list .ld-item-name:hover .ld-course-title { color: var(--accent-dk) !important; }
/* status pill: butter in progress, sage tint complete — as in the courses */
body.rtc-profile .site-main .learndash-wrapper .ld-status.ld-status-progress.ld-primary-background,
body.rtc-profile .site-main .learndash-wrapper .ld-status.ld-status-progress { background: var(--butter) !important; color: var(--ink) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-status.ld-status-complete,
body.rtc-profile .site-main .learndash-wrapper .ld-status.ld-status-complete.ld-secondary-background { background: var(--tint) !important; color: var(--tint-ink) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-status { border-radius: 999px; font-weight: 600; letter-spacing: .04em; }
body.rtc-profile .site-main .learndash-wrapper .ld-secondary-in-progress-icon { border-left-color: var(--tint-mark) !important; border-top-color: var(--tint-mark) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-status-icon.ld-status-complete.ld-secondary-background { background: var(--tint-mark) !important; }
/* the round expand arrow on each course */
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item .ld-expand-button.ld-primary-background { background: var(--accent-dk) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item .ld-expand-button.ld-button-alternate .ld-text { color: var(--accent-dk) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item .ld-expand-button.ld-button-alternate:not([disabled]) .ld-icon { background-color: var(--accent-dk) !important; }
/* expanded: the progress bar, as on /courses/ */
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item-expanded,
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item-expanded .ld-progress { background: var(--paper) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item-expanded { border-top: 1px solid var(--rule); }
body.rtc-profile .site-main .learndash-wrapper .ld-item-list-item-expanded::before { display: none; }
body.rtc-profile .site-main .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-label { color: var(--ink-2); font-size: 13px; letter-spacing: .08em; }
body.rtc-profile .site-main .learndash-wrapper .ld-progress .ld-progress-percentage.ld-secondary-color { color: var(--ink) !important; }
body.rtc-profile .site-main .learndash-wrapper .ld-progress .ld-progress-steps { color: var(--ink-2); }
body.rtc-profile .site-main .learndash-wrapper .ld-progress .ld-progress-bar { height: 10px; background: var(--paper-2) !important; border-radius: 999px; }
body.rtc-profile .site-main .learndash-wrapper .ld-progress .ld-progress-bar-percentage.ld-secondary-background { height: 10px; background: var(--accent) !important; border-radius: 999px; }
/* "No courses found" */
body.rtc-profile .site-main .learndash-wrapper .ld-alert-warning { background: var(--paper-2); border-color: var(--rule); color: var(--ink); }
body.rtc-profile .site-main .learndash-wrapper .ld-alert-warning .ld-alert-icon { background: var(--accent-dk) !important; color: #fff; }

@media (max-width: 520px) {
  body.rtc-profile .site-main #ld-profile .ld-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  body.rtc-profile .site-main #ld-profile .ld-profile-stat:nth-of-type(odd) { border-left: 0; }
}

/* The payment-method menu ("Use PayPal" / "Use Credit Card") that LearnDash opens from the Pay button
   when more than one gateway is on. jq-dropdown appends it to <body>, outside .rtc-signup-page, so it
   is scoped by the sign-up page's body class. Same card, type and accent as the order box (Gary, 3 Nov). */
body.rtc-signup .checkout-dropdown-button .jq-dropdown-menu {
  background: #fff; border: 1px solid #E6D8C4; border-radius: 3px; padding: 6px; min-width: 260px; max-width: calc(100vw - 32px);
  box-shadow: 0 1px 0 rgba(74,59,50,.06), 0 14px 28px -16px rgba(74,59,50,.5);
}
body.rtc-signup .checkout-dropdown-button.jq-dropdown-tip::before { border-bottom-color: #E6D8C4; }
body.rtc-signup .checkout-dropdown-button.jq-dropdown-tip::after { border-bottom-color: #fff; }
body.rtc-signup .checkout-dropdown-button .jq-dropdown-menu li { margin: 0; padding: 0; list-style: none; }
body.rtc-signup .checkout-dropdown-button .btn-join {
  display: block; width: 100%; min-height: 48px; margin: 0; text-align: left; cursor: pointer;
  background: transparent !important; color: #4A3B32 !important; border: 0 !important; border-radius: 3px !important; box-shadow: none;
  font: 600 16px/1.3 'DM Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  padding: 13px 16px !important; text-transform: none !important; letter-spacing: 0 !important;
}
body.rtc-signup .checkout-dropdown-button .btn-join:hover,
body.rtc-signup .checkout-dropdown-button .btn-join:focus-visible { background: #F2E7D5 !important; color: #8C3E29 !important; }
body.rtc-signup .checkout-dropdown-button .btn-join:focus-visible { outline: 3px solid #B0533A; outline-offset: 2px; }
