@charset "UTF-8";
/*
Theme Name: ChatTeacher Shell
Theme URI: https://chatteacher.co.kr
Description: ChatTeacher V9 UI - Tailwind CDN (Light default + Dark toggle)
Author: Brian
Version: 1.0.9-tailwind
Text Domain: chatteacher-shell
*/
html .ct-logo-white {
  display: block;
}

html .ct-logo-black {
  display: none;
}

html.dark .ct-logo-white {
  display: none;
}

html.dark .ct-logo-black {
  display: block;
}

body > main > section {
  border: 0px;
  padding: 0px !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Header */
#ct-header-child-select {
  max-width: 120px;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-right: 30px;
}

#ct-header-child-select-wrap {
  display: flex !important;
}

/* 다크모드에서 select option 가독성 보장 */
.dark select option {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* 가상 차트 배경  */
.ct-trend-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* 캔버스를 배경 느낌으로 */
#ct-trend-chart {
  display: block;
  width: 100%;
  height: 140px;
  opacity: 0.55; /* 배경처럼 살짝 흐리게 */
  filter: saturate(0.9);
}

/* 위에 얹는 레이어 (텍스트/버튼) */
.ct-trend-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none; /* 기본은 클릭 방해 안 하게 */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px;
}

/* 데이터 없을 때 배경 격자 느낌(선택) */
.ct-trend-stage.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px) 0 0/100% 20px, linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0/40px 100%;
  opacity: 0.35;
  pointer-events: none;
}

/* 버튼 */
button,
a {
  cursor: pointer;
}

/* 셀렉트 */
.ct-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  /* 여기 숫자를 조절하면 화살표가 좌우로 이동 */
  background-position: right 0.6rem center;
  padding-right: 2.2rem;
}

.dark .ct-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
}

.ct-select:focus,
.ct-select:focus-visible {
  border-color: rgb(var(--color-brand-500));
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-brand-500), 0.15);
}

/* =====================================================
* 테마 
* ===================================================== */
/* 다크모드 대응(원하면 조절) */
html.dark .ct-trend-stage.is-empty::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0/100% 20px, linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0/40px 100%;
}

/* ===== 선택됨 (라이트) ===== */
.ct-lang[data-active=true] {
  border-color: none;
}

/* ===== 다크 모드 ===== */
html.dark .ct-lang {
  background: none;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

html.dark .ct-highlight {
  background: #1f6d3a;
}

html.dark .ct-lang[data-active=true] {
  background: none; /* brand-500 */
  color: #ffffff;
  border-color: none;
}

/* =====================================================
* 홈페이지
* ===================================================== */
.home-keypoint .fa-regular {
  width: 52px;
  height: 52px;
}

.hero-visual-light {
  display: block;
}

.hero-visual-dark {
  display: none;
}

html.dark .hero-visual-light {
  display: none;
}

html.dark .hero-visual-dark {
  display: block;
}

.hero-badge-mobile {
  display: inline-flex;
}

.hero-badge-desktop {
  display: none;
}

@media (min-width: 640px) {
  .hero-badge-mobile {
    display: none;
  }
  .hero-badge-desktop {
    display: inline-flex;
  }
}
/* =====================================================
* 요금 보기 (상품)
* ===================================================== */
#plan-basic,
#plan-standard,
#plan-premium {
  scroll-margin-top: 70px;
  position: relative;
}

.plan-child-image {
  content: "";
  display: flex;
  align-items: center;
  justify-content: end;
  width: 129px;
  height: 60px;
  top: 10px;
  right: 0px;
  position: absolute;
  background-size: 100%;
  background-position: center;
  background-position-x: 0px;
  background-repeat: no-repeat;
}

.plan-child-basic {
  background-image: url(/wp-content/themes/chatteacher-shell/assets/img/child01.png);
}

.plan-child-standard {
  background-image: url(/wp-content/themes/chatteacher-shell/assets/img/child01.png);
}

.plan-child-premium {
  background-image: url(/wp-content/themes/chatteacher-shell/assets/img/child02.png);
}

/* =====================================================
* 첨삭페이지
* ===================================================== */
html.dark .ct-correct-card {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

#ct-routine-question-tts:disabled {
  cursor: not-allowed !important;
  opacity: 0.3 !important;
}

