/* Light surfaces for study pages; do not alter progress values or course data. */
body[data-site-theme] .ant-layout-header {
  background:#f1f5f8!important;color:#23384b!important;
  box-shadow:none!important;border-bottom:1px solid #c5d1dc!important;
}
body[data-site-theme] .ant-layout-header .text,
body[data-site-theme] .ant-layout-header .header-home,
body[data-site-theme] .ant-layout-header .login-text,
body[data-site-theme] .ant-layout-header .login-btn,
body[data-site-theme] .ant-layout-header .header-content {
  color:#23384b!important;text-shadow:none!important;
}
body[data-site-theme] .ant-layout-header .text {
  background:transparent!important;box-shadow:none!important;border-color:transparent!important;
}
body[data-site-theme] .ant-layout-header .highlight {color:#105a78!important;font-weight:700;}
body[data-site-theme="dark"],body[data-site-theme="dashboard"] {background:#f4f7fa!important;color:#24384b!important;}
body[data-site-theme="dark"] .dash,body[data-site-theme="dark"] .mobile-dash,
body[data-site-theme="dark"] .ant-layout-content,
body[data-site-theme="dashboard"] .ant-layout-content {
  background:#f4f7fa!important;color:#24384b!important;
}
body[data-site-theme="dark"] .edit-personal-page,
body[data-site-theme="dark"] .personal-course-list,
body[data-site-theme="dark"] .mobile-edit-personal-page,
body[data-site-theme="dark"] .mobile-personal-course-list,
body[data-site-theme="dashboard"] .edit-personal-page,
body[data-site-theme="dashboard"] .personal-course-list {
  background:#fff!important;color:#24384b!important;border:1px solid #c7d7e1!important;box-shadow:none!important;
}
.learning-dark,.personal-overview.overview-dark {
  background:#f3f8fa!important;color:#24384b!important;border-color:#c4d6df!important;
}
.learning-dark h2,.learning-dark h3,.learning-dark p,.learning-dark strong,.learning-dark small,
.learning-dark .learning-enter,.learning-dark .console-index,.overview-dark h1,.overview-dark h2,
.overview-dark dt,.overview-dark dd,.overview-dark span,.overview-dark small,.overview-dark strong {
  color:#234255!important;text-shadow:none!important;
}
.overview-dark .overview-identity,.overview-dark .overview-metrics>div {
  background:#fff!important;border-color:#c7d7e1!important;box-shadow:none!important;
}
.learning-dark header,.learning-dark article {border-color:#bacfd9!important;}
.learning-dark article {background:#fff!important;border-radius:4px;}
.tech-dark {--tech:#276f69;--light:#88b6ae;--track:#e3eceb;--cut:#fff;}
.tech-dark .tech-fill,.tech-dark .tech-rail {filter:none!important;}
.tech-dark .tech-rail i {border-color:#78a39e!important;}
.hc-dark .hc-entry {background:#eef5f8!important;color:#24384b!important;border-color:#c5d6e0!important;}
.hc-dark .hc-entry:after {background:linear-gradient(transparent,#f2f7fa)!important;}
.hc-dark .hc-name,.hc-dark .hc-go,.hc-dark .hc-number {color:#24485b!important;text-shadow:none!important;}
.hc-dark .hc-cover {opacity:.2!important;}

@media print {
  @page {size:A4;margin:12mm;}
  html,body,body[data-site-theme],#root,.ant-layout,.ant-layout-content {background:#fff!important;color:#111!important;}
  body[data-site-theme] #root * {
    color:#111!important;text-shadow:none!important;box-shadow:none!important;
    background-color:transparent!important;background-image:none!important;
    opacity:1!important;backdrop-filter:none!important;
  }
  .ant-layout-header {position:static!important;background:#fff!important;height:auto!important;min-height:0!important;}
  .ant-layout-content {margin-top:0!important;}
  .personal-info.personal-theme,.mobile-personal-info.personal-theme,.person-course-info,
  .mobile-person-course-info,.course-list-page,.mobile-course-list-page {
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  }
  .personal-overview,.learning-center,.learning-console article,.learning-board article,
  .learning-shelf article,.learning-editorial article,.learning-orbits article {
    background:#fff!important;border-color:#888!important;
  }
  article,tr,.overview-identity,.overview-duration,.overview-completion {break-inside:avoid;page-break-inside:avoid;}
  .learning-table-wrap {overflow:visible!important;}
  .learning-center table {width:100%!important;min-width:0!important;table-layout:fixed!important;}
  .learning-center th,.learning-center td {overflow-wrap:anywhere;white-space:normal!important;border-color:#888!important;}
  .tech-progress {--tech:#333;--light:#333;--track:#eee;--cut:#fff;filter:none!important;}
  .tech-fill {stroke:#333!important;filter:none!important;}
  .tech-track,.tech-rim,.tech-inner {stroke:#999!important;}
  .tech-rail i {border:1px solid #777!important;clip-path:none!important;transform:none!important;}
  .tech-rail b {background:#444!important;border-top:5px solid #444!important;box-sizing:border-box;}
  .tech-progress strong,.learning-progress-text {font-weight:700!important;color:#000!important;}
  .learning-cover {filter:grayscale(1) contrast(1.1)!important;}
  .learning-enter,.ant-pagination,.profile-archive-actions,.learning-page-note {display:none!important;}
}
/* Compact overview for screenshots and A4: never clip course records. */
.personal-overview{padding:12px;margin-bottom:10px;}
.personal-overview h1{font-size:20px;margin-bottom:8px;}
.personal-overview .overview-identity,.personal-overview .overview-metrics>div{padding:10px;}
.learning-center{padding:12px;}
.learning-center header{margin-bottom:10px;}
.learning-center h3{margin-bottom:5px;}
.learning-time{margin:2px 0 5px;}
.learning-dark .learning-console article,.learning-kanban .learning-board article{padding:10px;}
@media print {
 @page{size:A4;margin:8mm;}
 body[data-site-theme] #root .ant-layout-header{display:none!important;}
 body[data-site-theme] #root .personal-overview{padding:6px!important;margin:0 0 6px!important;font-size:10pt!important;}
 body[data-site-theme] #root .personal-overview h1{font-size:14pt!important;margin:0 0 5px!important;}
 body[data-site-theme] #root .overview-body{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;}
 body[data-site-theme] #root .overview-identity,body[data-site-theme] #root .overview-metrics>div{padding:5px!important;}
 body[data-site-theme] #root .overview-identity dl{gap:3px 6px!important;}
 body[data-site-theme] #root .overview-duration strong{font-size:19pt!important;}
 body[data-site-theme] #root .overview-metrics{gap:6px!important;}
 body[data-site-theme] #root .tech-ring{width:42px!important;height:42px!important;}
 body[data-site-theme] #root .tech-ring strong{font-size:11px!important;}
 body[data-site-theme] #root .learning-center{padding:6px!important;font-size:10pt!important;}
 body[data-site-theme] #root .learning-center header{margin-bottom:6px!important;}
 body[data-site-theme] #root .learning-center h2{font-size:14pt!important;margin:0!important;}
 body[data-site-theme] #root .learning-center h3{font-size:10pt!important;line-height:1.35!important;margin:0 0 4px!important;}
 body[data-site-theme] #root .learning-time{font-size:9pt!important;line-height:1.35!important;margin:2px 0 4px!important;}
 body[data-site-theme] #root .learning-console,
 body[data-site-theme] #root .learning-shelf,
 body[data-site-theme] #root .learning-orbits,
 body[data-site-theme] #root .learning-schedule{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
 body[data-site-theme] #root .learning-board>section{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:6px!important;margin-bottom:6px!important;}
 body[data-site-theme] #root .learning-console article,
 body[data-site-theme] #root .learning-shelf article,
 body[data-site-theme] #root .learning-orbits article,
 body[data-site-theme] #root .learning-schedule article,
 body[data-site-theme] #root .learning-board article{padding:6px!important;min-width:0!important;gap:4px!important;}
 body[data-site-theme] #root .learning-cover{max-height:45px!important;width:72px!important;height:45px!important;object-fit:cover!important;}
 body[data-site-theme] #root .learning-center th,body[data-site-theme] #root .learning-center td{font-size:9pt!important;padding:4px!important;}
 body[data-site-theme] #root .console-percent{font-size:13pt!important;}
 body[data-site-theme] #root .tech-bar{max-width:135px!important;gap:4px!important;}
 body[data-site-theme] #root .tech-rail{height:8px!important;}
 body[data-site-theme] #root .learning-editorial article,
 body[data-site-theme] #root .learning-editorial article:first-child{grid-template-columns:20px 72px minmax(0,1fr)!important;padding:5px!important;gap:5px!important;}
 body[data-site-theme] #root .learning-chart article{padding:6px!important;gap:6px!important;grid-template-columns:72px minmax(0,1fr) 115px!important;}
 body[data-site-theme] #root .learning-progress-text{font-size:9pt!important;}
}
@media print{body[data-site-theme] #root,body[data-site-theme] #root .dash,body[data-site-theme] #root .mobile-dash,body[data-site-theme] #root .ant-layout,body[data-site-theme] #root .ant-layout-content{height:auto!important;min-height:0!important;}body[data-site-theme] #root .ant-layout-footer{display:none!important;}}

@media screen{.learning-dark .learning-console article{position:relative;padding-top:18px;}.learning-dark .console-index{position:absolute;top:3px;right:8px;font-size:10px;}.learning-dark .console-percent{display:none;}.learning-dark .learning-time{font-size:11px;line-height:1.45;}.learning-dark .learning-enter{padding:3px 0;}}
@media print{
 body[data-site-theme] #root .learning-trail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:0!important;border:0!important;}
 body[data-site-theme] #root .learning-trail li{margin:0!important;padding:6px!important;gap:5px!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;}
 body[data-site-theme] #root .trail-number{position:static!important;width:auto!important;height:auto!important;line-height:1.4!important;border:0!important;font-size:10pt!important;}
 body[data-site-theme] #root .learning-editorial{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
 body[data-site-theme] #root .learning-editorial article:first-child{grid-column-start:auto!important;grid-column-end:auto!important;}
}