:root {
  color-scheme: dark;
  --page: light-dark(#fff, #141414);
  --surface: light-dark(#f7f7f5, #202020);
  --text: light-dark(#262828, #dedede);
  --muted: light-dark(#656b68, #a0a5a2);
  --line: light-dark(#dedfdb, #393c39);
  --link: light-dark(#856700, #edc536);
  --green: light-dark(#247147, #8fd7aa);
  --button-text: light-dark(#fff, #15271c);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font:
    17px/1.7 "Space Grotesk",
    Arial,
    sans-serif;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:is(:hover, :focus-visible) {
  text-decoration: underline;
}
a:focus-visible {
  color: #0056b3;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
button {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 13px;
  font-size: 14px;
  line-height: 1.5;
}
button:is(:hover, :focus-visible) {
  background: var(--surface);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.global-nav {
  height: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  font-family: "Space Mono", monospace;
  font-size: 15px;
}
.brand {
  font-weight: 700;
  color: var(--text);
  font-size: 20px;
  white-space: nowrap;
}
.brand span {
  color: var(--link);
}
.global-nav nav {
  display: flex;
  gap: 26px;
}
.nav-account {
  margin-left: auto;
  color: var(--muted);
  font:
    13px "Space Grotesk",
    sans-serif;
}
.reading-document {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 110px;
}
.module-intro {
  padding-bottom: 6px;
}
.dojo-link {
  font-size: 15px;
}
h1 {
  font:
    700 31px/1.4 "Space Mono",
    monospace;
  margin: 14px 0 26px;
  letter-spacing: -0.9px;
}
p {
  margin: 0 0 20px;
}
.module-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin: 23px 0 0;
}
.plain-button {
  border: 0;
  padding: 0;
  color: var(--link);
  font-size: inherit;
}
.challenge {
  padding: 38px 0 44px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  scroll-margin-top: 30px;
}
.challenge-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.challenge-number {
  font:
    13px/1.5 "Space Mono",
    monospace;
  color: var(--muted);
  padding-top: 7px;
  width: 30px;
  flex: none;
}
h2 {
  font:
    500 24px/1.4 "Space Grotesk",
    sans-serif;
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--text);
}
.challenge-state {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 6px;
}
.challenge-state.solved {
  color: var(--green);
}
.challenge-body {
  padding-left: 46px;
}
.challenge-body p {
  margin-bottom: 20px;
}
code {
  font:
    14px/1.5 "Space Mono",
    monospace;
  color: var(--link);
  background: var(--surface);
  padding: 1px 4px;
  border-radius: 2px;
  overflow-wrap: anywhere;
}
pre {
  font:
    14px/1.65 "Space Mono",
    monospace;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 2px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 22px 0;
}
pre code {
  padding: 0;
  color: var(--text);
  background: none;
  font: inherit;
}
ul,
ol {
  padding-left: 26px;
  margin: 0 0 20px;
}
li {
  margin: 6px 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.challenge-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-left: 46px;
  margin-top: 26px;
  min-height: 42px;
}
.start-button {
  border-color: var(--green);
  color: var(--green);
  min-width: 88px;
  font-weight: 500;
}
.start-button.running {
  color: var(--text);
  border-color: var(--line);
}
.running-indicator {
  font-size: 13px;
  color: var(--green);
}
.inline-open {
  font-size: 14px;
  color: var(--link);
}
.inline-flag {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.inline-flag input {
  width: 210px;
  min-width: 100px;
  max-width: 100%;
  height: 37px;
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 3px;
}
.inline-result {
  font-size: 13px;
  color: var(--green);
  width: 100%;
  margin: 0;
}
.lecture {
  border-top: 1px solid var(--line);
  padding: 35px 0 12px;
  margin-top: 24px;
}
.lecture h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.lecture-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.persistent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--surface);
  border-top: 1px solid var(--line);
  min-height: 62px;
}
.persistent-inner {
  width: 100%;
  max-width: 1220px;
  padding: 12px 24px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}
.progress-control {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.progress-track {
  display: block;
  width: 68px;
  height: 3px;
  background: var(--line);
}
.progress-track span {
  display: block;
  height: 3px;
  width: 20%;
  background: var(--green);
}
.next-unsolved {
  border: 0;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 0;
}
.next-unsolved > span:first-child {
  color: var(--muted);
}
.next-unsolved strong {
  font-weight: 400;
  color: var(--link);
  max-width: 230px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.bar-spacer {
  flex: 1;
  min-width: 0;
}
.active-session {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  font-size: 13px;
}
.ready-dot {
  background: var(--green);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.active-name {
  color: var(--muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.start-hint {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.workspace-link {
  font-size: 14px;
  color: var(--page);
  background: var(--green);
  padding: 7px 12px;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 500;
}
.workspace-link:is(:hover, :focus-visible) {
  text-decoration: none;
  filter: brightness(1.08);
}
.contents-popover {
  position: fixed;
  bottom: 74px;
  left: max(24px, calc((100% - 1172px) / 2));
  width: 390px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  z-index: 12;
  box-shadow: 0 6px 20px #0005;
}
.contents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 14px;
}
.contents-head button {
  border: 0;
  padding: 2px 6px;
  font-size: 23px;
}
.contents-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  color: var(--text);
  font-size: 13px;
}
.contents-list .index {
  font:
    12px "Space Mono",
    monospace;
  color: var(--muted);
  min-width: 20px;
}
.contents-list .state {
  margin-left: auto;
  color: var(--green);
}
.contents-list a.current {
  color: var(--link);
}
.document-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 30px;
}
.variant-top .persistent {
  bottom: auto;
  top: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.variant-top .reading-page {
  padding-top: 62px;
}
.variant-top .reading-document {
  padding-bottom: 60px;
}
.variant-top .challenge {
  scroll-margin-top: 90px;
}
.variant-top .contents-popover {
  top: 74px;
  bottom: auto;
}
.workspace-page {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #111213;
  display: flex;
  flex-direction: column;
}
.workspace-bar {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
}
.back-reading {
  color: var(--link);
  white-space: nowrap;
}
.workspace-title {
  color: var(--text);
  font-weight: 500;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-services {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.workspace-services button {
  border: 0;
  font-size: 12px;
  padding: 5px 9px;
  color: var(--muted);
}
.workspace-services button.selected {
  background: var(--line);
  color: var(--text);
}
.workspace-progress {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.submit-flag {
  font-size: 12px;
  padding: 5px 9px;
  color: var(--green);
  border-color: var(--green);
  white-space: nowrap;
}
.workspace-surface {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
  color: #dedede;
}
.terminal-service {
  padding: 26px 24px;
  font:
    14px/1.8 "Space Mono",
    monospace;
}
.connection-message {
  color: #9ba39e;
  font:
    13px/1.8 "Space Mono",
    monospace;
  margin-bottom: 18px;
}
.terminal-command {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.terminal-prompt {
  color: #8fd7aa;
  white-space: nowrap;
}
.terminal-command input {
  background: transparent;
  border: 0;
  padding: 0;
  color: #dedede;
  width: 60%;
  font: inherit;
}
.terminal-history {
  white-space: pre-wrap;
  font: inherit;
}
.code-service {
  height: 100%;
  background: #1e1e1e;
  font:
    14px/1.9 "Space Mono",
    monospace;
}
.code-tabs {
  font:
    13px/1.5 "Space Grotesk",
    sans-serif;
  padding: 9px 20px;
  background: #282828;
}
.code-content {
  padding: 22px 18px;
  color: #dedede;
}
.line-number {
  color: #888;
  display: inline-block;
  width: 38px;
  text-align: right;
  padding-right: 18px;
}
.desktop-service {
  height: 100%;
  background: #253d35;
}
.desktop-menubar {
  background: #354d44;
  font-size: 12px;
  padding: 4px 15px;
}
.desktop-terminal {
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  background: #111213;
  border: 1px solid #61756b;
}
.desktop-terminal > div {
  background: #354d44;
  font-size: 12px;
  text-align: center;
  padding: 5px;
}
.desktop-terminal pre {
  background: none;
  border: 0;
  color: #dedede;
}
.flag-popover {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 320px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  z-index: 3;
}
.flag-popover label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.flag-popover input {
  display: block;
  width: 100%;
  font:
    14px/1.5 "Space Mono",
    monospace;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--text);
  padding: 9px;
  margin-top: 9px;
  border-radius: 3px;
}
.toast {
  position: fixed;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 18px;
  z-index: 30;
  font-size: 13px;
  max-width: calc(100% - 32px);
  white-space: normal;
}
@media (max-width: 1100px) {
  .persistent-inner {
    gap: 17px;
  }
  .progress-track {
    display: none;
  }
  .next-unsolved strong {
    max-width: 170px;
  }
  .active-name {
    max-width: 145px;
  }
  .workspace-bar {
    gap: 14px;
  }
  .workspace-title {
    max-width: 300px;
  }
  .workspace-progress {
    display: none;
  }
}
@media (max-width: 860px) {
  .active-name {
    max-width: 125px;
  }
  .persistent-inner {
    gap: 14px;
  }
  .next-unsolved strong {
    display: none;
  }
  .next-unsolved > span:first-child {
    color: var(--link);
  }
  .workspace-title {
    max-width: 250px;
  }
  .workspace-services {
    display: none;
  }
  .workspace-progress {
    display: none;
  }
  .global-nav {
    padding: 0 22px;
    gap: 24px;
  }
  .global-nav nav {
    gap: 19px;
  }
  .reading-document {
    max-width: 800px;
  }
  .inline-flag {
    justify-content: flex-start;
  }
  .start-hint {
    font-size: 11px;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }
  .global-nav {
    height: 56px;
    padding: 0 18px;
  }
  .global-nav nav {
    margin-left: auto;
  }
  .global-nav nav a:not(.global-workspace) {
    display: none;
  }
  .nav-account {
    display: none;
  }
  .brand {
    font-size: 18px;
  }
  .reading-document {
    padding: 32px 18px 150px;
  }
  h1 {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .challenge {
    padding: 28px 0 32px;
  }
  .challenge-heading {
    gap: 8px;
    margin-bottom: 20px;
  }
  .challenge-number {
    width: 25px;
    font-size: 12px;
  }
  h2 {
    font-size: 22px;
  }
  .challenge-state {
    font-size: 11px;
    padding-top: 6px;
  }
  .challenge-body,
  .challenge-actions {
    padding-left: 0;
  }
  pre {
    font-size: 12px;
    padding: 14px 13px;
  }
  code {
    font-size: 13px;
  }
  .challenge-actions {
    gap: 12px;
  }
  .inline-flag {
    width: 100%;
    flex: none;
  }
  .inline-flag input {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .persistent-inner {
    gap: 10px;
    padding: 10px 18px;
    flex-wrap: wrap;
    min-height: 64px;
  }
  .progress-control {
    font-size: 12px;
  }
  .next-unsolved {
    font-size: 12px;
    margin-left: auto;
  }
  .bar-spacer {
    display: none;
  }
  .active-session {
    width: calc(100% - 153px);
  }
  .active-name {
    max-width: 100%;
    font-size: 12px;
  }
  .workspace-link {
    font-size: 12px;
    margin-left: auto;
    padding: 7px 10px;
  }
  .start-hint {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }
  .contents-popover {
    left: 12px;
    right: 12px;
    bottom: 105px;
    width: auto;
    max-height: calc(100vh - 150px);
  }
  .variant-top .reading-page {
    padding-top: 96px;
  }
  .variant-top .contents-popover {
    top: 105px;
  }
  .workspace-bar {
    height: auto;
    min-height: 76px;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
  }
  .back-reading {
    font-size: 12px;
  }
  .workspace-title {
    max-width: calc(100% - 155px);
    font-size: 12px;
  }
  .submit-flag {
    margin-left: auto;
  }
  .terminal-service {
    padding: 18px 12px;
    font-size: 12px;
  }
  .terminal-command {
    flex-wrap: wrap;
    gap: 4px;
  }
  .terminal-command input {
    flex: 1;
    width: auto;
    min-width: 70px;
  }
  .flag-popover {
    width: calc(100% - 24px);
    right: 12px;
  }
  .toast {
    bottom: 115px;
  }
}

#dojo-sidebar {
  --header-height: 64px;
  --sidebar-width: 258px;
}
.global-nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  padding: 0 24px;
  gap: 26px;
  z-index: 30;
  font-size: 13px;
}
.global-nav .brand {
  font-size: 18px;
  flex: none;
}
.global-nav .site-links {
  display: flex;
  gap: 24px;
  flex: none;
}
.global-spacer {
  flex: 1;
  min-width: 0;
}
.nav-account {
  margin-left: 0;
  flex: none;
}
.contents-toggle {
  border: 0;
  color: var(--link);
  padding: 4px 0;
  font:
    13px "Space Grotesk",
    sans-serif;
  display: none;
}
.global-session {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 440px;
  flex: 0 1 440px;
  font-family: "Space Grotesk", sans-serif;
}
.session-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.session-context {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.session-title {
  display: block;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ready-dot {
  height: 7px;
  width: 7px;
  flex: none;
}
.workspace-link {
  font:
    13px/1.5 "Space Grotesk",
    sans-serif;
  padding: 7px 12px;
  flex: none;
}
.workspace-link.idle {
  background: transparent;
  color: var(--link);
  padding: 0;
}
.return-link {
  font:
    12px/1.5 "Space Grotesk",
    sans-serif;
  white-space: nowrap;
  flex: none;
}
.reading-page {
  padding-top: var(--header-height);
}
.reading-document {
  padding-top: 43px;
  padding-bottom: 65px;
}
.module-intro {
  margin-bottom: 16px;
}
.challenge {
  scroll-margin-top: calc(var(--header-height) + 26px);
}
.challenge-heading {
  margin-bottom: 7px;
}
.challenge-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 46px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.challenge-meta span + span::before {
  content: "·";
  margin-right: 12px;
}
.inline-flag {
  flex: 1;
  min-width: 260px;
}
.module-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--page);
  border-right: 1px solid var(--line);
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar-open .reading-page {
  padding-left: var(--sidebar-width);
}
.sidebar-heading {
  padding: 22px 18px 17px;
  flex: none;
}
.sidebar-dojo {
  font-size: 12px;
  color: var(--muted);
}
.sidebar-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 15px;
}
.sidebar-title > a {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.sidebar-title button {
  border: 0;
  padding: 0 3px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--muted);
}
.module-progress {
  font-size: 12px;
  color: var(--muted);
}
.module-progress-track {
  height: 3px;
  background: var(--line);
  margin-top: 10px;
}
.module-progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
  width: 20%;
}
.sidebar-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 0 18px 15px;
}
.sidebar-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}
.sidebar-list .index {
  font:
    11px/1.5 "Space Mono",
    monospace;
  color: var(--muted);
  min-width: 20px;
  text-align: right;
}
.sidebar-list .name {
  flex: 1;
  min-width: 0;
}
.sidebar-list .mark {
  width: 11px;
  color: var(--green);
  flex: none;
}
.sidebar-list a.current {
  color: var(--link);
  font-weight: 500;
}
.sidebar-list a.current .index {
  color: var(--link);
}
.sidebar-list a.solved:not(.current) {
  color: var(--muted);
}
.sidebar-footer {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}
.sidebar-footer a {
  font-size: 12px;
  color: var(--muted);
}
.sidebar-footer a:is(:hover, :focus-visible) {
  color: var(--link);
}
.sidebar-scrim {
  position: fixed;
  inset: var(--header-height) 0 0;
  background: #0006;
  border: 0;
  padding: 0;
  z-index: 19;
}
.dojo-page {
  max-width: 1050px;
  margin: auto;
  padding: calc(var(--header-height) + 40px) 24px 65px;
}
.dojo-intro h1 {
  margin: 0 0 18px;
  font-size: 33px;
}
.dojo-intro h1 span {
  color: var(--link);
}
.dojo-intro p {
  font-size: 18px;
  color: var(--muted);
}
.dojo-section-links {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  gap: 24px;
  font-size: 14px;
  margin-top: 24px;
}
.dojo-management-links {
  display: flex;
  align-items: center;
  gap: inherit;
  margin-left: auto;
}
.dojo-management-links a {
  color: var(--muted);
}
.dojo-management-links i {
  margin-right: 4px;
}
.global-nav [hidden] {
  display: none !important;
}
.global-nav[data-viewer-pending] :is(.nav-account, .workspace-link) {
  visibility: hidden;
}
.dojo-page section {
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.dojo-page h2 {
  font-size: 22px;
  margin-bottom: 18px;
}
.dojo-module-list {
  border-top: 1px solid var(--line);
}
.dojo-module-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  color: var(--text);
  font-size: 16px;
}
.dojo-module-list .module-index {
  font:
    12px "Space Mono",
    monospace;
  color: var(--muted);
  width: 20px;
}
.dojo-module-list .module-name {
  flex: 1;
}
.dojo-module-list .module-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.dojo-module-list .current-module {
  color: var(--link);
}
.dojo-stat-row {
  display: flex;
  gap: 65px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dojo-stat-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dojo-stat-row strong {
  font:
    400 24px/1.4 "Space Mono",
    monospace;
}
.dojo-stat-row span {
  font-size: 13px;
  color: var(--muted);
}
.leaderboard-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.leaderboard-heading h2 {
  margin: 0;
}
.leaderboard-heading label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.leaderboard-heading select,
.workspace-tool-select {
  font:
    13px "Space Grotesk",
    sans-serif;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 8px;
  max-width: 100%;
}
.dojo-leaderboard table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
}
.dojo-leaderboard th {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.dojo-leaderboard td,
.dojo-leaderboard th {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.dojo-leaderboard th:last-child,
.dojo-leaderboard td:last-child {
  text-align: right;
}
.dojo-leaderboard th:first-child,
.dojo-leaderboard td:first-child {
  width: 75px;
  color: var(--muted);
}
.mode-workspace {
  --header-height: 44px !important;
}
.mode-workspace .global-nav {
  gap: 22px;
}
.mode-workspace .global-nav .brand {
  font-size: 14px;
}
.mode-workspace .global-nav .site-links {
  gap: 16px;
  font-size: 12px;
}
.mode-workspace .global-session {
  max-width: 370px;
  flex-basis: 370px;
}
.mode-workspace .session-context {
  font-size: 10px;
}
.mode-workspace .session-title {
  font-size: 12px;
}
.mode-workspace .nav-account,
.mode-workspace .contents-toggle {
  display: none !important;
}
.mode-workspace .workspace-page {
  inset: var(--header-height) 0 0;
  z-index: 10;
}
.workspace-tools {
  display: flex;
  gap: 2px;
  flex: none;
}
.workspace-tools button {
  font-size: 12px;
  padding: 4px 7px;
  border: 0;
  color: var(--muted);
}
.workspace-tools button.selected {
  background: var(--line);
  color: var(--text);
}
.workspace-tool-select {
  display: none;
}
.submit-flag {
  flex: none;
  font-size: 12px;
  padding: 4px 8px;
}
.workspace-surface {
  height: 100%;
}
@media (max-width: 1250px) {
  .global-nav {
    gap: 20px;
  }
  .global-session {
    max-width: 330px;
    flex-basis: 330px;
  }
  .nav-account {
    display: none;
  }
  .mode-workspace .help-link {
    display: none;
  }
  .mode-workspace .global-nav {
    gap: 15px;
  }
  .mode-workspace .global-session {
    max-width: 300px;
    flex-basis: 300px;
  }
}
@media (max-width: 1000px) {
  .contents-toggle {
    display: block;
  }
  .sidebar-open .reading-page {
    padding-left: 0;
  }
  .module-sidebar {
    width: 280px;
    box-shadow: 8px 0 25px #0005;
  }
  .global-nav {
    gap: 18px;
  }
  .global-session {
    flex: 1;
    max-width: 300px;
  }
  .session-context {
    font-size: 10px;
  }
  .session-title {
    font-size: 12px;
  }
  .help-link {
    display: none;
  }
  .mode-workspace .workspace-tools {
    display: none;
  }
  .mode-workspace .workspace-tool-select {
    display: block;
  }
  .global-nav .site-links {
    gap: 16px;
  }
  .workspace-link {
    font-size: 12px;
  }
  .mode-workspace .global-session {
    flex: 1;
  }
  .mode-workspace .site-links {
    display: none;
  }
}
@media (max-width: 700px) {
  #dojo-sidebar {
    --header-height: 56px;
  }
  #dojo-sidebar.has-active {
    --header-height: 104px;
  }
  .global-nav {
    height: var(--header-height);
    padding: 10px 18px;
    gap: 0 12px;
    flex-wrap: wrap;
    align-content: center;
  }
  .global-nav .brand {
    font-size: 17px;
  }
  .global-nav .site-links {
    font-size: 12px;
    margin: 0;
  }
  .global-nav nav a:not(.global-workspace) {
    display: inline;
  }
  .global-nav nav a.help-link {
    display: none;
  }
  .contents-toggle {
    margin-left: auto;
    font-size: 12px;
  }
  .global-spacer {
    display: none;
  }
  .has-active .global-nav::after {
    content: "";
    order: 4;
    flex-basis: 100%;
    height: 0;
  }
  .global-session {
    order: 5;
    flex: 1;
    max-width: calc(100% - 128px);
    margin-top: 11px;
  }
  .workspace-link {
    order: 6;
    margin-left: auto;
    font-size: 12px;
    padding: 6px 10px;
    margin-top: 11px;
  }
  .workspace-link.idle {
    margin-top: 0;
    font-size: 12px;
    padding: 0;
    order: 3;
  }
  .has-active .workspace-link {
    margin-left: auto;
  }
  .session-context {
    font-size: 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .session-title {
    font-size: 12px;
  }
  .mode-workspace {
    --header-height: 104px !important;
  }
  .mode-workspace .global-nav {
    gap: 0 12px;
  }
  .mode-workspace .global-nav .brand {
    font-size: 14px;
  }
  .mode-workspace .global-session {
    order: 2;
    max-width: calc(100% - 129px);
    margin: 0 0 0 auto;
  }
  .mode-workspace .global-nav::after {
    content: "";
    order: 3;
    flex-basis: 100%;
    height: 0;
  }
  .mode-workspace .return-link {
    order: 4;
    margin-top: 13px;
    font-size: 12px;
  }
  .mode-workspace .workspace-tool-select {
    order: 5;
    margin: 13px 0 0 auto;
    font-size: 12px;
  }
  .mode-workspace .submit-flag {
    order: 6;
    margin: 13px 0 0 12px;
    font-size: 12px;
  }
  .mode-workspace .workspace-tools,
  .mode-workspace .site-links {
    display: none;
  }
  .mode-workspace .global-spacer {
    display: none;
  }
  .reading-document {
    padding-top: 30px;
  }
  .challenge-meta {
    padding-left: 0;
    margin-bottom: 24px;
    font-size: 12px;
  }
  .challenge-heading {
    margin-bottom: 10px;
  }
  .reading-document {
    padding-bottom: 65px;
  }
  .inline-flag {
    min-width: 0;
    flex-basis: 100%;
  }
  .dojo-page {
    padding: calc(var(--header-height) + 30px) 18px 50px;
  }
  .dojo-intro h1 {
    font-size: 27px;
  }
  .dojo-stat-row {
    gap: 25px;
    justify-content: space-between;
  }
  .dojo-stat-row strong {
    font-size: 18px;
  }
  .dojo-stat-row span {
    font-size: 11px;
  }
  .dojo-module-list a {
    font-size: 14px;
  }
  .dojo-module-list .module-count {
    font-size: 12px;
  }
  .leaderboard-heading label {
    max-width: 100%;
    min-width: 0;
    font-size: 12px;
  }
  .leaderboard-heading select {
    font-size: 12px;
    min-width: 0;
  }
  .module-sidebar {
    width: min(280px, calc(100% - 24px));
  }
}
@media (max-width: 370px) {
  .global-nav {
    padding: 10px 12px;
    gap: 0 10px;
  }
  .global-nav .brand {
    font-size: 15px;
  }
  .contents-toggle {
    font-size: 11px;
  }
  .global-nav .site-links {
    font-size: 11px;
  }
  .workspace-link {
    font-size: 11px;
  }
  .global-session {
    max-width: calc(100% - 117px);
  }
  .dojo-stat-row {
    gap: 16px;
  }
  .dojo-stat-row strong {
    font-size: 16px;
  }
  .mode-workspace .global-session {
    max-width: calc(100% - 118px);
  }
  .mode-workspace .global-nav {
    gap: 0 8px;
  }
  .mode-workspace .return-link {
    font-size: 11px;
  }
  .mode-workspace .workspace-tool-select {
    font-size: 11px;
    padding: 4px 6px;
  }
  .mode-workspace .submit-flag {
    font-size: 11px;
    padding: 4px 6px;
    margin-left: 6px;
  }
}

:root {
  --page: #101010;
  --surface: #272727;
  --text: #eaeaea;
  --muted: #aaa;
  --line: #747474;
  --link: var(--brand-blue);
  --green: var(--brand-green);
  --button-text: #eaeaea;
  color-scheme: dark;
}
body {
  font:
    400 16px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  background: var(--page);
}
#dojo-sidebar {
  --header-height: 58px;
  --sidebar-width: 278px;
}
.global-nav {
  gap: 20px;
  padding: 0 24px;
  background: #272727;
  border-bottom: 1px dashed var(--brand-light-gray);
  font:
    400 17px/1.5 "Space Mono",
    monospace;
}
.global-nav .brand {
  width: auto;
  font-size: 19.2px;
  padding-right: 20px;
  border-right: 2px solid white;
  line-height: 1;
  flex: none;
}
.global-nav .brand .brand-dot-white {
  color: var(--brand-black);
  background: linear-gradient(
    to right,
    transparent 10%,
    var(--brand-white) 10%,
    var(--brand-white) 90%,
    transparent 90%
  );
  display: inline-block;
  line-height: 1.5;
}
.global-nav .site-links,
.global-nav .nav-account {
  padding: 0 !important;
  background: transparent;
  border: 0;
  gap: 18px;
  margin: 0;
}
.global-nav .nav-link {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Mono", monospace;
  text-shadow: none;
}
.global-nav .nav-link:is(:hover, :focus-visible) {
  color: #ffe08b !important;
  text-decoration: none;
}
.global-nav .site-links {
  font-size: 17px;
}
.global-nav .nav-account {
  display: flex;
  font-size: 19px;
  gap: 18px;
}
.global-nav .site-links a {
  display: flex;
}
.global-nav .workspace-link {
  font:
    400 17px/1.5 "Space Mono",
    monospace;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  filter: none;
}
.global-nav .workspace-link:is(:hover, :focus-visible) {
  background: transparent;
  filter: none;
}
.global-nav .workspace-link.idle {
  padding: 4px 0;
}
.global-session {
  max-width: 340px;
  flex: 0 1 340px;
  font-family: "Space Grotesk", Helvetica, sans-serif;
  gap: 10px;
}
.session-context {
  font-size: 12px;
  color: var(--muted);
}
.session-title {
  font-size: 15px;
  color: var(--text);
}
.ready-dot {
  background: var(--brand-green);
}
.contents-toggle {
  font:
    400 14px/1.5 "Space Mono",
    monospace;
  color: var(--brand-gold);
  white-space: nowrap;
}
.return-link {
  font:
    400 13px/1.5 "Space Mono",
    monospace;
}
.reading-document {
  max-width: 950px;
  padding: 44px 56px 72px;
  font-size: 19.2px;
  font-weight: 100;
  line-height: 1.5;
}
h1 {
  font:
    700 40px/1.2 "Space Mono",
    monospace;
  color: white;
  letter-spacing: 0;
  margin: 16px 0 28px;
}
.dojo-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-green);
}
.module-intro {
  margin-bottom: 34px;
}
.module-meta {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 24px;
}
.challenge {
  padding: 30px 0 38px;
  margin-top: 30px;
  border-top: 1px dashed var(--brand-light-gray);
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.challenge-heading {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: start;
  margin-bottom: 10px;
}
.challenge-number {
  grid-column: 1/-1;
  width: auto;
  font:
    400 11px/1.5 "Space Mono",
    monospace;
  color: var(--muted);
  padding: 0;
  margin-bottom: 8px;
}
.challenge-heading .challenge-icon {
  width: auto;
  font-size: 23px;
  padding-top: 3px;
}
.challenge-heading h2 {
  font:
    500 24px/1.2 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-blue);
  letter-spacing: 0;
  text-shadow: rgba(104, 182, 255, 0.15) 0 0 5px;
}
.challenge-state {
  font:
    400 12px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  padding-top: 4px;
  color: var(--muted);
}
.challenge-state.solved {
  color: var(--brand-green);
}
.challenge-meta {
  padding: 0;
  font:
    700 11px/1.6 "Space Mono",
    monospace;
  gap: 12px;
  margin-bottom: 26px;
  color: #ddd;
}
.challenge-body,
.challenge-actions {
  padding-left: 0;
}
.challenge-body p {
  margin-bottom: 20px;
}
code {
  font: inherit;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 87.5%;
  color: #61afef;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
pre {
  font: inherit;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 87.5%;
  line-height: 1.5;
  color: #abb2bf;
  background: #1e1e1e;
  border: 0;
  border-radius: 0;
  padding: 16px 18px;
  margin: 24px 0;
}
pre code {
  font: inherit;
  color: inherit;
}
.challenge-actions {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--brand-light-gray);
  gap: 16px;
  min-height: 60px;
  font-weight: 400;
}
.start-button,
.inline-flag button {
  font:
    400 16px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  border: 1px solid #6c757d;
  border-radius: 8px;
  padding: 8px 12px;
  height: 42px;
  background: transparent;
  color: #adb5bd;
}
.start-button {
  min-width: 90px;
}
.start-button i {
  margin-right: 8px;
}
.start-button.running {
  background: transparent;
  border-color: #6c757d;
  color: #adb5bd;
}
.start-button:is(:hover, :focus-visible),
.inline-flag button:is(:hover, :focus-visible) {
  background: #6c757d;
  border-color: #6c757d;
  color: white;
}
.running-indicator {
  font-size: 14px;
  color: var(--brand-green);
  white-space: nowrap;
}
.inline-open {
  display: none;
}
.inline-flag {
  min-width: 200px;
  max-width: 370px;
  flex: 1;
  margin-left: auto;
  gap: 8px;
}
.inline-flag input {
  width: auto;
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #6c757d;
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
  color: var(--text);
  font:
    400 16px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.inline-flag input::placeholder {
  color: #aaa;
}
.inline-result {
  font-size: 14px;
}
.module-sidebar {
  background: #101010;
  border-right: 1px dashed var(--brand-light-gray);
}
.sidebar-heading {
  padding: 23px 22px 16px;
}
.sidebar-dojo {
  font:
    500 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-green);
}
.sidebar-title {
  margin: 10px 0 16px;
  gap: 12px;
}
.sidebar-title > a {
  font:
    500 17px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-blue);
}
.sidebar-title button {
  border: 0;
  padding: 2px 0;
  font-size: 13px;
  color: var(--muted);
  width: 18px;
  flex: none;
}
.module-progress {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--text);
}
.module-progress-track {
  height: 3px;
  margin-top: 10px;
  background: #333;
}
.module-progress-track span {
  background: var(--brand-blue);
}
.sidebar-list {
  padding: 0 12px 16px !important;
  background: transparent;
  border: 0;
  scrollbar-color: #484848 transparent;
  scrollbar-gutter: stable;
}
.sidebar-list a {
  gap: 8px;
  padding: 7px 10px;
  margin: 1px 0;
  border-radius: 8px;
  color: var(--brand-blue);
  font:
    400 14px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.sidebar-list a:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.sidebar-list .index {
  min-width: 18px;
  font:
    400 11px/1.7 "Space Mono",
    monospace;
  color: #aaa;
}
.sidebar-list .mark {
  width: 13px;
  font-size: 12px;
  padding: 3px 0 0;
  background: transparent;
}
.sidebar-list a.current {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-blue);
}
.sidebar-list a.current .index {
  color: var(--text);
}
.sidebar-list a.solved:not(.current) {
  color: var(--brand-blue);
}
.sidebar-list a.solved:not(.current) .name {
  opacity: 0.75;
}
.challenge-active {
  -webkit-text-fill-color: rgb(255, 40, 245) !important;
}
.sidebar-footer {
  padding: 12px 22px 16px !important;
  gap: 4px;
  background: transparent;
  border: 0;
  border-top: 1px dashed var(--brand-light-gray);
}
.sidebar-footer a {
  font:
    400 14px/1.6 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-blue);
  padding: 4px 0;
}
.sidebar-footer a i {
  width: 20px;
}
.document-footer {
  font-size: 12px;
  font-weight: 400;
  border-top: 1px dashed var(--brand-light-gray);
}
.dojo-page {
  max-width: 1050px;
  padding: calc(var(--header-height) + 52px) 24px 72px;
  font:
    100 19.2px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.dojo-intro h1 {
  font:
    700 40px/1.2 "Space Mono",
    monospace;
  margin-bottom: 24px;
  color: white;
}
.dojo-intro h1 .brand-dot {
  color: var(--brand-black);
  background: linear-gradient(
    to right,
    transparent 10%,
    var(--brand-gold) 10%,
    var(--brand-gold) 90%,
    transparent 90%
  );
  display: inline-block;
}
.dojo-intro p {
  font-size: 19.2px;
  color: var(--text);
}
.dojo-section-links {
  padding: 0 !important;
  background: transparent;
  border: 0;
  font-size: 16px;
  gap: 28px;
}
.dojo-page h2 {
  font:
    500 26px/1.2 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-green);
}
.dojo-page section {
  margin-top: 40px;
}
.dojo-module-list,
.dojo-module-list a {
  border-color: var(--brand-light-gray);
  border-style: dashed;
  border-width: 0 0 1px;
}
.dojo-module-list {
  border-width: 1px 0 0;
}
.dojo-module-list a {
  padding: 15px 0;
  color: var(--brand-blue);
  font-size: 18px;
}
.dojo-module-list .module-count {
  font-size: 13px;
  font-weight: 400;
}
.dojo-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 28px 0;
  border-top: 1px dashed var(--brand-light-gray);
  border-bottom: 1px dashed var(--brand-light-gray);
}
.dojo-stat-row > div {
  gap: 8px;
}
.dojo-stat-row > div + div {
  padding-left: 36px;
}
.dojo-stat-row strong {
  font:
    700 29px/1.2 "Space Mono",
    monospace;
}
.dojo-stat-row span {
  font-size: 14px;
  font-weight: 400;
}
.leaderboard-heading {
  gap: 20px;
  margin-bottom: 22px;
}
.leaderboard-heading h2 {
  margin-right: auto;
}
.leaderboard-heading label {
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  gap: 9px;
}
.leaderboard-heading select {
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  padding: 7px 10px;
  border-radius: 8px;
  border-color: #6c757d;
  background: transparent;
}
.dojo-leaderboard table {
  font:
    400 16px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.dojo-leaderboard th {
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--brand-light-gray);
}
.dojo-leaderboard td {
  padding: 13px 0;
  border: 0;
}
.dojo-leaderboard tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.1);
}
.dojo-leaderboard td:nth-child(2) {
  color: var(--brand-blue);
}
.dojo-leaderboard th:first-child,
.dojo-leaderboard td:first-child {
  padding-left: 12px;
}
.dojo-leaderboard th:last-child,
.dojo-leaderboard td:last-child {
  padding-right: 12px;
}
.mode-workspace .global-nav .brand {
  font-size: 17px;
  padding-right: 16px;
}
.mode-workspace .global-nav {
  gap: 18px;
}
.mode-workspace .global-nav .site-links {
  font-size: 13px;
  gap: 14px;
}
.mode-workspace .global-session {
  flex-basis: 290px;
  max-width: 290px;
}
.mode-workspace .session-context {
  font-size: 11px;
}
.mode-workspace .session-title {
  font-size: 13px;
}
.workspace-tools button {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-gold);
  border-radius: 0;
}
.workspace-tools button.selected {
  background: transparent;
  border-bottom: 1px solid var(--brand-gold);
  color: var(--brand-gold);
}
.workspace-tool-select {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  border-radius: 8px;
  background: #272727;
  border-color: #6c757d;
}
.submit-flag {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  height: 30px;
  border: 1px solid #6c757d;
  border-radius: 8px;
  color: #eaeaea;
  background: transparent;
  padding: 4px 8px;
}
.terminal-prompt {
  color: var(--brand-green);
}
.terminal-service {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.workspace-surface {
  padding: 0;
  margin: 0;
}
@media (max-width: 1300px) {
  .global-nav .site-links {
    gap: 14px;
    font-size: 15px;
  }
  .global-nav .workspace-link {
    font-size: 15px;
  }
  .global-session {
    max-width: 260px;
    flex-basis: 260px;
  }
  .global-nav .nav-account {
    display: none;
  }
  .mode-workspace .site-links .search-link,
  .mode-workspace .site-links .chat-link {
    display: none;
  }
  .reading-document {
    padding-left: 44px;
    padding-right: 44px;
  }
}
@media (max-width: 1000px) {
  .global-nav {
    gap: 18px;
  }
  .global-nav .brand {
    padding-right: 18px;
  }
  .global-nav .site-links {
    gap: 20px;
  }
  .global-nav .site-links a {
    display: flex;
  }
  .global-nav .site-links .help-link,
  .global-nav .site-links .chat-link,
  .global-nav .site-links .search-link {
    display: none;
  }
  .global-nav .site-links span {
    display: none;
  }
  .global-session {
    max-width: 260px;
    flex: 1;
  }
  .contents-toggle {
    font-size: 13px;
  }
  .module-sidebar {
    width: 278px;
  }
  .reading-document {
    max-width: 860px;
    padding-left: 36px;
    padding-right: 36px;
  }
  .mode-workspace .global-nav .site-links {
    display: none;
  }
}
@media (max-width: 700px) {
  .global-nav {
    padding: 10px 18px;
    gap: 0 14px;
  }
  .global-nav .brand {
    font-size: 17px;
    padding-right: 14px;
  }
  .global-nav .site-links {
    gap: 14px;
  }
  .global-nav .site-links .help-link,
  .global-nav .site-links .chat-link,
  .global-nav .site-links .search-link {
    display: none;
  }
  .global-nav .site-links a {
    display: flex;
  }
  .contents-toggle {
    font-size: 12px;
  }
  .global-session {
    max-width: calc(100% - 146px);
    flex: 1;
    gap: 8px;
  }
  .session-context {
    font-size: 11px;
  }
  .session-title {
    font-size: 13px;
  }
  .global-nav .workspace-link {
    font-size: 12px;
    padding: 0;
    gap: 7px;
    margin-top: 13px;
  }
  .global-nav .workspace-link.idle {
    padding: 0;
    margin-top: 0;
  }
  .reading-document {
    padding: 30px 24px 60px;
    font-size: 17px;
    line-height: 1.6;
  }
  h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .challenge {
    padding: 28px 0 34px;
    margin-top: 26px;
  }
  .challenge-heading {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px 10px;
  }
  .challenge-heading .challenge-icon {
    font-size: 20px;
  }
  .challenge-heading h2 {
    font-size: 23px;
  }
  .challenge-state {
    grid-column: 2;
    padding-top: 0;
    font-size: 12px;
  }
  .challenge-number {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .challenge-meta {
    font-size: 11px;
    margin-bottom: 24px;
  }
  pre {
    padding: 15px;
    margin: 22px 0;
  }
  .challenge-actions {
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .inline-flag {
    flex-basis: 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
  }
  .sidebar-list a {
    min-height: 44px;
    padding: 10px;
    font-size: 14px;
  }
  .sidebar-heading {
    padding: 22px 22px 20px;
  }
  .dojo-page {
    padding: calc(var(--header-height) + 32px) 24px 60px;
    font-size: 17px;
  }
  .dojo-intro h1 {
    font-size: 27px;
    line-height: 1.3;
  }
  .dojo-intro p {
    font-size: 17px;
  }
  .dojo-section-links {
    gap: 10px 16px;
  }
  .dojo-management-links a span {
    display: none;
  }
  .dojo-management-links i {
    margin-right: 0;
  }
  .dojo-page h2 {
    font-size: 24px;
  }
  .dojo-stat-row {
    padding: 22px 0;
  }
  .dojo-stat-row > div + div {
    padding-left: 12px;
  }
  .dojo-stat-row strong {
    font-size: clamp(14px, 4vw, 18px);
    letter-spacing: -0.6px;
  }
  .dojo-stat-row span {
    font-size: 12px;
  }
  .dojo-module-list a {
    font-size: 15px;
    gap: 12px;
    padding: 14px 0;
  }
  .dojo-module-list .module-count {
    font-size: 12px;
  }
  .leaderboard-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 12px;
  }
  .leaderboard-heading h2 {
    grid-column: 1/-1;
    margin-right: 0;
  }
  .leaderboard-heading label {
    font-size: 13px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .leaderboard-heading select {
    font-size: 12px;
    padding: 6px 8px;
    max-width: none;
    width: 100%;
  }
  .dojo-leaderboard table {
    font-size: 14px;
  }
  .dojo-leaderboard th {
    font-size: 11px;
  }
  .dojo-leaderboard th:first-child,
  .dojo-leaderboard td:first-child {
    width: 50px;
  }
  .mode-workspace .global-nav {
    gap: 0 12px;
  }
  .mode-workspace .global-nav .brand {
    font-size: 16px;
  }
  .mode-workspace .global-session {
    max-width: calc(100% - 124px);
  }
  .mode-workspace .return-link {
    font-size: 11px;
    gap: 6px;
  }
  .mode-workspace .submit-flag {
    font-size: 12px;
    height: 30px;
  }
}
@media (max-width: 370px) {
  .global-nav {
    padding: 10px 12px;
    gap: 0 10px;
  }
  .global-nav .brand {
    font-size: 16px;
    padding-right: 12px;
  }
  .global-nav .site-links {
    font-size: 14px;
  }
  .global-session {
    max-width: calc(100% - 139px);
  }
  .global-nav .workspace-link {
    font-size: 11px;
  }
  .reading-document {
    padding-left: 20px;
    padding-right: 20px;
  }
  .dojo-page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .dojo-stat-row > div + div {
    padding-left: 10px;
  }
  .dojo-stat-row span {
    font-size: 11px;
  }
  .mode-workspace .global-nav .brand {
    font-size: 14px;
  }
  .mode-workspace .global-session {
    max-width: calc(100% - 115px);
  }
  .mode-workspace .global-nav {
    gap: 0 8px;
  }
  .mode-workspace .return-link,
  .mode-workspace .workspace-tool-select,
  .mode-workspace .submit-flag {
    font-size: 11px;
  }
  .mode-workspace .submit-flag {
    margin-left: 6px;
  }
  .mode-workspace .submit-flag .submit-prefix {
    display: none;
  }
}

:root {
  --text: #ddd;
  --muted: #999;
  --line: #303030;
  --surface: #1b1b1b;
}
#dojo-sidebar {
  --header-height: 64px;
  --sidebar-width: 272px;
}
body {
  font:
    400 16px/1.7 "Space Grotesk",
    Helvetica,
    sans-serif;
}
a {
  text-shadow: none;
}
a:is(:hover, :focus-visible) {
  text-decoration: none;
}
.global-nav {
  background: #1d1d1d;
  border-bottom: 1px solid #303030;
  gap: 24px;
}
.global-nav .brand {
  font-size: 19.2px;
  border-right: 1px solid #484848;
  padding-right: 24px;
}
.global-nav .site-links {
  gap: 23px;
  font-size: 13px;
}
.global-nav .site-links .nav-link {
  color: #bdbdbd !important;
  gap: 8px;
}
.global-nav .site-links .nav-link:is(:hover, :focus-visible) {
  color: white !important;
}
.global-nav .site-links .nav-link i {
  color: var(--brand-gold);
  font-size: 13px;
}
.global-nav .nav-account {
  gap: 18px;
  font-size: 16px;
}
.global-nav .nav-account .nav-link {
  color: #aaa !important;
}
.global-nav .nav-account .nav-link:is(:hover, :focus-visible) {
  color: var(--brand-gold) !important;
}
.global-session {
  max-width: 340px;
  flex-basis: 340px;
  border-left: 1px solid #353535;
  padding-left: 22px;
  gap: 10px;
}
.session-text {
  gap: 3px;
}
.session-context {
  font-size: 11px;
  color: #999;
}
.session-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.session-title:is(:hover, :focus-visible) {
  color: white;
}
.global-nav .workspace-link {
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  padding: 8px 12px;
  border: 1px solid var(--brand-gold);
  border-radius: 5px;
  background: var(--brand-gold);
  color: #101010 !important;
  gap: 8px;
}
.global-nav .workspace-link:is(:hover, :focus-visible) {
  background: #ffcf48;
  border-color: #ffcf48;
  color: #101010 !important;
}
.global-nav .workspace-link.idle {
  padding: 4px 0;
  background: transparent;
  border-color: transparent;
  color: #bdbdbd !important;
}
.global-nav .workspace-link.idle i {
  color: var(--brand-gold);
}
.contents-toggle {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-gold);
}
.reading-document {
  max-width: 900px;
  padding: 44px 50px 72px;
  font:
    400 17px/1.75 "Space Grotesk",
    Helvetica,
    sans-serif;
}
h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 14px 0 26px;
  letter-spacing: -0.6px;
}
.dojo-link {
  font-size: 14px;
  color: var(--brand-blue);
}
.module-intro {
  margin-bottom: 30px;
}
.module-meta {
  font-size: 13px;
  gap: 12px;
  margin-top: 24px;
}
.challenge {
  padding: 30px 0 36px;
  margin-top: 32px;
  border-top: 1px solid #303030;
}
.challenge-heading {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px 18px;
  margin-bottom: 9px;
  align-items: center;
}
.challenge-number {
  grid-column: 1/-1;
  font:
    400 11px/1.5 "Space Mono",
    monospace;
  padding-left: 21px;
  margin: 0;
  color: #999;
}
.challenge-heading .challenge-icon {
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  font-size: 12px;
  padding: 0;
  -webkit-text-stroke: 0;
}
.challenge-heading .challenge-active {
  -webkit-text-fill-color: var(--brand-gold) !important;
}
.challenge-heading h2 {
  font:
    500 26px/1.3 "Space Grotesk",
    Helvetica,
    sans-serif;
  letter-spacing: -0.25px;
  color: var(--brand-blue);
  text-shadow: none;
}
.challenge-state {
  font:
    400 12px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  padding: 0;
  color: #999;
}
.challenge-meta {
  font:
    400 12px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #999;
  margin-bottom: 28px;
  gap: 12px;
}
.challenge-body {
  color: #ddd;
}
.challenge-body p {
  margin-bottom: 22px;
}
code {
  font:
    400 14px/1.6 "Space Mono",
    monospace;
  color: #61afef;
}
pre {
  font:
    400 13px/1.85 "Space Mono",
    monospace;
  color: #ccc;
  background: #1c1c1c;
  border: 1px solid #292929;
  border-radius: 4px;
  padding: 17px 20px;
  margin: 24px 0;
}
pre code {
  font: inherit;
  color: inherit;
}
.challenge-actions {
  border: 0;
  padding-top: 0;
  margin-top: 28px;
  gap: 16px;
  min-height: 38px;
}
.start-button {
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  border: 1px solid var(--brand-blue);
  border-radius: 5px;
  padding: 8px 12px;
  height: 38px;
  min-width: 86px;
  background: var(--brand-blue);
  color: #101010;
}
.start-button:is(:hover, :focus-visible) {
  background: #24b0e5;
  border-color: #24b0e5;
  color: #101010;
}
.start-button.running,
.is-solved .start-button {
  background: #1c1c1c;
  border-color: #353535;
  color: #ddd;
}
.start-button.running:is(:hover, :focus-visible),
.is-solved .start-button:is(:hover, :focus-visible) {
  background: #262626;
  border-color: #484848;
  color: white;
}
.start-button i {
  font-size: 12px;
  margin-right: 8px;
}
.running-indicator {
  font-size: 13px;
  color: var(--brand-green);
}
.inline-flag {
  max-width: 340px;
  gap: 8px;
}
.inline-flag input {
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  background: #101010;
  border-color: #353535;
  border-radius: 5px;
  height: 38px;
  padding: 8px 11px;
}
.inline-flag input::placeholder {
  color: #999;
}
.inline-flag button {
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  background: #1c1c1c;
  border-color: #353535;
  border-radius: 5px;
  color: #ddd;
  height: 38px;
  padding: 8px 12px;
}
.inline-flag button:is(:hover, :focus-visible) {
  background: #262626;
  border-color: #484848;
  color: white;
}
.module-sidebar {
  background: #171717;
  border-right: 1px solid #303030;
}
.sidebar-heading {
  padding: 24px 22px 18px;
}
.sidebar-dojo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-blue);
}
.sidebar-dojo i {
  font-size: 11px;
}
.sidebar-dojo:is(:hover, :focus-visible) {
  color: #61afef;
}
.sidebar-title {
  margin: 10px 0 18px;
}
.sidebar-title > a {
  font:
    500 17px/1.35 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #eaeaea;
}
.module-progress {
  font-size: 13px;
  color: #ddd;
}
.module-progress-track {
  height: 3px;
  background: #353535;
  margin-top: 9px;
}
.module-progress-track span {
  background: var(--brand-green);
}
.sidebar-list {
  padding: 0 12px 16px !important;
}
.sidebar-list a {
  font:
    400 14px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #ccc;
  padding: 7px 10px;
  gap: 8px;
  border-radius: 4px;
  margin: 1px 0;
}
.sidebar-list a.solved:not(.current) {
  color: #969696;
}
.sidebar-list a.solved:not(.current) .name {
  opacity: 1;
}
.sidebar-list a.current {
  background: rgba(0, 163, 224, 0.08);
  box-shadow: inset 2px 0 var(--brand-blue);
  color: var(--brand-blue);
}
.sidebar-list a.current .index {
  color: var(--brand-blue);
}
.sidebar-list .index {
  font-size: 11px;
  color: #888;
}
.sidebar-list .solved-mark {
  flex: none;
  width: 11px;
  align-self: flex-start;
  margin-top: 5px;
  font-size: 10px;
  color: #969696;
}
.sidebar-list .running-note {
  display: block;
  margin-top: 4px;
  font:
    400 11px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #aaa;
}
.document-footer {
  border-top: 1px solid #303030;
  color: #999;
  font-size: 12px;
}
.dojo-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.reading-document {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
}
.reading-document > .module-intro {
  margin-bottom: 0;
}
.discovery-content {
  display: flex;
  flex-direction: column;
}
.dojo-page > *,
.reading-document > *,
.discovery-content > * {
  flex: 0 0 auto;
}
.discovery-page > .discovery-content {
  flex: 1;
}
.dojo-page > .document-footer,
.reading-document > .document-footer,
.discovery-content > .discovery-footer {
  margin-top: auto;
}
.dojo-page > :has(+ .document-footer),
.discovery-content > :has(+ .discovery-footer) {
  margin-bottom: 40px;
}
.reading-document > :has(+ .document-footer) {
  margin-bottom: 30px;
}
.lecture {
  border-color: #303030;
}
.lecture h2 {
  font-size: 23px;
}
.dojo-page {
  font:
    400 17px/1.7 "Space Grotesk",
    Helvetica,
    sans-serif;
  padding-top: calc(var(--header-height) + 46px);
}
.dojo-intro h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.dojo-intro p {
  font-size: 17px;
  color: #bbb;
}
.dojo-section-links {
  font-size: 14px;
}
.dojo-page h2 {
  font:
    500 24px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #eaeaea;
  letter-spacing: -0.2px;
}
.dojo-page section {
  margin-top: 40px;
}
.dojo-module-list,
.dojo-module-list a {
  border-style: solid;
  border-color: #303030;
}
.dojo-module-list a {
  font-size: 16px;
  padding: 14px 0;
  color: #ddd;
}
.dojo-module-list a.current-module,
.dojo-module-list a:is(:hover, :focus-visible) {
  color: var(--brand-blue);
}
.dojo-module-list .module-count {
  font-size: 12px;
  color: #999;
}
.dojo-stat-row {
  border-top: 1px solid #303030;
  border-bottom: 1px solid #303030;
  padding: 28px 0;
}
.dojo-stat-row > div {
  gap: 8px;
}
.dojo-stat-row > div + div {
  border-left: 1px solid #303030;
  padding-left: 36px;
}
.dojo-stat-row strong {
  font:
    600 32px/1.2 "Space Grotesk",
    Helvetica,
    sans-serif;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.dojo-stat-row span {
  font-size: 13px;
  color: #999;
}
.leaderboard-heading {
  gap: 20px;
  margin-bottom: 22px;
}
.leaderboard-heading label {
  font-size: 13px;
  color: #999;
  gap: 9px;
}
.leaderboard-heading select {
  font-size: 13px;
  border-radius: 5px;
  padding: 7px 10px;
  background: #1c1c1c;
  border-color: #353535;
}
.dojo-leaderboard table {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.dojo-leaderboard th {
  font-size: 12px;
  border-bottom: 1px solid #353535;
  padding-top: 12px;
  padding-bottom: 12px;
  color: #aaa;
}
.dojo-leaderboard td {
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid #262626;
}
.dojo-leaderboard tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.025);
}
.dojo-leaderboard td:nth-child(2) {
  color: var(--brand-blue);
}
.mode-workspace .global-nav .brand {
  font-size: 17px;
}
.mode-workspace .global-nav {
  gap: 18px;
}
.mode-workspace .global-nav .site-links {
  font-size: 12px;
  gap: 16px;
}
.mode-workspace .global-session {
  padding-left: 0;
  border: 0;
  max-width: 300px;
  flex-basis: 300px;
}
.mode-workspace .session-title {
  font-size: 13px;
}
.mode-workspace .return-link {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #ddd !important;
  gap: 8px;
}
.mode-workspace .return-link i {
  color: var(--brand-gold);
  font-size: 12px;
}
.workspace-tools {
  gap: 6px;
}
.workspace-tools button {
  font-size: 13px;
  color: #aaa;
  padding: 4px 8px;
  border: 0;
  border-radius: 3px;
}
.workspace-tools button i {
  font-size: 12px;
}
.workspace-tools button.selected {
  border: 0;
  color: var(--brand-gold);
  background: #292929;
}
.submit-flag {
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  border-color: #3a3a3a;
  border-radius: 5px;
  background: #242424;
  color: #ddd;
}
.workspace-tool-select {
  border-radius: 5px;
  border-color: #3a3a3a;
  background: #242424;
}
.connection-message {
  font:
    400 13px/1.6 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #999;
}
.terminal-service {
  font:
    400 14px/1.8 "Space Mono",
    monospace;
}
.flag-popover {
  border-color: #353535;
  border-radius: 5px;
  background: #1b1b1b;
}
@media (max-width: 1300px) {
  .global-nav {
    gap: 20px;
  }
  .global-nav .site-links {
    font-size: 13px;
    gap: 18px;
  }
  .global-session {
    max-width: 280px;
    flex-basis: 280px;
    padding-left: 18px;
  }
  .global-nav .workspace-link {
    font-size: 13px;
  }
  .reading-document {
    padding-left: 44px;
    padding-right: 44px;
  }
}
@media (max-width: 1000px) {
  .global-nav {
    gap: 18px;
  }
  .global-nav .brand {
    padding-right: 18px;
  }
  .global-session {
    max-width: 280px;
    flex: 1;
    padding-left: 16px;
  }
  .reading-document {
    padding-left: 36px;
    padding-right: 36px;
  }
  .mode-workspace .global-session {
    padding-left: 0;
  }
}
@media (max-width: 700px) {
  .module-sidebar,
  .sidebar-scrim,
  .contents-toggle {
    display: none !important;
  }
  .sidebar-open .reading-page {
    padding-left: 0;
  }
  #dojo-sidebar {
    --header-height: 56px;
  }
  #dojo-sidebar.has-active {
    --header-height: 104px;
  }
  .global-nav {
    gap: 0 14px;
  }
  .global-nav .brand {
    font-size: 17px;
    padding-right: 14px;
  }
  .global-session {
    max-width: calc(100% - 147px);
    border: 0;
    padding-left: 0;
    gap: 8px;
  }
  .session-title {
    font-size: 13px;
  }
  .global-nav .workspace-link {
    font-size: 12px;
    gap: 7px;
    padding: 7px 10px;
    margin-top: 13px;
  }
  .global-nav .workspace-link.idle {
    margin-top: 0;
    padding: 0;
    border: 0;
  }
  .reading-document {
    padding: 30px 24px 60px;
    font-size: 16px;
    line-height: 1.75;
  }
  h1 {
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: -0.4px;
  }
  .challenge-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 11px 12px;
  }
  .challenge-heading h2 {
    font-size: 24px;
  }
  .challenge-state {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    align-self: start;
    padding-top: 4px;
  }
  .challenge-meta {
    font-size: 12px;
    margin-bottom: 24px;
  }
  pre {
    font-size: 12px;
    padding: 15px;
  }
  code {
    font-size: 13px;
  }
  .challenge-actions {
    margin-top: 24px;
    gap: 12px;
  }
  .inline-flag {
    max-width: none;
  }
  .inline-flag input {
    font-size: 16px;
  }
  .sidebar-list a {
    min-height: 44px;
    padding: 10px;
    font-size: 14px;
  }
  .sidebar-heading {
    padding-bottom: 20px;
  }
  .dojo-page {
    padding: calc(var(--header-height) + 32px) 24px 60px;
    font-size: 16px;
  }
  .dojo-intro h1 {
    font-size: 27px;
  }
  .dojo-intro p {
    font-size: 16px;
  }
  .dojo-page h2 {
    font-size: 23px;
  }
  .dojo-module-list a {
    font-size: 15px;
  }
  .dojo-stat-row {
    padding: 22px 0;
  }
  .dojo-stat-row > div + div {
    padding-left: 12px;
  }
  .dojo-stat-row strong {
    font-size: clamp(15px, 4.4vw, 18px);
    letter-spacing: -0.4px;
  }
  .dojo-stat-row span {
    font-size: 12px;
  }
  .leaderboard-heading {
    gap: 16px 12px;
  }
  .leaderboard-heading label {
    font-size: 12px;
  }
  .leaderboard-heading select {
    font-size: 12px;
  }
  .dojo-leaderboard table {
    font-size: 14px;
  }
  .dojo-leaderboard th {
    font-size: 11px;
  }
  .mode-workspace .global-nav {
    gap: 0 12px;
  }
  .mode-workspace .global-nav .brand {
    font-size: 16px;
  }
  .mode-workspace .global-session {
    max-width: calc(100% - 124px);
  }
  .mode-workspace .return-link {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .global-nav {
    gap: 0 10px;
  }
  .global-nav .brand {
    font-size: 16px;
    padding-right: 12px;
  }
  .global-session {
    max-width: calc(100% - 130px);
  }
  .global-nav .workspace-link {
    font-size: 11px;
    padding: 7px 8px;
  }
  .reading-document,
  .dojo-page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .challenge-heading {
    grid-template-columns: 1fr;
  }
  .challenge-state {
    grid-column: 1;
    grid-row: 3;
    padding: 0;
  }
  .dojo-stat-row > div + div {
    padding-left: 10px;
  }
  .dojo-stat-row span {
    font-size: 11px;
  }
  .mode-workspace .global-nav .brand {
    font-size: 14px;
  }
  .mode-workspace .global-session {
    max-width: calc(100% - 115px);
  }
  .mode-workspace .global-nav {
    gap: 0 8px;
  }
  .mode-workspace .return-link {
    font-size: 11px;
  }
}