/* 첨삭 AI 오늘의 루틴 질문 */
.ct-routine-question,
#ct-routine-question {
  line-height: inherit;
  white-space: break-spaces;
  font-size: 16px;
}

/* Correct-result-card */
.card-result-correct {
  max-height: 500px;
  overflow-y: auto;
}

#ct-reading-book-image-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#ct-reading-book-image-area img {
  max-width: 500px;
}

/* 루틴이미지 */
#ct-routine-question-visual-loading {
  height: auto;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reading-book-story {
  width: 100%;
}

#ct-routine-question-visual-loading,
#ct-routine-question-visual,
.ct-today-visual {
  width: 100%;
  height: auto;
}

@media (min-width: 480px) {
  #ct-routine-question-visual-loading,
  #ct-routine-question-visual,
  .ct-today-visual {
    max-width: 400px;
  }
}
@media (min-width: 1024px) {
  #ct-routine-question-visual-loading,
  #ct-routine-question-visual,
  .ct-today-visual {
    max-width: 400px;
  }
}
/* Card */
.card-header-point {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid rgb(223, 223, 223) !important;
}

.dark .card-header-point {
  border-top: 1px solid rgba(71, 85, 105, 0.45) !important;
}

.ct-highlight {
  background: #aaebc1;
  padding: 2px 4px;
  border-radius: 6px;
  font-weight: 800;
}

.ct-highlight::after {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  background: #1e293b;
  color: white;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
  transform: translateY(120%);
  z-index: 50;
}

.ct-highlight:hover::after {
  display: none;
}

.result-area {
  display: flex;
  flex-direction: column;
}

.result-area .result-tag {
  border-radius: 10px;
  white-space: normal;
  word-break: auto-phrase;
}

.ct-trial-intro,
.ct-trial-quota {
  display: none;
}

/* ===== 한국 영어 토글 버튼 ===== */
.ct-lang {
  padding: 0px 5px !important;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
}
.ct-lang img {
  width: 20px !important;
  height: 20px !important;
}

.ct-card-collapsible,
.ct-card-detail {
  width: 100%;
}

.correct-card .ct-card-toggle-icon {
  transition: transform 0.2s ease;
}

.correct-card.is-open .ct-card-toggle-icon {
  transform: rotate(180deg);
}

.ct-card-new {
  animation: highlight 1s ease;
}

@keyframes highlight {
  0% {
    background: #fef3c7;
  }
  100% {
    background: transparent;
  }
}
html.dark .ct-card-new {
  animation: highlight-dark 1s ease;
}

@keyframes highlight-dark {
  0% {
    background: #3f3f46;
  }
  100% {
    background: transparent;
  }
}
#ct-detail-image {
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  image-orientation: from-image;
}

.notice-chat-list:hover {
  background-color: #edeeef;
}

.dark .notice-chat-list:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* =====================================================
* 대시보드
* ===================================================== */
/* 가격 페이지  */
.page-price .price-basic .price-card,
.page-price .price-standard .price-card,
.page-price .price-premium .price-card {
  min-height: 140px !important;
  font-weight: normal;
}

#ct-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

#ct-lang-ko,
#ct-lang-en {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
#ct-lang-ko .emoji,
#ct-lang-en .emoji {
  width: 16px;
  height: 16px;
}

/* Dashboard Plan Visibility  */
/* Basic: 전부 숨김 */
.ct-plan-basic #ct-history-report .export-exclude {
  display: none;
}

.ct-plan-basic .ct-standard-plus,
.ct-plan-basic .ct-premium-only {
  display: none !important;
}

/* Standard: Premium 전용만 숨김 */
.ct-plan-standard .ct-premium-only {
  display: none !important;
}

.ct-upgrade-hint {
  border: 1px dashed #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  text-align: center;
  font-weight: 700;
}

.ct-plan-premium:not(.ct-trial) .ct-card.ct-upgrade-hint {
  display: none;
}

/* =====================================================
* 헤더
* ===================================================== */
.header-my-squirrel {
  padding-left: 45px;
  position: relative;
}

.header-my-squirrel-icon {
  position: absolute;
  top: -9px;
  left: -2px;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.plan-badge {
  position: relative;
  padding-left: 26px;
  height: 30px;
}

.plan-badge::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-image: url(/wp-content/themes/chatteacher-shell/assets/img/user-regular-full.svg);
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
}

