.selenium-page { --course-ink: #17191b; color: var(--course-ink); }
.selenium-header { z-index: 20; }
.selenium-header > .container { min-height: 76px; }
.selenium-nav { font-size: .89rem; font-weight: 650; }
.selenium-nav a { text-decoration: none; white-space: nowrap; }
.selenium-nav a:hover { color: var(--blue-deep); }
.selenium-hero { overflow: hidden; background: linear-gradient(115deg,#fff4ca 0%,#fffaf0 52%,#fce5e5 100%); border-bottom: 1px solid #eadfbf; }
.selenium-hero .container { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.selenium-hero h1 { line-height: 1.04; letter-spacing: -.045em; }
.selenium-hero h1 span { color: var(--blue-deep); }
.selenium-hero .lead { max-width: 680px; color: #485763; }
.eyebrow { color: #a53232; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.course-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .48rem .8rem; border: 1px solid #e1d8c2; border-radius: 999px; background: rgb(255 255 255 / 72%); font-size: .83rem; font-weight: 700; }
.course-tag i { color: var(--blue-deep); }
.hero-note,.code-card { padding: 1rem 1.15rem; border: 1px solid #343a40; border-radius: 14px; background: #202426; box-shadow: 0 18px 42px rgb(22 43 61 / 18%); color: #f3f6f8; }
.hero-note-top,.code-card-head { display: flex; align-items: center; gap: .45rem; padding-bottom: .8rem; border-bottom: 1px solid #41484b; color: #e3eaed; }
.dot { width: 9px; height: 9px; border-radius: 50%; }.dot-coral { background: var(--coral); }.dot-yellow { background: var(--marigold); }.dot-blue { background: var(--sky); }
.hero-note pre,.code-card pre { margin: 1rem 0; overflow-x: auto; color: #ffeba8; font-size: .83rem; line-height: 1.65; }
.hero-note p { color: #c1c9ce; }
.course-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.course-count { white-space: nowrap; padding: .6rem .85rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; }
.module-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 30px rgb(22 43 61 / 6%); }
.module-top { min-height: 110px; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.module-top span { font-size: 2.2rem; font-weight: 800; letter-spacing: -.06em; }
.module-top i { font-size: 1.65rem; }
.top-lemon { background: var(--lemon); }.top-orange { background: var(--marigold); }.top-coral { background: var(--coral); }.top-pink { background: var(--rose); }.top-violet { background: var(--lavender); }.top-charcoal { background: #c9d0d2; }
.module-card h3 { min-height: 3.4rem; }
.module-card details { margin-top: 1.15rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.module-card summary { cursor: pointer; color: var(--blue-deep); font-weight: 750; }
.lesson-list { display: grid; gap: .9rem; padding-left: 1.25rem; margin: 1rem 0; }
.lesson-list li { padding-left: .15rem; }.lesson-list small { display: block; margin-top: .2rem; color: var(--muted); line-height: 1.45; }
.exercise { padding: .8rem .9rem; border-left: 3px solid var(--violet); border-radius: 0 9px 9px 0; background: #f2f1fd; font-size: .91rem; }
.practice-band { background: #eaf1f5; }
.practice-band p:not(.eyebrow) { color: #4c5b65; }
.code-card-head { justify-content: space-between; }
.code-card pre { margin-bottom: .7rem; }
.code-card > p { color: #c1c9ce !important; }
.note-card { height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 26px rgb(22 43 61 / 5%); }
.note-source { background: #fff7df; }
.check-list { display: grid; gap: .75rem; padding-left: 1.15rem; margin-bottom: 0; }
.note-source a { color: var(--blue-deep); font-weight: 650; }
.course-cta { border: 1px solid #f0d98f; border-radius: var(--radius); background: linear-gradient(115deg,#fff0b6,#ffe5dc); }
.course-cta > div > p:last-child { color: #536575; }
@media (max-width: 991.98px) {
  .selenium-header .container { flex-wrap: wrap; }
  .selenium-nav { flex-basis: 100%; padding: .75rem 0 1rem; align-items: stretch !important; }
  .selenium-nav a:not(.btn) { padding: .35rem 0; }
  .selenium-hero .container { padding-top: 3.4rem !important; padding-bottom: 3.4rem !important; }
  .selenium-hero h1 { font-size: clamp(2.5rem, 11vw, 3.7rem); }
  .course-heading { align-items: start; flex-direction: column; }
  .module-card h3 { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