html {
  scrollbar-gutter: stable;
}
html:has(.workspace-dialog[open]) {
  scrollbar-gutter: auto;
}
#dojo-sidebar
  :is(
    button,
    select,
    .global-nav,
    .module-sidebar,
    .workspace-dock,
    .contents-head,
    .restart-option,
    .challenge-number,
    .challenge-state,
    .running-indicator,
    .inline-open,
    .code-tabs,
    .line-number,
    .desktop-menubar,
    .desktop-terminal > div,
    .dojo-section-links,
    .dojo-module-list,
    .leaderboard-heading label
  ) {
  -webkit-user-select: none;
  user-select: none;
}
#dojo-sidebar :is(input, textarea, [contenteditable="true"]) {
  -webkit-user-select: text;
  user-select: text;
}
.global-nav .brand .brand-dot {
  color: var(--brand-black);
  line-height: 1.5;
}
.sidebar-list a {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 18px;
}
.sidebar-list a.current {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  color: #e5e5e5;
}
.sidebar-list a.current::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 4px 0 0 4px;
  background: #606060;
  pointer-events: none;
}
.sidebar-list a.current .index {
  color: #aaa;
}
.sidebar-list a:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.05);
}
.single-line-sidebar .sidebar-list .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 18px;
  align-self: center;
  padding-top: 0;
  min-height: 11px;
}
.sidebar-list .solved-mark {
  color: var(--brand-green);
  align-self: auto;
  margin: 0;
  width: 11px;
  text-align: center;
  font-size: 10px;
}
.sidebar-list a.running .solved-mark {
  color: var(--brand-gold);
}
.sidebar-list .running-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex: none;
}
#dojo-sidebar :is(button, a, input, select):focus {
  outline: 0;
  box-shadow: none;
}
#dojo-sidebar a:focus-visible {
  text-decoration: none;
}
#dojo-sidebar :is(input, select):focus {
  border-color: #777;
}
.start-button,
.start-button.running,
.is-solved .start-button {
  background: #1c1c1c;
  border-color: #353535;
  color: #ddd;
}
.start-button:is(:hover, :focus-visible),
.start-button.running:is(:hover, :focus-visible),
.is-solved .start-button:is(:hover, :focus-visible) {
  background: #262626;
  border-color: #484848;
  color: white;
}
.challenge {
  padding-bottom: 0;
}
.challenge-meta {
  flex-wrap: wrap;
  row-gap: 4px;
}
.challenge-meta span {
  white-space: nowrap;
}
.challenge + .challenge {
  margin-top: 16px;
}
.challenge-actions {
  align-items: flex-start;
}
.challenge-actions .start-button[data-start] {
  width: 120px;
  min-width: 120px;
  flex: none;
}
.challenge-actions .running-indicator {
  width: 80px;
  flex: none;
  white-space: nowrap;
}
.challenge-actions .running-indicator[data-state="failed"] {
  color: #d46767;
}
.challenge-actions .running-indicator[hidden] {
  display: block !important;
  visibility: hidden;
}
.challenge-actions .inline-flag[hidden] {
  display: grid !important;
  visibility: hidden;
}
.running-indicator,
.inline-open {
  padding-top: 8px;
}
.inline-flag {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 8px;
}
.inline-flag .inline-result {
  grid-column: 1/-1;
  min-height: 2.8em;
  font-size: 13px;
  line-height: 1.4;
  color: #aaa;
  margin: 0;
}
.inline-flag .inline-result.success {
  color: var(--brand-green);
}
.challenge-heading {
  grid-template-columns: minmax(0, 1fr) auto;
}
.challenge-number {
  grid-column: 1;
  grid-row: 1;
}
.challenge-state {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 0;
  font-size: 11px;
}
.challenge-heading h2 {
  grid-column: 1/-1;
  grid-row: 2;
}
.workspace-dialog {
  --workspace-margin: min(5vw, 5dvh);
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100vw - 2 * var(--workspace-margin));
  height: calc(100dvh - 2 * var(--workspace-margin));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
  background: #101010;
  color: #ddd;
  box-shadow: 0 18px 75px #0008;
  color-scheme: dark;
  outline: 0;
}
#dojo-sidebar .workspace-dialog:focus,
#dojo-sidebar .workspace-dialog:focus-visible {
  outline: 0;
}
.workspace-dialog[open] {
  display: flex;
  flex-direction: column;
}
.workspace-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.workspace-sensai {
  width: clamp(320px, 32vw, 460px);
  flex: none;
  min-height: 0;
  border-left: 1px solid #333;
  background: #171717;
}
.sensai-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  color: #ddd;
  font: 400 14px/1.6 "Space Grotesk", sans-serif;
}
.sensai-chat button {
  border: 1px solid #444;
  border-radius: 5px;
  padding: 6px 12px;
  background: #252525;
  color: #ddd;
  cursor: pointer;
}
.sensai-chat button:hover { border-color: #777; }
.sensai-chat button:disabled { opacity: .5; cursor: default; }
.sensai-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px;
  overscroll-behavior: contain;
}
.sensai-empty { display: grid; place-items: center; height: 100%; }
.sensai-wordmark { color: #ddd; font-size: 30px; letter-spacing: .08em; }
.sensai-wordmark > span { color: var(--brand-gold); }
.sensai-message { margin: 24px 0; overflow-wrap: anywhere; line-height: 1.8; }
.sensai-user {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin-left: auto;
  padding: 12px 15px;
  border-radius: 8px;
  background: #282828;
  color: #eee;
  white-space: pre-wrap;
  text-align: right;
}
.sensai-assistant { color: #ccc; }
.sensai-assistant .sensai-message-content > :first-child { margin-top: 0; }
.sensai-assistant .sensai-message-content > :last-child { margin-bottom: 0; }
.sensai-assistant p { margin: 0 0 1em; }
.sensai-assistant :is(h1,h2,h3,h4,h5,h6) { margin: 1.2em 0 .5em; line-height: 1.4; font-size: 1.1em; color: #eee; }
.sensai-assistant :is(ul,ol) { margin: .7em 0; padding-left: 1.5em; }
.sensai-assistant li { margin: .3em 0; }
.sensai-assistant code { background: #252525; border-radius: 3px; padding: .1em .3em; color: #ddd; font-size: .9em; }
.sensai-assistant pre { overflow: auto; margin: 1em 0; padding: 12px; border: 1px solid #333; border-radius: 5px; background: #101010; white-space: pre; }
.sensai-assistant pre code { padding: 0; background: none; color: inherit; }
.sensai-assistant blockquote { margin: 1em 0; padding-left: 12px; border-left: 2px solid #555; color: #aaa; }
.sensai-assistant table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
.sensai-assistant :is(th,td) { padding: 6px 10px; border: 1px solid #444; }
.sensai-assistant hr { border: 0; border-top: 1px solid #444; }
.sensai-tool {
  margin: 6px 0;
  padding: 1px 0 1px 10px;
  border-left: 1px solid #3c3c3c;
  color: #929292;
  font-size: 12px;
}
.sensai-tool summary { display: flex; align-items: center; gap: 7px; min-height: 24px; padding-right: 4px; list-style: none; cursor: pointer; }
.sensai-tool summary::-webkit-details-marker { display: none; }
.sensai-tool summary:focus-visible { outline: 1px solid #777; outline-offset: 3px; border-radius: 2px; }
.sensai-tool summary:hover { color: #ccc; }
.sensai-tool summary > i { width: 12px; text-align: center; font-size: 10px; }
.sensai-tool-label { min-width: 0; }
.sensai-tool-state { margin-left: auto; font-size: 10px; }
.sensai-tool[data-state="failed"] .sensai-tool-state { color: #e79886; }
.sensai-tool-chevron { margin-left: auto; opacity: 0; }
.sensai-tool:is(:hover, [open]) .sensai-tool-chevron,
.sensai-tool summary:focus-visible .sensai-tool-chevron { opacity: 1; }
.sensai-tool[open] .sensai-tool-chevron { transform: rotate(90deg); }
.sensai-tool-state + .sensai-tool-chevron { margin-left: 0; }
.sensai-tool-result { max-height: 260px; overflow: auto; margin: 6px 0 10px; padding: 10px 12px; border: 1px solid #303030; border-radius: 5px; background: #111; color: #bcbcbc; font-size: 12px; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #3c3c3c transparent; }
.sensai-tool:not([open]) > .sensai-tool-result { display: none; }
.sensai-tool-result:hover { scrollbar-color: #555 transparent; }
.sensai-tool-note { margin: 0; color: #929292; font-size: 11px; }
.sensai-tool-error { color: #e79886; }
.sensai-tool-context, .sensai-terminal-row { display: flex; justify-content: space-between; gap: 10px; }
.sensai-tool-meta { color: #888; font-size: 11px; white-space: nowrap; }
.sensai-terminal-updated::before { content: " · "; }
.sensai-terminal-row + .sensai-terminal-row { margin-top: 7px; }
.sensai-tool-context, .sensai-tool-path { margin-bottom: 8px; }
.sensai-tool-path { display: block; color: #aaa; font: 11px/1.65 "Space Mono", monospace; }
.sensai-tool-output { margin: 0; padding: 0; border: 0; background: none; color: #ccc; font: 11px/1.65 "Space Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.sensai-tool-output + .sensai-tool-note { margin-top: 8px; }
.sensai-tool-screenshot { display: block; width: 100%; height: auto; border-radius: 3px; }
@media (hover: none) { .sensai-tool-chevron { opacity: 1; } }
.sensai-compose { padding: 12px 14px 8px; border-top: 1px solid #303030; margin: 0; }
.sensai-input {
  display: flex;
  align-items: flex-end;
  border: 1px solid #3c3c3c;
  border-radius: 7px;
  background: #101010;
}
.sensai-input:focus-within { border-color: #777; }
.sensai-compose textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  max-height: 160px;
  resize: none;
  border: 0;
  border-radius: 7px;
  padding: 10px 12px;
  background: transparent;
  color: #ddd;
  font: inherit;
  line-height: 22px;
}
.sensai-compose textarea:focus { outline: none; }
.sensai-input button { flex: none; width: 30px; height: 30px; margin: 6px; padding: 0; }
.sensai-compose-footer { display: flex; align-items: baseline; gap: 8px; min-height: 20px; margin-top: 4px; font-size: 11px; line-height: 20px; }
.sensai-status { flex: 1; min-width: 0; color: #999; overflow-wrap: anywhere; }
.sensai-compose [data-sensai-new] { flex: none; border: 0; background: none; padding: 0; color: #999; font: inherit; }
.sensai-compose [data-sensai-new]:hover { color: #ddd; }
.sensai-compose :is([type="submit"], [data-sensai-stop]) { background: var(--brand-gold); border-color: var(--brand-gold); color: #171717; }
.sensai-chat :is(.sensai-messages, textarea, pre, table) { scrollbar-width: thin; scrollbar-color: #3c3c3c transparent; }
.sensai-chat :is(.sensai-messages, textarea, pre, table):hover { scrollbar-color: #555 transparent; }
@media (max-width: 760px) {
  .workspace-sensai { width: 100%; border-left: 0; }
  .workspace-dialog.has-sensai .workspace-surface { display: none; }
}
.workspace-dialog::backdrop {
  background: rgba(8, 8, 8, 0.4);
  backdrop-filter: blur(4px);
}
.workspace-dialog .workspace-surface {
  position: relative;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: #101010;
}
.workspace-close {
  position: fixed;
  left: calc(100vw - var(--workspace-margin) / 2);
  top: calc(var(--workspace-margin) / 2);
  right: auto;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #999;
  line-height: 1;
}
.workspace-close:is(:hover, :focus-visible) {
  background: transparent;
  color: #ddd;
}
.workspace-close svg {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.popover-close i {
  display: block;
  line-height: 1;
}
.workspace-dialog .terminal-service {
  height: 100%;
  overflow: auto;
  padding: 28px 30px;
  font:
    400 14px/1.8 "Space Mono",
    monospace;
}
.workspace-dialog .terminal-history {
  white-space: pre-wrap;
}
.workspace-dialog .terminal-command {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.workspace-dialog .terminal-command input {
  min-width: 0;
}
.workspace-dock {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
  min-height: 44px;
  padding: 6px 14px;
  border-top: 1px solid #333;
  border-radius: 0 0 6px 6px;
  background: #202020;
  font:
    400 13px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.workspace-session {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: none;
  margin-right: auto;
}
.workspace-session-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.workspace-context {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}
.workspace-challenge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 0 auto;
  max-width: 65%;
}
.workspace-challenge-row::before {
  content: "/";
  flex: none;
  color: #666;
}
.workspace-challenge-title {
  font-size: 13px;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-challenge-row .workspace-challenge-title {
  min-width: 0;
  flex: 0 1 auto;
}
.workspace-mode {
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.4;
  padding: 1px 5px;
  border: 1px solid #5b5131;
  border-radius: 3px;
  color: #c9b578;
}
.workspace-ready-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  flex: none;
}
.workspace-dock .workspace-tools {
  display: flex;
  gap: 2px;
  flex: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
#dojo-sidebar .workspace-dock .workspace-tools {
  padding: 0 !important;
}
.workspace-dock button {
  font:
    400 13px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  white-space: nowrap;
}
.workspace-dock .workspace-tools button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #aaa;
}
.workspace-dock .workspace-tools button i {
  font-size: 12px;
}
.workspace-dock .workspace-tools button .framed-terminal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 17px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 9px;
  line-height: 1;
}
.workspace-dock .workspace-tools button.selected {
  background: #303030;
  color: var(--brand-gold);
}
.workspace-dock .workspace-tools button:not(.selected):is(:hover, :focus-visible) {
  background: #303030;
  color: #ddd;
}
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.workspace-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #aaa;
}
.workspace-actions button:is(:hover, :focus-visible) {
  background: #303030;
  color: white;
}
.workspace-actions button:disabled {
  opacity: 0.4;
  cursor: default;
}
.workspace-actions button i {
  font-size: 12px;
}
.workspace-dialog .workspace-tool-select {
  display: none;
  flex: none;
}
.workspace-dialog.is-fullscreen {
  inset: 0;
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.workspace-dialog.is-fullscreen .workspace-close {
  display: none;
}
.workspace-dialog.is-fullscreen .workspace-surface,
.workspace-dialog.is-fullscreen .workspace-dock {
  border-radius: 0;
}
.workspace-dialog.is-fullscreen .workspace-dock {
  min-height: 44px;
  padding: 6px 14px;
}
.workspace-dialog :is(.flag-popover, .restart-popover) {
  position: absolute;
  z-index: 6;
  top: auto;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
}
.workspace-dialog .flag-popover {
  padding-bottom: 12px;
}
.workspace-dialog :is(.flag-popover, .restart-popover) .contents-head {
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.workspace-dialog :is(.flag-popover, .restart-popover) .contents-head strong {
  font-weight: 500;
}
.workspace-dialog .contents-head .popover-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aaa;
  font-size: 14px;
  line-height: 1;
  text-shadow: none;
}
.workspace-dialog .contents-head .popover-close:is(:hover, :focus-visible) {
  background: transparent;
  color: white;
}
.restart-popover {
  width: 300px;
  padding: 20px;
  border: 1px solid #353535;
  border-radius: 5px;
  background: #1b1b1b;
  color: var(--text);
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.restart-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #353535;
  border-radius: 4px;
  margin: 0 0 18px;
  cursor: pointer;
}
.restart-option:is(:hover, :focus-within) {
  background: #242424;
  border-color: #484848;
}
.restart-option input {
  appearance: auto;
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--brand-gold);
}
.restart-option span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.restart-option strong {
  font-size: 14px;
  font-weight: 400;
  color: #ddd;
}
.restart-option small {
  font-size: 12px;
  line-height: 1.5;
  color: #999;
}
@media (max-width: 1100px) {
  .workspace-dock {
    gap: 18px;
  }
  .workspace-dock .workspace-tools {
    display: none;
  }
  .workspace-dialog .workspace-tool-select {
    display: block;
  }
  .workspace-session {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .challenge-meta {
    column-gap: 8px;
  }
  .challenge-meta span + span::before {
    margin-right: 8px;
  }
  .challenge-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .challenge-number {
    grid-column: 1;
    grid-row: 1;
  }
  .challenge-state {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    align-self: center;
  }
  .workspace-dialog {
    border-radius: 5px;
  }
  .workspace-dialog .terminal-service {
    padding: 24px 18px;
    font-size: 12px;
  }
  .workspace-close {
    width: 44px;
    height: 44px;
  }
  .workspace-dock,
  .workspace-dialog.is-fullscreen .workspace-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 8px 12px;
    min-height: 0;
  }
  .workspace-session {
    grid-column: 1/-1;
    max-width: 100%;
    margin: 0;
  }
  .workspace-context {
    font-size: 11px;
  }
  .workspace-challenge-title {
    font-size: 12px;
  }
  .workspace-actions {
    gap: 4px;
  }
  .workspace-actions button {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 8px;
  }
  .workspace-actions button span {
    display: none;
  }
  .workspace-actions button i {
    font-size: 13px;
  }
  .workspace-dialog .workspace-tool-select {
    width: 100px;
    min-width: 0;
    min-height: 44px;
    font-size: 13px;
    padding: 8px;
  }
  .workspace-dialog :is(.flag-popover, .restart-popover) {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
  .workspace-dialog .flag-popover input {
    font-size: 16px;
  }
}

.discovery-page {
  width: calc(100% - 80px);
  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 54px) 0 48px;
  font:
    400 16px/1.6 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.discovery-page section {
  margin-top: 0;
}
.discovery-page nav {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}
.discovery-page [hidden] {
  display: none !important;
}
.discovery-page h1,
.discovery-page h2,
.discovery-page h3,
.discovery-page p {
  margin: 0;
  letter-spacing: 0;
}
.discovery-page a {
  text-shadow: none;
  text-decoration: none;
}
.discovery-page button,
.discovery-page a,
.discovery-page input,
.discovery-page select {
  -webkit-tap-highlight-color: transparent;
}
.discovery-page button,
.discovery-tabs,
.catalog-row,
.discovery-footer,
.browse-links {
  -webkit-user-select: none;
  user-select: none;
}
.discovery-page a:is(:hover, :focus-visible) {
  color: white;
}
.discovery-page .page-wordmark {
  font:
    700 42px/1.3 "Space Mono",
    monospace;
  letter-spacing: -1.5px;
}
.discovery-page .catalog-title {
  font:
    700 38px/1.3 "Space Mono",
    monospace;
  letter-spacing: -0.6px;
}
.discovery-page .page-wordmark .brand-white {
  color: var(--brand-white);
}
.discovery-page .page-wordmark .brand-green {
  color: var(--brand-green);
}
.discovery-page .page-wordmark .brand-dot {
  display: inline-block;
  color: var(--brand-black);
  background: linear-gradient(
    to right,
    transparent 10%,
    var(--brand-gold) 10%,
    var(--brand-gold) 90%,
    transparent 90%
  );
  line-height: 1.22;
}
.discovery-page .page-lede {
  color: #aaa;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  max-width: 680px;
}
.discovery-page .section-title {
  font:
    500 20px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: var(--brand-green);
  letter-spacing: -0.15px;
}
[data-discovery="home"] .discovery-page .section-title {
  color: #ddd;
}
.discovery-page .section-note {
  font-size: 14px;
  color: #999;
  margin-top: 5px;
}
.catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 31px;
}
.catalog-search {
  position: relative;
  flex: none;
  width: 235px;
  margin-top: 10px;
}
.catalog-search i {
  position: absolute;
  left: 13px;
  top: 14px;
  font-size: 13px;
  color: #888;
  pointer-events: none;
}
.catalog-search input {
  width: 100%;
  height: 42px;
  padding: 8px 12px 8px 36px;
  border: 1px solid #383838;
  border-radius: 4px;
  background: #181818;
  color: #ddd;
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.catalog-search input::placeholder {
  color: #999;
}
.catalog-search input {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.catalog-search input:focus {
  background: #1b1b1b;
  border-color: #777;
}
.discovery-page .discovery-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #333;
  margin-bottom: 28px;
}
.discovery-tabs a {
  position: relative;
  padding: 0 0 13px;
  color: #999;
  font-size: 14px;
  white-space: nowrap;
}
.discovery-tabs a.active {
  color: #eee;
}
.discovery-tabs a.active::after {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #b7b7b7;
}
.discovery-tabs a:is(:hover, :focus-visible) {
  color: white;
}
.discovery-page .catalog-section + .catalog-section {
  margin-top: 31px;
}
.catalog-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.catalog-section-header > a {
  font-size: 13px;
  white-space: nowrap;
}
.catalog-list {
  border-top: 1px solid #303030;
}
.catalog-row {
  display: grid;
  grid-template-columns: 24px 48px minmax(0, 1fr) 156px;
  align-items: center;
  gap: 18px;
  min-height: 87px;
  padding: 14px 9px;
  border-bottom: 1px solid #303030;
  color: #ddd;
  transition: background 0.1s;
}
.catalog-row:is(:hover, :focus-visible) {
  background: #191919;
  color: #ddd !important;
}
.catalog-row .path-number {
  color: #777;
  font:
    400 11px/1.5 "Space Mono",
    monospace;
}
.catalog-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 40px;
  color: #999;
}
.catalog-icon img {
  width: 48px;
  height: 34px;
  object-fit: contain;
}
.dojo-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 28px;
  line-height: 1;
}
.catalog-row .row-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-blue);
  display: block;
}
.catalog-row:is(:hover, :focus-visible) .row-title {
  color: #64cbea;
}
.row-copy {
  display: block;
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 3px;
}
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 13px;
  font-size: 12px;
  line-height: 1.5;
  color: #909090;
  margin-top: 5px;
}
.row-meta span + span::before {
  content: "·";
  margin-right: 13px;
}
.row-progress {
  text-align: right;
  color: #aaa;
  align-self: center;
  font-size: 12px;
  white-space: nowrap;
}
.row-progress.done {
  color: var(--brand-green);
}
.row-progress i {
  font-size: 10px;
  margin-right: 5px;
}
.row-progress-track {
  display: block;
  height: 3px;
  width: 130px;
  margin: 9px 0 0 auto;
  background: #303030;
  overflow: hidden;
}
.row-progress-track > span {
  display: block;
  height: 100%;
  background: var(--brand-green);
}
.catalog-empty {
  padding: 50px 0 60px;
  color: #aaa;
  font-size: 15px;
}
.catalog-count {
  color: #999;
  font-size: 13px;
  white-space: nowrap;
}
.catalog-section.simple .catalog-row {
  grid-template-columns: 48px minmax(0, 1fr) 150px;
  gap: 18px;
  min-height: 76px;
  padding: 16px 9px;
}
.simple-stat:empty {
  display: none;
}
.catalog-section.simple .row-title {
  font-size: 17px;
}
.catalog-section.simple .row-meta {
  margin-top: 5px;
}
.simple-stat {
  font-size: 12px;
  color: #999;
  text-align: right;
  white-space: nowrap;
}
.discovery-footer {
  border-top: 1px solid #303030;
  padding-top: 22px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #777;
}
.discovery-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.discovery-footer a {
  color: #aaa;
}
.home-hero {
  margin-bottom: 44px;
  padding: 4px 0 6px;
  text-align: center;
}
.home-hero .page-wordmark {
  font-size: clamp(58px, 5vw, 68px);
  line-height: 1.2;
  letter-spacing: -2px;
}
.home-hero .home-tagline {
  font:
    500 28px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: white;
  margin-top: 12px;
}
.home-hero .page-lede {
  max-width: 640px;
  margin: 14px auto 0;
}
.home-hero .home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 24px;
  font-size: 14px;
}
.home-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  background: #252525;
  color: #eee;
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.home-start img {
  object-fit: contain;
  flex: none;
}
.home-start:is(:hover, :focus-visible) {
  background: #303030;
  border-color: #777;
  color: white;
}
.home-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 58px;
  padding-top: 10px;
}
.home-recent {
  align-self: start;
  padding: 22px 24px;
  background: #181818;
  border-radius: 5px;
}
.home-feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
}
.home-feature + .home-feature {
  margin-top: 30px;
}
.home-feature-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
  color: #ddd;
  font-size: 23px;
}
[data-feature-icons="blue"] .home-feature-icon {
  color: var(--brand-blue);
}
[data-feature-icons="gold"] .home-feature-icon {
  color: var(--brand-gold);
}
.home-feature-icon img {
  width: 44px;
  height: 28px;
  object-fit: contain;
}
.home-feature h2 {
  font:
    500 20px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #ddd;
}
.home-feature p {
  font-size: 15px;
  line-height: 1.65;
  color: #aaa;
  margin-top: 8px;
}
.home-solves {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(5, minmax(60px, auto));
  gap: 9px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.home-solves li {
  margin: 0;
  padding: 8px 0;
}
.home-solves li:last-child {
  padding-bottom: 0;
}
.solve-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 17px;
  font-size: 14px;
  line-height: 1.5;
}
.solve-challenge {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.solve-top time {
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  color: #888;
  font-variant-numeric: tabular-nums;
}
.home-solves .solve-details {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #777;
}
.solve-details a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #999;
}
.solve-details .solve-hacker {
  color: #bbb;
}
.home-placeholder .placeholder-name,
.home-placeholder .placeholder-time {
  display: inline-block;
  background: linear-gradient(#ffffff09, #ffffff09) left center / 100% 8px no-repeat;
  border-radius: 2px;
}
.home-placeholder .placeholder-name {
  width: 65%;
}
.home-placeholder .placeholder-time {
  width: 5ch;
}
.home-resume {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: calc(100% - 64px);
  max-width: 800px;
  padding: 16px 20px;
  background: #202020;
  border: 1px solid #3d3d3d;
  border-radius: 6px;
  box-shadow: 0 6px 30px #0009;
  font:
    400 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.home-resume[hidden] {
  display: none !important;
}
.home-resume-copy {
  min-width: 0;
}
.home-resume-label {
  display: block;
  padding-right: 16px;
  border-right: 1px solid #3b3b3b;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #ddd;
  white-space: nowrap;
}
.home-resume .resume-challenge {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-blue);
}
.home-resume .resume-challenge:is(:hover, :focus-visible) {
  color: white;
}
.home-resume .resume-context {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #999;
}
.home-resume .resume-context > span {
  color: #666;
  margin: 0 4px;
}
.home-resume-progress {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.home-resume .home-progress-label {
  display: block;
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}
.home-resume .home-progress-track {
  display: block;
  flex: 0 1 90px;
  min-width: 30px;
  height: 3px;
  background: #444;
  overflow: hidden;
}
.home-resume .home-progress-track > span {
  display: block;
  height: 100%;
  background: var(--brand-green);
}
.home-resume-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
}
.home-resume .next-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #303030;
  color: #eee;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.home-resume .next-action:is(:hover, :focus-visible) {
  background: #3a3a3a;
  border-color: #777;
  color: white;
}
.home-resume .resume-workspace {
  display: block;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #101010;
}
.home-resume .resume-workspace:is(:hover, :focus-visible) {
  background: #ffcf48;
  border-color: #ffcf48;
  color: #101010;
}
.home-resume .next-action i {
  font-size: 10px;
  margin-left: 4px;
}
@media (max-width: 1000px) {
  .home-introduction {
    gap: 35px;
  }
  .home-resume {
    column-gap: 18px;
  }
  .home-resume-actions {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .home-hero .home-hero-actions {
    gap: 21px;
    margin-top: 22px;
  }
  .home-introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 8px;
  }
  .home-feature {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 14px;
  }
  .home-feature + .home-feature {
    margin-top: 24px;
  }
  .home-feature h2 {
    font-size: 18px;
  }
  .home-feature p {
    font-size: 14px;
    margin-top: 6px;
  }
  .home-feature-icon {
    font-size: 21px;
  }
  .home-feature-icon img {
    width: 37px;
  }
  .home-resume {
    width: calc(100% - 24px);
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    padding: 13px 14px;
  }
  .home-resume-copy {
    display: contents;
  }
  .home-resume .resume-challenge {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    font-size: 16px;
  }
  .home-resume .home-resume-label {
    grid-column: 1/-1;
    text-align: center;
    padding: 0 0 3px;
    border: 0;
    font-size: 13px;
    white-space: nowrap;
  }
  .home-resume .resume-context {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    margin: 0;
    font-size: 11px;
  }
  .home-resume-actions {
    grid-column: 2;
    grid-row: 2/4;
  }
  .home-resume .next-action {
    font-size: 13px;
    padding: 8px 10px;
  }
  .home-resume .workspace-verb {
    display: none;
  }
  .home-resume-progress {
    grid-column: 1/-1;
    grid-row: 4;
    gap: 12px;
    margin-top: 3px;
  }
  .home-resume .home-progress-label {
    font-size: 11px;
  }
  .home-resume .home-progress-track {
    flex: 1;
    margin: 0;
  }
}
.next-step-heading {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.next-step-heading a {
  font-size: 13px;
}
.next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 45px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid #393939;
  border-radius: 5px;
  background: #171717;
}
.next-step .next-dojo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 500;
  color: var(--brand-blue);
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.next-dojo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.next-dojo-icon img {
  width: 40px;
  height: 28px;
  object-fit: contain;
}
.next-dojo-icon .dojo-emoji {
  font-size: 26px;
}
.next-step .next-module {
  font-size: 16px;
  color: #ddd;
  margin-top: 9px;
}
.next-step .next-meta {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
}
.next-step .next-action {
  padding: 9px 19px;
  border: 1px solid #494949;
  border-radius: 4px;
  background: #292929;
  color: #eee;
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  text-align: center;
  white-space: nowrap;
  min-width: 120px;
}
.next-step .next-action:is(:hover, :focus-visible) {
  background: #343434;
  border-color: #737373;
  color: white;
}
.resume-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.resume-context a {
  color: #aaa;
}
.next-step .resume-challenge {
  display: inline-block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--brand-blue);
}
.next-step .resume-challenge:is(:hover, :focus-visible) {
  color: #64cbea;
}
.next-step .resume-meta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}
.resume-running {
  color: var(--brand-green);
}
.resume-step .next-bottom {
  border-top: 0;
  padding-top: 0;
}
.next-step .resume-workspace {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101010;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
}
.next-step .resume-workspace:is(:hover, :focus-visible) {
  background: #ffcf48;
  border-color: #ffcf48;
  color: #101010;
}
.resume-workspace i {
  font-size: 11px;
}
.discovery-page .home-belts {
  margin-top: 56px;
  padding: 28px 30px 30px;
  background: #181818;
  border-radius: 5px;
}
.belt-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.belt-section-heading > a {
  font-size: 13px;
  white-space: nowrap;
}
.belt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.belt-column {
  min-width: 0;
  padding: 0 23px;
}
.belt-column:first-child {
  padding-left: 0;
}
.belt-column:last-child {
  padding-right: 0;
}
.belt-column + .belt-column {
  border-left: 1px solid #303030;
}
.belt-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ddd;
}
.belt-heading img {
  width: 53px;
  height: 37px;
  object-fit: contain;
  flex: none;
}
.belt-heading h3 {
  font:
    500 17px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: inherit;
}
.belt-total {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 13px 0 19px;
}
.belt-total strong {
  font:
    400 32px/1.2 "Space Mono",
    monospace;
  color: #e5e5e5;
  letter-spacing: -1px;
}
.belt-total > span {
  font-size: 12px;
  color: #999;
}
.belt-recipients {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(5, minmax(calc(1.5em + 10px), auto));
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.5;
  font-size: 13px;
}
.belt-recipients li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 5px 0;
  line-height: 1.5;
  font-size: inherit;
}
.belt-hacker {
  color: #bbb;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.belt-recipients time {
  color: #888;
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.belt-heading,
.resume-workspace {
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .belt-column {
    padding: 0 16px;
  }
  .belt-heading {
    gap: 8px;
  }
  .belt-heading h3 {
    font-size: 16px;
  }
  .belt-heading img {
    width: 44px;
  }
  .belt-recipients {
    font-size: 12px;
  }
  .belt-recipients li {
    gap: 8px;
  }
}
@media (max-width: 800px) {
  .belt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 0;
  }
  .belt-column {
    padding: 0 23px;
  }
  .belt-column:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .belt-column:nth-child(even) {
    padding-right: 0;
  }
}
@media (max-width: 700px) {
  .resume-context {
    font-size: 12px;
    gap: 4px 6px;
  }
  .next-step .resume-challenge {
    font-size: 25px;
  }
  .belt-section-heading {
    align-items: flex-start;
    gap: 13px;
  }
  .belt-section-heading > a {
    font-size: 12px;
    padding-top: 3px;
  }
  .belt-section-heading .section-note {
    font-size: 13px;
  }
  .belt-heading h3 {
    font-size: 16px;
  }
  .belt-heading {
    gap: 8px;
  }
  .belt-heading img {
    width: 44px;
  }
  .belt-column {
    padding-left: 16px;
    padding-right: 16px;
  }
  .belt-total strong {
    font-size: 29px;
  }
  .belt-recipients {
    font-size: 12px;
  }
  .belt-recipients li {
    gap: 8px;
  }
  .belt-recipients time {
    font-size: 10px;
  }
}
@media (max-width: 540px) {
  .belt-section-heading {
    display: block;
  }
  .belt-section-heading > a {
    display: inline-block;
    margin-top: 8px;
  }
  .belt-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .belt-column,
  .belt-column + .belt-column,
  .belt-column:first-child,
  .belt-column:last-child {
    padding: 0;
    border-left: 0;
  }

  .belt-heading img {
    width: 56px;
    height: 38px;
  }
  .belt-heading h3 {
    font-size: 18px;
  }
  .belt-total {
    padding: 9px 0 12px;
  }
  .belt-recipients {
    font-size: 14px;
    grid-template-rows: repeat(5, minmax(calc(1.5em + 8px), auto));
  }
  .belt-recipients li {
    padding: 4px 0;
  }
  .belt-recipients time {
    font-size: 12px;
  }
}
.next-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #303030;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.next-bottom .home-progress-track {
  height: 3px;
  flex: 1;
  background: #333;
}
.next-bottom .home-progress-track > span {
  display: block;
  height: 100%;
  background: var(--brand-green);
}
.next-bottom .home-progress-label {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.discovery-page .home-explore {
  margin-top: 50px;
}
.browse-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 15px;
}
.browse-link {
  display: block;
  padding-top: 0;
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 500;
}
.browse-link span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #999;
  max-width: 260px;
}
.browse-link:is(:hover, :focus-visible) {
  color: white;
}
.discovery-page .home-about {
  padding-top: 0;
  margin-top: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}
.home-about p {
  font-size: 14px;
  color: #999;
  line-height: 1.75;
  max-width: 560px;
}
.home-about .about-links {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  font-size: 13px;
  white-space: nowrap;
}
.home-about a {
  color: #aaa;
}
.discovery-rules {
  padding: 28px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #1b1b1b;
  color: #ddd;
  width: 540px;
  max-width: calc(100vw - 36px);
  box-shadow: 0 15px 60px #0008;
  font:
    400 16px/1.7 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.discovery-rules::backdrop {
  background: #0007;
  backdrop-filter: blur(3px);
}
.discovery-rules .rules-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.discovery-rules h2 {
  font:
    500 23px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: white;
  margin: 0;
}
.discovery-rules p {
  margin: 0 0 17px;
}
.discovery-rules .rules-close {
  border: 0;
  background: transparent;
  padding: 6px;
  color: #aaa;
  line-height: 1;
  font-size: 15px;
}
.discovery-rules .rules-close:is(:hover, :focus-visible) {
  color: white;
}
.discovery-rules .agree-rules {
  margin-top: 3px;
  border-color: #4c4c4c;
  background: #292929;
  padding: 9px 15px;
  border-radius: 4px;
}
.discovery-rules .agree-rules:is(:hover, :focus-visible) {
  background: #343434;
  border-color: #777;
}
@media (max-width: 1000px) {
  .discovery-page {
    width: calc(100% - 64px);
    padding-top: calc(var(--header-height) + 40px);
  }
  .catalog-row {
    gap: 14px;
    grid-template-columns: 22px 42px minmax(0, 1fr) 136px;
  }
  .row-progress-track {
    width: 110px;
  }
  .catalog-icon img {
    width: 42px;
  }
  .catalog-search {
    width: 210px;
  }
}
@media (max-width: 700px) {
  .discovery-page {
    width: calc(100% - 40px);
    padding-top: calc(var(--header-height) + 31px);
  }
  .discovery-page .page-wordmark {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .discovery-page .catalog-title {
    font-size: 30px;
  }
  .catalog-heading {
    display: block;
    margin-bottom: 24px;
  }
  .catalog-search {
    width: 100%;
    margin-top: 22px;
  }
  .discovery-page .page-lede {
    font-size: 15px;
    margin-top: 13px;
  }
  .discovery-page .discovery-tabs {
    gap: 0;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .discovery-tabs a {
    font-size: 13px;
    padding-bottom: 12px;
  }
  .catalog-section-header {
    gap: 10px;
    align-items: center;
  }
  .discovery-page .section-title {
    font-size: 18px;
  }
  .catalog-section-header > a {
    font-size: 12px;
  }
  .catalog-row {
    grid-template-columns: 17px 36px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 17px 2px;
    min-height: 0;
  }
  .catalog-icon {
    height: 30px;
  }
  .catalog-icon img {
    width: 36px;
    height: 28px;
  }
  .catalog-icon .dojo-emoji {
    font-size: 25px;
  }
  .catalog-row .path-number {
    font-size: 10px;
  }
  .catalog-row .row-title {
    font-size: 17px;
  }
  .row-copy {
    font-size: 13px;
  }
  .row-meta {
    font-size: 12px;
    gap: 0 9px;
  }
  .row-meta span + span::before {
    margin-right: 9px;
  }
  .row-progress {
    grid-column: 3;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 3px;
  }
  .row-progress-track {
    width: 70px;
    margin: 0;
  }
  .catalog-section.simple .catalog-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 15px 2px;
  }
  .catalog-section.simple .row-title {
    font-size: 16px;
  }
  .simple-stat {
    grid-column: 2;
    text-align: left;
  }
  .discovery-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .discovery-footer nav {
    gap: 18px;
  }
  .home-hero {
    margin-bottom: 32px;
  }
  .home-hero .page-wordmark {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -1.5px;
  }
  .home-hero .home-tagline {
    font-size: 24px;
    margin-top: 12px;
  }
  .next-step {
    padding: 23px 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .next-step .next-dojo {
    font-size: 23px;
  }
  .next-step .next-module {
    font-size: 15px;
  }
  .next-step .next-action {
    justify-self: start;
    min-width: 114px;
  }
  .next-bottom {
    grid-column: 1;
    gap: 13px;
    padding-top: 17px;
  }
  .next-bottom .home-progress-label {
    font-size: 12px;
  }
  .browse-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .browse-link {
    padding-top: 0;
  }
  .browse-link span {
    max-width: none;
    font-size: 14px;
    margin-top: 4px;
  }
  .discovery-page .home-about {
    display: block;
    margin-top: 36px;
    padding-top: 0;
  }
  .home-about .about-links {
    margin-top: 18px;
  }
  .discovery-rules {
    padding: 23px;
    font-size: 15px;
  }
}

#dojo-sidebar .discovery-page .home-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
}
.home-heading-link i {
  font-size: 11px;
  color: #888;
}
#dojo-sidebar .discovery-page .home-heading-link:is(:focus, :focus-visible) {
  outline: 0;
  box-shadow: none;
}
#dojo-sidebar .discovery-page .home-heading-link:is(:hover, :focus-visible) {
  color: white;
  background: #ffffff05;
  text-decoration: none;
}
.home-heading-link:is(:hover, :focus-visible) i {
  color: #ddd;
}

@media (max-width: 700px) {
  .home-recent {
    padding: 20px 18px;
  }
  .discovery-page .home-belts {
    margin-top: 40px;
    padding: 22px 18px 24px;
  }
  .discovery-page .home-explore {
    margin-top: 38px;
  }
}

.global-nav .nav-account {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
}
.global-nav .account-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 220px;
  height: 36px;
  padding: 5px 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #ccc;
  font:
    400 13px/1.5 "Space Mono",
    monospace;
  cursor: pointer;
}
.account-toggle .account-belt {
  width: 40px;
  height: 20px;
  object-fit: contain;
  flex: none;
}
.account-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.account-chevron {
  font-size: 9px;
  color: #777;
  flex: none;
}
.global-nav .account-toggle:is(:hover, :focus-visible, [aria-expanded="true"]) {
  background: #ffffff0a;
  color: #eee;
}
.account-toggle:is(:hover, :focus-visible, [aria-expanded="true"]) .account-chevron {
  color: #bbb;
}
.global-nav .nav-account .account-menu {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 174px;
  padding: 6px !important;
  margin: 0;
  background: #242424;
  border: 1px solid #414141;
  border-radius: 6px;
  box-shadow: 0 8px 28px #0005;
}
.global-nav .nav-account .account-menu[hidden] {
  display: none;
}
.global-nav .nav-account .account-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 3px;
  font:
    400 13px/1.5 "Space Mono",
    monospace;
  color: #ccc !important;
}
.account-menu .nav-link i {
  width: 16px;
  text-align: center;
  color: #999;
}
.account-menu form {
  margin: 0;
}
.account-menu button.nav-link {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.global-nav .nav-account .account-menu .nav-link:is(:hover, :focus-visible) {
  background: #ffffff0b;
  color: var(--brand-gold) !important;
}
.global-nav .nav-account .account-menu .nav-link[aria-current="page"] {
  color: var(--brand-gold) !important;
}
@media (max-width: 1100px) {
  .global-nav .account-toggle {
    max-width: 170px;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .global-session {
    flex: 0 1 260px;
  }
}
@media (max-width: 700px) {
  .global-nav .nav-account {
    order: 3;
    flex: 1 1 0;
    justify-content: flex-end;
    max-width: 152px;
    margin-left: auto;
  }
  .global-nav .account-toggle {
    max-width: 100%;
    height: 32px;
    padding: 4px;
    gap: 6px;
    font-size: 12px;
  }
  .account-toggle .account-belt {
    width: 34px;
    height: 18px;
  }
  .account-chevron {
    font-size: 8px;
  }
  .global-nav .workspace-link.idle {
    order: 2;
    margin-left: auto;
  }
  .global-nav .workspace-link.idle .workspace-label {
    display: none;
  }
  .global-nav .workspace-link.idle + .nav-account {
    margin-left: 0;
  }
  .global-nav .nav-account .account-menu {
    top: calc(100% + 10px);
  }
}
@media (max-width: 370px) {
  .global-nav .account-toggle {
    gap: 5px;
    padding: 4px 2px;
  }
  .account-toggle .account-belt {
    width: 28px;
  }
}

#dojo-sidebar .global-session {
  display: none !important;
}
#dojo-sidebar .global-nav .workspace-link {
  margin: 0;
  order: 2;
  flex: none;
}
#dojo-sidebar .global-nav .nav-account {
  padding-left: 0 !important;
  border: 0;
  margin-left: 0;
  order: 3;
}
@media (min-width: 701px) {
  #dojo-sidebar .global-nav {
    gap: 24px;
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  #dojo-sidebar .global-nav {
    gap: 18px;
  }
  #dojo-sidebar .contents-toggle span {
    display: none;
  }
}
@media (max-width: 700px) {
  #dojo-sidebar,
  #dojo-sidebar.has-active {
    --header-height: 56px;
  }
  #dojo-sidebar .global-nav {
    flex-wrap: nowrap;
    gap: 10px;
  }
  #dojo-sidebar .global-nav::after {
    content: none;
  }
  #dojo-sidebar .global-spacer {
    display: block;
    flex: 1;
  }
  #dojo-sidebar .global-nav .brand {
    border: 0;
    padding: 0;
    font-size: 17px;
  }
  #dojo-sidebar .global-nav .workspace-link {
    margin: 0;
    padding: 6px 8px;
    font-size: 12px;
    gap: 6px;
  }
  #dojo-sidebar .global-nav .workspace-link.idle {
    padding: 6px 0;
  }
  #dojo-sidebar .global-nav .nav-account {
    flex: 0 1 110px;
    min-width: 34px;
  }
  #dojo-sidebar .global-nav .account-toggle {
    min-width: 0;
  }
  #dojo-sidebar .global-nav .site-links {
    flex: none;
  }
  #dojo-sidebar .challenge-actions {
    gap: 6px 10px;
  }
  #dojo-sidebar .challenge-actions .inline-open {
    font-size: 13px;
    gap: 6px;
  }
}
@media (max-width: 370px) {
  #dojo-sidebar .global-nav {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  #dojo-sidebar .global-nav .brand {
    font-size: 15px;
  }
  #dojo-sidebar .global-nav .workspace-link {
    font-size: 11px;
    padding: 6px;
  }
  #dojo-sidebar .global-nav .account-name {
    display: none;
  }
  #dojo-sidebar .global-nav .nav-account {
    flex: 0 0 auto;
  }
}
@media (max-width: 460px) {
  #dojo-sidebar .global-nav .account-name {
    display: none;
  }
  #dojo-sidebar .global-nav .nav-account {
    flex: 0 0 auto;
  }
}

