.yj-learning-tabs-wrap{margin-top:10px;border:1px solid #d6e2e8;background:#fff;color:#17384a;font-family:Arial,'Noto Sans KR','Malgun Gothic',sans-serif}
.yj-learning-tabs-wrap *{box-sizing:border-box}
.yj-learning-tabs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f7fafb;border-bottom:1px solid #d6e2e8}
.yj-learning-tabs-head strong{font-size:17px;color:#083d5d}.yj-learning-tabs-head span{font-size:12px;color:#718894}
.yj-learning-tabs-nav{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #d6e2e8}
.yj-learning-tabs-btn{min-height:44px;border:0;border-right:1px solid #d6e2e8;background:#fff;color:#41606f;font-size:15px;font-weight:700;cursor:pointer}.yj-learning-tabs-btn:last-child{border-right:0}.yj-learning-tabs-btn.is-active{background:#edf6fa;color:#076594;box-shadow:inset 0 -2px 0 #1492c4}
.yj-learning-tabs-panel{display:none;padding:14px}.yj-learning-tabs-panel.is-active{display:block}
.yj-learning-context{display:grid;gap:4px;padding:9px 10px;margin:0 0 10px;background:#f5f8fa;border:1px solid #dbe6eb;font-size:12px;line-height:1.55;color:#657d88}.yj-learning-context strong{color:#294e61;font-size:13px}
.yj-learning-question{width:100%;min-height:96px;resize:vertical;border:1px solid #bfcfd7;background:#fff;padding:10px 11px;font:15px/1.65 Arial,'Noto Sans KR',sans-serif;color:#183b4d;outline:none}.yj-learning-question:focus{border-color:#1a8aba;box-shadow:0 0 0 2px rgba(26,138,186,.08)}
.yj-learning-submit-row{display:flex;align-items:center;gap:9px;margin-top:9px}.yj-learning-submit,.yj-learning-refresh,.yj-learning-answer-save,.yj-learning-answer-cancel,.yj-learning-required-btn{height:38px;border:1px solid #0c7fac;background:#0b709c;color:#fff;font-size:14px;font-weight:700;padding:0 14px;cursor:pointer}.yj-learning-refresh,.yj-learning-answer-cancel{border-color:#c7d7df;background:#fff;color:#426271}.yj-learning-submit:disabled,.yj-learning-answer-save:disabled{opacity:.5;cursor:default}
.yj-learning-note{font-size:12px;color:#7c9099;line-height:1.45}.yj-learning-message{display:none;margin-top:9px;padding:9px 11px;font-size:13px;line-height:1.4;border:1px solid #c8dae3;background:#f6fafc;color:#285369}.yj-learning-message.is-show{display:block}.yj-learning-message.is-error{border-color:#e5b9b9;background:#fff7f7;color:#8b3737}
.yj-learning-list{display:grid;gap:9px}.yj-learning-empty{padding:18px 10px;text-align:center;border:1px dashed #cedce3;color:#82969f;font-size:13px}.yj-learning-item{border:1px solid #d5e1e7;background:#fff}.yj-learning-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#f8fafb;border-bottom:1px solid #e1e9ed;font-size:12px;color:#728792}.yj-learning-badge{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border:1px solid #d8b777;background:#fff8e8;color:#8c6414;font-size:11px;font-weight:700}.yj-learning-badge.is-answered{border-color:#91c9b2;background:#f0fbf6;color:#277051}
.yj-learning-q{padding:13px 12px 10px;font-size:16px;line-height:1.7;color:#163c50;white-space:pre-wrap}.yj-learning-meta{padding:0 12px 12px;font-size:12px;color:#81949d}.yj-learning-a{margin:0 10px 11px;padding:10px 11px;border-left:3px solid #147ca8;background:#f2f8fb}.yj-learning-a-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:13px;font-weight:700;color:#08628a}.yj-learning-a-body{font-size:15px;line-height:1.7;color:#244c60;white-space:pre-wrap}
.yj-learning-answer-editor{padding:0 10px 12px}.yj-learning-answer-editor textarea{width:100%;min-height:90px;padding:9px;border:1px solid #c5d4db;font-size:14px;line-height:1.6}.yj-learning-answer-actions{display:flex;gap:8px;align-items:center;margin-top:8px}.yj-learning-answer-msg{font-size:12px;color:#6a7e88}
.yj-learning-required-card{padding:18px;border:1px solid #dce5e9;background:#fbfdfe}.yj-learning-required-card strong{display:block;font-size:17px;color:#173d51}.yj-learning-required-card p{margin:7px 0 14px;color:#627b87;font-size:13px;line-height:1.65}.yj-learning-required-status{margin-top:10px;color:#718894;font-size:12px}
.yj-learning-login{padding:16px 14px;font-size:14px;line-height:1.6;color:#5e7783;background:#f8fafb}
@media(max-width:600px){.yj-learning-tabs-head{align-items:flex-start;flex-direction:column}.yj-learning-tabs-btn{font-size:14px}.yj-learning-submit-row{align-items:flex-start;flex-direction:column}.yj-learning-submit{width:100%}}

/* =========================================================
   V1.2.4 — 오른쪽 강의목록 가독성 미세조정
   - V1.2.3에서 키운 글자를 1px 축소
   - CHAPTER/강의명/번호/배지/버튼의 볼드체 제거
   - 거의 무배경 + 약한 음영 유지
========================================================= */
body.yj-learning-clean-screen .yj-wc-dashboard-curriculum .yj-wc-chapter > summary,
body.yj-learning-clean-screen .yj-sta-relocated-lecture-panel .yj-wc-chapter > summary,
body.yj-learning-clean-screen .yj-sta-textbook-layer .yj-wc-chapter > summary,
body.yj-learning-clean-screen .yj-wc-chapter > summary{
  background:#f2f7fa!important;
  background-image:none!important;
  border:1px solid #dce8ee!important;
  color:#344852!important;
  box-shadow:0 2px 8px rgba(24,54,70,.045)!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary:hover,
body.yj-learning-clean-screen .yj-wc-chapter[open] > summary{
  background:#edf5f9!important;
  background-image:none!important;
  box-shadow:0 3px 10px rgba(24,54,70,.06)!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary .yj-wc-chapter-number{
  color:#72838b!important;
  font-size:10px!important;
  font-weight:400!important;
  letter-spacing:.35px!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary strong{
  color:#334750!important;
  font-size:17px!important;
  line-height:1.3!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary span:not(.yj-wc-step-action){
  color:#445861!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary small{
  background:#fff!important;
  border:1px solid #d8e0e4!important;
  color:#61747d!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:400!important;
  padding:4px 7px!important;
}
body.yj-learning-clean-screen .yj-wc-chapter > summary::before,
body.yj-learning-clean-screen .yj-wc-chapter > summary::after{
  color:#839198!important;
  border-color:#839198!important;
}

/* 오른쪽 강의 행: V1.2.3 대비 1px 축소 + 볼드 제거 */
body.yj-learning-clean-screen .yj-wc-step-list a,
body.yj-learning-clean-screen .yj-wc-step-list a.yj-wc-step-link{
  min-height:48px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-step-number{
  width:27px!important;
  height:27px!important;
  font-size:10px!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-step-list small{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-step-list strong{
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
body.yj-learning-clean-screen .yj-wc-step-action{
  min-width:66px!important;
  min-height:29px!important;
  padding:4px 7px!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:400!important;
}


/* V1.2.7 — 4번째 교재 안전 미러 탭 */
.yj-learning-book-panel{padding:12px!important;background:#f8fafb}
.yj-learning-book-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.yj-learning-book-status{min-width:110px;text-align:center;font-size:12px;color:#5f7884;font-weight:400}
.yj-learning-book-nav,.yj-learning-book-zoom{min-height:34px;padding:0 12px;border:1px solid #c8d7de;background:#fff;color:#395968;font-size:12px;font-weight:400;cursor:pointer}
.yj-learning-book-nav:disabled{opacity:.35;cursor:default}
.yj-learning-book-zoom{border-color:#8fb9cc;color:#176987}
.yj-learning-book-stage{position:relative;min-height:300px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;background:#eef2f4;border:1px solid #dbe4e8;padding:8px}
.yj-learning-book-image{display:none;width:auto;max-width:100%;height:auto;max-height:76vh;object-fit:contain;background:#fff;box-shadow:0 1px 5px rgba(28,52,64,.08)}
.yj-learning-book-pdf{display:none;width:100%;height:76vh;min-height:620px;border:0;background:#fff}
.yj-learning-book-empty{padding:60px 14px;text-align:center;color:#7b9099;font-size:13px;line-height:1.6}
.yj-learning-book-note{margin-top:8px;text-align:center;color:#899aa2;font-size:11px;line-height:1.5}
@media(max-width:600px){.yj-learning-tabs-nav{grid-template-columns:repeat(4,1fr)}.yj-learning-tabs-btn{font-size:12px;padding:0 3px}.yj-learning-book-stage{min-height:220px;padding:4px}.yj-learning-book-pdf{height:68vh;min-height:420px}}

/* =========================================================
   V1.2.8 — AI 필수문제 복원
   V0.6.2의 3가지 출제모드 + 즉시채점 + 누적 약점학습
========================================================= */
.yj-sta-qna-context{display:grid;gap:4px;padding:9px 10px;margin:0 0 10px;background:#f5f8fa;border:1px solid #dbe6eb;font-size:12px;line-height:1.55;color:#657d88}.yj-sta-qna-context strong{color:#294e61;font-size:13px}
.yj-sta-quiz-panel{background:#fff}
.yj-sta-quiz-intro{display:grid;gap:4px;padding:12px 13px;margin:0 0 10px;border:1px solid #c9dce5;background:#f7fbfd;color:#365c6d}
.yj-sta-quiz-intro strong{font-size:15px;color:#075f87}.yj-sta-quiz-intro span{font-size:13px;line-height:1.6;color:#718792}
.yj-sta-quiz-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.yj-sta-quiz-generate{min-height:42px;padding:0 8px;border:1px solid #84b9cf;background:#fff;color:#075f87;font-size:14px;font-weight:600;cursor:pointer}
.yj-sta-quiz-generate:hover{background:#eaf6fa}.yj-sta-quiz-generate:disabled{opacity:.45;cursor:default;background:#f4f6f7}
.yj-sta-quiz-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px;padding:9px 10px;background:#f7f8f9;border:1px solid #dce5e9;font-size:12px;color:#67808c}
.yj-sta-quiz-stats strong{color:#31566a;font-size:13px}.yj-sta-quiz-stats span{padding-left:8px;border-left:1px solid #d8e1e5}
.yj-sta-quiz-status{display:none;margin:0 0 10px;padding:10px 11px;border:1px solid #c6dde7;background:#f3fafc;color:#235970;font-size:13px;line-height:1.55}
.yj-sta-quiz-status.is-show{display:block}.yj-sta-quiz-status.is-error{border-color:#e2b5b5;background:#fff7f7;color:#873b3b}
.yj-sta-quiz-area{display:grid;gap:10px}.yj-sta-quiz-empty{padding:20px 10px;text-align:center;border:1px dashed #cbdbe3;background:#fbfcfd;color:#7f939d;font-size:13px;line-height:1.6}
.yj-sta-quiz-loading{display:grid;justify-items:center;gap:7px;padding:26px 12px;border:1px solid #c9dce5;background:#f8fbfc;text-align:center}.yj-sta-quiz-loading i{width:24px;height:24px;border:3px solid #d4e5ec;border-top-color:#0d7da9;border-radius:50%;animation:yjStaQuizSpin .8s linear infinite}.yj-sta-quiz-loading strong{font-size:14px;color:#155d7d}.yj-sta-quiz-loading span{font-size:12px;color:#758b95}@keyframes yjStaQuizSpin{to{transform:rotate(360deg)}}
.yj-sta-quiz-set-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #bcd7e3;background:#eef8fb}.yj-sta-quiz-set-head>div{display:grid;gap:3px}.yj-sta-quiz-set-head strong{font-size:16px;color:#075d84}.yj-sta-quiz-set-head span{font-size:12px;line-height:1.45;color:#6e8490}.yj-sta-quiz-set-score{white-space:nowrap;font-size:12px;color:#466573;font-weight:500}
.yj-sta-quiz-weak-note{padding:9px 10px;border:1px solid #ead9a8;background:#fffaf0;color:#755b1c;font-size:12px;line-height:1.5}
.yj-sta-quiz-card{border:1px solid #d2e0e7;background:#fff}.yj-sta-quiz-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#f8fafb;border-bottom:1px solid #e2eaee}.yj-sta-quiz-card-meta span{font-size:13px;font-weight:600;color:#0b6c96}.yj-sta-quiz-card-meta em{font-size:12px;font-style:normal;color:#758a94}
.yj-sta-quiz-question{padding:13px 12px 10px;font-size:16px;font-weight:600;line-height:1.6;color:#163d50}
.yj-sta-quiz-options{display:grid;gap:7px;padding:0 11px 11px}.yj-sta-quiz-option{display:grid;grid-template-columns:18px 22px 1fr;align-items:start;gap:4px;padding:9px 9px;border:1px solid #d8e3e8;background:#fff;cursor:pointer;font-size:14px;line-height:1.5;color:#355969}.yj-sta-quiz-option:hover{background:#f6fbfd;border-color:#a9cad8}.yj-sta-quiz-option input{margin:3px 0 0}.yj-sta-quiz-option-no{font-weight:600;color:#0a6d99}.yj-sta-quiz-option.is-correct{border-color:#6ebd95;background:#f0fbf5;color:#215e43}.yj-sta-quiz-option.is-wrong{border-color:#df9a9a;background:#fff3f3;color:#7f3e3e}
.yj-sta-quiz-check-row{display:flex;align-items:center;gap:8px;padding:0 11px 11px}.yj-sta-quiz-check{height:36px;min-width:88px;border:1px solid #0b7ca8;background:#0b709c;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.yj-sta-quiz-check:disabled{opacity:.72;cursor:default}.yj-sta-quiz-inline-msg{font-size:12px;color:#9a5f18}
.yj-sta-quiz-result{margin:0 11px 12px;padding:11px 12px;border-left:3px solid #1680ac;background:#f3f9fb}.yj-sta-quiz-card.is-correct .yj-sta-quiz-result{border-left-color:#34956a;background:#f2fbf6}.yj-sta-quiz-card.is-wrong .yj-sta-quiz-result{border-left-color:#c75c5c;background:#fff7f7}.yj-sta-quiz-result-title{font-size:14px;font-weight:600;color:#174c63;margin-bottom:5px}.yj-sta-quiz-explanation{font-size:14px;line-height:1.65;color:#365c6d}.yj-sta-quiz-evidence{display:grid;gap:2px;margin-top:8px;padding-top:7px;border-top:1px solid #dce8ed;font-size:12px;color:#708690}.yj-sta-quiz-evidence strong{color:#235e79}
.yj-sta-quiz-footnote{margin-top:10px;font-size:11px;line-height:1.5;color:#84969e}
@media(max-width:620px){.yj-sta-quiz-actions{grid-template-columns:1fr}.yj-sta-quiz-set-head{display:grid}.yj-sta-quiz-set-score{white-space:normal}.yj-sta-quiz-option{font-size:13px}}


/* V1.2.12 — Bunny PDF 읽기 전용 Secure Viewer
   수강생용 안내문은 제거하고, 브라우저 PDF 툴바 자체를 화면 밖으로 올려 숨긴다.
   PDF 본문은 스크롤 가능하며 페이지 이동은 YJ 이전/다음 버튼으로 유지한다. */
.yj-learning-book-stage.yj-bunny-readonly{
  position:relative;
  overflow:hidden;
  padding:0;
  height:76vh;
  min-height:620px;
  background:#fff;
}
.yj-learning-book-stage.yj-bunny-readonly .yj-learning-book-pdf{
  display:block;
  position:absolute;
  left:0;
  top:-104px;
  width:100%;
  height:calc(100% + 104px);
  min-height:724px;
  border:0;
  background:#fff;
}
.yj-learning-book-stage.yj-bunny-readonly + .yj-learning-book-note{display:none!important}
@media(max-width:600px){
  .yj-learning-book-stage.yj-bunny-readonly{height:68vh;min-height:420px}
  .yj-learning-book-stage.yj-bunny-readonly .yj-learning-book-pdf{top:-88px;height:calc(100% + 88px);min-height:508px}
}


/* =========================================================
   V1.2.13 — 사용자 확정 재배치
   상단: 동영상(좌) + 교재 1쪽(우)
   하단 전체폭: 강의목록 / 질문하기 / 답변보기 / 필수문제3 / 기출문제 / 약점문제
========================================================= */
body.yj-learning-clean-screen .yj-learning-six-tabs{
  width:100%!important;
  max-width:none!important;
  clear:both!important;
  margin:10px 0 0!important;
}
body.yj-learning-clean-screen .yj-learning-six-tabs .yj-learning-tabs-nav{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  width:100%!important;
}
body.yj-learning-clean-screen .yj-learning-six-tabs .yj-learning-tabs-btn{
  min-width:0!important;
  min-height:46px!important;
  padding:0 6px!important;
  font-size:14px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-learning-lectures-panel{padding:0!important;background:#fff!important}
body.yj-learning-clean-screen .yj-learning-lecture-slot{width:100%!important;min-width:0!important;overflow:visible!important}
body.yj-learning-clean-screen .yj-learning-lecture-slot>.yj-learning-empty{display:none!important}
body.yj-learning-clean-screen .yj-learning-lecture-slot .yj-sta-relocated-lecture-panel,
body.yj-learning-clean-screen .yj-learning-lecture-slot .yj-wc-dashboard-curriculum,
body.yj-learning-clean-screen .yj-learning-lecture-slot .yj-wc-curriculum{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  overflow:visible!important;
  box-shadow:none!important;
}

/* 원래 강의목록이 있던 오른쪽 칸을 교재 칸으로 사용 */
body.yj-learning-clean-screen .yj-top-book-column{
  min-width:0!important;
  width:100%!important;
  align-self:stretch!important;
  height:100%!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.yj-learning-clean-screen .yj-top-book-panel{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #d7e2e7!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-toolbar{
  flex:0 0 44px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 44px!important;
  gap:0!important;
  align-items:center!important;
  margin:0!important;
  border-bottom:1px solid #d7e2e7!important;
  background:#f8fafb!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-status{
  min-width:0!important;
  padding:0 8px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  color:#405d6b!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav{
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:#0b6f9c!important;
  font-size:28px!important;
  line-height:1!important;
  cursor:pointer!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav:first-child{border-right:1px solid #d7e2e7!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav:nth-of-type(2){border-left:1px solid #d7e2e7!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-zoom{display:none!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly{
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#eef2f4!important;
  border:0!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly .yj-learning-book-pdf{
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:-104px!important;
  width:100%!important;
  height:calc(100% + 104px)!important;
  min-height:0!important;
  border:0!important;
  background:#fff!important;
  pointer-events:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-image{
  display:none;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  object-fit:contain!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-note{display:none!important}

/* 3가지 AI 문제 모드는 하단 탭 각각에서 하나의 생성 버튼만 노출 */
body.yj-learning-clean-screen .yj-learning-six-tabs .yj-sta-quiz-actions{grid-template-columns:1fr!important}
body.yj-learning-clean-screen .yj-learning-six-tabs .yj-sta-quiz-generate{justify-content:center!important}

@media(max-width:900px){
  body.yj-learning-clean-screen .yj-learning-six-tabs .yj-learning-tabs-nav{grid-template-columns:repeat(3,1fr)!important}
  body.yj-learning-clean-screen .yj-top-book-column{min-height:420px!important}
}
@media(max-width:560px){
  body.yj-learning-clean-screen .yj-learning-six-tabs .yj-learning-tabs-nav{grid-template-columns:repeat(2,1fr)!important}
  body.yj-learning-clean-screen .yj-learning-six-tabs .yj-learning-tabs-btn{font-size:13px!important}
  body.yj-learning-clean-screen .yj-top-book-column{min-height:360px!important}
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly .yj-learning-book-pdf{top:-88px!important;height:calc(100% + 88px)!important}
}


/* =========================================================
   V1.2.16 - 우측 교재 1쪽 보기 네비게이션 복구
   - < / >를 교재 좌우 중앙에 항상 오버레이
   - 브라우저 PDF 내부 편집/주석 영역은 계속 클릭 불가
   - 페이지 상태는 하단 중앙 작은 배지로 표시
========================================================= */
body.yj-learning-clean-screen .yj-top-book-panel{position:relative!important;overflow:hidden!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-toolbar{
  position:absolute!important;
  inset:0!important;
  z-index:40!important;
  width:100%!important;
  height:100%!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 56px!important;
  align-items:center!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  pointer-events:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav{
  position:relative!important;
  z-index:42!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  height:74px!important;
  min-height:74px!important;
  margin:0 5px!important;
  padding:0!important;
  border:1px solid rgba(66,104,122,.26)!important;
  border-radius:5px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 2px 10px rgba(20,52,66,.10)!important;
  color:#0b6f9c!important;
  font-size:38px!important;
  font-weight:400!important;
  line-height:1!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  opacity:.92!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-next{justify-self:end!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-prev{justify-self:start!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav:hover{background:#fff!important;opacity:1!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav:disabled{opacity:.22!important;cursor:default!important}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-status{
  position:absolute!important;
  left:50%!important;
  bottom:9px!important;
  transform:translateX(-50%)!important;
  z-index:43!important;
  min-width:0!important;
  max-width:72%!important;
  padding:5px 10px!important;
  border:1px solid rgba(91,121,135,.20)!important;
  border-radius:4px!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:0 1px 6px rgba(22,49,62,.08)!important;
  color:#496570!important;
  font-size:11px!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  pointer-events:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly{
  flex:1 1 100%!important;
  height:100%!important;
  min-height:0!important;
}
@media(max-width:700px){
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-toolbar{grid-template-columns:46px minmax(0,1fr) 46px!important}
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav{width:38px!important;height:62px!important;min-height:62px!important;margin:0 4px!important;font-size:32px!important}
}


/* =========================================================
   V1.2.17 - PDF.js 1페이지 직접 렌더링 안정화
   - 브라우저 PDF 플러그인 대신 현재 페이지 canvas만 표시
   - 좌우 화살표는 항상 YJ 오버레이가 담당
========================================================= */
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  padding:6px!important;
  background:#e9eef1!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs .yj-learning-book-pdf{
  display:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-canvas{
  display:none;
  flex:0 0 auto!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  background:#fff!important;
  box-shadow:0 1px 7px rgba(23,48,60,.14)!important;
  pointer-events:none!important;
  user-select:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs .yj-learning-book-empty{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:2!important;
  width:min(86%,320px)!important;
  padding:14px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid #d9e3e8!important;
  color:#6a808a!important;
}

/* =========================================================
   V1.2.18 - 통합학습실 최종 배치
   상단: 동영상 + 교재
   동영상 아래: 제어판
   하단 좌: 강의목록/질의응답/필수문제/주관식문제/약점문제
   하단 우: 필수암기사항 정리
========================================================= */
body.yj-learning-clean-screen .yj-learning-master-layout{
  display:grid!important;
  grid-template-columns:minmax(0,2.65fr) minmax(280px,1fr)!important;
  gap:12px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  align-items:start!important;
}
body.yj-learning-clean-screen .yj-learning-left-col,
body.yj-learning-clean-screen .yj-learning-right-col{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  gap:0!important;
}
body.yj-learning-clean-screen .yj-learning-left-col > *,
body.yj-learning-clean-screen .yj-learning-right-col > *{
  min-width:0!important;
  max-width:100%!important;
}

/* 동영상 상단 칸은 기존 플레이어 비율/재생 기능을 건드리지 않음 */
body.yj-learning-clean-screen .yj-learning-left-col .yj-ld-bunny-player,
body.yj-learning-clean-screen .yj-learning-left-col .video-pane,
body.yj-learning-clean-screen .yj-learning-left-col .lesson-video,
body.yj-learning-clean-screen .yj-learning-left-col .ld-video,
body.yj-learning-clean-screen .yj-learning-left-col .wp-block-embed,
body.yj-learning-clean-screen .yj-learning-left-col .video-wrap,
body.yj-learning-clean-screen .yj-learning-left-col .player-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* 동영상 바로 아래 얇은 제어판 */
body.yj-learning-clean-screen .yj-video-controlbar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  min-height:42px!important;
  margin:7px 0 10px!important;
  padding:5px 7px!important;
  box-sizing:border-box!important;
  border:1px solid #aebbc1!important;
  border-radius:0!important;
  background:#fff!important;
  color:#23353d!important;
  font-size:13px!important;
  line-height:1.2!important;
}
body.yj-learning-clean-screen .yj-video-control-label{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:0 7px!important;
  font-size:13px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-video-rate-group{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
}
body.yj-learning-clean-screen .yj-video-controlbar button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  margin:0!important;
  padding:0 9px!important;
  border:1px solid #b8c3c8!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#273840!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-video-controlbar button:hover,
body.yj-learning-clean-screen .yj-video-controlbar button.is-active{
  border-color:#5f8fa5!important;
  background:#eef7fb!important;
  color:#075f89!important;
}
body.yj-learning-clean-screen .yj-video-auto-next{
  margin-left:2px!important;
}
body.yj-learning-clean-screen .yj-video-progress-text{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  margin-left:auto!important;
  padding:0 7px!important;
  color:#42616f!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-video-control-note{
  flex:1 1 100%!important;
  min-height:0!important;
  padding:0 4px!important;
  color:#6a7b83!important;
  font-size:11px!important;
  line-height:1.35!important;
}
body.yj-learning-clean-screen .yj-video-control-note:empty{display:none!important}
body.yj-learning-clean-screen .yj-learning-sync{
  flex:1 1 100%!important;
  display:block!important;
  width:100%!important;
  margin:1px 0 0!important;
  padding:7px 9px!important;
  box-sizing:border-box!important;
  border:1px solid #dce5e9!important;
  background:#f7f9fa!important;
  color:#536871!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.yj-learning-clean-screen .yj-learning-sync.is-ready{
  border-color:#9fcdb6!important;
  background:#f0faf5!important;
  color:#1f6b48!important;
  font-weight:600!important;
}

/* 하단 5개 탭 */
body.yj-learning-clean-screen .yj-learning-five-tabs{
  width:100%!important;
  max-width:none!important;
  clear:both!important;
  margin:0!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-nav{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  margin:0!important;
  border-left:1px solid #aebbc1!important;
  border-top:1px solid #aebbc1!important;
  background:#fff!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-btn{
  min-width:0!important;
  min-height:38px!important;
  margin:0!important;
  padding:0 5px!important;
  border:0!important;
  border-right:1px solid #aebbc1!important;
  border-bottom:1px solid #aebbc1!important;
  border-radius:0!important;
  background:#fff!important;
  color:#25363e!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-btn:hover,
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-btn.is-active{
  background:#eef5f8!important;
  color:#075f89!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-btn.is-sync-ready{
  box-shadow:inset 0 -3px 0 #55a77b!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-panel{
  display:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:15px!important;
  box-sizing:border-box!important;
  border:1px solid #d2dde2!important;
  border-top:0!important;
  border-radius:0!important;
  background:#fff!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-panel.is-active{
  display:block!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-lectures-panel{
  padding:0!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-sta-quiz-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
}
body.yj-learning-clean-screen .yj-learning-five-tabs .yj-sta-quiz-generate{
  justify-content:center!important;
}
body.yj-learning-clean-screen .yj-learning-qna-divider{
  margin:18px 0 10px!important;
  padding-top:14px!important;
  border-top:1px solid #dde6ea!important;
  color:#425760!important;
  font-size:13px!important;
  font-weight:600!important;
}

/* 강의목록: 제목과 '강의보기' 사이 진행 막대 */
body.yj-learning-clean-screen .yj-wc-step-list a[href]{
  align-items:center!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-wrap{
  display:inline-flex!important;
  flex:0 0 122px!important;
  align-items:center!important;
  gap:6px!important;
  margin:0 8px 0 auto!important;
  min-width:95px!important;
  max-width:122px!important;
  vertical-align:middle!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-track{
  position:relative!important;
  display:block!important;
  flex:1 1 auto!important;
  height:7px!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#dfe6e9!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-track > i{
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  display:block!important;
  width:0;
  border-radius:20px!important;
  background:#6e9fb5!important;
  transition:width .25s ease!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-wrap > b{
  flex:0 0 32px!important;
  color:#5d7079!important;
  font-size:10px!important;
  font-weight:500!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.yj-learning-clean-screen .yj-wc-step-action{
  flex:0 0 auto!important;
  margin-left:0!important;
}

/* 우측 교재 + 필수암기사항 */
body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-column{
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  overflow:visible!important;
}
body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-panel{
  width:100%!important;
  min-height:300px!important;
  box-sizing:border-box!important;
}
body.yj-learning-clean-screen .yj-memory-panel{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-height:270px!important;
  margin:10px 0 0!important;
  padding:7px!important;
  box-sizing:border-box!important;
  border:1px solid #aebbc1!important;
  border-radius:0!important;
  background:#f2f3f3!important;
}
body.yj-learning-clean-screen .yj-memory-generate{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #aebbc1!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#25363e!important;
  font-size:13px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
body.yj-learning-clean-screen .yj-memory-generate:hover{background:#eef5f8!important;color:#075f89!important}
body.yj-learning-clean-screen .yj-memory-generate:disabled{opacity:.55!important;cursor:default!important}
body.yj-learning-clean-screen .yj-memory-body{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:12px 7px 5px!important;
  overflow:auto!important;
  color:#344850!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.yj-learning-clean-screen .yj-memory-empty,
body.yj-learning-clean-screen .yj-memory-loading{
  color:#6a7a82!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.yj-learning-clean-screen .yj-memory-title{
  margin:0 0 8px!important;
  color:#25363e!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.yj-learning-clean-screen .yj-memory-body ol{
  margin:0!important;
  padding:0 0 0 20px!important;
}
body.yj-learning-clean-screen .yj-memory-body li{
  margin:0 0 7px!important;
  padding:0!important;
}
body.yj-learning-clean-screen .yj-memory-one-line{
  margin-top:10px!important;
  padding:9px!important;
  border:1px solid #cddde4!important;
  background:#fff!important;
  color:#304953!important;
}
body.yj-learning-clean-screen .yj-memory-one-line strong{
  display:block!important;
  margin-bottom:3px!important;
  color:#075f89!important;
  font-size:11px!important;
}

/* 주관식 모범답안 */
body.yj-learning-clean-screen .yj-sta-subjective-note{
  display:block!important;
  width:100%!important;
  min-height:100px!important;
  margin:12px 0 9px!important;
  padding:10px!important;
  box-sizing:border-box!important;
  resize:vertical!important;
  border:1px solid #cfdadd!important;
  border-radius:2px!important;
  background:#fff!important;
  color:#283b44!important;
  font:inherit!important;
  line-height:1.5!important;
}
body.yj-learning-clean-screen .yj-sta-model-toggle{
  min-height:34px!important;
  padding:0 13px!important;
  border:1px solid #92adba!important;
  background:#fff!important;
  color:#075f89!important;
  cursor:pointer!important;
}
body.yj-learning-clean-screen .yj-sta-model-answer{
  margin-top:10px!important;
  padding:12px!important;
  border:1px solid #c9dce5!important;
  background:#f5fafc!important;
  color:#30464f!important;
  line-height:1.55!important;
}
body.yj-learning-clean-screen .yj-sta-model-answer[hidden]{display:none!important}
body.yj-learning-clean-screen .yj-sta-model-answer strong{display:block!important;margin-bottom:5px!important;color:#075f89!important}
body.yj-learning-clean-screen .yj-sta-model-answer small{display:block!important;margin-top:7px!important;color:#6a7b83!important}

/* 팝업: 같은 플레이어 DOM을 이동시켜 재생상태를 최대한 유지 */
body.yj-video-popup-open{overflow:hidden!important}
body .yj-video-popup-layer{
  display:none;
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  box-sizing:border-box!important;
  background:rgba(8,18,24,.72)!important;
}
body .yj-video-popup-layer.is-open{display:flex!important}
body .yj-video-popup-card{
  position:relative!important;
  width:min(94vw,1180px)!important;
  max-height:94vh!important;
  padding:38px 10px 10px!important;
  box-sizing:border-box!important;
  background:#10181c!important;
  box-shadow:0 18px 70px rgba(0,0,0,.38)!important;
}
body .yj-video-popup-slot{
  width:100%!important;
  max-height:calc(94vh - 48px)!important;
}
body .yj-video-popup-slot > *{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body .yj-video-popup-close{
  position:absolute!important;
  right:7px!important;
  top:5px!important;
  z-index:4!important;
  width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:0!important;
  background:#fff!important;
  color:#18242a!important;
  font-size:22px!important;
  line-height:1!important;
  cursor:pointer!important;
}

@media(max-width:900px){
  body.yj-learning-clean-screen .yj-learning-master-layout{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-panel{
    height:560px!important;
    min-height:480px!important;
  }
  body.yj-learning-clean-screen .yj-memory-panel{min-height:210px!important}
  body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-nav{
    grid-template-columns:repeat(5,minmax(120px,1fr))!important;
    overflow-x:auto!important;
  }
  body.yj-learning-clean-screen .yj-learning-five-tabs .yj-learning-tabs-btn{font-size:12px!important}
}
@media(max-width:640px){
  body.yj-learning-clean-screen .yj-video-controlbar{gap:4px!important;padding:5px!important}
  body.yj-learning-clean-screen .yj-video-control-label{flex:1 1 100%!important;min-height:24px!important;padding:0 2px!important}
  body.yj-learning-clean-screen .yj-video-rate-group{flex:1 1 auto!important}
  body.yj-learning-clean-screen .yj-video-progress-text{margin-left:0!important}
  body.yj-learning-clean-screen .yj-lecture-progress-wrap{flex-basis:92px!important;max-width:92px!important;margin-right:4px!important}
  body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-panel{height:470px!important;min-height:410px!important}
  body .yj-video-popup-layer{padding:8px!important}
  body .yj-video-popup-card{width:98vw!important;max-height:96vh!important}
}


/* =========================================================
   V1.2.19 - 교재 확대 / 프레임 무여백 / 종료 요점정리 / 진도바 확대
========================================================= */
@media(min-width:901px){
  body.yj-learning-clean-screen .yj-learning-master-layout{
    grid-template-columns:minmax(0,2.05fr) minmax(340px,1fr)!important;
    gap:10px!important;
  }
}

/* 교재 페이지를 프레임 가장자리까지 사용 */
body.yj-learning-clean-screen .yj-top-book-panel,
body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-panel{
  padding:0!important;
  background:#fff!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs{
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  border:0!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-canvas{
  max-width:100%!important;
  max-height:100%!important;
  margin:0 auto!important;
  box-shadow:none!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-image{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  box-shadow:none!important;
}

/* 필수암기사항: 아주 옅은 청색 복습 카드 */
body.yj-learning-clean-screen .yj-memory-panel{
  background:#eef7fb!important;
  border-color:#bdd8e5!important;
}
body.yj-learning-clean-screen .yj-memory-generate{
  background:#f9fdff!important;
  border-color:#b7d4e1!important;
  color:#164d67!important;
}
body.yj-learning-clean-screen .yj-memory-body{
  background:#eef7fb!important;
  color:#314e5c!important;
}
body.yj-learning-clean-screen .yj-memory-one-line{
  background:#f8fcfe!important;
  border-color:#bfd9e5!important;
}

/* 강의목록 한 줄 배치: 제목 -> 큰 진도바 -> 강의보기 */
body.yj-learning-clean-screen .yj-wc-step-list a[href],
body.yj-learning-clean-screen .yj-wc-step-list a.yj-wc-step-link[href]{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body.yj-learning-clean-screen .yj-wc-step-list a[href] strong{
  min-width:0!important;
  flex:1 1 auto!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-wrap{
  display:inline-flex!important;
  flex:0 1 270px!important;
  width:270px!important;
  min-width:180px!important;
  max-width:300px!important;
  gap:8px!important;
  margin:0 8px 0 12px!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-track{
  height:10px!important;
  min-width:150px!important;
}
body.yj-learning-clean-screen .yj-lecture-progress-wrap > b{
  flex:0 0 34px!important;
  font-size:11px!important;
}
body.yj-learning-clean-screen .yj-wc-step-action{
  flex:0 0 76px!important;
  min-width:76px!important;
  margin:0!important;
  white-space:nowrap!important;
}
@media(max-width:1050px) and (min-width:701px){
  body.yj-learning-clean-screen .yj-lecture-progress-wrap{
    flex-basis:210px!important;
    width:210px!important;
    min-width:145px!important;
    margin-left:6px!important;
  }
  body.yj-learning-clean-screen .yj-lecture-progress-track{min-width:115px!important;}
}
@media(max-width:700px){
  body.yj-learning-clean-screen .yj-wc-step-list a[href],
  body.yj-learning-clean-screen .yj-wc-step-list a.yj-wc-step-link[href]{flex-wrap:wrap!important;}
  body.yj-learning-clean-screen .yj-lecture-progress-wrap{flex:1 1 180px!important;width:auto!important;min-width:140px!important;max-width:none!important;margin-left:auto!important;}
}


/* =========================================================
   V1.2.20 - 교재 프레임 동영상 높이 동기화 + 좌우 무여백
   - 데스크톱에서 교재 프레임 외곽 높이를 실제 동영상 플레이어 높이와 동일하게 사용
   - PDF는 비율을 유지한 cover 렌더링: 좌우 여백 없이 프레임 전체 사용
   - 좌우 이동 화살표/페이지 상태는 기존 오버레이 유지
========================================================= */
@media(min-width:901px){
  body.yj-learning-clean-screen .yj-learning-right-col .yj-top-book-panel,
  body.yj-learning-clean-screen .yj-top-book-panel{
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage,
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly,
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    align-items:center!important;
    justify-content:center!important;
    background:#fff!important;
  }
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-canvas{
    flex:0 0 auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    box-shadow:none!important;
  }
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-image{
    display:block;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    object-fit:cover!important;
    object-position:center center!important;
    box-shadow:none!important;
  }
  body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly .yj-learning-book-pdf{
    left:0!important;
    top:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }
}


/* =========================================================
   V1.2.21 - 분리형 팝업 / 안내강조 / 교재 +5% / 암기글자 확대
========================================================= */
@media(min-width:901px){
  body.yj-learning-clean-screen .yj-learning-master-layout{
    grid-template-columns:minmax(0,1.90fr) minmax(355px,1fr)!important;
    gap:10px!important;
  }
}
/* 강의-교재 진도 맞춤 안내: 미완료는 눈에 잘 띄는 옅은 적색 */
body.yj-learning-clean-screen .yj-learning-sync{
  padding:8px 10px!important;
  border-color:#e2aaa4!important;
  background:#fff4f2!important;
  color:#a33f3f!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.4!important;
}
body.yj-learning-clean-screen .yj-learning-sync.is-ready{
  border-color:#9fcdb6!important;
  background:#f0faf5!important;
  color:#1f6b48!important;
}
/* 필수암기사항 글자 약 +1.5px */
body.yj-learning-clean-screen .yj-memory-generate{font-size:14.5px!important;}
body.yj-learning-clean-screen .yj-memory-body{font-size:13.5px!important;line-height:1.58!important;}
body.yj-learning-clean-screen .yj-memory-empty,
body.yj-learning-clean-screen .yj-memory-loading{font-size:13.5px!important;line-height:1.58!important;}
body.yj-learning-clean-screen .yj-memory-title{font-size:14.5px!important;}
body.yj-learning-clean-screen .yj-memory-one-line strong{font-size:12.5px!important;}
/* 검정 분리막 제거용 - 동영상 영역 하단 장식/테두리만 제거 */
body.yj-learning-clean-screen .yj-video-column-clean{
  border-bottom:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
  box-shadow:none!important;
}
/* 분리창이 열린 동안 원래 자리는 같은 높이로 유지 */
body.yj-learning-clean-screen .yj-video-detached-placeholder{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #c9d7de!important;
  background:#f5f9fb!important;
  color:#526a75!important;
  text-align:center!important;
  gap:5px!important;
}
body.yj-learning-clean-screen .yj-video-detached-placeholder strong{font-size:14px!important;color:#274d5f!important;}
body.yj-learning-clean-screen .yj-video-detached-placeholder span{font-size:12px!important;}
/* Bunny iframe 위 상단 영역: 1클릭 재생/정지, 2클릭 분리창. 하단 기본 제어부는 그대로 클릭 가능 */
@media(min-width:901px){
  body.yj-learning-clean-screen .yj-video-gesture-layer{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:58px!important;
    z-index:24!important;
    background:transparent!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }
}
@media(max-width:900px){body.yj-learning-clean-screen .yj-video-gesture-layer{display:none!important;}}


/* =========================================================
   V1.2.22 - 보안형 동영상 전용 분리창 / 교재 2배 확대 / 60% 색상 전환
========================================================= */
/* 진도 안내: 60% 전에는 청색, 60%부터 붉은 계열 */
body.yj-learning-clean-screen .yj-learning-sync,
body.yj-learning-clean-screen .yj-learning-sync.is-ready{
  border-color:#a8c9d9!important;
  background:#f2f8fc!important;
  color:#22627e!important;
  font-weight:600!important;
}
body.yj-learning-clean-screen .yj-learning-sync.is-video-60,
body.yj-learning-clean-screen .yj-learning-sync.is-video-60.is-ready{
  border-color:#e3a39d!important;
  background:#fff2ef!important;
  color:#a73932!important;
  font-weight:700!important;
}
/* 본 페이지의 영상은 분리 재생 중에도 자리를 유지하고 화면만 숨김 */
body.yj-learning-clean-screen .yj-video-detached-placeholder{
  position:absolute!important;
  inset:0!important;
  z-index:28!important;
  height:auto!important;
  min-height:0!important;
  background:#f3f8fb!important;
}
/* 교재 더블클릭 가능 표시 */
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage{cursor:zoom-in!important;}


/* =========================================================
   V1.2.23 - 화면 정리 패치
   - 필수암기사항 글자 0.5px 축소
   - 교재 좌우 이동 버튼 소형화 / 다음(>) 버튼 우측 밀착
   - 교재 더블클릭 확대 제거
   - 제어판 아래 검정 분리막 공간 제거
========================================================= */
body.yj-learning-clean-screen .yj-memory-generate{font-size:14px!important;}
body.yj-learning-clean-screen .yj-memory-body{font-size:13px!important;line-height:1.58!important;}
body.yj-learning-clean-screen .yj-memory-empty,
body.yj-learning-clean-screen .yj-memory-loading{font-size:13px!important;line-height:1.58!important;}
body.yj-learning-clean-screen .yj-memory-title{font-size:14px!important;}
body.yj-learning-clean-screen .yj-memory-one-line strong{font-size:12px!important;}

/* 교재 페이지 이동 버튼: 작게, >는 우측 끝에 더 가깝게 */
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-toolbar{
  grid-template-columns:40px minmax(0,1fr) 40px!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav{
  width:32px!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  border-radius:3px!important;
  font-size:27px!important;
  box-shadow:0 1px 5px rgba(20,52,66,.08)!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-prev{
  justify-self:start!important;
  margin-left:2px!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-next{
  justify-self:end!important;
  margin-right:0!important;
  transform:translateX(1px)!important;
}

/* 교재 더블클릭 확대 기능 제거: 일반 커서 */
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage{
  cursor:default!important;
}

/* 제어판 아래 검정 막대가 나타나는 여백 자체를 제거 */
body.yj-learning-clean-screen .yj-video-controlbar{
  margin-bottom:0!important;
}
body.yj-learning-clean-screen .yj-video-column-clean,
body.yj-learning-clean-screen .yj-learning-left-col{
  background:#fff!important;
  border-bottom:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
}
body.yj-learning-clean-screen .yj-video-column-clean::before,
body.yj-learning-clean-screen .yj-video-column-clean::after,
body.yj-learning-clean-screen .yj-learning-left-col::before,
body.yj-learning-clean-screen .yj-learning-left-col::after,
body.yj-learning-clean-screen .yj-video-controlbar::before,
body.yj-learning-clean-screen .yj-video-controlbar::after{
  content:none!important;
  display:none!important;
}


/* =========================================================
   V1.2.24 - 교재 상단 전체표시 / 암기박스 분리 / 주메뉴 복원 보조
========================================================= */
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-readonly,
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-stage.yj-bunny-pdfjs{
  align-items:flex-start!important;
  justify-content:center!important;
  overflow:hidden!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-canvas{
  max-width:100%!important;
  max-height:100%!important;
  margin:0 auto!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-toolbar{
  grid-template-columns:36px minmax(0,1fr) 32px!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-nav{
  width:28px!important;
  height:46px!important;
  min-height:46px!important;
  font-size:25px!important;
}
body.yj-learning-clean-screen .yj-top-book-panel .yj-learning-book-next{
  justify-self:end!important;
  margin-right:-1px!important;
  transform:translateX(4px)!important;
}
body.yj-learning-clean-screen .yj-learning-right-col{overflow:visible!important;}
body.yj-learning-clean-screen .yj-memory-panel{
  position:relative!important;
  z-index:1!important;
  clear:both!important;
  margin:18px 0 0!important;
}
body.yj-learning-clean-screen .yj-learning-sync,
body.yj-learning-clean-screen .yj-learning-sync.is-video-60,
body.yj-learning-clean-screen .yj-learning-sync.is-video-60.is-ready{
  border-color:#a8c9d9!important;
  background:#f2f8fc!important;
  color:#22627e!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.4!important;
}
body.yj-learning-clean-screen .yj-learning-sync.is-ready{
  border-color:#9fcdb6!important;
  background:#f0faf5!important;
  color:#1f6b48!important;
  font-size:13px!important;
}


/* =========================================================
   V1.2.26 — 중복 교재뷰어 제거 안정화
   Bunny 통합교재가 우측 전용패널에 표시될 때
   과거 교재뷰어가 강의목록 아래에 다시 노출되는 현상을 방지한다.
   실제 우측 yj-learning-book-* 요소에는 적용되지 않는다.
========================================================= */
body.yj-learning-clean-screen [data-yj-legacy-book-hidden="1"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
