@font-face {
  font-family: Console;
  src: local("Cascadia Code"), local("Consolas");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #121519;
  --surface-2: #191d23;
  --ink: #edf2f4;
  --muted: #99a4ae;
  --line: #292f36;
  --cyan: #52e4e8;
  --lime: #c0f76b;
  --pink: #fa7cc3;
  --amber: #f0cd79;
  --radius: 6px;
  --mono: Console, Consolas, monospace;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}
h1 {
  font-size: 32px;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  margin: 0.65rem 0;
}
strong {
  font-weight: 600;
}
.mono,
.eyebrow,
.micro-label,
.badge {
  font-family: var(--mono);
}
.muted {
  color: var(--muted);
}
.cyan {
  color: var(--cyan);
}
.pink {
  color: var(--pink);
}
.is-hidden {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  background: var(--cyan);
  color: var(--bg);
  padding: 10px;
  z-index: 50;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #101216;
  border-right: 1px solid var(--line);
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  padding: 0 14px 33px;
}
.brand-mark {
  font-family: var(--mono);
  font-size: 37px;
  line-height: 1.1;
  font-weight: bold;
}
.brand-mark span {
  color: var(--cyan);
  text-shadow: 0 0 14px #52e4e840;
}
.brand-domain {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 10px;
}
.nav-label {
  margin: 0 14px 12px;
  text-transform: uppercase;
  font: 10px var(--mono);
  color: #73808d;
}
.top-nav {
  display: grid;
  gap: 5px;
}
.nav-tab {
  border: 1px solid transparent;
  background: transparent;
  min-height: 47px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  color: var(--muted);
  border-radius: 4px;
  font-size: 13px;
}
.nav-tab span {
  font: 10px var(--mono);
  margin-left: auto;
  opacity: 0.6;
}
.nav-tab:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.nav-tab.is-active {
  background: #142528;
  border-color: #25494d;
  color: var(--cyan);
  box-shadow: inset 2px 0 var(--cyan);
}
.sidebar-progress {
  margin: auto 12px 30px;
  padding-top: 42px;
}
.sidebar-progress > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.sidebar-progress strong {
  font-family: var(--mono);
  color: var(--lime);
}
progress {
  display: block;
  width: 100%;
  height: 4px;
  border: 0;
  margin: 12px 0;
  background: var(--line);
  accent-color: var(--lime);
}
progress::-webkit-progress-bar {
  background: var(--line);
}
progress::-webkit-progress-value {
  background: var(--lime);
}
progress::-moz-progress-bar {
  background: var(--lime);
}
.sidebar-progress small {
  color: var(--muted);
  font: 10px var(--mono);
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 20px 12px 0;
  font: 9px var(--mono);
  color: var(--lime);
}
.sidebar-footer small {
  display: block;
  font-size: 10px;
  color: #73808d;
  margin-top: 12px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 7px;
  box-shadow: 0 0 7px #c0f72b30;
}
.app-shell {
  margin-left: 224px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-header {
  height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #0e1013;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font: 10px var(--mono);
}
.breadcrumb span {
  color: #53606b;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 400;
}
.scope-indicator {
  font: 10px var(--mono);
  color: var(--muted);
}
main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 36px 38px 24px;
  flex: 1;
  min-width: 0;
}
.workspace-section {
  display: none;
}
.workspace-section.is-active {
  display: block;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}