#dojo-sidebar .challenge-actions {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: start;
  gap: 8px 16px;
}
#dojo-sidebar .challenge-actions .running-indicator {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
}
#dojo-sidebar .challenge-actions .inline-open {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 2;
  grid-row: 1;
  gap: 7px;
  min-height: 38px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-gold);
  white-space: nowrap;
}
#dojo-sidebar .challenge-actions .inline-open i {
  font-size: 11px;
}
#dojo-sidebar .challenge-actions .inline-open:is(:hover, :focus-visible) {
  color: #ffdf76;
  text-decoration: none;
}
#dojo-sidebar .challenge-actions .inline-open[hidden] {
  visibility: hidden;
  display: inline-flex !important;
}
#dojo-sidebar .challenge-actions .inline-flag {
  grid-column: 1/-1;
  grid-row: 3;
  width: 100%;
  max-width: 340px;
  margin: 4px 0 0;
  min-width: 0;
}
@media (min-width: 1101px) {
  #dojo-sidebar .challenge-actions {
    grid-template-columns: 120px 70px minmax(120px, 1fr) minmax(220px, 300px);
    gap: 12px;
  }
  #dojo-sidebar .challenge-actions .running-indicator {
    grid-column: 2;
    grid-row: 1;
    padding-top: 9px;
    line-height: 20px;
  }
  #dojo-sidebar .challenge-actions .inline-open {
    grid-column: 3;
    grid-row: 1;
  }
  #dojo-sidebar .challenge-actions .inline-flag {
    grid-column: 4;
    grid-row: 1;
    margin: 0;
  }
}
@media (max-width: 700px) {
  #dojo-sidebar .challenge-actions {
    gap: 6px 10px;
  }
  #dojo-sidebar .challenge-actions .inline-open {
    font-size: 13px;
    gap: 6px;
  }
}