/* =====================================================
* 히스토리 디테일 
* ===================================================== */
.ct-history-loading {
  display: flex;
  gap: 8px;
}

/* 첨삭 이미지 */
.ct-detail-header {
  display: flex;
  gap: 12px;
}

/* 차트 부모 컨테이너 */
.ct-radar-stage {
  display: flex;
  justify-content: center;
  height: 300px;
}

.ct-trend-stage {
  display: flex;
  justify-content: center;
  height: 200px;
}

.ct-chart-box {
  position: relative;
  width: 100%;
  height: 260px; /* 기본 높이 */
}

/* 확대/축소 대응 */
@media (max-width: 768px) {
  .ct-chart-box {
    height: 220px;
  }
}
/* canvas는 무조건 부모 기준 100% */
.ct-chart-box canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* =====================================================
* 모달 
* ===================================================== */
.modal {
  display: none; /* 기본적으로 숨김 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* 배경 어둡게 */
  padding-top: 60px;
}
.modal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.modal .close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal .close-btn:hover,
.modal .close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#ct-password-confirm-modal {
  z-index: 100;
}

.ct-child-level-modal-wrapper {
  height: 90%;
  overflow-y: auto;
}

/* ========================================
  * 공지사항 스타일
  * ====================================== */
.ct-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid rgb(226, 232, 240);
  background: #fff;
  color: rgb(51, 65, 85);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ct-pagination .page-numbers.current {
  background: rgb(14, 165, 233);
  border-color: rgb(14, 165, 233);
  color: #fff;
}

.ct-pagination .page-numbers:hover {
  background: rgb(248, 250, 252);
}

.dark .ct-pagination .page-numbers {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.dark .ct-pagination .page-numbers.current {
  background: rgb(14, 165, 233);
  border-color: rgb(14, 165, 233);
  color: #fff;
}

.dark .ct-pagination .page-numbers:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =====================================================
* 첨삭효과 이벤트
* ===================================================== */
/* 폭죽효과 */
.score-pop {
  animation: pop 0.25s ease-out;
}

@keyframes pop {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}
/* Legend overlay 90점 이상 오로라 효과 */
.ct-legend-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ct-legend-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 22%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.78) 100%);
  animation: ctSpotFadeIn 220ms ease-out forwards;
}

.ct-legend-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: translateY(6px) scale(0.98);
  opacity: 0;
  animation: ctLegendPop 420ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.ct-legend-crown {
  font-size: 44px;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
  animation: ctCrownFloat 1100ms ease-in-out infinite;
}

.ct-legend-title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.ct-legend-sub {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.ct-legend-pill {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 800;
}

@keyframes ctLegendPop {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes ctSpotFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ctCrownFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}
/* =====================================================
* 첨삭 페이지
* ===================================================== */
#ct-routine-question-visual-btn {
  min-height: 32px;
}

#correct-result-box {
  scroll-margin-top: 90px;
}

.card-score {
  padding-left: 70px;
  position: relative;
}