.overview-heading h1 span:first-child {
  color: var(--cyan);
}
.cursor {
  color: var(--cyan);
}
.lede {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}
.primary-action,
.secondary-action,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.primary-action {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062225;
}
.primary-action:hover {
  background: #9af2f5;
  box-shadow: 0 0 18px #52e4e820;
}
.secondary-action,
.ghost-button {
  background: var(--surface);
  color: var(--ink);
}
.secondary-action:hover,
.ghost-button:hover {
  background: var(--surface-2);
  border-color: #596570;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}
.icon-button:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 32px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border: 0;
}
.metric > svg {
  color: var(--cyan);
  width: 23px;
  height: 23px;
}
.metric:nth-child(2) > svg {
  color: var(--lime);
}
.metric:nth-child(3) > svg {
  color: var(--pink);
}
.metric:nth-child(4) > svg {
  color: var(--amber);
}
.metric strong {
  font: 26px var(--mono);
  display: block;
  line-height: 1.2;
}
.metric span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 36px;
}
.subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.subheading .mono {
  font-size: 10px;
}
.micro-label {
  font-size: 9px;
  color: var(--muted);
}
.pathway {
  display: grid;
  gap: 10px;
}
.path-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 16px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  width: 100%;
  position: relative;
}
.path-row:hover {
  border-color: #647781;
  background: #161d21;
}
.path-row.current {
  border-color: #375559;
  background: #121e21;
}
.path-row.current:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--cyan);
}
.path-number {
  font: 17px var(--mono);
  color: var(--muted);
  align-self: center;
}
.path-row.current .path-number {
  color: var(--cyan);
}
.path-row.done .path-number {
  color: var(--lime);
}
.path-info strong {
  display: block;
  font-size: 14px;
}
.path-info > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.path-info small {
  color: var(--cyan);
  font: 9px var(--mono);
  margin-left: 10px;
}
.path-row > svg {
  width: 16px;
  height: 16px;
  color: #73808d;
}
.path-row.done > svg {
  color: var(--lime);
}
.topology-panel {
  background: #10161a;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
#topologyCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 660/350;
  background-image:
    linear-gradient(#ffffff04 1px, transparent 1px),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 22px 22px;
}
.topology-caption {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 13px;
  font: 10px var(--mono);
  color: var(--muted);
}
.topology-caption > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #788793;
}
.range-target {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.target-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.range-target strong {
  font: 12px var(--mono);
  display: block;
}
.range-target div > span {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 4px;
}
.range-target > .micro-label {
  margin-left: auto;
}
.featured-evidence {
  padding: 25px 0 0;
}
.featured-evidence .eyebrow {
  color: var(--pink);
}
.featured-evidence h3 {
  font-size: 23px;
}
.featured-evidence p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  max-width: 40ch;
}
.text-link {
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link svg {
  width: 15px;
  height: 15px;
}
.course-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.course-footer span,
.course-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-footer svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}
.app-footer {
  padding: 20px 38px;
  display: flex;
  justify-content: space-between;
  color: #7b8590;
  font: 9px var(--mono);
}
.toolbelt {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 180px;
  height: 42px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.search-box input {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  font-size: 12px;
  height: 100%;
  outline-offset: 0;
}
.week-select select {
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
  border-radius: 4px;
  font-size: 12px;
  max-width: 100%;
}
.segmented {
  display: flex;
  gap: 2px;
  background: var(--surface);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.segment {
  height: 32px;
  padding: 0 13px;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 2px;
  font-size: 11px;
}
.segment.is-active {
  background: #263238;
  color: var(--cyan);
}
.segment:hover {
  color: var(--ink);
}
.results-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 10px var(--mono);
  color: var(--muted);
  padding: 0 0 16px;
}
.results-line > span:last-child {
  font-size: 9px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.challenge-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 21px;
  background: var(--surface);
  min-width: 0;
}
.challenge-card.is-complete {
  border-color: #425631;
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 6px;
}
.badge {
  font-size: 9px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
}
.badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
}
.badge.builder {
  color: var(--lime);
}
.badge.stretch {
  color: var(--pink);
}
.card-meta {
  color: var(--muted);
  font: 10px var(--mono);
}
.challenge-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
  line-height: 1.4;
}
.challenge-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  min-height: 62px;
}
.challenge-tag {
  font: 9px var(--mono);
  color: var(--muted);
  padding-bottom: 14px;
}
.challenge-tag span {
  color: var(--pink);
}
.lab-details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.lab-details summary {
  font-size: 11px;
  color: var(--cyan);
  cursor: pointer;
}
.objective-list {
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.deliverable {
  font-size: 12px;
  color: var(--ink);
}
.safety-note {
  font-size: 10px;
  color: var(--muted);
  border-left: 2px solid #465453;
  padding-left: 10px;
  margin: 14px 0;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.check-row input {
  accent-color: var(--lime);
  width: 14px;
  height: 14px;
  margin: 0;
}
.code-link {
  color: var(--cyan);
  border: 0;
  background: transparent;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px 0;
  font-size: 11px;
}
.code-link svg {
  width: 14px;
  height: 14px;
}
.empty-state {
  grid-column: 1/-1;
  border-block: 1px solid var(--line);
  padding: 45px 0;
  color: var(--muted);
  text-align: center;
}
.code-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 25px;
}
.script-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 730px;
  overflow: auto;
  padding-right: 8px;
}
.script-button {
  width: 100%;
  min-height: 67px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 13px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.script-button strong {
  display: block;
  font-size: 12px;
}
.script-button span {
  display: block;
  color: var(--muted);
  font: 10px var(--mono);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.script-button.is-active {
  background: #142528;
  border-color: #25494d;
}
.script-button.is-active strong {
  color: var(--cyan);
}
.script-button:hover {
  background: var(--surface-2);
}
.code-panel {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 23px;
  min-width: 0;
  background: var(--surface);
  align-self: start;
}
.code-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.code-panel h2 {
  font-size: 20px;
}
.script-summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
pre {
  background: #090c0f;
  border: 1px solid #222a31;
  border-radius: 3px;
  padding: 20px;
  overflow: auto;
  max-width: 100%;
  font: 12px/1.9 var(--mono);
  color: #b4ebbe;
  margin: 24px 0;
}
code {
  font-family: var(--mono);
}
.command-heading {
  font: 10px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.command-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.command-pill {
  font: 11px/1.7 var(--mono);
  color: var(--cyan);
  overflow-wrap: anywhere;
  padding-left: 13px;
  border-left: 2px solid #2c4344;
}
.evidence-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 110px 100px 38px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 23px 10px;
}
.evidence-row:first-child {
  border-top: 1px solid var(--line);
}
.evidence-row h2 {
  font-size: 14px;
}
.evidence-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
.evidence-row > svg {
  color: var(--pink);
}
.evidence-row > .mono {
  font-size: 10px;
  color: var(--muted);
}
.evidence-row .badge {
  color: var(--cyan);
}
.auth-grid {
  max-width: 460px;
  margin: 50px auto;
}
.auth-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
  border-radius: 6px;
}
.auth-symbol.lucide {
  color: var(--pink);
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
}
.login-form {
  display: grid;
  gap: 20px;
  margin-top: 25px;
}
.field-label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.field-label input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
}
.form-status {
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.form-status[data-state="error"] {
  color: #ff96ab;
}
.form-status[data-state="success"] {
  color: var(--lime);
}
.instructor-content {
  display: grid;
  gap: 24px;
}
.instructor-grid,
.week-grid,
.rubric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.instructor-card,
.week-card,
.rubric-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  min-width: 0;
}
.instructor-card p,
.instructor-list,
.week-card p,
.week-card > span,
.rubric-grid article > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.instructor-list {
  padding-left: 18px;
}
.week-card strong,
.week-card > span,
.rubric-grid article > span {
  display: block;
}
.week-card strong {
  margin-top: 14px;
  font-size: 12px;
}
.week-number {
  color: var(--cyan) !important;
  font: 20px var(--mono);
  margin-bottom: 14px;
}
.private-note {
  border-left: 2px solid var(--pink);
  padding-left: 12px;
  font-size: 12px;
  color: var(--muted);
}
.private-note strong {
  color: var(--pink);
}
.rubric h3 {
  margin-bottom: 16px;
}
.topology-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
  color: var(--muted);
}
.topology-row span {
  overflow-wrap: anywhere;
}
.topology-head {
  color: var(--cyan);
}
.quick-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
dialog {
  width: min(430px, calc(100% - 32px));
  border: 1px solid #58636b;
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  padding: 28px;
}
dialog::backdrop {
  background: #000a;
}
dialog p {
  color: var(--muted);
  font-size: 13px;
}
@media (min-width: 1700px) {
  main {
    padding-top: 50px;
  }
  .overview-grid {
    gap: 52px;
  }
  .path-row {
    padding: 20px;
  }
  .metric-row {
    margin-bottom: 40px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 196px;
    padding-inline: 12px;
  }
  .app-shell {
    margin-left: 196px;
  }
  main {
    padding: 28px;
  }
  .app-header {
    padding-inline: 28px;
  }
  .overview-grid {
    gap: 24px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .metric {
    padding-inline: 15px;
    gap: 12px;
  }
  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbelt > .search-box {
    flex-basis: 40%;
  }
  .instructor-grid,
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 0;
  }
  .brand-lockup {
    padding: 0 0 18px;
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .brand-domain {
    margin: 0;
  }
  .top-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }
  .nav-tab {
    padding: 0 14px;
    white-space: nowrap;
    min-height: 45px;
  }
  .nav-tab span,
  .nav-label,
  .sidebar-progress,
  .sidebar-footer {
    display: none;
  }
  .app-shell {
    margin: 0;
  }
  .app-header {
    height: 46px;
  }
  .section-heading {
    gap: 20px;
  }
  .section-heading h1 {
    font-size: 28px;
  }
  .metric-row {
    margin-bottom: 28px;
  }
  .path-row {
    padding: 14px 12px;
    gap: 8px;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
  }
  .path-info strong {
    font-size: 13px;
  }
  .code-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  main {
    padding: 24px 20px;
  }
  .app-header {
    padding: 0 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .overview-heading .primary-action {
    min-height: 38px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }
  .metric {
    padding: 0 18px;
  }
  .metric:nth-child(odd) {
    padding-left: 0;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric strong {
    font-size: 23px;
  }
  .range-section {
    padding-top: 8px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .challenge-card > p {
    min-height: 0;
  }
  .code-layout {
    grid-template-columns: 1fr;
  }
  .script-list {
    max-height: 210px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  .code-panel {
    padding: 18px;
  }
  .code-panel h2 {
    font-size: 18px;
  }
  .toolbelt {
    gap: 10px;
  }
  .toolbelt > .search-box {
    flex-basis: 100%;
  }
  .week-select {
    flex: 1;
    min-width: 0;
  }
  .week-select select {
    width: 100%;
  }
  .segmented {
    width: 100%;
  }
  .segment {
    flex: 1;
  }
  .results-line > span:last-child {
    display: none;
  }
  .evidence-row {
    grid-template-columns: 24px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 20px 0;
  }
  .evidence-row > .mono,
  .evidence-row > .badge {
    display: none;
  }
  .instructor-grid,
  .week-grid,
  .rubric-grid {
    grid-template-columns: 1fr;
  }
  .topology-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .topology-head {
    display: none;
  }
  .course-footer {
    flex-wrap: wrap;
  }
  .app-footer {
    padding: 20px;
    font-size: 8px;
  }
  .scope-indicator {
    font-size: 8px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 10px;
  }
  .nav-tab {
    font-size: 12px;
    padding: 0 10px;
    gap: 7px;
  }
  .top-nav {
    gap: 3px;
  }
  .sidebar {
    padding-inline: 20px;
  }
  .brand-domain {
    font-size: 10px;
  }
  .path-row {
    padding: 18px 14px;
    gap: 12px;
  }
  .path-info strong {
    font-size: 14px;
  }
  .auth-grid {
    margin: 25px auto;
  }
  .auth-panel {
    padding: 25px;
  }
  .featured-evidence {
    padding-bottom: 5px;
  }
  pre {
    font-size: 11px;
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .top-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .nav-tab {
    flex-direction: column;
    gap: 5px;
    min-height: 56px;
    padding: 8px 2px;
    font-size: 9px;
  }
  .nav-tab svg {
    width: 17px;
    height: 17px;
  }
}
