/* VJ Classes, New Season: styles for the new features (loaded after the theme bundle). */

/* ===== Certificates 2.0 (WP1) ===== */
.vjc-badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 30px; background: #1a453b14; color: #1a453b; font-family: var(--font_mona); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; }
.vjc-badge--verified { background: #d8782722; color: #9a4f0c; }

/* certificate cards in the dashboard */
.vjc-cert-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; width: 100%; margin-top: 10px; }
.vjc-cert-actions .download-link { display: inline-flex; align-items: center; gap: 6px; }
.vjc-cert-actions button.download-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.vjc-cert-sub { margin: 34px 0 14px; color: var(--primary); }
.vjc-cert-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vjc-cert-todo li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.vjc-cert-todo li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 260px; }

/* "Certificates for this course" and the three ways on /certificates */
.vjc-certbox { margin-top: 40px; }
.vjc-certbox__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.vjc-certbox__grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.vjc-certbox__card { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); }
.vjc-certbox__card--verified { border-color: #d8782766; background: #fffaf4; }
.vjc-certbox__card h3, .vjc-certbox__card h4 { font-size: 19px; margin: 8px 0 8px; color: var(--primary); }
.vjc-certbox__card p { margin: 0 0 12px; line-height: 1.6; }
.vjc-certbox__icon { font-size: 34px; color: var(--secondary); }
.vjc-certways { margin-top: 60px; }
.vjc-certways h2 { margin-bottom: 20px; }
.vjc-certways__sub { margin: 28px 0 12px; font-size: 20px; }

/* grades list */
.vjc-grades { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.vjc-grades li { display: flex; align-items: baseline; gap: 12px; }
.vjc-grades strong { display: inline-block; min-width: 38px; padding: 2px 0; text-align: center; border-radius: 8px; background: #1a453b14; color: var(--primary); font-family: var(--font_mona); }
.vjc-grades--row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* exam rules screen and the step after it */
.vjc-exam__title { font-size: 20px; margin: 22px 0 8px; color: var(--primary); }
.vjc-nextstep { margin-bottom: 30px; }
.vjc-nextstep .vjc-plain { display: block; border: 0; padding: 6px 0; }
.vjc-note--cert { background: #f1f7f5; border-color: #1a453b2e; }

/* /verify/<code> */
.vjc-cert-preview { margin: 0 0 24px; }
.vjc-cert-preview img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(14, 15, 17, .08); }
.vjc-verify-skills { margin: 0; padding: 0 0 0 1.2em; list-style: disc; line-height: 1.7; }
.vjc-verify-by { margin-top: 20px; }
.vjc-verify-by strong { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); margin-bottom: 4px; }
.vjc-verify-by .material-symbols-outlined { font-size: 20px; color: var(--secondary); }
.vjc-share { margin-top: 28px; }
.vjc-share h3 { font-size: 20px; margin-bottom: 12px; }
.vjc-share__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.vjc-share__row button { cursor: pointer; }
.vjc-verify-cta { margin-top: 24px; }

/* the printable certificate page (A4 landscape, 297 x 210 mm) */
.vjc-cert-page { margin: 0; background: #e9e6e1; font-family: "DM Sans", Arial, sans-serif; color: #0e0f11; }
.vjc-cert-bar { margin: 0; padding: 14px 12px; text-align: center; font-family: Arial, sans-serif; font-size: 14px; }
.vjc-cert-bar button { padding: 8px 16px; border: 0; border-radius: 6px; background: #1a453b; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.vjc-cert-bar a { margin-left: 14px; color: #1a453b; }
.vjc-cert-fit { box-sizing: border-box; width: 100%; padding: 8mm 20px; overflow: hidden; }
.vjc-cert { position: relative; width: 297mm; height: 210mm; margin: 0 auto; box-sizing: border-box; background: #f8f5f2; border: 1.6mm solid #1a453b; text-align: center; transform-origin: top left; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.vjc-cert__frame { position: absolute; inset: 3mm; border: .45mm solid #d87827; outline: .2mm solid #1a453b; outline-offset: -2mm; }
.vjc-cert__corner { position: absolute; width: 12mm; height: 12mm; z-index: 2; }
.vjc-cert__corner--tl { top: -7.6mm; left: -7.6mm; } .vjc-cert__corner--tr { top: -7.6mm; right: -7.6mm; }
.vjc-cert__corner--bl { bottom: -7.6mm; left: -7.6mm; } .vjc-cert__corner--br { bottom: -7.6mm; right: -7.6mm; }
.vjc-cert__body { position: absolute; left: 12mm; right: 12mm; top: 4mm; }
.vjc-cert__logo { display: block; width: 23mm; height: auto; margin: 1mm auto 0; }
.vjc-cert__heading { margin: 0; font: 700 27pt "Playfair Display", Georgia, serif; color: #1a453b; line-height: 1.2; }
.vjc-cert__divider { position: relative; height: 4mm; margin: 1.5mm auto 0; width: 61mm; }
.vjc-cert__divider::before, .vjc-cert__divider::after { content: ""; position: absolute; top: 2mm; width: 25mm; border-top: .5mm solid #d87827; }
.vjc-cert__divider::before { left: 0; } .vjc-cert__divider::after { right: 0; }
.vjc-cert__divider i { position: absolute; left: 50%; top: .6mm; width: 2.6mm; height: 2.6mm; margin-left: -1.3mm; background: #d87827; transform: rotate(45deg); }
.vjc-cert__lead { margin: 2mm 0 0; font: italic 13pt "Playfair Display", Georgia, serif; color: #525355; }
.vjc-cert__name { display: inline-block; max-width: 225mm; margin: 1mm 0 0; padding: 0 12mm 1.5mm; border-bottom: .35mm solid #d87827; font: 700 29pt "Playfair Display", Georgia, serif; line-height: 1.25; }
.vjc-cert__action { margin: 2.5mm 0 0; font-size: 11.5pt; color: #525355; }
.vjc-cert__course { margin: 2mm auto 0; max-width: 245mm; font: 700 19pt "DM Sans", Arial, sans-serif; line-height: 1.25; color: #d87827; }
.vjc-cert__facts { margin: 2.5mm 0 0; font-size: 11pt; color: #525355; white-space: pre-wrap; }
.vjc-cert__skills-label { margin: 4mm 0 1mm; font: 700 7.5pt Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #1a453b; }
.vjc-cert__skills { display: flex; justify-content: center; gap: 4mm; margin: 0; padding: 0; list-style: none; }
.vjc-cert__skills li { flex: 0 1 80mm; font-size: 9pt; color: #525355; }
.vjc-cert__skills li::before { content: "\2022\00a0"; }
.vjc-cert__foot { position: absolute; left: 12mm; right: 12mm; bottom: 8mm; height: 32mm; }
.vjc-cert__meta { position: absolute; left: 0; bottom: 3mm; text-align: left; font-size: 9.5pt; line-height: 1.55; color: #525355; }
.vjc-cert__meta b { font-weight: 400; color: #1a453b; }
.vjc-cert__qr { position: absolute; left: 100mm; bottom: 0; width: 26mm; font-size: 7pt; color: #525355; }
.vjc-cert__qr svg { display: block; width: 26mm; height: 26mm; border: .2mm solid #e2dcd4; }
.vjc-cert__qr span { display: block; margin-top: .8mm; }
.vjc-cert__seal { position: absolute; left: 147mm; bottom: 1mm; width: 31mm; height: 31mm; }
.vjc-cert__seal svg { display: block; width: 100%; height: 100%; }
.vjc-cert__sign { position: absolute; right: 7mm; bottom: 2mm; width: 74mm; font-size: 9pt; color: #525355; }
.vjc-cert__sign i { display: block; border-top: .3mm solid #1a453b; margin: 0 2mm 1mm; }
.vjc-cert__sign b { display: block; font: 700 10.5pt "DM Sans", Arial, sans-serif; color: #0e0f11; }
.vjc-cert__stamp { position: absolute; left: 50%; bottom: 11mm; width: 36mm; height: auto; margin-left: -18mm; transform: rotate(-8deg); }
.vjc-cert__ribbon { position: absolute; left: 50%; bottom: -3mm; transform: translateX(-50%); padding: .8mm 5mm; background: #c9a24a; color: #1a453b; font: 700 6.2pt Arial, sans-serif; letter-spacing: .04em; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); box-shadow: 0 .4mm 0 #966c1c; }
.vjc-cert--premium .vjc-cert__frame { border-color: #b8892b; border-width: .8mm; }
.vjc-cert--premium .vjc-cert__divider::before, .vjc-cert--premium .vjc-cert__divider::after { border-top-color: #b8892b; }
.vjc-cert--premium .vjc-cert__divider i { background: #b8892b; }
.vjc-cert--premium .vjc-cert__name { border-bottom-color: #b8892b; }
.vjc-cert--premium .vjc-cert__seal { bottom: 4mm; }
.vjc-cert-page.is-fit .vjc-cert-fit { height: 0; }
@page { size: A4 landscape; margin: 0; }
@media print { .vjc-cert-page { background: none; } .vjc-cert-bar { display: none; } .vjc-cert { margin: 0; transform: none !important; } .vjc-cert-fit { overflow: visible; height: auto !important; padding: 0; } }

/* certificate price ladder table */
.vjc-tiers-wrap { overflow-x: auto; margin: 0 0 20px; -webkit-overflow-scrolling: touch; }
.vjc-tiers { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.vjc-tiers th, .vjc-tiers td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; font-size: 15px; line-height: 1.45; }
.vjc-tiers tbody th { text-align: left; font-weight: 500; color: var(--black2); width: 34%; }
.vjc-tiers thead th { background: #f1f7f5; color: var(--primary); font-family: var(--font_mona); font-weight: 600; vertical-align: top; }
.vjc-tiers__col--premium, .vjc-tiers__col--print { background: #fbf3e3 !important; }
.vjc-tiers__price { display: block; margin-top: 4px; font-size: 17px; color: var(--secondary); }
.vjc-tiers__price small { display: block; font-size: 12px; font-weight: 400; color: var(--text2); }
.vjc-tiers__yes { color: var(--primary); font-size: 22px; vertical-align: middle; }
.vjc-tiers__no { color: #9a9a9a; }
.vjc-tiers__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vjc-tiers tr:last-child th, .vjc-tiers tr:last-child td { border-bottom: 0; }
.vjc-tiers__buy td small { color: var(--text2); }
.vjc-verify-by__logo { width: 44px; height: auto; vertical-align: middle; }

@media print { .vjc-cert-page { background: none; } .vjc-cert-bar { display: none; } .vjc-cert { margin: 0; transform: none !important; } .vjc-cert-fit { overflow: visible; height: auto !important; } }

/* ===== Study material hub, revision notes, MCQs and their printable PDFs (WP3) ===== */
.vjc-study-intro { max-width: 760px; margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--black2); }
.vjc-study-counts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.vjc-study-counts li { padding: 8px 16px; border: 1px solid var(--border); border-radius: 30px; background: var(--white); color: var(--black2); font-size: 15px; }
.vjc-study-counts b { color: var(--primary); font-size: 18px; margin-right: 4px; }
.vjc-study-search { position: relative; max-width: 560px; margin: 0 0 30px; }
.vjc-study-search[hidden], .vjc-study-none[hidden], [data-study-group][hidden], [data-study-item][hidden] { display: none !important; }
.vjc-study-search > .material-symbols-outlined { position: absolute; left: 16px; top: 14px; color: var(--secondary); pointer-events: none; }
.vjc-study-search input { width: 100%; padding-left: 48px; }
.vjc-study-none { margin: 12px 0 0; }
.vjc-study-stream { margin: 0 0 40px; }
.vjc-study-stream__title { font-size: 28px; margin: 0 0 14px; color: var(--primary); padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.vjc-study-stream__title a { color: inherit; }
.vjc-study-subject { margin: 0 0 24px; scroll-margin-top: 100px; }
.vjc-study-subject__title { font-size: 20px; margin: 0 0 8px; color: var(--black); }
.vjc-study-subject__title a { color: inherit; }
.vjc-study-subject__title a:hover { color: var(--secondary); }
.vjc-study-courses { list-style: none; margin: 0; padding: 0; }
.vjc-study-course { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 12px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.vjc-study-course__name { flex: 0 1 320px; font-weight: 700; color: var(--primary); }
.vjc-study-course__name:hover { color: var(--secondary); }
.vjc-study-course__soon { color: var(--black2); font-size: 14px; }
.vjc-study-course__links { display: flex; flex: 1 1 360px; flex-wrap: wrap; gap: 6px 14px; }
.vjc-study-course__links a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--black2); }
.vjc-study-course__links a:hover { color: var(--secondary); }
.vjc-study-course__links .material-symbols-outlined { font-size: 17px; color: var(--secondary); }
.vjc-study-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 30px; }
.vjc-study-links { font-size: 15px; color: var(--black2); }
.vjc-study-links .material-symbols-outlined { font-size: 19px; vertical-align: -4px; color: var(--secondary); }
.vjc-study-block { margin-top: 30px; }
.vjc-study-cta { margin-top: 34px; }
.vjc-rev { max-width: 860px; margin: 0 0 34px; }
.vjc-rev__sec { font-size: 24px; margin: 0 0 14px; color: var(--primary); padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.vjc-rev__lesson { margin: 0 0 22px; }
.vjc-rev__lesson h3 { font-size: 19px; margin: 0 0 8px; }
.vjc-rev__lesson h3 a { color: var(--black); }
.vjc-rev__lesson h3 a:hover { color: var(--secondary); }
.vjc-rev .vjc-callout { margin: 0; padding: 12px 16px; border: 1px solid #ecdcae; border-left: 4px solid #b88a00; border-radius: 8px; background: #fffaea; }
.vjc-rev .vjc-callout__label { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6700; }
.vjc-rev ul { margin: 0; padding-left: 1.25em; list-style: disc; line-height: 1.65; color: var(--black2); }
.vjc-rev li { margin: 3px 0; }
.vjc-rev li::marker { color: var(--secondary); }
.vjc-rev__terms { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; list-style: none !important; }
.vjc-rev__terms li { margin: 0; padding: 5px 14px; border: 1px solid var(--border); border-radius: 30px; background: var(--white); font-size: 14px; font-weight: 600; color: var(--primary); }
.vjc-mcq { max-width: 860px; margin: 0 0 10px; padding: 0 0 0 1.6em; list-style: decimal; }
.vjc-mcq > li::marker { font-weight: 700; color: var(--secondary); }
.vjc-mcq__item { margin: 0 0 26px; padding: 0 0 0 6px; }
.vjc-mcq__q { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--black); overflow-wrap: anywhere; }
.vjc-mcq__opts { margin: 0 0 10px; padding-left: 1.8em; list-style: upper-alpha; line-height: 1.6; color: var(--black2); }
.vjc-mcq__opts li { margin: 3px 0; padding-left: 4px; overflow-wrap: anywhere; }
.vjc-mcq__opts li::marker { font-weight: 700; color: var(--primary); }
.vjc-mcq__ans { border: 1px solid var(--border); border-radius: 10px; background: var(--white); padding: 0; }
.vjc-mcq__ans summary { cursor: pointer; padding: 9px 16px; font-weight: 700; color: var(--primary); }
.vjc-mcq__ans[open] summary { border-bottom: 1px solid var(--border); }
.vjc-mcq__ans p { margin: 0; padding: 10px 16px 0; color: var(--black2); line-height: 1.65; }
.vjc-mcq__ans p:last-child { padding-bottom: 12px; }
.vjc-mcq__right strong { color: #1d6b3a; }
/* the printable revision notes / MCQ sheet (opened by "Download PDF"; Save as PDF in the print window) */
.vjc-pdf-page { margin: 0; background: #e9eeeb; color: #1d2b26; font: 16px/1.65 "Mona Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
.vjc-pdf-page a { color: #1A453B; }
.vjc-pdf-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 20px; background: #1A453B; color: #fff; }
.vjc-pdf-bar a { color: #fff; text-decoration: none; font-weight: 500; }
.vjc-pdf-bar .go { padding: 10px 22px; border: 0; border-radius: 999px; background: #fff; color: #1A453B; font: 600 15px/1 "Mona Sans", system-ui, sans-serif; cursor: pointer; }
.vjc-pdf-hint { max-width: 820px; margin: 18px auto 0; padding: 0 20px; color: #5d6b66; font-size: 14px; }
.vjc-pdf { max-width: 820px; margin: 18px auto 48px; padding: 56px 64px; border-radius: 10px; background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .07); }
.vjc-pdf__cover { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 2px solid #1A453B; }
.vjc-pdf__cover img { display: block; height: 52px; width: auto; }
.vjc-pdf__kicker { margin: 26px 0 6px; color: #5d6b66; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.vjc-pdf__cover h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; color: #1A453B; }
.vjc-pdf__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #5d6b66; }
.vjc-pdf__meta b { color: #1d2b26; font-weight: 600; }
.vjc-pdf__sec { margin: 0 0 22px; }
.vjc-pdf__secname { margin: 22px 0 10px; font-size: 20px; color: #1A453B; padding-bottom: 6px; border-bottom: 1px solid #d9e3de; }
.vjc-pdf__lesson { margin: 0 0 16px; break-inside: avoid; }
.vjc-pdf__lesson h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #1d2b26; }
.vjc-pdf__lesson h3 small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5d6b66; }
.vjc-pdf ul { margin: 0; padding-left: 1.3em; }
.vjc-pdf li { margin: 3px 0; }
.vjc-pdf__terms { margin: 0; line-height: 1.9; }
.vjc-pdf__q { margin: 0 0 14px; break-inside: avoid; }
.vjc-pdf__qtext { margin: 0 0 4px; font-weight: 500; overflow-wrap: anywhere; }
.vjc-pdf__opts { margin: 0; padding: 0 0 0 1.4em; list-style: none; }
.vjc-pdf__opts li { margin: 1px 0; overflow-wrap: anywhere; }
.vjc-pdf__opts li span { display: inline-block; min-width: 1.5em; font-weight: 700; color: #1A453B; }
.vjc-pdf__key { break-before: page; }
.vjc-pdf__keylist { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0 !important; list-style: none; }
.vjc-pdf__keylist li { min-width: 70px; margin: 0; }
.vjc-pdf__end { margin: 36px 0 0; padding-top: 14px; border-top: 2px solid #1A453B; color: #5d6b66; font-size: 13px; }
@media (max-width: 700px) {
  .vjc-pdf { margin: 10px 0 30px; padding: 26px 18px; border-radius: 0; }
  .vjc-pdf__cover h1 { font-size: 24px; }
  .vjc-study-course__name { flex-basis: 100%; }
}
@media print {
  html, .vjc-pdf-page { background: #fff; }
  .vjc-pdf-page { font-size: 10.5pt; line-height: 1.5; }
  .vjc-pdf-bar, .vjc-pdf-hint { display: none !important; }
  .vjc-pdf { max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
  .vjc-pdf__cover { margin-bottom: 12pt; padding-bottom: 10pt; }
  .vjc-pdf__cover img { height: 40px; }
  .vjc-pdf__kicker { margin-top: 14pt; }
  .vjc-pdf__cover h1 { font-size: 20pt; }
  .vjc-pdf__secname { font-size: 13pt; break-after: avoid; }
  .vjc-pdf__lesson h3 { font-size: 11.5pt; break-after: avoid; }
  .vjc-pdf li, .vjc-pdf p { orphans: 3; widows: 3; }
  a { color: inherit; text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Doubts (WP5b) ===== */
.vjc-doubts { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, .1); }
.vjc-doubts__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.vjc-doubts__sub { margin: 24px 0 10px; }
.vjc-doubt { padding: 14px 16px; margin-bottom: 12px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 10px; }
.vjc-doubt__q { margin: 0 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.vjc-doubt__meta { margin: 0 0 6px; font-size: 14px; opacity: .8; }
.vjc-doubt__a { margin-top: 8px; padding: 10px 14px; border-left: 3px solid #1a453b; background: rgba(26, 69, 59, .06); border-radius: 0 8px 8px 0; }
.vjc-doubt__a p { margin: 4px 0 0; overflow-wrap: anywhere; }
.vjc-doubt__status { display: inline-block; padding: 1px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.vjc-doubt__status--wait { background: #fdf0d0; color: #7a5300; }
.vjc-doubt__status--done { background: #d8f0e4; color: #17543a; }

/* ===== VJ Assistant (WP4) ===== */
.vjc-chat-btn { position: fixed; right: 20px; bottom: 76px; z-index: 1000; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--primary); color: var(--white); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.vjc-chat-btn:hover, .vjc-chat-btn:focus-visible { background: var(--secondary); outline: 2px solid var(--white); outline-offset: 2px; }
.vjc-chat { position: fixed; right: 16px; bottom: 138px; z-index: 1001; width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 160px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 48px rgba(0, 0, 0, .25); overflow: hidden; }
.vjc-chat[hidden] { display: none; }
.vjc-chat__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--primary); color: var(--white); }
.vjc-chat__head strong { font-family: var(--font_mona); font-weight: 600; }
.vjc-chat__close { color: var(--white); cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.vjc-chat__close:hover, .vjc-chat__close:focus-visible { background: rgba(255, 255, 255, .2); }
.vjc-chat__log { flex: 1 1 auto; min-height: 120px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--bg2); }
.vjc-chat__msg { max-width: 92%; padding: 9px 12px; border-radius: 12px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.vjc-chat__msg p { font-size: 15px; line-height: 1.45; margin: 0; }
.vjc-chat__msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border); color: var(--black); }
.vjc-chat__msg--me { align-self: flex-end; background: var(--primary); color: var(--white); }
.vjc-chat__msg--me p { color: var(--white); }
.vjc-chat__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vjc-chat__links--courses { flex-direction: column; }
.vjc-chat__links a { display: inline-block; padding: 5px 10px; border: 1px solid var(--primary); border-radius: 20px; color: var(--primary); font-size: 14px; font-weight: 600; line-height: 1.3; }
.vjc-chat__links a:hover, .vjc-chat__links a:focus-visible { background: var(--primary); color: var(--white); }
.vjc-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--border); }
.vjc-chat__chip { padding: 5px 11px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.vjc-chat__chip:hover, .vjc-chat__chip:focus-visible { border-color: var(--primary); background: var(--bg2); }
.vjc-chat__form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); }
.vjc-chat__input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 20px; font-size: 16px; }
.vjc-chat__send { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 480px) { .vjc-chat { right: 8px; width: calc(100vw - 16px); bottom: 136px; } .vjc-chat-btn { right: 16px; } }
@media print { .vjc-chat-btn, .vjc-chat { display: none !important; } }

/* AI helper under a lesson */
.vjc-ai { margin: 22px 0; padding: 14px 16px; border: 1px dashed var(--border); border-radius: 10px; }
.vjc-ai[hidden] { display: none; }
.vjc-ai .vjc-doubts__sub { display: flex; align-items: center; gap: 6px; margin-top: 0; }
.vjc-ai__answer { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--secondary); background: rgba(216, 120, 39, .07); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ===== VJ Pass (WP-S) ===== */
.vjc-pass-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.vjc-pass-badge .material-symbols-outlined { font-size: 16px; }
.vjc-pass-badge.is-included { background: #d8f0e4; color: #17543a; }
.vjc-pass-badge.is-premium { background: #fbe8d3; color: #8a4a0c; }
.vjc-pass-badge--sm { font-size: 11.5px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; }
.vjc-passline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; }
.vjc-member-price { color: #17543a; font-size: 18px; }
.vjc-passlock { margin-top: 16px; }
.vjc-passlist, .vjc-passprem { list-style: none; margin: 0 0 24px; padding: 0; }
.vjc-passlist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.vjc-passlist .material-symbols-outlined { color: #1a453b; }
.vjc-passprem li { padding: 6px 0; overflow-wrap: anywhere; }
.vjc-passsub { margin: 28px 0 8px; }
.vjc-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vjc-compare { width: 100%; min-width: 520px; border-collapse: collapse; }
.vjc-compare th, .vjc-compare td { padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .1); text-align: center; }
.vjc-compare thead th { background: #1a453b; color: #fff; font-weight: 600; }
.vjc-compare tbody th { text-align: left; font-weight: 500; }
.vjc-compare thead th:first-child { background: transparent; }
.vjc-mypass .box-title { display: flex; align-items: center; gap: 8px; }
.vjc-mypass__facts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.vjc-mypass__unlocks { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 14px; }
.vjc-mypass__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.vjc-mypass__note { margin: 12px 0 0; font-size: 14px; }
.vjc-member-line { color: #17543a; font-weight: 600; }
.vjc-cart__price s { margin-right: 4px; }

/* ===== Student ID cards (WP-ID) ===== */
.vjc-idcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 20px; margin-bottom: 18px; }
.vjc-idcard__no { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: #1a453b; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; overflow-wrap: anywhere; }
.vjc-idcard__verify { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.vjc-idcard__verify .download-link { display: inline-flex; align-items: center; gap: 6px; }
.vjc-idcard__verify button.download-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.vjc-idcard__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0 0 16px; }
.vjc-idcard__pair figure { margin: 0; }
.vjc-idcard__pair img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); background: #f4f4f4; }
.vjc-idcard__pair figcaption { margin-top: 6px; font-size: 13px; opacity: .75; text-align: center; }
.vjc-idcard__form { margin-top: 26px; border-top: 1px solid rgba(0, 0, 0, .1); padding-top: 16px; }
.vjc-idcard__form summary { cursor: pointer; font-weight: 600; color: #1a453b; }
.vjc-idcard__order { overflow-wrap: anywhere; }
.vjc-idverify { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.vjc-idverify__photo { width: 140px; height: 180px; object-fit: cover; border-radius: 8px; border: 3px solid #d87827; background: #fff; }
.vjc-idverify .vjc-summary { flex: 1 1 280px; min-width: 0; }
.vjc-idverify__form { margin-top: 10px; }
@media (max-width: 575px) { .vjc-idverify__photo { width: 112px; height: 144px; } }

/* ===== Engagement: XP, badges, leaderboard, invites ===== */
.vjc-levelchip { display: inline-block; padding: 2px 12px; border-radius: 20px; background: #fbe8d3; color: #8a4a0c; font-weight: 600; font-size: 14px; }
.vjc-bar { height: 10px; border-radius: 10px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.vjc-bar i { display: block; height: 100%; border-radius: 10px; background: var(--secondary); min-width: 4px; }
.vjc-progress__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.vjc-progress__xp { font-size: 20px; }
.vjc-progress__xp strong { font-size: 32px; line-height: 1.1; }
.vjc-progress__next { margin: 8px 0 0; font-size: 14px; }
.vjc-progress__facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.vjc-progress__facts li { display: flex; align-items: center; gap: 6px; }
.vjc-progress__facts .material-symbols-outlined { font-size: 20px; color: var(--secondary); }
.vjc-progress__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vjc-badge-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; background: #d8f0e4; color: #17543a; font-size: 13px; font-weight: 600; }
.vjc-badge-chip .material-symbols-outlined { font-size: 16px; }
.vjc-progress__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; }
.vjc-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.vjc-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .1); }
.vjc-badge__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; }
.vjc-badge__icon .material-symbols-outlined { font-size: 28px; }
.vjc-badge small { font-size: 13px; line-height: 1.4; }
.vjc-badge.is-earned .vjc-badge__icon { background: #fbe8d3; color: #c2610f; }
.vjc-badge.is-earned small { color: #17543a; font-weight: 600; }
.vjc-badge.is-locked { opacity: .65; }
.vjc-badge.is-locked .vjc-badge__icon { background: #e6e6e6; color: #8a8a8a; }
.vjc-invite { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vjc-invite__link { flex: 1 1 260px; min-width: 0; padding: 9px 14px; border-radius: 40px; border: 1px solid rgba(0, 0, 0, .15); background: #fff; font-size: 15px; }
.vjc-invite__count { margin: 12px 0 0; }
.vjc-board__wrap { max-width: 720px; margin: 0 auto; }
.vjc-board__tabs { display: flex; gap: 8px; margin: 16px 0; }
.vjc-board__tab { padding: 8px 18px; border-radius: 40px; border: 1px solid rgba(0, 0, 0, .15); color: inherit; font-weight: 600; text-decoration: none; }
.vjc-board__tab.is-active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.vjc-board__note { font-size: 14px; margin: 0 0 12px; }
.vjc-board__me { padding: 12px 16px; border-radius: 10px; background: rgba(216, 120, 39, .09); margin-bottom: 16px; }
.vjc-board__list { list-style: none; margin: 0 0 12px; padding: 0; }
.vjc-board__list--you { margin-top: 12px; }
.vjc-board__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.vjc-board__row.is-you { background: rgba(216, 120, 39, .09); border-radius: 10px; }
.vjc-board__rank { width: 32px; font-weight: 700; text-align: center; }
.vjc-board__avatar { display: inline-flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center; border-radius: 50%; background: #1a453b; color: #fff; font-weight: 600; }
.vjc-board__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vjc-board__name small { display: block; font-size: 13px; opacity: .7; }
.vjc-board__xp { font-weight: 700; white-space: nowrap; }
.vjc-board__empty, .vjc-board__cta { margin-top: 18px; }

/* Teacher panel (/teach) */
.vjc-tstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 12px; }
.vjc-tstats > div { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg2); }
.vjc-tstats b { display: block; font-size: 24px; line-height: 1.2; color: var(--primary); }
.vjc-tstats span { font-size: 14px; color: var(--text2); }
.vjc-qopt { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vjc-qopt > input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--secondary); }
.vjc-qopt > span { flex: 0 0 auto; font-weight: 700; }
.vjc-qopt .vjc-input { flex: 1 1 auto; min-width: 0; }

/* Polish: lists and sub-headings written inside a course description (admin-written HTML) get normal spacing */
.course-details1__overview > ul, .course-details1__overview > ol { margin: 0 0 14px; padding-left: 22px; }
.course-details1__overview > ul { list-style: disc; }
.course-details1__overview > ol { list-style: decimal; }
.course-details1__overview > ul > li, .course-details1__overview > ol > li { margin: 0 0 6px; line-height: 1.6; }
.course-details1__overview > h3:not(.overview-title), .course-details1__overview > h4 { margin: 22px 0 10px; }

/* Polish: the badge cards in the dashboard must wrap their text (the small pill class of the same name does not) */
.vjc-badges .vjc-badge { white-space: normal; margin-left: 0; min-width: 0; overflow-wrap: anywhere; font-size: 14px; letter-spacing: 0; }