.site-page {
  max-width: 1000px;
}
.site-page .settings-nav,
.site-page .about-nav,
.discovery-page .discovery-footer nav {
  padding: 0 !important;
}
.global-nav .nav-account .nav-link[aria-current="page"] {
  color: var(--brand-gold) !important;
}
.site-page .page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}
.site-page .page-title {
  font:
    700 36px/1.35 "Space Mono",
    monospace;
  letter-spacing: -0.8px;
  color: #eee;
  overflow-wrap: anywhere;
}
.site-page .page-lede {
  margin-top: 12px;
  max-width: 640px;
}
.site-page .page-note {
  margin-top: 9px;
  color: #808080;
  font-size: 12px;
}
.site-page .quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid #464646;
  border-radius: 4px;
  background: #272727;
  color: #ddd;
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}
.site-page .quiet-button:is(:hover, :focus-visible) {
  background: #343434;
  border-color: #777;
  color: white;
}
.site-page .quiet-button:disabled {
  opacity: 0.45;
  cursor: default;
}
.site-page .text-button {
  border: 0;
  background: transparent;
  color: #aaa;
  padding: 6px 0;
  font:
    400 13px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.site-page .text-button:is(:hover, :focus-visible) {
  color: white;
}
.site-page .danger-button {
  color: #ddaaa7;
}
.site-page .page-heading > .quiet-button {
  margin-top: 5px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 55px;
  align-items: start;
  min-height: 540px;
}
.site-page .settings-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-height) + 30px);
}
.settings-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: #999;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 3px;
  -webkit-user-select: none;
  user-select: none;
}
.settings-nav a.active {
  background: #1b1b1b;
  color: #eee;
}
.settings-nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: #999;
}
.settings-nav a:is(:hover, :focus-visible) {
  background: #202020;
  color: white;
}
.settings-panel {
  max-width: 650px;
  min-width: 0;
}
.site-page .panel-title {
  font:
    500 23px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #eee;
  margin: 0 0 9px;
  letter-spacing: -0.3px;
}
.site-page .panel-description {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 600px;
}
.site-page .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 21px;
  min-width: 0;
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
}
.site-page .field small {
  font-size: 12px;
  line-height: 1.6;
  color: #888;
  font-weight: 400;
  margin-top: -2px;
}
.site-page :is(input:not([type="checkbox"]), select, textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  background: #181818;
  color: #ddd;
  padding: 10px 12px;
  font:
    400 15px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  box-shadow: none;
  outline: none;
}
.site-page input:not([type="checkbox"]),
.site-page select {
  height: 44px;
}
.site-page textarea {
  resize: vertical;
  min-height: 110px;
  font:
    12px/1.7 "Space Mono",
    monospace;
}
.site-page :is(input, select, textarea):focus {
  border-color: #888;
  background: #1b1b1b;
  box-shadow: none;
  outline: none;
}
.site-page input::placeholder,
.site-page textarea::placeholder {
  color: #777;
  opacity: 1;
}
.site-page .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.site-page .field-grid .full-field {
  grid-column: 1/-1;
}
.site-page .form-actions {
  margin-top: 6px;
}
.site-page .form-result {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--brand-green);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.site-page .form-result.error {
  color: #ddaaa7;
}
.site-page .form-divider {
  height: 1px;
  background: #303030;
  border: 0;
  margin: 28px 0;
}
.site-page .home-section {
  padding-top: 24px;
  border-top: 1px solid #303030;
}
.site-page .home-section + .home-section {
  margin-top: 28px;
}
.site-page .home-section .subsection-title {
  font-size: 18px;
  margin-bottom: 10px;
}
.site-page .home-section > p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  max-width: 590px;
}
.site-page .home-section .home-operation-note {
  color: #999;
  font-size: 13px;
  margin-top: 10px;
}
.site-page .home-section .quiet-button {
  margin-top: 18px;
  min-width: 150px;
}
.site-page .home-section .home-limits {
  font-size: 12px;
  color: #999;
  margin-top: 13px;
}
.site-page .home-section .home-demo-note {
  font-size: 11px;
  color: #777;
  margin-top: 5px;
}
.site-page .home-section .home-reset-hint {
  font-size: 12px;
  color: #888;
  margin-top: 11px;
}
.site-page .home-result {
  min-height: 44px;
  margin-top: 22px;
}
.site-page .subsection-title {
  color: #ddd;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 18px;
}
.site-page .settings-list {
  border-top: 1px solid #303030;
  margin: 0 0 25px;
  list-style: none;
  padding: 0;
}
.site-page .settings-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #303030;
  min-width: 0;
}
.settings-list .item-copy {
  min-width: 0;
}
.settings-list .item-copy strong {
  display: block;
  color: #ddd;
  font-size: 14px;
  font-weight: 500;
}
.settings-list .item-copy small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 4px;
}
.settings-list code {
  background: none;
  padding: 0;
  color: #aaa;
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
}
.site-page .empty-note {
  padding: 19px 0;
  border-top: 1px solid #303030;
  border-bottom: 1px solid #303030;
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}
.site-page .ssh-help {
  margin-top: 28px;
  border-top: 1px solid #303030;
  padding-top: 23px;
  color: #999;
  font-size: 14px;
  line-height: 1.8;
}
.site-page .ssh-help h3 {
  color: #ddd;
  font-size: 16px;
  margin: 0 0 10px;
}
.site-page .ssh-help p + p {
  margin-top: 13px;
}
.site-page .ssh-help pre {
  margin: 13px 0;
  padding: 12px 14px;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.site-page .connected-account {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 26px 0;
}
.connected-account > i {
  font-size: 30px;
  color: #999;
}
.connected-account strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #ddd;
}
.connected-account small {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.site-page .token-create {
  display: grid;
  grid-template-columns: minmax(0, 240px) auto;
  gap: 18px;
  align-items: end;
  margin-top: 24px;
}
.site-page .token-create .field {
  margin: 0;
}
.site-page .token-create .quiet-button {
  height: 44px;
  justify-self: start;
}
.site-page .new-token {
  margin-top: 22px;
  padding: 19px;
  background: #1b1b1b;
  border: 1px solid #383838;
  border-radius: 4px;
}
.site-page .new-token .field {
  margin-bottom: 12px;
}
.site-page .new-token input {
  font:
    12px/1.5 "Space Mono",
    monospace;
}
.site-page .profile-heading {
  margin-bottom: 27px;
}
.site-page .profile-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #999;
  font-size: 14px;
  margin-top: 17px;
}
.profile-belt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
}
.profile-belt img {
  width: 44px;
  height: 28px;
  object-fit: contain;
}
.profile-details a {
  font-size: 13px;
}
.site-page .profile-stats {
  display: flex;
  gap: 55px;
  border-top: 1px solid #303030;
  border-bottom: 1px solid #303030;
  padding: 19px 0;
  margin-bottom: 32px;
}
.profile-stats strong {
  display: block;
  color: #e2e2e2;
  font:
    500 23px/1.3 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.profile-stats span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}
