:root {
  --navy: #07121f;
  --navy-soft: #0d1c2d;
  --blue: #63b3ff;
  --cyan: #71ead7;
  --yellow: #ffc857;
  --coral: #ff806d;
  --ink: #edf5f7;
  --muted: #8da1ad;
  --line: rgba(173, 211, 226, .14);
  --surface: rgba(14, 31, 47, .86);
  --canvas: #081522;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --maxw: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .36;
  background-image: linear-gradient(rgba(154, 210, 232, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 210, 232, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  background: rgba(5, 15, 26, .93);
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-decoration: none;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 200, 87, .12), 0 0 22px rgba(255, 200, 87, .4);
}

.sidebar-label {
  margin: 58px 14px 13px;
  color: #688194;
  font: 10px var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 5px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #91a8b7;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.side-nav a:hover,
.side-nav a.active {
  background: rgba(99, 179, 255, .1);
  border-color: rgba(99, 179, 255, .18);
  color: #fff;
}

.side-nav a.active {
  box-shadow: inset 2px 0 var(--cyan);
}

.nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--cyan);
  font-size: 0;
  text-align: center;
  background-color: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.side-nav a:nth-child(1) .nav-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E");
}

.side-nav a:nth-child(2) .nav-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2 6-6 2 2-6 6-2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2 6-6 2 2-6 6-2Z'/%3E%3C/svg%3E");
}

.side-nav a:nth-child(3) .nav-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='14' x='3' y='5' rx='2'/%3E%3Cpath d='m10 9 5 3-5 3V9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='14' x='3' y='5' rx='2'/%3E%3Cpath d='m10 9 5 3-5 3V9Z'/%3E%3C/svg%3E");
}

.side-nav a:nth-child(4) .nav-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-5 3 3 5-7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-5 3 3 5-7'/%3E%3C/svg%3E");
}

.side-nav a:nth-child(5) .nav-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}

.sidebar-foot {
  margin-top: auto;
  padding: 17px 14px 0;
  border-top: 1px solid var(--line);
  color: #688194;
  font-size: 11px;
}

.sidebar-foot strong {
  display: block;
  margin-top: 4px;
  color: #d8e7eb;
  font-size: 12px;
  font-weight: 500;
}

.main {
  min-width: 0;
}

.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 52px;
  background: rgba(7, 18, 31, .7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.breadcrumb {
  color: #718696;
  font: 12px var(--mono);
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}

.profile {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(113, 234, 215, .4);
  border-radius: 50%;
  background: rgba(113, 234, 215, .1);
  color: var(--cyan);
  font: 600 11px var(--mono);
}

.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 52px;
}

.page-heading {
  padding: 30px 0 38px;
}

.page-heading h1 {
  font-size: clamp(34px, 4.2vw, 56px);
}

.page-heading>p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font: 600 10px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -.4px;
}

h1 {
  max-width: 700px;
  color: #f5fafb;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
}

h1 span {
  color: var(--cyan);
}

h2 {
  color: #edf5f7;
  font-size: 26px;
}

p {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 40px;
  align-items: end;
  min-height: 410px;
  padding: 44px;
  border: 1px solid rgba(113, 234, 215, .17);
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(10, 31, 48, .96), rgba(10, 32, 44, .72)), url("Gemini_Generated_Image_je9joaje9joaje9j.jpeg") center / cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
  position: relative;
}

.hero::after {
  position: absolute;
  right: 15px;
  top: -30px;
  content: "360";
  color: rgba(113, 234, 215, .07);
  font: 700 220px var(--display);
  line-height: 1;
  pointer-events: none;
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-copy>p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 19px;
  color: #b2c4ca;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: #06201e;
  box-shadow: 0 9px 24px rgba(113, 234, 215, .16);
}

.btn-secondary {
  background: rgba(7, 18, 31, .35);
  border-color: rgba(173, 211, 226, .25);
  color: #edf5f7;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-visual {
  height: 176px;
  padding: 15px;
  border: 1px solid rgba(255, 200, 87, .32);
  background: linear-gradient(180deg, rgba(4, 18, 28, .1), rgba(4, 18, 28, .84)), url("Gemini_Generated_Image_je9joaje9joaje9j.jpeg") center / cover;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, .35);
}

.visual-label,
.visual-marker {
  display: block;
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.visual-label {
  color: var(--cyan);
}

.visual-marker {
  margin-top: 112px;
  color: var(--yellow);
}

.hero-progress {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 28, .75);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 11px var(--mono);
}

