/* Course identity is activated only by the authenticated IOSH learner gate. */
body.iosh-learner {
  --bg:#f8f5fc;
  --surface:#fff;
  --surface-soft:#faf7fd;
  --ink:#2c2037;
  --muted:#6d6078;
  --faint:#80728b;
  --line:#e8dff0;
  --primary:#652c90;
  --primary-hover:#502172;
  --on-primary:#fff;
  --rail:#2e1743;
  --rail-2:#44265c;
  --rail-text:#f7f0fc;
  --rail-muted:#d2bfdf;
  --accent:#652c90;
  --accent-ink:#fff;
  --feature:#45205f;
  --feature-2:#743ba0;
  --feature-text:#fff;
  --feature-muted:#eadcf4;
  --notice:#f2eafa;
  --notice-ink:#643f7e;
  --shadow:0 7px 28px #54237808;
  --grid:transparent;
  --focus:#783fa7;
  --field:#fff;
  --neutral:#652c90;
  --neutral-bg:#f1e8f9;
  background-color:var(--bg);
  background-image:radial-gradient(ellipse at 90% 0,#f1e7fa 0,transparent 42%);
  color:var(--ink);
  color-scheme:light;
}

body.iosh-learner .sidebar {
  background:linear-gradient(165deg,#36194d 0%,#2b173d 78%);
  border-right-color:#482b5e;
}
body.iosh-learner .sidebar .brand {color:#fff}
body.iosh-learner .sidebar .brand small,
body.iosh-learner .sidebar .workspace-label,
body.iosh-learner .sidebar .discipline-caption {color:#d4c0e2}
body.iosh-learner .sidebar .brand-mark {
  background:#f7f0fc;
  color:#652c90;
  border-color:#eadcf4;
}
body.iosh-learner .sidebar .nav-item {color:#e9dcf2}
body.iosh-learner .sidebar .nav-item:hover {
  background:#ffffff10;
  color:#fff;
}
body.iosh-learner .sidebar .nav-item.active {
  color:#652c90;
  background:#f6eefc;
  border-color:transparent;
  box-shadow:inset 3px 0 #ba8bd8;
}
body.iosh-learner .sidebar .install-action {
  color:#f2e6fa;
  background:#ffffff08;
  border-color:#705286;
}
body.iosh-learner .sidebar .official-logo {
  background:#fff;
  border-color:#ffffff45;
  border-radius:10px;
  padding:8px;
}
body.iosh-learner .topbar {
  background:#ffffffed;
  border-bottom-color:#e6d9ef;
}
body.iosh-learner .preview-banner {
  background:#f2eafa;
  color:#634577;
  border-bottom-color:#e4d4ef;
}
body.iosh-learner .button,
body.iosh-learner .panel,
body.iosh-learner .class-card,
body.iosh-learner .course-tile {
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.iosh-learner .button:hover {box-shadow:0 5px 15px #652c9014}
body.iosh-learner .panel:hover,
body.iosh-learner .class-card:hover {border-color:#d9c8e7}
body.iosh-learner .feature-course {
  background:linear-gradient(120deg,#45205f,#743ba0);
  box-shadow:0 12px 30px #652c9012;
}
body.iosh-learner .feature-course .button {
  color:#59287c;
  background:#f8f2fd;
  border-color:#f8f2fd;
}
body.iosh-learner .feature-course .button:hover {background:#eadbf6}
body.iosh-learner .feature-course progress::-webkit-progress-value {background:#d6b5ed}
body.iosh-learner .feature-course progress::-moz-progress-bar {background:#d6b5ed}

body.iosh-learner .iosh-course-banner,
body.iosh-learner .iosh-course-brand {
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  margin:0 0 26px;
  padding:17px 23px;
  border:1px solid #dfcceb;
  border-radius:21px;
  background:linear-gradient(108deg,#fff 0%,#faf5fe 72%,#f0e5f9 100%);
  box-shadow:0 5px 24px #652c9006;
}
body.iosh-learner .iosh-course-brand {
  max-width:1120px;
  margin:0 auto 18px;
}
body.iosh-learner .iosh-course-banner>img,
body.iosh-learner .iosh-course-brand>img {
  display:block;
  flex:none;
  width:71px;
  height:49px;
  object-fit:contain;
  padding:5px 7px;
  border:1px solid #ecdfF5;
  border-radius:9px;
  background:#fff;
}
body.iosh-learner .iosh-course-banner-copy {
  flex:1;
  min-width:0;
}
body.iosh-learner .iosh-course-banner-copy small {
  display:block;
  margin:0 0 5px;
  color:#79528f;
  font-size:.625rem;
  font-weight:650;
  letter-spacing:.12em;
  line-height:1.5;
  text-transform:uppercase;
}
body.iosh-learner .iosh-course-banner-copy strong {
  display:block;
  color:#4b2864;
  font-size:1.05rem;
  font-weight:650;
  letter-spacing:-.025em;
  line-height:1.35;
  overflow-wrap:anywhere;
}
body.iosh-learner .iosh-course-banner-copy p {
  margin:5px 0 0;
  color:#786886;
  font-size:.8125rem;
  line-height:1.5;
}
body.iosh-learner .iosh-course-emblem {
  display:block;
  flex:none;
  width:90px;
  height:70px;
  margin:-8px 0;
  pointer-events:none;
}
body.iosh-learner .iosh-course-emblem svg {
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
body.iosh-learner .iosh-personal-welcome {
  margin:-2px 0 16px;
  color:#765187;
  font-size:1.05rem;
  line-height:1.65;
}
body.iosh-learner .welcome-video-stage h1,
body.iosh-learner .ceo-message h1,
body.iosh-learner .studio-welcome-story h1 {color:#4c2866}
body.iosh-learner .studio-welcome-story h1 span {color:#83549e}
body.iosh-learner .iosh-course-tile {
  border-color:#d8bde9;
  background:linear-gradient(140deg,#fff 68%,#f8f1fc);
  box-shadow:0 7px 24px #652c9008;
}
body.iosh-learner .iosh-course-tile:before {background:#652c90}
body.iosh-learner .iosh-course-tile:hover {box-shadow:0 10px 28px #652c9014}
body.iosh-learner .iosh-course-tile .course-icon {
  color:#652c90;
  background:#f0e3f8;
  border-color:#e1caee;
}
body.iosh-learner .next-step {border-left-color:#a875ca}
body.iosh-learner #main.iosh-enter>.iosh-course-banner,
body.iosh-learner #main.iosh-enter>.iosh-course-brand {
  animation:iosh-course-rise .42s ease-out both;
}
body.iosh-learner #main.iosh-enter>.page-title,
body.iosh-learner #main.iosh-enter>.welcome-video-stage,
body.iosh-learner #main.iosh-enter>.ceo-stage,
body.iosh-learner #main.iosh-enter>.studio-welcome {
  animation:iosh-course-fade .42s ease-out both;
}
@keyframes iosh-course-rise {
  from {opacity:0;translate:0 6px}
  to {opacity:1;translate:0 0}
}
@keyframes iosh-course-fade {
  from {opacity:0}
  to {opacity:1}
}
@media(max-width:780px) {
  body.iosh-learner .iosh-course-banner,
  body.iosh-learner .iosh-course-brand {
    gap:12px;
    margin-bottom:20px;
    padding:15px 16px;
    border-radius:18px;
  }
  body.iosh-learner .iosh-course-banner>img,
  body.iosh-learner .iosh-course-brand>img {width:60px;height:43px}
  body.iosh-learner .iosh-course-banner-copy strong {font-size:.9375rem}
  body.iosh-learner .iosh-course-banner-copy small {font-size:.5625rem;letter-spacing:.09em}
  body.iosh-learner .iosh-course-banner-copy p {font-size:.75rem}
  body.iosh-learner .iosh-course-emblem {width:64px;height:50px}
  body.iosh-learner .iosh-personal-welcome {font-size:1rem}
}
@media(max-width:440px) {
  body.iosh-learner .iosh-course-banner,
  body.iosh-learner .iosh-course-brand {gap:10px;padding:14px 13px}
  body.iosh-learner .iosh-course-banner>img,
  body.iosh-learner .iosh-course-brand>img {width:52px;height:40px;padding:4px}
  body.iosh-learner .iosh-course-emblem {width:48px;height:42px}
  body.iosh-learner .iosh-course-banner-copy small {font-size:.5rem;letter-spacing:.07em}
  body.iosh-learner .iosh-course-banner-copy strong {font-size:.875rem}
}
@media(prefers-reduced-motion:reduce) {
  body.iosh-learner *,
  body.iosh-learner *:before,
  body.iosh-learner *:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