.site-page .profile-section + .profile-section {
  margin-top: 33px;
}
.site-page .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.section-heading > a,
.section-heading > span {
  font-size: 12px;
  color: #999;
}
.site-page .activity-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, auto);
  grid-template-columns: repeat(52, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}
.activity-grid span {
  display: block;
  aspect-ratio: 1;
  background: #252525;
  border-radius: 2px;
  min-width: 0;
}
.activity-grid span[data-count="1"] {
  background: #3e561f;
}
.activity-grid span[data-count="2"] {
  background: #568126;
}
.activity-grid span[data-count="3"] {
  background: #78be20;
}
.site-page .activity-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #777;
  font-size: 11px;
  margin-top: 11px;
}
.site-page .activity-mobile {
  display: none;
}
.activity-caption .activity-legend {
  display: flex;
  gap: 5px;
  align-items: center;
}
.activity-legend i {
  height: 9px;
  width: 9px;
  border-radius: 1px;
  background: #252525;
  display: block;
}
.activity-legend i:nth-of-type(2) {
  background: #3e561f;
}
.activity-legend i:nth-of-type(3) {
  background: #568126;
}
.activity-legend i:nth-of-type(4) {
  background: #78be20;
}
.site-page .profile-dojos {
  border-top: 1px solid #303030;
}
.profile-dojo {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 155px;
  gap: 19px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #303030;
  color: #ddd;
}
.profile-dojo .catalog-icon img {
  width: 40px;
}
.profile-dojo strong {
  font-size: 18px;
  font-weight: 500;
  display: block;
  color: var(--brand-blue);
}
.profile-dojo small {
  display: block;
  color: #888;
  font-size: 13px;
  margin-top: 3px;
}
.profile-dojo:is(:hover, :focus-visible) {
  background: #191919;
}
.profile-dojo:is(:hover, :focus-visible) strong {
  color: #64cbea;
}
.profile-dojo .row-progress {
  font-size: 12px;
}
.site-page .recent-solves {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #303030;
}
.recent-solves li {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #303030;
}
.recent-solves i {
  font-size: 11px;
  color: var(--brand-green);
}
.recent-solves a {
  font-size: 15px;
  color: var(--brand-blue);
}
.recent-solves small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 3px;
}
.recent-solves time {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}
.site-page .profile-empty {
  color: #999;
  font-size: 14px;
  padding: 22px 0;
}
.site-page .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 180px;
  gap: 90px;
  align-items: start;
}
.site-page .about-body {
  min-width: 0;
}
.site-page .about-body section {
  scroll-margin-top: calc(var(--header-height) + 28px);
}
.site-page .about-body section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #303030;
}
.site-page .about-body h2 {
  color: var(--brand-green);
  font:
    500 23px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  margin: 0 0 15px;
  letter-spacing: -0.2px;
}
.about-body h2 .dojo-emoji {
  font-size: 21px;
}
.site-page .about-body p {
  color: #bbb;
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}
.site-page .about-body p + p {
  margin-top: 15px;
}
.site-page .about-body strong {
  color: #ddd;
  font-weight: 500;
}
.site-page .about-nav {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-nav strong {
  font-size: 12px;
  font-weight: 400;
  color: #777;
  margin-bottom: 3px;
}
.about-nav a {
  font-size: 13px;
  line-height: 1.5;
  color: #aaa;
  padding: 3px 0;
}
.site-page .belt-path {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 21px;
  max-width: 490px;
}
.belt-path a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 11px;
}
.belt-path img {
  width: 56px;
  height: 38px;
  object-fit: contain;
}
.site-page .resource-links {
  list-style: none;
  padding: 0;
  margin: 19px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}