.progress-label strong {
  color: var(--cyan);
  font-weight: 500;
}

.progress-track {
  height: 5px;
  margin: 12px 0 9px;
  background: rgba(173, 211, 226, .14);
  overflow: hidden;
}

.progress-value {
  width: 33%;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(113, 234, 215, .65);
}

.progress-note {
  color: #839aa5;
  font-size: 11px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 58px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 19px 21px;
  border: 1px solid var(--line);
  background: rgba(12, 28, 43, .68);
}

.stat small {
  display: block;
  margin-bottom: 5px;
  color: #7f95a2;
  font: 10px var(--mono);
  text-transform: uppercase;
}

.stat strong {
  color: #f3fafb;
  font: 600 25px var(--display);
}

.stat-mark {
  color: var(--cyan);
  font-size: 22px;
}

.section {
  padding: 16px 0 58px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  color: var(--cyan);
  font: 12px var(--mono);
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 38, 56, .92), rgba(9, 24, 38, .92));
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.module-card:hover {
  border-color: rgba(113, 234, 215, .45);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .2);
  transform: translateY(-3px);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.module-number {
  color: #6d8797;
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.module-tag {
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 2px;
  font: 600 9px var(--mono);
  letter-spacing: .6px;
  text-transform: uppercase;
}

.module-tag.alto {
  border-color: rgba(255, 128, 109, .4);
  background: rgba(255, 128, 109, .1);
  color: var(--coral);
}

.module-tag.medio {
  border-color: rgba(255, 200, 87, .4);
  background: rgba(255, 200, 87, .1);
  color: var(--yellow);
}

.module-tag.bajo {
  border-color: rgba(113, 234, 215, .4);
  background: rgba(113, 234, 215, .1);
  color: var(--cyan);
}

.module-card h3 {
  margin-top: 28px;
  color: #f0f7f8;
  font-size: 20px;
}

.module-card p {
  flex: 1;
  margin-top: 10px;
  color: #91a6b0;
  font-size: 13px;
}

.module-meta {
  display: flex;
  gap: 16px;
  margin: 18px 0;
  color: #6f8794;
  font: 10px var(--mono);
}

.module-launch {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(113, 234, 215, .35);
  border-radius: 3px;
  background: rgba(113, 234, 215, .05);
  color: var(--cyan);
  font: 600 12px var(--mono);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.module-launch:hover {
  background: var(--cyan);
  color: #06201e;
}

.resource-count {
  color: #718b99;
  font: 10px var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.resource-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.resource-tab {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: #8da1ad;
  font: 10px var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}

.resource-tab:hover,
.resource-tab.active {
  border-color: rgba(113, 234, 215, .5);
  background: rgba(113, 234, 215, .1);
  color: var(--cyan);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 28, 43, .72);
}

.resource-card:hover {
  border-color: rgba(99, 179, 255, .45);
}

.resource-thumb {
  display: flex;
  align-items: flex-end;
  height: 92px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(99, 179, 255, .26), rgba(113, 234, 215, .08)), repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .04) 12px 13px);
}

.play-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(113, 234, 215, .6);
  border-radius: 50%;
  color: var(--cyan);
}

.resource-type {
  margin-top: 16px;
  color: var(--yellow);
  font: 9px var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-top: 7px;
  color: #eef6f7;
  font-size: 17px;
}

.resource-card p {
  flex: 1;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  color: #6f8794;
  font: 10px var(--mono);
}

.resource-link {
  color: var(--cyan);
  text-decoration: none;
}

.resource-link:hover {
  color: #fff;
}

.regulation-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 200, 87, .22);
  background: linear-gradient(110deg, rgba(51, 42, 21, .45), rgba(12, 28, 43, .72));
}

.regulation-panel h3 {
  color: #f4f7f0;
  font-size: 20px;
}

.regulation-panel>div>p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  color: #b6c6ca;
  font-size: 13px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--yellow);
  font-weight: 700;
}

.progress-panel {
  max-width: 720px;
  padding: 28px;
  border: 1px solid rgba(113, 234, 215, .2);
  background: rgba(12, 28, 43, .72);
}

.progress-panel .progress-track {
  margin: 18px 0 12px;
  height: 8px;
}

.progress-panel>p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.learning-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.learning-panel {
  padding: 27px;
  border: 1px solid var(--line);
  background: rgba(12, 28, 43, .72);
}

.learning-panel h3 {
  color: #edf5f7;
  font-size: 19px;
}

.learning-panel>p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.path {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.path-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(113, 234, 215, .55);
  border-radius: 50%;
  color: var(--cyan);
  font: 10px var(--mono);
}