.chat-character {
  position: absolute;
  top: -39px;
  left: -25px;
  display: inline-block;
  width: 100px;
  height: 100px;
  background-image: url("/wp-content/themes/chatteacher-shell/assets/img/chat-character.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* ✅ 투명 PNG 뒤에 회색 배경이 깔리지 않게 */
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =====================================================
* 첨삭결과 공유
* ===================================================== */
/* 틀린 원문 */
.ct-fix-before {
  color: #dc2626; /* red-600 */
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 4px;
}

/* 수정된 문장 */
.ct-fix-after {
  background-color: #dcfce7; /* green-100 */
  color: #166534; /* green-800 */
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
}

/* =====================================================
* 아이콘
* ===================================================== */
.fa-regular {
  width: 24px;
  height: 24px;
  display: inline-block;
  color: white;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.pen-to-square-regular {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/pen-to-square-regular-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/pen-to-square-regular-full.svg") no-repeat center/contain;
}

.thumbs-up-regular {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/thumbs-up-regular-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/thumbs-up-regular-full.svg") no-repeat center/contain;
}

.arrow-up-right-dots-solid {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/arrow-up-right-dots-solid-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/arrow-up-right-dots-solid-full.svg") no-repeat center/contain;
}

.arrow-rotate-right-solid {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/arrow-rotate-right-solid-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/arrow-rotate-right-solid-full.svg") no-repeat center/contain;
}

.user-regular {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/user-regular-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/user-regular-full.svg") no-repeat center/contain;
}

.camera-regular {
  background-color: #334155; /* 이 값만 바꾸면 색상 변경됨 */
  -webkit-mask: url("/wp-content/themes/chatteacher-shell/assets/img/camera-regular-full.svg") no-repeat center/contain;
  mask: url("/wp-content/themes/chatteacher-shell/assets/img/camera-regular-full.svg") no-repeat center/contain;
}

@media print {
  footer,
  #colophon,
  #footer,
  #ct-input,
  #ct-text-hint,
  #ct-hint,
  #ct-lang-hint,
  #ct-routine-hint,
  #ct-text-num,
  #ct-header-add-child,
  .site-footer,
  .correct-button-group,
  .chat-notice,
  .menu-middle,
  .menu-right,
  .child-menu-right,
  .correct-language,
  .ct-lang {
    display: none !important;
  }
  /* ========================================
   * 1) 페이지 기본값
   * ====================================== */
  @page {
    size: auto;
    margin: 14mm;
  }
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif !important;
  }
  html.dark .ct-logo-black {
    display: none !important;
  }
  html .ct-logo-white {
    display: block !important;
  }
  /* ========================================
   * 2) 다크모드 강제 해제
   * ====================================== */
  .dark,
  [data-theme=dark],
  .dark *,
  [data-theme=dark] * {
    color: #111827 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  /* 다크 배경 계열 강제 제거 */
  .bg-black,
  .bg-slate-200,
  .bg-slate-900,
  .bg-slate-950,
  .bg-gray-900,
  .bg-zinc-900,
  .bg-neutral-900,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/70,
  .bg-slate-800,
  .bg-slate-700 {
    background: #ffffff !important;
    color: #111827 !important;
  }
  /* 텍스트 색 보정 */
  .text-white,
  .text-white\/90,
  .text-white\/80,
  .text-white\/70,
  .text-white\/60,
  .text-slate-100,
  .text-slate-200,
  .text-slate-300,
  .text-slate-400,
  .text-slate-600 {
    color: #111827 !important;
  }
  /* ========================================
   * 3) 전체 레이아웃 단순화
   * ====================================== */
  body {
    overflow: visible !important;
  }
  main,
  section,
  article,
  .site,
  .site-main,
  .container,
  .wrap,
  .content,
  .inner,
  .page,
  .page-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* grid/flex가 인쇄에서 깨지는 경우 완화 */
  .grid {
    display: block !important;
  }
  .flex {
    flex-wrap: wrap !important;
  }
  /* ========================================
   * 4) 숨겨야 할 공통 UI
   * ====================================== */
  header {
    display: block;
    position: relative;
  }
  .history-detail-header,
  footer {
    display: none !important;
  }
  /* input류는 인쇄용 가치 낮으면 숨김 */
  input,
  select,
  textarea {
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #111827 !important;
  }
  /* ========================================
   * 5) print 전용 유틸
   * ====================================== */
  .print-only {
    display: block !important;
  }
  .screen-only {
    display: none !important;
  }
  .print-break-before {
    -moz-column-break-before: page !important;
         break-before: page !important;
    page-break-before: always !important;
  }
  .print-break-after {
    -moz-column-break-after: page !important;
         break-after: page !important;
    page-break-after: always !important;
  }
  .print-break-avoid {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  /* ========================================
   * 6) 링크 / 이미지 / 표 / 코드
   * ====================================== */
  a,
  a:visited {
    color: #111827 !important;
    text-decoration: none !important;
  }
  img,
  svg,
  canvas,
  video {
    max-width: 100% !important;
    height: auto !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    -moz-column-break-inside: auto !important;
         break-inside: auto !important;
    page-break-inside: auto !important;
  }
  thead {
    display: table-header-group !important;
  }
  tr,
  td,
  th {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
    border-color: #d1d5db !important;
  }
  pre,
  blockquote,
  code {
    white-space: pre-wrap !important;
    word-break: break-word !important;
  }
  /* ========================================
   * 7) 숨김/접힘 상태 강제 노출 보정
   * ====================================== */
  .hidden[data-print-show=true],
  [hidden][data-print-show=true] {
    display: block !important;
  }
  /* accordion/tab 안 내용 인쇄 허용용 */
  [aria-hidden=true][data-print-show=true] {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  /* ========================================
   * 8) 카드 / 박스 / 경계선
   * ====================================== */
  .rounded-2xl,
  .rounded-3xl,
  .shadow,
  .shadow-sm,
  .shadow-md,
  .shadow-lg,
  .shadow-soft {
    box-shadow: none !important;
  }
  .border,
  .border-slate-200,
  .border-slate-300,
  .border-white\/10 {
    border-color: #d1d5db !important;
  }
  .bg-white,
  .bg-slate-50,
  .bg-slate-100,
  .bg-indigo-50,
  .bg-sky-50,
  .bg-brand-50 {
    background: #ffffff !important;
    color: #111827 !important;
  }
  /* ========================================
   * 9) 페이지 제목/본문 가독성
   * ====================================== */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #111827 !important;
    -moz-column-break-after: avoid !important;
         break-after: avoid !important;
    page-break-after: avoid !important;
  }
  p,
  li,
  dt,
  dd,
  span,
  div {
    color: #111827 !important;
  }
  /* ========================================
   * 10) 챗선생 공통 차트/리포트 보정
   * ====================================== */
  .ct-chart-wrap,
  .ct-report-card,
  .ct-full-card,
  .ct-summary-card,
  .ct-score-card,
  .ct-growth-card {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  /* 탭 버튼 영역 숨김 */
  .ct-detail-tab,
  .ct-tabs,
  .ct-segmented,
  .ct-filter-bar {
    display: none !important;
  }
  /* 탭 패널은 필요시 data-print-show=true로 강제 노출 */
  #ct-panel-correction[data-print-show=true],
  #ct-panel-full[data-print-show=true],
  #ct-panel-stats[data-print-show=true] {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  /* Custom*/
  #ct-card {
    margin-top: 12px;
  }
}
/* ========================================
   * 공지사항 페이지
   * ====================================== */
.ct-notice-content h1 {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 800;
  margin: 1.25em 0 0.6em;
}

.ct-notice-content h2 {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 1.15em 0 0.55em;
}

.ct-notice-content h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 1em 0 0.5em;
}

.ct-notice-content h4 {
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 700;
  margin: 0.95em 0 0.45em;
}

.ct-notice-content p {
  margin: 0.85em 0;
}

.ct-notice-content ul,
.ct-notice-content ol {
  margin: 0.85em 0 0.85em 1.25em;
  padding-left: 1.1em;
}

.ct-notice-content ul {
  list-style: disc;
}

.ct-notice-content ol {
  list-style: decimal;
}

.ct-notice-content li {
  margin: 0.35em 0;
}

.ct-notice-content blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 4px solid rgb(203, 213, 225);
  color: rgb(71, 85, 105);
}

.dark .ct-notice-content blockquote {
  border-left-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.ct-notice-content a {
  text-decoration: underline;
}

.ct-notice-content strong {
  font-weight: 700;
}

/* ========================================
  * 대시보드 스캐쥴
  * ====================================== */
.learning-calendar-grid-container {
  display: block;
  overflow-x: auto;
  padding: 2px;
}

/* ========================================
  * 학습하러가기 메인 스피너
  * ====================================== */
#ct-global-learning-loading {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(8px);
}

#ct-global-learning-loading.is-active {
  display: flex;
}

.ct-global-learning-loading__box {
  min-width: 240px;
  max-width: 320px;
  padding: 26px 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.ct-global-learning-loading__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 4px solid #dbeafe;
  border-top-color: #38bdf8;
  animation: ctLearningSpin 0.8s linear infinite;
}

.ct-global-learning-loading__title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.ct-global-learning-loading__desc {
  margin-top: 6px;
  font-size: 14px;
  color: #64748b;
}

@keyframes ctLearningSpin {
  to {
    transform: rotate(360deg);
  }
}
.dark #ct-global-learning-loading {
  background: rgba(15, 23, 42, 0.78);
}

.dark .ct-global-learning-loading__box {
  background: #0f172a;
  color: #f8fafc;
}

.dark .ct-global-learning-loading__title {
  color: #f8fafc;
}

.dark .ct-global-learning-loading__desc {
  color: #cbd5e1;
}/*# sourceMappingURL=style.css.map */