.resource-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid #303030;
  font-size: 14px;
  color: var(--brand-blue);
}
.resource-links i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  color: #999;
}
.site-page .about-cta {
  margin-top: 26px;
}
.site-page .privacy-note {
  font-size: 12px;
  color: #999;
  margin-top: 11px;
}
.site-page .research-choice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 19px 20px;
  margin: 0;
  background: #181818;
  border: 1px solid #303030;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}
.research-choice input {
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  accent-color: #aaa;
  flex: none;
}
.research-choice strong {
  display: block;
  color: #ddd;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.research-choice small {
  display: block;
  color: #999;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 5px;
}
.research-choice:has(input:focus-visible) {
  border-color: #777;
  background: #1b1b1b;
}
.site-page #research-settings .form-actions {
  margin-top: 24px;
}
.site-page .research-contact {
  font-size: 13px;
  color: #999;
  margin-top: 23px;
}
.site-page .profile-visibility {
  font-size: 12px;
  color: #999;
  margin-top: 13px;
}
.account-confirm {
  padding: 25px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #1b1b1b;
  color: #ddd;
  max-width: calc(100vw - 36px);
  width: 430px;
  box-shadow: 0 15px 60px #0008;
  font:
    400 15px/1.8 "Space Grotesk",
    Helvetica,
    sans-serif;
}
.account-confirm::backdrop {
  background: #0007;
  backdrop-filter: blur(3px);
}
.account-confirm .confirm-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.account-confirm h2 {
  font:
    500 22px/1.4 "Space Grotesk",
    Helvetica,
    sans-serif;
  color: #eee;
  margin: 0;
}
.account-confirm .confirm-close {
  background: transparent;
  border: 0;
  font-size: 16px;
  color: #aaa;
  padding: 5px;
  line-height: 1;
  cursor: pointer;
}
.account-confirm .confirm-close:is(:hover, :focus-visible) {
  color: white;
}
.account-confirm p {
  margin: 0;
  color: #aaa;
}
.account-confirm .confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.account-confirm .confirm-actions button {
  padding: 8px 14px;
  border: 1px solid #464646;
  border-radius: 4px;
  background: #272727;
  color: #ddd;
  font:
    500 14px/1.5 "Space Grotesk",
    Helvetica,
    sans-serif;
  cursor: pointer;
}
.account-confirm .confirm-actions button:is(:hover, :focus-visible) {
  border-color: #777;
  background: #343434;
  color: white;
}
.account-confirm .confirm-actions .confirm-danger {
  color: #ddaaa7;
}
.account-confirm button:focus {
  outline: none;
  box-shadow: none;
}
@media (max-width: 1000px) {
  .settings-layout {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 35px;
  }
  .site-page .about-layout {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 45px;
  }
}
@media (max-width: 700px) {
  .site-page .page-heading {
    gap: 18px;
    margin-bottom: 27px;
  }
  .site-page .page-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .site-page .page-heading > .quiet-button {
    margin-top: 2px;
    font-size: 12px;
    padding: 7px 10px;
  }
  .site-page .page-note {
    font-size: 11px;
    line-height: 1.6;
  }
  .settings-layout {
    display: block;
    min-height: 0;
  }
  .site-page .settings-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #303030;
  }
  .settings-nav a {
    padding: 9px 10px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }
  .settings-nav a.active::before {
    top: auto;
    bottom: 0;
    left: 10px;
    right: 10px;
    width: auto;
    height: 1px;
  }
  .site-page .panel-title {
    font-size: 21px;
  }
  .site-page .panel-description {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .site-page .field-grid {
    gap: 0 18px;
  }
  .site-page :is(input:not([type="checkbox"]), select, textarea) {
    font-size: 16px;
  }
  .site-page textarea {
    font-size: 12px;
  }
  .site-page .profile-stats {
    gap: 35px;
    padding: 18px 0;
    margin-bottom: 27px;
  }
  .site-page .activity-grid {
    grid-template-columns: repeat(26, minmax(0, 1fr));
  }
  .site-page .activity-grid span:nth-child(-n + 182) {
    display: none;
  }
  .site-page .activity-desktop {
    display: none;
  }
  .site-page .activity-mobile {
    display: inline;
  }
  .profile-stats strong {
    font-size: 22px;
  }
  .profile-stats span {
    font-size: 11px;
  }
  .profile-dojo {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 13px;
    padding: 19px 0;
  }
  .profile-dojo .catalog-icon {
    grid-row: 1/3;
  }
  .profile-dojo strong {
    font-size: 17px;
  }
  .profile-dojo small {
    font-size: 12px;
  }
  .profile-dojo .row-progress {
    grid-column: 2;
    gap: 17px;
    margin-top: 2px;
    justify-content: space-between;
  }
  .profile-dojo .row-progress-track {
    width: 65px;
  }
  .recent-solves li {
    gap: 11px;
    grid-template-columns: 11px minmax(0, 1fr) auto;
  }
  .recent-solves a {
    font-size: 14px;
  }
  .recent-solves small {
    font-size: 11px;
  }
  .recent-solves time {
    font-size: 11px;
  }
  .site-page .about-layout {
    display: block;
  }
  .site-page .about-nav {
    display: none;
  }
  .site-page .about-body h2 {
    font-size: 21px;
  }
  .site-page .about-body p {
    font-size: 15px;
  }
  .site-page .belt-path {
    gap: 12px;
  }
  .belt-path img {
    width: 45px;
    height: 32px;
  }
  .site-page .token-create {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .site-page .token-create .quiet-button {
    padding-left: 12px;
    padding-right: 12px;
  }
  .settings-list code {
    max-width: 205px;
  }
  .site-page .profile-details {
    gap: 9px 16px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .site-page .field-grid {
    display: block;
  }
  .site-page .profile-stats {
    gap: 25px;
  }
  .settings-nav a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 11px;
  }
  .site-page .page-heading {
    gap: 12px;
  }
  .site-page .resource-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-page .profile-view .profile-heading {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 27px;
}
.site-page .profile-view .profile-heading > div {
  min-width: 0;
  flex: 1;
}
.site-page .profile-view .section-title {
  color: #ddd;
}
.site-page .profile-view .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.site-page .profile-view .section-heading {
  font-size: 13px;
  color: #888;
}
.site-page .profile-awards {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #303030;
}
.site-page .profile-awards > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #303030;
}
.site-page .profile-awards .award-belt {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #ccc;
  font-size: 14px;
}
.site-page .profile-awards img {
  width: 36px;
  height: 24px;
  object-fit: contain;
}
.site-page .profile-awards time {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}
.site-page .profile-view .profile-source-link {
  margin-top: 25px;
  font-size: 13px;
}
.site-page .profile-view .profile-source-note {
  margin-top: 25px;
}
@media (max-width: 700px) {
  .site-page .profile-view .profile-stats {
    gap: 14px;
  }
  .site-page .profile-view .section-heading {
    gap: 12px;
    font-size: 12px;
  }
  .site-page .profile-view .profile-heading > div {
    flex-basis: 170px;
  }
  .site-page .profile-awards .award-belt {
    font-size: 13px;
  }
  .site-page .profile-awards time {
    font-size: 11px;
  }
}

.journey-page .section-title,
.journey-page .about-body h2 {
  color: #ddd;
}
.journey-page .page-heading {
  margin-bottom: 30px;
}
.journey-page .eyebrow {
  font:
    12px/1.5 "Space Mono",
    monospace;
  color: #888;
  margin-bottom: 9px;
}
.journey-page .eyebrow a {
  color: #aaa;
}
.journey-page .page-lede {
  max-width: 680px;
}
.journey-page .page-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.journey-page .section {
  margin: 32px 0 0;
}
.journey-page .section > h2 {
  font:
    500 21px/1.4 "Space Grotesk",
    sans-serif;
  color: #ddd;
  margin-bottom: 16px;
}
.journey-page .prose {
  max-width: 700px;
  color: #bbb;
  font-size: 16px;
  line-height: 1.85;
}
.journey-page .prose p + p {
  margin-top: 16px;
}
.journey-page .prose h3 {
  font-size: 18px;
  color: #ddd;
  margin: 25px 0 10px;
}
.journey-page .prose ul {
  padding-left: 23px;
  margin: 14px 0;
}
.journey-page .prose li {
  margin: 7px 0;
}
.journey-page .subtle {
  font-size: 13px;
  color: #888;
}
.journey-page .muted {
  color: #999;
}
.journey-page .mono {
  font-family: "Space Mono", monospace;
  font-size: 12px;
}
.journey-page .split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 50px;
  align-items: start;
}
.journey-page .note-panel {
  padding: 22px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #171717;
  color: #aaa;
  font-size: 14px;
  line-height: 1.8;
}
.journey-page .note-panel h2 {
  font-size: 17px;
  color: #ddd;
  margin-bottom: 10px;
}
.journey-page .note-panel p + p {
  margin-top: 12px;
}
.journey-page .note-panel a {
  display: inline-block;
  margin-top: 12px;
}
.journey-page .inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 19px;
}
.journey-page .auth-layout {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding-top: 24px;
  min-height: 490px;
}
.journey-page .auth-layout h1 {
  font-size: 31px;
  margin-bottom: 12px;
}
.auth-layout .auth-turnstile {
  min-height: 65px;
  margin-bottom: 21px;
  line-height: 0;
}
.journey-page .auth-layout .page-lede {
  margin-bottom: 27px;
  font-size: 15px;
}
.journey-page .auth-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  font-size: 13px;
}
.journey-page .check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  margin: 17px 0;
}
.journey-page input[type="checkbox"] {
  accent-color: #aaa;
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
}
.journey-page .journey-tabs {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  margin-bottom: 28px;
  padding: 0;
}
.journey-page .journey-tabs a {
  font-size: 14px;
  padding: 12px 0;
  color: #999;
  border-bottom: 2px solid transparent;
  user-select: none;
}
.journey-page .journey-tabs a[aria-current="page"] {
  color: #eee;
  border-color: #999;
}
.journey-page .journey-tabs a:is(:hover, :focus-visible) {
  color: white;
  background: #ffffff04;
}
.journey-page .line-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid #333;
}
.journey-page .line-list > li,
.journey-page .line-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #303030;
  color: #ddd;
  min-width: 0;
}
.journey-page .line-row > div,
.journey-page .line-list > li > div {
  min-width: 0;
}
.journey-page .line-row strong,
.journey-page .line-list strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.journey-page .line-row small,
.journey-page .line-list small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 4px;
}
.journey-page .line-row:is(:hover, :focus-visible) {
  background: #191919;
}
.journey-page .row-end {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
}
.journey-page .filter-row {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.journey-page .filter-row .field {
  margin: 0;
  max-width: 260px;
  flex: 1 1 160px;
}
.journey-page .table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border-top: 1px solid #333;
}
.journey-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #bbb;
  margin: 0;
}
.journey-page th {
  font-weight: 400;
  color: #888;
  font-size: 12px;
  text-align: left;
  padding: 13px 12px;
}
.journey-page td {
  padding: 16px 12px;
  border-top: 1px solid #303030;
  vertical-align: middle;
}
.journey-page th:first-child,
.journey-page td:first-child {
  padding-left: 0;
}
.journey-page th:last-child,
.journey-page td:last-child {
  text-align: right;
  padding-right: 0;
}
.journey-page td small {
  display: block;
  color: #777;
  font-size: 11px;
  margin-top: 4px;
}
.journey-page td input[type="checkbox"] {
  margin: 0;
}
.journey-page td .quiet-button {
  font-size: 12px;
  padding: 5px 9px;
}
.journey-page .status-label {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.journey-page .status-label.ready {
  color: var(--brand-green);
}
.journey-page .status-label.pending {
  color: var(--brand-gold);
}
.journey-page .mini-stats {
  display: flex;
  gap: 42px;
  padding: 20px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  margin-bottom: 28px;
}
.journey-page .mini-stats strong {
  font-size: 25px;
  font-weight: 500;
  display: block;
  color: #ddd;
}
.journey-page .mini-stats span {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 4px;
}
.journey-page .member-role {
  width: 125px;
  height: 36px;
  font-size: 13px;
  padding: 4px 9px;
}
.journey-page .steps {
  display: flex;
  gap: 24px;
  margin-bottom: 25px;
  color: #777;
  font-size: 13px;
}
.journey-page .steps span.active {
  color: #ddd;
}
.journey-page .summary-box {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 19px 0;
  margin: 22px 0;
}
.journey-page .summary-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 13px;
  font-size: 14px;
}
.journey-page .summary-box dt {
  color: #888;
  font-weight: 400;
}
.journey-page .summary-box dd {
  color: #ccc;
  overflow-wrap: anywhere;
  margin: 0;
}
.journey-page .segmented-choice {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.journey-page .segmented-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #383838;
  border-radius: 4px;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
}
.journey-page .segmented-choice label:has(:checked) {
  background: #202020;
  border-color: #777;
  color: #eee;
}
.journey-page input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: #aaa;
  margin: 0;
  flex: none;
}
.journey-page .requirements {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.journey-page .requirements li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #303030;
  color: #aaa;
  font-size: 14px;
}
.journey-page .requirements i {
  width: 16px;
  color: var(--brand-green);
}
.journey-page .requirements .pending i {
  color: #888;
}
.journey-page .course-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}
.journey-page .course-progress .row-progress-track {
  width: 160px;
}
.journey-page .grade-summary {
  margin: 20px 0;
}
.journey-page .grade-summary strong {
  font-size: 34px;
  font-weight: 500;
  color: #ddd;
}
.journey-page .grade-summary span {
  color: #888;
  font-size: 13px;
  margin-left: 10px;
}
.journey-page .belt-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.journey-page .belt-overview a {
  border-top: 1px solid #333;
  padding: 21px 0;
  display: block;
}
.journey-page .belt-overview img {
  width: 70px;
  height: 45px;
  object-fit: contain;
  display: block;
  margin-bottom: 15px;
}
.journey-page .belt-overview strong {
  font-size: 18px;
  color: #ddd;
  display: block;
  font-weight: 500;
}
.journey-page .belt-overview small {
  font-size: 12px;
  color: #888;
  display: block;
  margin: 8px 0;
}
.journey-page .belt-overview .belt-awards {
  font-size: 13px;
  color: #aaa;
}
.journey-page .belt-overview a[aria-current="true"] {
  border-top-color: #888;
  background: #ffffff03;
}
.journey-page .award-belt {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 13px;
}
.journey-page .award-belt img {
  width: 34px;
  height: 22px;
  object-fit: contain;
}
.journey-page .pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}
.journey-page .pagination > div {
  display: flex;
  gap: 9px;
}
.journey-page .search-large {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.journey-page .search-large input {
  font-size: 17px;
  height: 48px;
}
.journey-page .search-result {
  display: block;
  padding: 21px 0;
  border-bottom: 1px solid #303030;
}
.journey-page .search-result strong {
  font-size: 18px;
  font-weight: 500;
  color: var(--brand-blue);
}
.journey-page .search-result small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-bottom: 7px;
}
.journey-page .search-result p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 7px;
}
.journey-page .search-result:is(:hover, :focus-visible) {
  background: #191919;
}
.journey-page .empty-state {
  width: 100%;
  padding: 65px 0;
  text-align: center;
  max-width: 550px;
  margin: auto;
  min-height: 370px;
}
.journey-page .empty-state > i {
  color: #777;
  font-size: 30px;
  margin-bottom: 21px;
}
.journey-page .empty-state h1 {
  font-size: 30px;
  color: #eee;
  margin-bottom: 14px;
}
.journey-page .empty-state p {
  color: #999;
  line-height: 1.8;
  font-size: 15px;
}
.journey-page .empty-state .inline-actions {
  justify-content: center;
  margin-top: 25px;
}
.journey-page .help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 50px;
  margin: 30px 0;
}
.journey-page .help-grid a {
  padding: 24px 0;
  border-top: 1px solid #333;
  display: block;
}
.journey-page .help-grid i {
  color: var(--brand-gold);
  font-size: 22px;
  margin-bottom: 15px;
  display: block;
}
.journey-page .help-grid strong {
  font-size: 18px;
  font-weight: 500;
  display: block;
  color: #ddd;
}
.journey-page .help-grid p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  margin-top: 8px;
}
.journey-page .chat-thread {
  min-height: 230px;
  max-height: 440px;
  overflow-y: auto;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #333;
  background: #171717;
  border-radius: 4px;
}
.journey-page .chat-message {
  margin-bottom: 20px;
  color: #bbb;
  line-height: 1.8;
  font-size: 15px;
}
.journey-page .chat-message small {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 5px;
}
.journey-page .chat-message:last-child {
  margin-bottom: 0;
}
.journey-page .chat-compose {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.journey-page .chat-compose input {
  height: 46px;
}
.journey-page .tour-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #333;
  margin-top: 24px;
}
.journey-page .tour-list > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid #333;
}
.journey-page .tour-list .tour-number {
  font:
    15px/1.7 "Space Mono",
    monospace;
  color: #777;
}
.journey-page .tour-list h2 {
  font-size: 20px;
  color: #ddd;
  margin-bottom: 9px;
}
.journey-page .tour-list p {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
}
.journey-page .tour-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 12px;
  font-size: 14px;
}
.journey-page .result-note {
  min-height: 25px;
  color: #888;
  font-size: 13px;
  margin-top: 12px;
}
.journey-page .document-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
  margin-bottom: 27px;
}
.journey-page .document-nav a {
  color: #aaa;
}
.journey-page pre {
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 18px 20px;
  font:
    12px/1.85 "Space Mono",
    monospace;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 4px;
  margin: 20px 0;
}
.journey-page .copy-field,
.journey-page .workflow-code {
  position: relative;
}
.journey-page .copy-field input {
  padding-right: 44px;
}
.journey-page .copy-control {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #999;
  cursor: pointer;
}
.journey-page .copy-field .copy-control {
  top: 50%;
  transform: translateY(-50%);
}
.journey-page .workflow-code .copy-control {
  top: 8px;
}
.journey-page .copy-control:hover {
  color: #eee;
  background: #333;
}
.journey-page .copy-control:disabled,
.journey-page [data-workflow-preview] [aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.journey-page .workflow-code pre {
  padding-right: 52px;
}
.journey-page .publishing-fields {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .journey-page .publishing-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.global-nav :is(.guest-login, .guest-register) {
  font:
    13px/1.5 "Space Mono",
    monospace;
  color: #ccc;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.global-nav .guest-register {
  background: #272727;
  border: 1px solid #464646;
}
.global-nav .guest-register:is(:hover, :focus-visible) {
  background: #343434;
  border-color: #777;
  color: white;
}
#dojo-sidebar.is-guest .global-nav .nav-account {
  flex: 0 0 auto;
  max-width: none;
  gap: 6px;
}
#dojo-sidebar.is-guest .global-nav .workspace-link {
  display: none !important;
}
.global-nav .guest-login:is(:hover, :focus-visible) {
  background: #ffffff0a;
  color: white;
}
.global-nav :is(.account-toggle, .guest-login, .guest-register)[hidden],
.workspace-recovery[hidden] {
  display: none !important;
}
.catalog-extra-actions {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  margin: -8px 0 25px;
  font-size: 13px;
}
.catalog-extra-actions a {
  color: #aaa;
}
.discovery-page .owned-dojo {
  grid-template-columns: 48px minmax(0, 1fr) 120px;
}
.discovery-page .home-belts h2 > a {
  color: inherit;
}
.journey-page [id] {
  scroll-margin-top: calc(var(--header-height) + 25px);
}
.global-nav .mobile-nav-toggle {
  display: none;
}
.global-nav .site-links .nav-link[aria-current="page"] {
  color: white !important;
}
.global-nav .mobile-site-menu[hidden] {
  display: none !important;
}
.global-nav .mobile-site-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 18px;
  width: 190px;
  padding: 6px !important;
  margin: 0;
  background: #242424;
  border: 1px solid #414141;
  border-radius: 5px;
  box-shadow: 0 8px 28px #0005;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.global-nav .mobile-site-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 3px;
  font:
    13px/1.5 "Space Mono",
    monospace;
  color: #ccc !important;
}
.global-nav .mobile-site-menu i {
  width: 17px;
  text-align: center;
  color: var(--brand-gold);
}
.global-nav .mobile-site-menu a:is(:hover, :focus-visible) {
  color: white !important;
  background: #ffffff0b;
}
#dojo-sidebar .journey-page select.member-role {
  width: 125px;
  height: 36px;
  font-size: 13px;
  padding: 4px 9px;
}
.account-confirm button:disabled {
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 700px) {
  #dojo-sidebar .global-nav .site-links > .nav-link {
    display: none !important;
  }
  .global-nav .mobile-nav-toggle {
    display: block;
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--brand-gold);
    font-size: 16px;
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
  }
  .global-nav .mobile-nav-toggle:is(:hover, :focus-visible, [aria-expanded="true"]) {
    background: #ffffff0a;
    color: white;
    outline: none;
    box-shadow: none;
  }
  .discovery-page .owned-dojo {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 13px;
  }
  .owned-dojo .catalog-icon {
    grid-row: 1/3;
  }
  .owned-dojo .simple-stat {
    grid-column: 2;
  }
}
.workspace-recovery {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background: #111;
  gap: 16px;
  color: #aaa;
  font:
    15px/1.8 "Space Grotesk",
    sans-serif;
  z-index: 2;
}
.workspace-recovery h2 {
  color: #ddd;
  font-size: 22px;
  font-weight: 500;
}
.workspace-recovery button {
  background: #272727;
  border: 1px solid #555;
  color: #ddd;
  padding: 8px 16px;
  border-radius: 4px;
  font:
    14px/1.5 "Space Grotesk",
    sans-serif;
  cursor: pointer;
  user-select: none;
}
.journey-page :is(button, a):focus {
  outline: none;
  box-shadow: none;
}
@media (max-width: 800px) {
  .journey-page .split-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .journey-page .note-panel {
    max-width: 600px;
  }
  .journey-page .belt-overview {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .journey-page .page-heading {
    display: block;
  }
  .journey-page .page-tools {
    margin-top: 20px;
  }
  .journey-page .auth-layout {
    display: block;
    padding-top: 0;
    min-height: 0;
  }
  .journey-page .auth-layout h1 {
    font-size: 27px;
  }
  .journey-page .journey-tabs {
    gap: 10px 20px;
    margin-bottom: 23px;
  }
  .journey-page .journey-tabs a {
    font-size: 13px;
    padding: 10px 0;
  }
  .journey-page .line-row,
  .journey-page .line-list > li {
    gap: 15px;
  }
  .journey-page .line-row strong,
  .journey-page .line-list strong {
    font-size: 15px;
  }
  .journey-page .mini-stats {
    gap: 25px;
    justify-content: space-between;
  }
  .journey-page .mini-stats strong {
    font-size: 23px;
  }
  .journey-page .mini-stats span {
    font-size: 11px;
  }
  .journey-page .belt-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 25px;
  }
  .journey-page .belt-overview img {
    width: 58px;
    height: 38px;
  }
  .journey-page .help-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .journey-page .course-progress {
    display: block;
  }
  .journey-page .course-progress .row-progress-track {
    display: block;
    width: 100%;
    margin-top: 15px;
  }
  .journey-page .filter-row {
    gap: 12px;
  }
  .journey-page .filter-row .field {
    max-width: none;
    flex-basis: 140px;
  }
  .journey-page .tour-list > li {
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 13px;
  }
  .journey-page .empty-state {
    padding: 35px 0;
    min-height: 320px;
  }
  .journey-page .empty-state h1 {
    font-size: 26px;
  }
  .journey-page .summary-box dl {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .journey-page table {
    font-size: 13px;
  }
  .journey-page td {
    padding: 13px 9px;
  }
  .journey-page th {
    padding: 11px 9px;
  }
  .journey-page .award-belt {
    gap: 5px;
    font-size: 12px;
  }
  .journey-page .award-belt img {
    width: 26px;
    height: 18px;
  }
  .journey-page .steps {
    gap: 15px;
    font-size: 12px;
  }
  .journey-page .chat-compose {
    gap: 9px;
  }
  .global-nav :is(.guest-login, .guest-register) {
    font-size: 12px;
    padding: 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-page * {
    scroll-behavior: auto;
  }
}

.journey-page .hackers-belts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 20px 0;
  margin: 0 0 28px;
  background: #181818;
  border-radius: 5px;
}
.hackers-belts a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 3px 20px;
  color: #ddd;
  user-select: none;
}
.hackers-belts a + a {
  border-left: 1px solid #303030;
}
.hackers-belts img {
  width: 48px;
  height: 34px;
  object-fit: contain;
  flex: none;
}
.hackers-belts span {
  min-width: 0;
}
.hackers-belts strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.hackers-belts small {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 3px;
  white-space: nowrap;
}
.hackers-belts a:is(:hover, :focus-visible, [aria-current="true"]) {
  background: #ffffff04;
  color: white;
}
.hackers-search {
  max-width: 320px;
  margin-bottom: 22px;
}
.hackers-search .field {
  margin: 0;
  font-size: 13px;
}
.hackers-directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 260px) 150px;
  gap: 16px;
  margin-bottom: 20px;
}
.hackers-directory-tools .field {
  margin: 0;
  min-width: 0;
}
.hackers-directory-tools.completion-tools {
  grid-template-columns: minmax(0, 260px) minmax(0, 320px);
}
.select-control {
  display: block;
  position: relative;
  min-width: 0;
}
#hackers-panel .select-control select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  text-overflow: ellipsis;
}
.select-control > i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #999;
  pointer-events: none;
}
#hackers-panel .award-table,
#hackers-panel .completion-table {
  table-layout: fixed;
}
.award-belt-column,
.completion-dojo-column {
  width: 25%;
}
.award-date-column,
.completion-date-column {
  width: 30%;
}
.hacker-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.completion-dojo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: left;
}
.completion-dojo > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.completion-dojo .dojo-emoji {
  flex: none;
  font-size: 20px;
}
#hackers-panel .completion-table :is(th, td):nth-child(2) {
  text-align: left;
}
.award-table time,
.completion-table time {
  white-space: nowrap;
}
.journey-page .belt-requirement {
  font-size: 14px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 23px;
}
.journey-page .belt-record-note {
  font-size: 11px;
  color: #888;
  margin-top: 22px;
}
.journey-page #solve-events {
  margin-bottom: 18px;
}
.journey-page #solve-events > li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.journey-page #solve-events time {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .hackers-belts a {
    padding: 3px 14px;
    gap: 9px;
  }
  .hackers-belts img {
    width: 40px;
  }
  .hackers-belts strong {
    font-size: 15px;
  }
}
@media (max-width: 800px) {
  .journey-page .hackers-belts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    padding: 16px 0;
    margin-bottom: 23px;
  }
  .hackers-belts a:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 700px) {
  .hackers-search {
    max-width: none;
  }
  .hackers-directory-tools,
  .hackers-directory-tools.completion-tools {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .award-belt-column,
  .completion-dojo-column {
    width: 40%;
  }
  .award-date-column,
  .completion-date-column {
    width: 102px;
  }
  #hackers-panel :is(.award-table, .completion-table) :is(th, td) {
    padding-left: 8px;
    padding-right: 8px;
  }
  #hackers-panel :is(.award-table, .completion-table) :is(th, td):first-child {
    padding-left: 0;
  }
  #hackers-panel :is(.award-table, .completion-table) :is(th, td):last-child {
    padding-right: 0;
  }
  .award-table .award-belt {
    gap: 6px;
    font-size: 12px;
  }
  .award-table .award-belt img {
    width: 24px;
    height: 18px;
  }
  .journey-page #solve-events > li {
    gap: 14px;
    font-size: 13px;
  }
  .completion-dojo .dojo-emoji {
    font-size: 18px;
  }
  .completion-dojo {
    gap: 6px;
    font-size: 12px;
    align-items: flex-start;
  }
  .completion-table time {
    font-size: 12px;
  }
}
@media (max-width: 540px) {
  .hackers-directory-tools.completion-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 360px) {
  .hackers-belts a {
    padding: 3px 10px;
    gap: 7px;
  }
  .hackers-belts img {
    width: 32px;
  }
  .hackers-belts strong {
    font-size: 13px;
  }
  .hackers-belts small {
    font-size: 11px;
  }
}