.path-step h3 {
  font-size: 15px;
}

.path-step p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.project-facts {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.fact:last-child {
  border-bottom: 0;
}

.fact strong {
  color: #dce9ed;
  font-weight: 500;
  text-align: right;
}

.footer {
  padding: 10px 0 32px;
  color: #647c8a;
  font: 10px var(--mono);
  letter-spacing: .4px;
}

#experience-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  background: #000;
  transition: opacity .25s ease, visibility .25s ease;
}

#experience-overlay.open {
  visibility: visible;
  opacity: 1;
}

.exp-meta {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(113, 234, 215, .24);
  background: rgba(7, 19, 29, .82);
  color: #dbecef;
  font: 10px var(--mono);
  backdrop-filter: blur(8px);
}

.exp-status {
  color: var(--cyan);
  letter-spacing: .8px;
}

.exp-meta strong {
  color: #fff;
  font-weight: 500;
}

.exp-finish {
  padding: 5px 9px;
  border: 1px solid rgba(255, 200, 87, .4);
  border-radius: 2px;
  background: rgba(255, 200, 87, .08);
  color: var(--yellow);
  font: 10px var(--mono);
  cursor: pointer;
}

.exp-finish:hover {
  background: var(--yellow);
  color: #091722;
}

.exp-topbar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 70;
  padding: 18px;
}

.exp-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  background: rgba(7, 19, 29, .82);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.exp-close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

#panorama {
  width: 100%;
  height: 100%;
}

.module-page {
  min-height: 100vh;
  background: #06111d;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 15, 26, .9);
}

.module-status {
  color: #718b99;
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.module-back {
  color: var(--cyan);
  font: 11px var(--mono);
  text-decoration: none;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, 1fr);
  min-height: calc(100vh - 70px);
}

.module-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 42px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13, 37, 55, .9), rgba(6, 17, 29, .95));
}

.module-intro h1 {
  font-size: clamp(30px, 3vw, 47px);
}

.module-intro>p:not(.eyebrow):not(.module-tip) {
  margin-top: 17px;
  color: #a9bdc5;
  font-size: 15px;
}

.module-brief {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.module-brief div {
  padding: 13px;
  border-left: 2px solid var(--cyan);
  background: rgba(113, 234, 215, .05);
}

.module-brief span {
  display: block;
  color: #718b99;
  font: 9px var(--mono);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.module-brief strong {
  display: block;
  margin-top: 5px;
  color: #e7f2f3;
  font-size: 12px;
  font-weight: 500;
}

.module-tip {
  margin-top: auto;
  padding-top: 40px;
  color: #718b99;
  font: 11px var(--mono);
  line-height: 1.65;
}

.module-viewer {
  position: relative;
  min-height: 520px;
  background: #000;
}

.module-viewer #panorama {
  position: absolute;
  inset: 0;
}

.viewer-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 12px;
  border: 1px solid rgba(113, 234, 215, .2);
  background: rgba(5, 15, 26, .82);
  color: #8da1ad;
  font: 10px var(--mono);
  backdrop-filter: blur(8px);
}

.module-viewer>#airshield-root {
  position: relative;
  z-index: 40;
}

.viewer-controls button {
  padding: 7px 10px;
  border: 1px solid rgba(255, 200, 87, .45);
  border-radius: 2px;
  background: rgba(255, 200, 87, .08);
  color: var(--yellow);
  font: 10px var(--mono);
  cursor: pointer;
}

.viewer-controls button:hover {
  background: var(--yellow);
  color: #06111d;
}

.module-completion {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 21, .83);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  backdrop-filter: blur(8px);
}

.module-completion.open {
  opacity: 1;
  visibility: visible;
}

.completion-card {
  width: min(500px, 100%);
  padding: 34px;
  border: 1px solid rgba(113, 234, 215, .25);
  background: linear-gradient(145deg, #102c41, #081a2a);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .4);
}

.completion-card h2 {
  font-size: 29px;
}

.completion-card>p:not(.eyebrow) {
  margin: 14px 0 25px;
  color: #a7bcc5;
  font-size: 14px;
}

.completion-card>button {
  display: block;
  margin-top: 15px;
  border: 0;
  background: transparent;
  color: #8da1ad;
  font: 11px var(--mono);
  cursor: pointer;
}

.completion-card>button:hover {
  color: var(--cyan);
}

.dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 21, .82);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  backdrop-filter: blur(8px);
}

.dialog-layer.open {
  opacity: 1;
  visibility: visible;
}

.dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 31px;
  border: 1px solid rgba(113, 234, 215, .25);
  background: linear-gradient(145deg, #102c41, #081a2a);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .4);
}

.dialog h2 {
  max-width: 420px;
  font-size: 28px;
}

.dialog-context {
  margin-top: 13px;
  color: #a7bcc5;
  font-size: 14px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 19px;
}

.dialog-close:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.brief-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(113, 234, 215, .04);
}

.brief-grid span {
  display: block;
  color: #718b99;
  font: 9px var(--mono);
  text-transform: uppercase;
}

.brief-grid strong {
  display: block;
  margin-top: 6px;
  color: #e5f1f3;
  font-size: 12px;
  font-weight: 500;
}

.brief-instruction {
  margin-bottom: 22px;
  color: #8fa6b1;
  font-size: 13px;
}

.dialog-action {
  width: 100%;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.reflection {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}

.reflection label {
  color: #8fa6b1;
  font: 10px var(--mono);
  text-transform: uppercase;
}

.reflection select,
.reflection textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(3, 14, 24, .7);
  color: #e9f3f5;
  padding: 10px;
  font: 13px var(--body);
}

.reflection textarea {
  resize: vertical;
}

.save-feedback {
  min-height: 18px;
  margin-top: 12px;
  color: var(--cyan);
  font: 11px var(--mono);
}

@media (max-width: 1050px) {
  .app-shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .sidebar {
    padding: 28px 10px;
    align-items: center;
  }

  .brand {
    padding: 0;
  }

  .brand-text,
  .sidebar-label,
  .side-nav a span:not(.nav-icon),
  .sidebar-foot {
    display: none;
  }

  .side-nav {
    margin-top: 48px;
  }

  .side-nav a {
    padding: 12px;
  }

  .nav-icon {
    width: 20px;
  }

  .content {
    padding: 34px;
  }

  .topbar {
    padding: 0 34px;
  }
}

@media (max-width: 780px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 30;
    width: auto;
    height: 64px;
    padding: 8px 12px;
    flex-direction: row;
    justify-content: center;
  }

  .brand,
  .sidebar-foot,
  .sidebar-label {
    display: none;
  }

  .side-nav {
    display: flex;
    margin: 0;
    gap: 8px;
  }

  .side-nav a {
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
  }

  .topbar {
    height: 62px;
    padding: 0 20px;
  }

  .content {
    padding: 24px 20px 92px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    height: 150px;
  }

  .visual-marker {
    margin-top: 87px;
  }

  .stats,
  .modules-grid,
  .learning-band,
  .resources-grid,
  .regulation-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .profile span:first-child {
    display: none;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-progress {
    max-width: none;
  }

  .brief-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .dialog {
    padding: 26px 20px;
  }

  .exp-meta {
    right: 18px;
    left: 18px;
    justify-content: space-between;
    gap: 7px;
  }

  .exp-meta strong {
    display: none;
  }
}

@media (max-width: 780px) {
  .module-header {
    padding: 0 18px;
  }

  .module-status {
    display: none;
  }

  .module-layout {
    display: block;
  }

  .module-intro {
    min-height: 350px;
    padding: 38px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-tip {
    margin-top: 26px;
    padding-top: 0;
  }

  .module-viewer {
    min-height: calc(100vh - 420px);
    height: 58vh;
  }

  .viewer-controls span {
    display: none;
  }

  .viewer-controls {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.transition-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 21, .86);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  backdrop-filter: blur(8px);
}

.transition-layer.open {
  opacity: 1;
  visibility: visible;
}

.transition-card {
  width: min(680px, 100%);
  padding: 30px;
  border: 1px solid rgba(113, 234, 215, .3);
  background: linear-gradient(145deg, #102c41, #081a2a);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .5);
}

.transition-card h2 {
  font-size: 30px;
}

.transition-card>p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: #a7bcc5;
  font-size: 14px;
}

.transition-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #020a10;
}

.transition-media img,
.transition-media video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.transition-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.module-metrics {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 30;
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(113, 234, 215, .2);
  background: rgba(5, 15, 26, .82);
  color: #8da1ad;
  font: 9px var(--mono);
  backdrop-filter: blur(8px);
}

.module-metrics span {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.module-metrics strong {
  color: var(--cyan);
  font-weight: 500;
}

@media (max-width: 780px) {
  .module-metrics {
    top: 18px;
    right: 18px;
    left: 18px;
    justify-content: space-between;
    gap: 5px;
    font-size: 8px;
  }
}