
/* Cyberpath V2: comfortable type, clearer hierarchy, richer feedback. */
:root {
  --bg: #090e10;
  --panel: #111b1a;
  --line: #293c36;
  --text: #edf8f0;
  --muted: #a4b9ae;
  --accent: #adf5b4;
  --cyan: #a9e4d1;
}
html {
  background: #fbfcf8;
  color: #193a2c;
  scrollbar-color: #355443 #090e10;
}
body {
  background: #fbfcf8;
  color: #193a2c;
  font-family: var(--sans), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 0, #e7eee213, transparent 60%);
  z-index: -1;
}
button,
.button {
  font-size: 13px;
  min-height: 40px;
  border-radius: 8px;
}
a,
button {
  touch-action: manipulation;
}
input,
textarea,
select {
  font-size: 14px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #a8bca8;
}
.app-shell {
  grid-template-columns: 238px minmax(0, 1fr);
}
.sidebar {
  background: linear-gradient(180deg, #fbfcf8, #fbfcf8);
  padding: 32px 18px 20px;
  border-right-color: #243a2e;
}
.brand {
  color: #193a2c;
  letter-spacing: -1.4px;
  font-weight: 650;
  font-size: 28px;
}
.brand-icon {
  box-shadow: 0 0 25px #234d3618;
  font-size: 27px;
}
.workspace-label {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 32px 10px;
}
.workspace-label > span:last-child {
  font: 9px var(--mono);
  border: 1px solid #dce3d8;
  border-radius: 4px;
  padding: 1px 4px;
  color: #2a6931;
}
.nav-label {
  font-size: 10px;
  color: #607366;
}
.sidebar nav a {
  font-size: 13px;
  padding: 12px;
  gap: 12px;
  min-height: 47px;
}
.sidebar nav a[aria-current] {
  border-color: #dce3d8;
  background: linear-gradient(110deg, #e7eee2, #f0f4eb);
  color: #193a2c;
}
.sidebar nav a:not([aria-current]):hover {
  background: #f0f4eb;
  color: #193a2c;
}
.nav-count {
  font-size: 10px;
}
.daily-card {
  padding: 17px;
  background:
    radial-gradient(ellipse at top left, #e7eee266, transparent), #f0f4eb;
  border-color: #dce3d8;
}
.daily-card .tiny-label {
  font-size: 9px;
  line-height: 1.6;
}
.daily-line strong {
  font-size: 19px;
}
.daily-card p,
.daily-card a {
  font-size: 11px;
}
.profile-button strong {
  font-size: 12px;
}
.profile-button small {
  font-size: 10px;
}
.profile-button {
  min-height: 65px;
}
.avatar {
  width: 36px;
  height: 36px;
}
.topbar {
  height: 78px;
  background: #fbfcf8bd;
  backdrop-filter: blur(16px);
  border-color: #dce3d8;
  padding: 0 36px;
}
.breadcrumb {
  font-size: 12px;
  color: #607366;
}
.breadcrumb b {
  color: #607366;
}
.search-trigger {
  font-size: 11px;
  min-height: 34px;
  border-color: #dce3d8;
  padding: 7px 11px;
}
.search-trigger kbd {
  font-size: 10px;
}
.environment-status {
  font-size: 10px;
  color: #607366;
}
.small-avatar {
  width: 31px;
  height: 31px;
}
main {
  padding: 35px 36px 52px;
  max-width: 1650px;
}
.page-heading {
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: clamp(29px, 2.7vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.055em;
  margin: 9px 0 10px;
}
.page-heading p {
  font-size: 13px;
  color: #607366;
  line-height: 1.8;
}
.eyebrow,
.page-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 0.11em;
}
.text-link {
  font-size: 12px;
  color: #607366;
}
.text-link:hover {
  color: #193a2c;
}
.page-heading .text-link {
  margin-top: 12px;
}
.dashboard-hero {
  min-height: 390px;
  padding: 38px 40px;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  gap: 14px;
  border-radius: 14px;
  border-color: #a8bca8;
  background:
    radial-gradient(ellipse at 88% 45%, #e7eee266, transparent 62%),
    linear-gradient(115deg, #f0f4eb, #f0f4eb 62%, #f0f4eb);
  box-shadow:
    inset 0 1px #234d3610,
    0 20px 70px #234d3622;
  isolation: isolate;
}
.dashboard-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#d8eedc04 1px, transparent 1px);
  background-size: 100% 5px;
  mask-image: linear-gradient(to right, transparent, #000);
}
.hero-copy {
  min-width: 0;
}
.pill {
  font-size: 9px;
  padding: 5px 9px;
  border-color: #a8bca8;
  background: #e7eee22e;
  color: #193a2c;
}
.hero-copy h2 {
  font-family: var(--sans);
  font-size: clamp(43px, 4.25vw, 72px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.02;
  margin: 25px 0 21px;
  color: #193a2c;
}
.hero-gradient {
  background: linear-gradient(115deg, #daeed8 2%, #d8eedb 45%, #d8eeea);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 50px #234d3615;
}
.hero-copy > p {
  font-size: 13px;
  line-height: 1.9;
  color: #607366;
  max-width: 400px;
  margin-bottom: 25px;
}
.hero-actions {
  gap: 20px;
  flex-wrap: wrap;
}
.hero-actions .primary {
  font-size: 12px;
  padding: 12px 17px;
  min-height: 44px;
}
.hero-secondary {
  font-size: 12px;
  color: #607366;
}
.hero-note {
  font-size: 9px;
  color: #607366;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-note .icon {
  width: 14px;
  height: 14px;
}
.hero-coordinate {
  font-size: 8px;
  color: #607366;
  letter-spacing: 0.1em;
  right: 20px;
  bottom: 13px;
}
.network-visual {
  min-width: 0;
  width: 100%;
  max-width: 510px;
  margin: auto;
  filter: drop-shadow(0 0 30px #6cc88512);
}
.network-svg {
  max-height: 345px;
}
.network-node .node-label {
  fill: #b7dabc;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.network-node:hover .node-label {
  fill: #e0ffe0;
}
.network-hint {
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #365e40;
  bottom: 0;
}
.orbital {
  border-color: #a8bca820;
}
.orbital-two {
  border-color: #a8bca814;
}
.signal {
  filter: drop-shadow(0 0 5px #c0ffd1);
}
.stats-strip {
  background: #fbfcf8;
  border-color: #dce3d8;
  margin-top: 22px;
  border-radius: 10px;
}
.stats-strip > div {
  padding: 21px 19px;
  gap: 13px;
}
.stats-strip > div + div {
  border-color: #dce3d8;
}
.stats-strip strong {
  font-size: 30px;
  color: #193a2c;
  font-weight: 550;
}
.stats-strip > div > span:last-child {
  font-size: 12px;
  color: #607366;
}
.stats-strip small {
  font-size: 10px;
  color: #607366;
  margin-top: 6px;
}
.stat-icon {
  color: #34603c;
}
.stat-icon .icon {
  width: 23px;
  height: 23px;
}
.learning-pulse {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  gap: 25px;
  margin-top: 22px;
  padding: 23px 25px;
  border: 1px solid #dce3d8;
  border-radius: 10px;
  background: linear-gradient(100deg, #f0f4eb, #fbfcf8);
}
.pulse-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.pulse-icon {
  height: 42px;
  width: 42px;
  display: grid;
  place-content: center;
  background: #e7eee2;
  border: 1px solid #a8bca8;
  border-radius: 10px;
  flex-shrink: 0;
  color: #286c2a;
}
.pulse-main .eyebrow {
  font-size: 9px;
}
.pulse-main h3 {
  font-size: 19px;
  margin: 4px 0 6px;
  letter-spacing: -0.035em;
}
.pulse-main p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #607366;
}
.pulse-main .button {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
  min-height: 38px;
  padding: 8px 12px;
  flex-shrink: 0;
  background: #f0f4eb;
  border-color: #a8bca8;
  color: #193a2c;
}
.pulse-main .button .icon {
  width: 14px;
}
.pulse-progress {
  border-left: 1px solid #dce3d8;
  padding-left: 25px;
  align-self: center;
}
.pulse-progress > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #607366;
  margin-bottom: 6px;
  gap: 12px;
}
.pulse-progress strong {
  font-weight: 500;
  color: #193a2c;
}
.pulse-progress progress {
  height: 5px;
  display: block;
}
.pulse-progress small {
  display: block;
  font-size: 10px;
  color: #607366;
  margin-top: 7px;
}
.content-section {
  margin-top: 36px;
}
.section-heading {
  margin-bottom: 21px;
}
.section-heading h2 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.section-heading .eyebrow {
  font-size: 9px;
}
.lab-cards {
  gap: 20px;
}
.lab-card {
  background: linear-gradient(160deg, #f0f4eb, #fbfcf8);
  border-color: #dce3d8;
  border-radius: 11px;
  isolation: isolate;
}
.lab-card:hover {
  box-shadow:
    0 16px 45px #234d3644,
    0 0 0 1px #234d3625;
  transform: translateY(-5px);
  border-color: #a8bca8;
}
.lab-art {
  height: 175px;
  border-color: #dce3d8;
  background:
    radial-gradient(ellipse at 50% 80%, #e7eee240, transparent 85%), #f0f4eb;
}
.lab-art svg {
  height: 163px;
  width: 245px;
  top: 6px;
}
.art-label {
  font-size: 8px;
  left: 20px;
  top: 16px;
  color: #30643b;
}
.art-arrow {
  font-size: 20px;
  right: 18px;
  top: 11px;
  color: #355f3f;
}
.lab-card-content {
  padding: 21px 20px 18px;
}
.lab-meta {
  font-size: 11px;
  margin-bottom: 14px;
}
.category {
  padding: 3px 7px;
  color: #365e45;
  background: #e7eee266;
}
.difficulty {
  color: #607366;
  font-size: 10px;
}
.lab-card h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.lab-card p {
  font-size: 12px;
  color: #607366;
  line-height: 1.85;
  margin-bottom: 22px;
}
.lab-card-footer {
  font-size: 10px;
  padding-top: 15px;
  gap: 14px;
  border-color: #dce3d8;
}
.lab-card-footer b {
  font-size: 11px;
  color: #286c36;
}
.lab-card-footer .icon {
  width: 14px;
  height: 14px;
}
.lab-card.packets .lab-art {
  color: #28436c;
  background:
    radial-gradient(ellipse at 50% 80%, #d8e0ee44, transparent 85%), #f0f4eb;
}
.lab-card.firewall .lab-art {
  color: #3e286c;
  background:
    radial-gradient(ellipse at 50% 80%, #e4dbeb44, transparent 85%), #f0f4eb;
}
.lab-card.packets .art-label {
  color: #28446c;
}
.lab-card.firewall .art-label {
  color: #44286c;
}
.catalog-grid .lab-art {
  height: 185px;
}
.catalog-grid .lab-art svg {
  height: 174px;
  width: 260px;
}
.bottom-grid {
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  margin-top: 25px;
  align-items: stretch;
}
.path-feature {
  flex-direction: column;
  padding: 28px;
  background:
    radial-gradient(ellipse at 0 0, #e7eee255, transparent 70%), #f0f4eb;
  border-color: #dce3d8;
  border-radius: 11px;
  gap: 20px;
}
.path-feature .eyebrow {
  font-size: 9px;
}
.path-feature h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 12px 0;
}
.path-feature p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 440px;
}
.path-feature-footer {
  flex-direction: column;
  align-items: start;
  gap: 18px;
  margin-top: 25px;
}
.path-feature-footer > span {
  font-size: 11px;
  line-height: 1.9;
}
.path-feature-footer a {
  font-size: 12px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: inset 0 1px #234d3610;
}
.daily-challenge {
  padding: 26px;
  background:
    radial-gradient(ellipse at 100% 0, #f0f4eb44, transparent 75%), #f0f4eb;
  border-color: #dce3d8;
  border-radius: 11px;
  display: block;
}
.drill-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.daily-challenge .eyebrow {
  font-size: 9px;
  color: #3c6033;
}
.drill-xp {
  font: 10px var(--mono);
  color: #416c28;
}
.drill-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}
.drill-tabs button {
  font: 9px var(--mono);
  padding: 5px 8px;
  background: #f0f4eb;
  color: #607366;
  border: 1px solid #dce3d8;
  border-radius: 4px;
  min-height: 28px;
  justify-content: center;
}
.drill-tabs button[aria-pressed="true"] {
  color: #193a2c;
  border-color: #a8bca8;
  background: #e7eee2;
}
.daily-challenge h3 {
  font-size: 25px;
  margin: 12px 0;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.daily-challenge > p {
  font-size: 12px;
  line-height: 1.85;
  color: #607366;
  margin: 0 0 15px;
}
.drill-options {
  display: grid;
  gap: 7px;
}
.drill-options button {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: flex-start;
  border: 1px solid #dce3d8;
  background: #f0f4eb;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 11px;
  color: #445e36;
  text-align: left;
  line-height: 1.7;
  width: 100%;
  min-height: 36px;
}
.drill-options button > span {
  color: #607366;
  font: 10px var(--mono);
  border: 1px solid #a8bca8;
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}
.drill-options button:hover {
  background: #e7eee2;
  border-color: #a8bca8;
}
.drill-options button.incorrect {
  border-color: #a8bca8;
  background: #f0f4eb;
}
.drill-options button:disabled {
  opacity: 0.8;
}
.daily-challenge p.drill-feedback {
  font-size: 11px;
  margin: 12px 0 0;
  min-height: 0;
  color: #44652f;
}
.catalog-toolbar {
  margin-top: 30px;
  gap: 18px;
}
.filter-tabs button {
  font-size: 12px;
  padding: 8px 13px;
  min-height: 37px;
}
.filter-tabs button span {
  font-size: 10px;
}
.catalog-search input {
  font-size: 12px;
  width: 190px;
}
.catalog-options > span,
.catalog-options select {
  font-size: 12px;
}
.catalog-options select {
  padding: 8px 10px;
  min-height: 35px;
}
.catalog-options {
  margin: 22px 0;
}
.path-grid {
  gap: 24px;
}
.path-card {
  padding: 32px;
  border-radius: 12px;
}
.path-card .eyebrow {
  font-size: 10px;
}
.tiny-label {
  font-size: 9px;
}
.path-card h2 {
  font-size: 33px;
}
.path-card p {
  font-size: 14px;
  line-height: 1.9;
}
.path-card-footer,
.path-card-footer b {
  font-size: 12px;
}
.path-step {
  padding: 26px;
  border-radius: 10px;
}
.path-step .eyebrow {
  font-size: 10px;
}
.path-step h3 {
  font-size: 24px;
}
.path-step p {
  font-size: 13px;
}
.step-number {
  font-size: 17px;
}
.path-summary p,
.local-note {
  font-size: 11px;
}
.back-link {
  font-size: 12px;
}
.course-hero {
  border-radius: 13px;
}
.course-hero p {
  font-size: 14px;
}
.course-hero .eyebrow {
  font-size: 10px;
}
.course-progress {
  font-size: 12px;
}
.lesson-index li {
  font-size: 13px;
}
.lesson-index p,
.lesson-index > a {
  font-size: 12px;
}
.lesson-depth p,
.lesson-depth li,
.lesson-depth td,
.lesson-depth th {
  font-size: 14px;
  line-height: 1.95;
}
.lesson-depth form legend {
  font-size: 14px;
}
.lesson-depth .choice {
  font-size: 13px;
  line-height: 1.85;
  padding: 5px 0;
  align-items: baseline;
}
.lesson-depth fieldset legend {
  font-size: 14px;
  line-height: 1.8;
}
.lesson-depth input {
  min-height: 16px;
}
.packet-stack span,
.packet-stack b,
.exchange span {
  font-size: 13px;
}
.exchange code {
  font-size: 12px;
}
.tag {
  font-size: 10px;
}
.status {
  font-size: 13px;
}
.lesson-depth pre {
  font-size: 13px;
}
.panel {
  border-radius: 10px;
}
.simulation-badge {
  font-size: 9px;
}
.lab-heading-meta {
  font-size: 11px;
}
.lab-heading-meta #focus-lab {
  font-size: 12px;
  min-height: 35px;
}
.progress-overview {
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 15% 50%, #e7eee244, transparent), #f0f4eb;
}
.progress-overview .eyebrow {
  font-size: 10px;
}
.progress-overview h2 {
  font-size: 33px;
}
.progress-overview p {
  font-size: 14px;
  line-height: 1.9;
}
.progress-numbers b {
  font-size: 29px;
}
.progress-numbers span {
  font-size: 12px;
}
.score-orbit small {
  font-size: 9px;
}
.progress-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.progress-actions button {
  font-size: 12px;
}
.journal-row {
  padding: 22px;
  gap: 18px;
}
.journal-row h3 {
  font-size: 16px;
}
.journal-row p {
  font-size: 11px;
}
.record-status {
  font-size: 10px;
}
.journal-action {
  font-size: 12px;
}
.journal-notes summary {
  font-size: 12px;
}
.milestone {
  padding: 27px 15px;
}
.milestone h3 {
  font-size: 18px;
}
.milestone p {
  font-size: 12px;
  min-height: 45px;
}
.milestone small {
  font-size: 9px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.skill-progress-card {
  padding: 22px;
  border: 1px solid #dce3d8;
  border-radius: 10px;
  background: linear-gradient(130deg, #f0f4eb, #f0f4eb);
}
.skill-progress-card:hover {
  border-color: #a8bca8;
  background: #f0f4eb;
  transform: translateY(-3px);
}
.skill-progress-card > span {
  color: #2d6739;
  display: block;
  margin-bottom: 15px;
}
.skill-progress-card h3 {
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.3;
}
.skill-progress-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #607366;
}
.skill-progress-card b {
  color: #193a2c;
  font-weight: 500;
}
.skill-progress-card progress {
  display: block;
  margin-top: 10px;
  height: 4px;
}
.prose p {
  font-size: 14px;
}
.prose h2 {
  font-size: 25px;
}
.search-dialog {
  width: min(650px, calc(100% - 30px));
}
.search-heading {
  padding: 20px;
}
.search-heading input {
  font-size: 15px;
}
#search-results strong {
  font-size: 14px;
}
#search-results small {
  font-size: 12px;
}
#search-results a {
  min-height: 66px;
}
.search-foot {
  font-size: 11px;
}
.search-foot kbd {
  font-size: 10px;
}
.search-empty {
  font-size: 13px;
}
.toast {
  font-size: 13px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 22px;
}
footer {
  font-size: 9px;
  padding: 25px 36px;
  border-color: #dce3d8;
}
footer a {
  font-size: 11px;
  color: #607366;
}
footer a:hover {
  color: #193a2c;
}
@media (min-width: 1600px) {
  .dashboard-hero {
    min-height: 440px;
  }
  .hero-copy h2 {
    font-size: 80px;
  }
  .hero-copy > p {
    font-size: 15px;
    max-width: 460px;
  }
  .hero-actions .primary {
    font-size: 14px;
  }
  .hero-secondary {
    font-size: 13px;
  }
  .hero-note {
    font-size: 10px;
  }
  .network-visual {
    max-width: 570px;
  }
  .network-svg {
    max-height: 400px;
  }
  .lab-art {
    height: 195px;
  }
  .lab-art svg {
    height: 182px;
    width: 270px;
  }
  .lab-card h3 {
    font-size: 22px;
  }
  .lab-card p {
    font-size: 13px;
  }
  .art-label {
    font-size: 9px;
  }
  .stats-strip > div {
    padding: 24px;
  }
  .stats-strip > div > span:last-child {
    font-size: 13px;
  }
  .stats-strip small {
    font-size: 11px;
  }
}
@media (max-width: 1250px) {
  .app-shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  main {
    padding: 30px 28px 44px;
  }
  .topbar {
    padding: 0 28px;
  }
  .brand {
    font-size: 26px;
    padding: 0 7px;
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace-label {
    font-size: 9px;
    margin: 29px 7px;
  }
  .sidebar nav a {
    font-size: 12px;
    gap: 11px;
  }
  .dashboard-hero {
    padding: 32px;
    min-height: 350px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero-copy h2 {
    font-size: clamp(40px, 4.1vw, 58px);
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 350px;
  }
  .hero-actions {
    gap: 14px;
  }
  .hero-secondary {
    font-size: 11px;
  }
  .hero-actions .primary {
    font-size: 11px;
  }
  .stats-strip > div {
    padding: 20px 14px;
    gap: 9px;
  }
  .stats-strip strong {
    font-size: 27px;
  }
  .stats-strip > div > span:last-child {
    font-size: 11px;
  }
  .stats-strip small {
    display: none;
  }
  .stat-icon .icon {
    width: 21px;
  }
  .lab-cards {
    gap: 16px;
  }
  .lab-card-content {
    padding: 19px 17px;
  }
  .lab-card h3 {
    font-size: 18px;
  }
  .lab-card p {
    font-size: 12px;
  }
  .lab-card-footer {
    gap: 9px;
    font-size: 9px;
  }
  .lab-card-footer b {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .learning-pulse {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }
  .pulse-progress {
    border-left: 0;
    border-top: 1px solid #dce3d8;
    padding: 16px 0 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4px 25px;
    align-items: center;
  }
  .pulse-progress > div {
    margin: 0;
  }
  .pulse-progress small {
    margin: 0;
    grid-column: 2;
  }
  .pulse-main p {
    font-size: 12px;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1.35fr;
  }
  .path-feature {
    padding: 25px;
  }
  .path-feature h2 {
    font-size: 29px;
  }
  .path-feature p {
    font-size: 12px;
  }
  .daily-challenge {
    padding: 24px;
  }
  .drill-tabs button {
    font-size: 8px;
    padding: 5px 7px;
  }
  .daily-challenge h3 {
    font-size: 23px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .path-card h2 {
    font-size: 29px;
  }
  .path-card p {
    font-size: 13px;
  }
  .path-card {
    padding: 27px;
  }
  .progress-overview h2 {
    font-size: 29px;
  }
  .progress-overview p {
    font-size: 13px;
  }
  footer {
    padding: 23px 28px;
  }
}
@media (max-width: 1000px) {
  .dashboard-hero {
    padding: 30px;
    grid-template-columns: 1.15fr 1fr;
    gap: 2px;
  }
  .hero-copy h2 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-note {
    font-size: 8px;
  }
  .network-hint {
    font-size: 6px;
  }
  .pill {
    font-size: 8px;
  }
  .hero-coordinate {
    font-size: 7px;
  }
  .hero-actions {
    gap: 14px;
  }
  .hero-actions .primary {
    font-size: 11px;
  }
  .hero-secondary {
    font-size: 10px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .path-feature {
    flex-direction: row;
    gap: 22px;
  }
  .path-feature-footer {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  .path-feature h2 {
    font-size: 27px;
  }
  .path-feature .eyebrow {
    font-size: 8px;
  }
  .path-feature p {
    font-size: 13px;
  }
  .daily-challenge {
    padding: 26px;
  }
  .drill-tabs {
    margin: 18px 0;
  }
  .drill-tabs button {
    font-size: 10px;
    padding: 6px 10px;
  }
  .daily-challenge h3 {
    font-size: 27px;
  }
  .daily-challenge > p {
    font-size: 13px;
  }
  .drill-options button {
    font-size: 12px;
    min-height: 42px;
  }
  .daily-challenge p.drill-feedback {
    font-size: 12px;
  }
  .catalog-options > span,
  .catalog-options select {
    font-size: 11px;
  }
  .path-card h2 {
    font-size: 27px;
  }
  .path-card-footer {
    font-size: 11px;
  }
  .path-card-footer b {
    font-size: 10px;
  }
  .path-step h3 {
    font-size: 23px;
  }
  .path-step p {
    font-size: 12px;
  }
  .footer-links {
    gap: 16px;
  }
  .footer-links a {
    font-size: 10px;
  }
  .journal-row h3 {
    font-size: 14px;
  }
  .journal-row p {
    font-size: 11px;
  }
  .record-status {
    font-size: 9px;
  }
  .journal-action {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 250px;
    padding: 27px 17px 20px;
  }
  .sidebar nav a {
    font-size: 14px;
    min-height: 49px;
  }
  .workspace-label {
    font-size: 10px;
  }
  .brand {
    font-size: 28px;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
    background: #fbfcf8;
  }
  .topbar .breadcrumb {
    font-size: 11px;
  }
  .topbar .search-trigger {
    min-height: 34px;
  }
  main {
    padding: 28px 21px 40px;
  }
  .page-heading {
    gap: 13px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .text-link {
    font-size: 11px;
    margin-top: 0;
  }
  .dashboard-hero {
    grid-template-columns: 1.13fr 1fr;
    padding: 28px 25px;
    min-height: 330px;
    gap: 0;
  }
  .hero-copy h2 {
    font-size: 46px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 285px;
  }
  .hero-copy {
    min-width: 0;
  }
  .hero-actions {
    min-width: 0;
    gap: 12px;
  }
  .hero-actions .primary {
    font-size: 11px;
  }
  .hero-secondary {
    font-size: 11px;
  }
  .hero-note {
    font-size: 8px;
  }
  .network-visual {
    width: 100%;
    margin: 0;
    opacity: 1;
  }
  .hero-coordinate {
    font-size: 6px;
    right: 15px;
    bottom: 10px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }
  .stats-strip > div {
    padding: 19px;
    gap: 14px;
  }
  .stats-strip > div > span:last-child {
    font-size: 12px;
  }
  .stats-strip strong {
    font-size: 29px;
  }
  .stats-strip small {
    display: block;
    font-size: 9px;
  }
  .learning-pulse {
    padding: 21px;
    margin-top: 18px;
  }
  .pulse-main {
    gap: 12px;
  }
  .pulse-main h3 {
    font-size: 19px;
  }
  .pulse-main p {
    font-size: 11px;
  }
  .pulse-main .button {
    font-size: 10px;
    white-space: normal;
    max-width: 130px;
    padding: 8px 10px;
  }
  .pulse-icon {
    height: 36px;
    width: 36px;
  }
  .pulse-main .eyebrow {
    font-size: 8px;
  }
  .pulse-progress > div {
    font-size: 11px;
  }
  .pulse-progress small {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading .text-link {
    font-size: 11px;
    gap: 6px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .content-section {
    margin-top: 30px;
  }
  .lab-card h3 {
    font-size: 18px;
  }
  .lab-card p {
    font-size: 12px;
  }
  .lab-card-content {
    padding: 19px 17px;
  }
  .lab-meta {
    font-size: 10px;
  }
  .difficulty {
    font-size: 9px;
  }
  .lab-art {
    height: 160px;
  }
  .lab-art svg {
    height: 150px;
    width: 230px;
  }
  .art-label {
    font-size: 8px;
    left: 17px;
  }
  .lab-card-footer {
    font-size: 9px;
    gap: 9px;
  }
  .lab-card-footer b {
    font-size: 10px;
  }
  .lab-card-footer .icon {
    width: 13px;
  }
  .bottom-grid {
    margin-top: 22px;
  }
  .daily-challenge {
    padding: 25px;
  }
  .drill-options button {
    font-size: 12px;
  }
  .catalog-toolbar {
    margin-top: 24px;
  }
  .catalog-search input {
    width: 100%;
    font-size: 12px;
  }
  .filter-tabs button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .catalog-options {
    align-items: center;
  }
  .catalog-options > div {
    gap: 7px;
  }
  .catalog-options select {
    padding: 7px 8px;
    font-size: 11px;
    max-width: none;
  }
  .path-card h2 {
    font-size: 27px;
  }
  .path-card p {
    font-size: 13px;
  }
  .path-card-footer,
  .path-card-footer b {
    font-size: 11px;
  }
  .course-hero h1 {
    font-size: 46px;
  }
  .course-hero p {
    font-size: 13px;
  }
  .lesson-depth th,
  .lesson-depth td {
    font-size: 12px;
  }
  .lesson-depth p,
  .lesson-depth li {
    font-size: 14px;
  }
  .lesson-depth form legend,
  .lesson-depth .choice {
    font-size: 13px;
  }
  .simulation-badge {
    font-size: 8px;
  }
  .lab-heading-meta {
    font-size: 10px;
  }
  .lab-heading-meta #focus-lab {
    font-size: 11px;
  }
  .progress-overview h2 {
    font-size: 28px;
  }
  .progress-overview p {
    font-size: 12px;
  }
  .progress-actions button {
    font-size: 11px;
  }
  .progress-numbers b {
    font-size: 26px;
  }
  .progress-numbers span {
    font-size: 11px;
  }
  .journal-row h3 {
    font-size: 14px;
  }
  .journal-row .record-status {
    font-size: 9px;
  }
  .journal-action {
    font-size: 11px;
  }
  .milestone h3 {
    font-size: 17px;
  }
  .milestone p {
    font-size: 12px;
  }
  .toast {
    font-size: 12px;
  }
  .search-dialog {
    max-height: 85dvh;
  }
  .search-heading {
    padding: 16px;
  }
  .search-heading input {
    font-size: 14px;
  }
  #search-results strong {
    font-size: 13px;
  }
  #search-results small {
    font-size: 11px;
  }
  .search-foot {
    font-size: 10px;
  }
  footer {
    font-size: 8px;
    padding: 22px 21px;
  }
  .footer-links {
    gap: 15px;
  }
  .footer-links a {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .dashboard-hero {
    grid-template-columns: 1fr;
    padding: 28px 24px 23px;
    gap: 0;
  }
  .hero-copy h2 {
    font-size: 55px;
    margin: 24px 0 20px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 100%;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .primary {
    font-size: 12px;
    min-height: 44px;
    padding: 12px 15px;
  }
  .hero-secondary {
    font-size: 11px;
  }
  .pill {
    font-size: 8px;
  }
  .hero-note {
    font-size: 8px;
    margin-top: 20px;
  }
  .network-visual {
    height: 255px;
    margin: 0 0 17px;
    max-width: 360px;
    justify-self: center;
  }
  .network-svg {
    width: 100%;
    height: 255px;
    max-height: none;
  }
  .network-hint {
    font-size: 7px;
    bottom: 0;
  }
  .hero-coordinate {
    font-size: 6px;
    bottom: 10px;
  }
  .stats-strip > div {
    padding: 18px 13px;
    gap: 9px;
  }
  .stats-strip strong {
    font-size: 26px;
  }
  .stats-strip > div > span:last-child {
    font-size: 11px;
  }
  .stats-strip small {
    font-size: 8px;
    line-height: 1.5;
  }
  .stat-icon .icon {
    width: 19px;
    height: 19px;
  }
  .learning-pulse {
    padding: 21px 18px;
  }
  .pulse-main {
    flex-wrap: wrap;
    gap: 12px;
  }
  .pulse-main > div {
    flex: 1;
    min-width: 0;
  }
  .pulse-main .button {
    max-width: none;
    width: 100%;
    margin: 3px 0 0;
    min-height: 39px;
    font-size: 12px;
  }
  .pulse-main h3 {
    font-size: 20px;
  }
  .pulse-main p {
    font-size: 12px;
  }
  .pulse-progress {
    display: block;
    padding-top: 15px;
  }
  .pulse-progress > div {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .pulse-progress small {
    margin-top: 7px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .lab-card h3 {
    font-size: 22px;
  }
  .lab-card p {
    font-size: 13px;
    line-height: 1.85;
  }
  .lab-card-content {
    padding: 22px;
  }
  .lab-meta {
    font-size: 11px;
  }
  .difficulty {
    font-size: 10px;
  }
  .lab-art,
  .catalog-grid .lab-art {
    height: 180px;
  }
  .lab-art svg,
  .catalog-grid .lab-art svg {
    height: 168px;
    width: 255px;
  }
  .art-label {
    font-size: 9px;
    left: 22px;
  }
  .lab-card-footer {
    font-size: 10px;
    gap: 15px;
  }
  .lab-card-footer b {
    font-size: 11px;
  }
  .path-feature {
    flex-direction: column;
    padding: 27px;
    gap: 18px;
  }
  .path-feature .eyebrow {
    font-size: 8px;
  }
  .path-feature h2 {
    font-size: 31px;
  }
  .path-feature p {
    font-size: 13px;
  }
  .path-feature-footer {
    margin-top: 19px;
    gap: 16px;
    align-items: start;
  }
  .path-feature-footer > span {
    font-size: 11px;
  }
  .path-feature-footer a {
    font-size: 12px;
  }
  .daily-challenge {
    padding: 25px 22px;
  }
  .daily-challenge h3 {
    font-size: 27px;
  }
  .daily-challenge .eyebrow {
    font-size: 9px;
  }
  .drill-tabs {
    gap: 5px;
  }
  .drill-tabs button {
    font-size: 8px;
    min-height: 29px;
    padding: 6px 8px;
  }
  .drill-options button {
    font-size: 12px;
    line-height: 1.8;
    padding: 10px;
  }
  .daily-challenge > p {
    font-size: 13px;
  }
  .daily-challenge p.drill-feedback {
    font-size: 12px;
  }
  .catalog-options {
    align-items: start;
  }
  .catalog-options > span {
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
    min-width: 70px;
  }
  .catalog-options > div {
    gap: 6px;
    flex-wrap: wrap;
  }
  .catalog-options select {
    max-width: 140px;
    font-size: 10px;
    padding: 7px;
  }
  .filter-tabs {
    gap: 5px;
  }
  .filter-tabs button {
    font-size: 11px;
    padding: 7px 9px;
  }
  .path-card {
    padding: 29px;
  }
  .path-card h2 {
    font-size: 32px;
  }
  .path-card p {
    font-size: 14px;
  }
  .path-card .tiny-label {
    font-size: 9px;
  }
  .path-card-footer {
    gap: 15px;
  }
  .path-step {
    padding: 23px 18px;
    gap: 14px;
  }
  .path-step h3 {
    font-size: 21px;
  }
  .path-step p {
    font-size: 12px;
  }
  .path-step .eyebrow {
    font-size: 8px;
  }
  .step-number {
    font-size: 15px;
  }
  .course-hero h1 {
    font-size: 49px;
  }
  .course-hero p {
    font-size: 13px;
  }
  .lesson-depth .panel {
    padding: 23px 20px;
  }
  .lesson-depth p,
  .lesson-depth li {
    font-size: 13px;
  }
  .lesson-depth .choice,
  .lesson-depth fieldset legend {
    font-size: 12px;
  }
  .lesson-depth article h2 {
    font-size: 28px;
  }
  .lesson-depth pre {
    font-size: 11px;
  }
  .lesson-depth td,
  .lesson-depth th {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .simulation-badge {
    font-size: 7px;
  }
  .lab-page-heading .back-link {
    font-size: 11px;
  }
  .progress-overview {
    padding: 28px 25px;
  }
  .progress-overview h2 {
    font-size: 30px;
  }
  .progress-overview p {
    font-size: 13px;
  }
  .progress-numbers {
    gap: 27px;
  }
  .progress-numbers b {
    font-size: 28px;
  }
  .progress-numbers span {
    font-size: 11px;
  }
  .skills-grid {
    gap: 12px;
  }
  .skill-progress-card {
    padding: 20px 15px;
  }
  .skill-progress-card h3 {
    font-size: 17px;
    min-height: 42px;
  }
  .skill-progress-card > div {
    font-size: 10px;
    gap: 5px;
  }
  .journal-row {
    padding: 21px 16px;
    gap: 13px;
  }
  .journal-row h3 {
    font-size: 15px;
  }
  .journal-row p {
    font-size: 11px;
  }
  .journal-row .record-status {
    font-size: 10px;
    margin-left: 43px;
  }
  .journal-action {
    font-size: 12px;
  }
  .milestone {
    padding: 25px 12px;
  }
  .milestone h3 {
    font-size: 16px;
  }
  .milestone p {
    font-size: 11px;
  }
  .milestone small {
    font-size: 8px;
  }
  .prose p {
    font-size: 13px;
  }
  footer {
    display: block;
  }
  footer > span {
    font-size: 8px;
    max-width: none;
  }
  .footer-links {
    margin-top: 12px;
    justify-content: space-between;
  }
  .footer-links a {
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .toast {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .dashboard-hero:after {
    animation: scanTexture 12s linear infinite;
  }
  .lab-art:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    top: -5px;
    background: linear-gradient(90deg, transparent, #d8eedf50, transparent);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .lab-card:hover .lab-art:before {
    opacity: 1;
    animation: scanLine 2.5s linear infinite;
  }
  .hero-gradient {
    background-size: 150% auto;
    animation: gradientBreathe 8s ease-in-out infinite;
  }
  .online-dot {
    animation: statusGlow 4s ease-in-out infinite;
  }
  .learning-pulse {
    animation: fadeIn 0.65s ease both;
  }
}
@keyframes scanLine {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
@keyframes gradientBreathe {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
}
@keyframes statusGlow {
  0%,
  100% {
    box-shadow: 0 0 5px #234d362a;
  }
  50% {
    box-shadow: 0 0 12px #234d366a;
  }
}
@keyframes scanTexture {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
  }
  .menu-open .sidebar {
    visibility: visible;
  }
}

