.cjajj-profile-summary,
.cjajj-rank-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cjajj-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e1e4e8;
  flex: 0 0 auto;
}
.cjajj-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #202734;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.cjajj-card small {
  display: block;
  margin-top: 5px;
  color: var(--cjajj-muted);
  font-weight: 400;
}
.cjajj-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cjajj-rank-card {
  margin: 0;
}
.cjajj-rank-card h3 {
  margin: 0 0 10px;
}
.cjajj-rank-person .cjajj-avatar {
  width: 72px;
  height: 72px;
}
.cjajj-belt {
  position: relative;
  width: 250px;
  max-width: 100%;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.15),
    inset 0 -4px 8px rgba(0, 0, 0, 0.16);
}
.cjajj-belt-white {
  background: #f7f7f2;
}
.cjajj-belt-blue {
  background: #1457a6;
}
.cjajj-belt-purple {
  background: #68398c;
}
.cjajj-belt-brown {
  background: #663719;
}
.cjajj-belt-black {
  background: #161616;
}
.cjajj-rank-bar {
  position: absolute;
  right: 16px;
  top: -1px;
  width: 78px;
  height: 32px;
  background: #171717;
  border-top: 1px solid #050505;
  border-bottom: 1px solid #050505;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding-left: 6px;
  gap: 7px;
}
.cjajj-belt-black .cjajj-rank-bar {
  background: #b51f2e;
  border-color: #80121d;
}
.cjajj-rank-bar i {
  display: block;
  width: 5px;
  height: 100%;
  background: #fff;
}
.cjajj-rank-meta {
  line-height: 1.6;
}
.cjajj-no-rank {
  color: var(--cjajj-muted);
  font-style: italic;
}
.cjajj-contact-alt {
  margin-top: 22px;
}
.cjajj-locked {
  text-align: center;
  padding: 38px 25px;
}
.cjajj-library-nav {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cjajj-border);
}
.cjajj-library-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--cjajj-border);
  border-radius: 8px;
  background: #f5f6f8;
  color: #242b36;
  font-weight: 700;
  text-decoration: none;
}
.cjajj-library-nav a:hover,
.cjajj-library-nav a:focus-visible,
.cjajj-library-nav a.active {
  border-color: #a51d2d;
  background: #a51d2d;
  color: #fff;
}
.cjajj-video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.cjajj-video-filters button {
  background: #eceff3 !important;
  color: #242b36 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
}
.cjajj-video-filters button.active {
  background: #a51d2d !important;
  color: #fff !important;
}
.cjajj-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cjajj-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cjajj-border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.cjajj-video-card[hidden] {
  display: none;
}
.cjajj-course-card[hidden] {
  display: none;
}
.cjajj-video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #111;
}
.cjajj-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cjajj-video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: #111 !important;
  cursor: pointer;
}
.cjajj-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cjajj-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.cjajj-video-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}
.cjajj-video-cover:hover .cjajj-video-play,
.cjajj-video-cover:focus-visible .cjajj-video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #a51d2d;
}
.cjajj-video-copy {
  padding: 18px;
}
.cjajj-video-copy h3 {
  margin: 6px 0 8px;
}
.cjajj-video-copy p {
  margin: 0;
  color: var(--cjajj-muted);
}
.cjajj-video-category {
  font-size: 0.76em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #a51d2d;
}
.cjajj-library-learner {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}
.cjajj-library-learner label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.cjajj-library-learner select {
  min-width: 190px;
}
.cjajj-library-level-filter {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}
.cjajj-library-level-filter label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.cjajj-library-level-filter select {
  min-width: 170px;
}
.cjajj-difficulty-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 6px 9px 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.cjajj-difficulty-beginner {
  background: #e2f4e8;
  color: #116330;
}
.cjajj-difficulty-intermediate {
  background: #e4effb;
  color: #155b9b;
}
.cjajj-difficulty-advanced {
  background: #f7e2e6;
  color: #8c1d2d;
}
.cjajj-library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 16px;
}
.cjajj-library-heading h3,
.cjajj-library-heading p {
  margin: 0;
}
.cjajj-library-heading p {
  margin-top: 5px;
  color: var(--cjajj-muted);
}
.cjajj-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cjajj-course-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cjajj-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.cjajj-course-cover {
  display: flex;
  height: 190px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #202734;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}
.cjajj-course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cjajj-course-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}
.cjajj-course-copy h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.cjajj-course-copy h4 a {
  color: var(--cjajj-dark);
  text-decoration: none;
}
.cjajj-course-copy p {
  margin: 0 0 16px;
  color: var(--cjajj-muted);
}
.cjajj-course-copy > .cjajj-button {
  margin-top: auto;
  text-align: center;
}
.cjajj-course-progress {
  margin: auto 0 15px;
}
.cjajj-course-progress > div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe3e8;
}
.cjajj-course-progress > div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #a51d2d;
}
.cjajj-course-progress small {
  display: block;
  margin-top: 6px;
  color: var(--cjajj-muted);
}
.cjajj-video-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.cjajj-video-placeholder {
  color: #fff;
  font-weight: 800;
}
.cjajj-video-copy h3 a {
  color: var(--cjajj-dark);
  text-decoration: none;
}
.cjajj-lesson-complete-badge {
  float: right;
  border-radius: 999px;
  background: #dff3e4;
  color: #0a5c26;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}
.cjajj-library-back {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
}
.cjajj-lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.cjajj-lesson-layout-single {
  grid-template-columns: minmax(0, 1fr);
}
.cjajj-lesson-main,
.cjajj-course-sidebar {
  border: 1px solid var(--cjajj-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.cjajj-lesson-main {
  overflow: hidden;
  padding: 22px;
}
.cjajj-lesson-kicker {
  margin: 0 0 6px;
  color: #a51d2d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cjajj-lesson-main > h3 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.cjajj-lesson-player {
  position: relative;
  margin: 0 -22px;
  padding-top: 56.25%;
  background: #111;
}
.cjajj-lesson-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cjajj-lesson-description {
  padding: 22px 0 4px;
}
.cjajj-lesson-completion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--cjajj-border);
}
.cjajj-completed-message {
  color: #0a6a2d;
  font-weight: 800;
}
.cjajj-lesson-completion .cjajj-button-secondary,
.cjajj-lesson-pager .cjajj-button-secondary {
  border: 1px solid #a51d2d !important;
  background: transparent !important;
  color: #a51d2d !important;
}
.cjajj-dark-mode .cjajj-lesson-completion .cjajj-button-secondary,
.cjajj-dark-mode .cjajj-lesson-pager .cjajj-button-secondary {
  border-color: #ff7f8e !important;
  color: #ff9aa5 !important;
}
.cjajj-lesson-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--cjajj-border);
}
.cjajj-lesson-pager .cjajj-button {
  margin: 0;
}
.cjajj-course-sidebar {
  position: sticky;
  top: 24px;
  padding: 18px;
}
.cjajj-course-sidebar h4 {
  margin: 0 0 14px;
}
.cjajj-course-jump-label {
  display: none;
  margin: 18px 0;
  font-weight: 700;
}
.cjajj-course-jump-label select {
  width: 100%;
  margin-top: 6px;
}
.cjajj-course-lesson-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.cjajj-course-lesson-list li {
  margin: 0;
  border-top: 1px solid var(--cjajj-border);
}
.cjajj-course-lesson-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 6px;
  color: var(--cjajj-dark);
  text-decoration: none;
}
.cjajj-course-lesson-list a span {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eceff3;
  font-size: 0.8rem;
  font-weight: 800;
}
.cjajj-course-lesson-list li.current a {
  color: #a51d2d;
  font-weight: 800;
}
.cjajj-course-lesson-list li.completed a span {
  background: #dff3e4;
  color: #0a6a2d;
}
.cjajj-related-courses {
  margin-top: 32px;
}
.cjajj-related-courses .cjajj-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cjajj-lesson-qa {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--cjajj-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.cjajj-qa-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.cjajj-qa-heading h3,
.cjajj-qa-heading p {
  margin: 0;
}
.cjajj-qa-heading p {
  margin-top: 5px;
  color: var(--cjajj-muted);
}
.cjajj-qa-heading > span {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cjajj-soft);
  color: var(--cjajj-muted);
  font-size: 0.8rem;
  font-weight: 800;
}
.cjajj-question-form {
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  background: var(--cjajj-soft);
}
.cjajj-question-form label {
  display: block;
  font-weight: 800;
}
.cjajj-question-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  resize: vertical;
}
.cjajj-question-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}
.cjajj-question-form small {
  color: var(--cjajj-muted);
}
.cjajj-question-list {
  margin-top: 22px;
}
.cjajj-no-questions {
  margin: 0;
  padding: 16px;
  border-radius: 7px;
  background: var(--cjajj-soft);
  color: var(--cjajj-muted);
  text-align: center;
}
.cjajj-question {
  padding: 20px 0;
  border-top: 1px solid var(--cjajj-border);
}
.cjajj-question:first-child {
  border-top: 0;
}
.cjajj-question > header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cjajj-question-avatar {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #202734;
  color: #fff;
  font-weight: 900;
}
.cjajj-question header strong,
.cjajj-question header small {
  display: block;
}
.cjajj-question header small {
  margin-top: 2px;
  color: var(--cjajj-muted);
}
.cjajj-question-text {
  margin: 12px 0 0 48px;
  line-height: 1.6;
}
.cjajj-coach-response {
  margin: 18px 0 0 48px;
  padding: 16px;
  border-left: 4px solid #a51d2d;
  border-radius: 0 7px 7px 0;
  background: #f8f1f2;
}
.cjajj-coach-response header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.cjajj-coach-response header span {
  color: #a51d2d;
  font-weight: 900;
}
.cjajj-coach-response header small {
  color: var(--cjajj-muted);
}
.cjajj-dark-mode .cjajj-question-form,
.cjajj-dark-mode .cjajj-no-questions,
.cjajj-dark-mode .cjajj-qa-heading > span,
.cjajj-dark-mode .cjajj-coach-response {
  background: #202a38;
}
.cjajj-flow-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cjajj-flow-chart-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cjajj-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.cjajj-flow-chart-card[hidden] {
  display: none;
}
.cjajj-flow-chart-preview {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--cjajj-border);
  background: #f4f5f7;
}
.cjajj-flow-chart-preview img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
}
.cjajj-flow-chart-file-icon {
  display: inline-flex;
  width: 84px;
  height: 104px;
  align-items: center;
  justify-content: center;
  border: 2px solid #a51d2d;
  border-radius: 7px;
  background: #fff;
  color: #a51d2d;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 14px rgba(17, 24, 39, 0.1);
}
.cjajj-flow-chart-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}
.cjajj-flow-chart-copy h3 {
  margin: 8px 0;
}
.cjajj-flow-chart-copy p {
  margin: 0 0 18px;
  color: var(--cjajj-muted);
}
.cjajj-flow-chart-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cjajj-flow-chart-categories span {
  color: #a51d2d;
  font-size: 0.76em;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cjajj-flow-chart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.cjajj-flow-chart-actions .cjajj-button {
  flex: 1 1 130px;
  margin: 0;
  text-align: center;
}
.cjajj-flow-chart-actions .cjajj-button-secondary {
  border: 1px solid #a51d2d;
  background: transparent !important;
  color: #a51d2d !important;
}
@media (max-width: 760px) {
  .cjajj-rank-grid,
  .cjajj-video-grid,
  .cjajj-flow-chart-grid {
    grid-template-columns: 1fr;
  }
  .cjajj-course-grid,
  .cjajj-related-courses .cjajj-course-grid {
    grid-template-columns: 1fr;
  }
  .cjajj-library-learner,
  .cjajj-library-learner label {
    display: block;
  }
  .cjajj-library-learner select {
    width: 100%;
    margin-top: 6px;
  }
  .cjajj-library-level-filter,
  .cjajj-library-level-filter label {
    display: block;
  }
  .cjajj-library-level-filter select {
    width: 100%;
    margin-top: 6px;
  }
  .cjajj-lesson-layout {
    grid-template-columns: 1fr;
  }
  .cjajj-course-sidebar {
    position: static;
  }
  .cjajj-course-jump-label {
    display: block;
  }
  .cjajj-course-lesson-list {
    display: none;
  }
  .cjajj-lesson-main {
    padding: 16px;
  }
  .cjajj-lesson-player {
    margin: 0 -16px;
  }
  .cjajj-lesson-pager {
    align-items: stretch;
    flex-direction: column;
  }
  .cjajj-lesson-pager span,
  .cjajj-lesson-pager .cjajj-button {
    display: block;
    width: 100%;
    text-align: center;
  }
  .cjajj-question-form > div,
  .cjajj-coach-response header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cjajj-question-form button {
    width: 100%;
  }
  .cjajj-question-text,
  .cjajj-coach-response {
    margin-left: 0;
  }
  .cjajj-library-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cjajj-rank-person {
    align-items: flex-start;
  }
  .cjajj-belt {
    width: 210px;
  }
  .cjajj-profile-summary .cjajj-avatar {
    width: 44px;
    height: 44px;
  }
}

.cjajj-video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cjajj-video-copy {
  padding: 13px;
}
.cjajj-video-copy h3 {
  font-size: 1rem;
  margin: 5px 0 7px;
}
.cjajj-video-copy p {
  font-size: 0.9rem;
}
@media (max-width: 1100px) {
  .cjajj-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cjajj-flow-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cjajj-course-grid,
  .cjajj-related-courses .cjajj-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .cjajj-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .cjajj-video-grid,
  .cjajj-flow-chart-grid,
  .cjajj-course-grid,
  .cjajj-related-courses .cjajj-course-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 601px) and (max-width: 760px) {
  .cjajj-flow-chart-grid,
  .cjajj-course-grid,
  .cjajj-related-courses .cjajj-course-grid {
    grid-template-columns: 1fr;
  }
}
