/* My Path uses the student's existing navigation and plan data. */
.student-dark-app.tab-plan {
  background: #0b1420 !important;
}

.student-dark-app.tab-plan .student-main-area {
  box-sizing: border-box;
  min-width: 0;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 28px clamp(18px, 1.55vw, 38px) 42px clamp(24px, 3.83vw, 88px) !important;
  background: radial-gradient(ellipse at 74% 45%, #101e2e 0, transparent 70%), #0b1420 !important;
}

.student-dark-app.tab-plan .student-main-area > .topbar,
.student-dark-app.tab-plan .student-main-area > .route-topbar {
  display: none !important;
}

.student-dark-app.tab-plan .path-reference {
  box-sizing: border-box;
  width: 100%;
  max-width: 1510px;
  min-height: calc(100svh - 28px);
  margin: 0 auto !important;
  font: 18px/1.45 system-ui, sans-serif;
  color: #f3f6fc;
}

.path-reference *, .path-reference *::before { box-sizing: border-box; }
.path-reference svg { display: block; flex: none; }
.path-reference-top { display: flex; justify-content: flex-end; align-items: center; min-height: 58px; margin-bottom: clamp(32px, 6.6vh, 62px); padding-right: 16px; }
.student-dark-app.tab-plan .path-reference-profile {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 12px !important;
  border: 1px solid #263444 !important;
  border-radius: 50%;
  background: #202d3d !important;
  color: #e9eef7 !important;
  cursor: pointer;
}
.path-reference-profile svg { width: 30px; height: 30px; }
.path-reference-grid { display: grid; grid-template-columns: minmax(0, 1.94fr) minmax(245px, 1fr); align-items: start; gap: clamp(22px, 2.06vw, 42px); }
.path-reference-content { min-width: 0; }
.student-dark-app.tab-plan .path-reference h1 {
  margin: -5px 0 clamp(32px, 4.2vw, 70px) !important;
  color: #f3f6fc !important;
  font: 750 clamp(30px, 2.75vw, 52px)/1.16 system-ui, sans-serif !important;
  letter-spacing: -.033em;
  text-wrap: balance;
}
.path-reference-dialogue {
  display: grid;
  grid-template-columns: clamp(125px, 11vw, 215px) minmax(0, 455px);
  align-items: start;
  gap: clamp(20px, 3.05vw, 52px);
  min-height: clamp(145px, 12vw, 230px);
  margin: 0 0 clamp(20px, 1.75vw, 34px) !important;
}
.student-dark-app.tab-plan .path-reference-dialogue > .path-reference-izi {
  position: relative;
  display: block;
  width: 112%;
  aspect-ratio: 1;
  margin-left: clamp(0px, 1.05vw, 18px);
  isolation: isolate;
}
.path-reference-izi::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 10% 0 15%;
  height: clamp(9px, 1.1vw, 19px);
  border-radius: 50%;
  background: radial-gradient(ellipse, #04090f88, transparent 73%);
}
.student-dark-app.tab-plan .path-reference-izi > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: path-izi-breathe 3.8s ease-in-out infinite;
  transform-origin: 50% 91%;
}
@keyframes path-izi-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) rotate(-.8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .student-dark-app.tab-plan .path-reference-izi > img { animation: none; }
}
.student-dark-app.tab-plan .path-reference-dialogue p {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: clamp(13px, 1vw, 20px) clamp(15px, 1.55vw, 28px) !important;
  border: 1.5px solid #687e93;
  border-radius: 20px;
  background: #101c2a !important;
  color: #eef2fa !important;
  font: 400 clamp(17px, 1.42vw, 26px)/1.33 system-ui, sans-serif !important;
  overflow-wrap: anywhere;
}
.path-reference-dialogue p::before {
  content: "";
  position: absolute;
  left: -11px;
  top: calc(50% + 11px);
  width: 21px;
  height: 21px;
  border-left: 1.5px solid #687e93;
  border-bottom: 1.5px solid #687e93;
  border-radius: 0 0 0 2px;
  background: #101c2a;
  transform: rotate(45deg) skew(-10deg, -10deg);
}
.student-dark-app.tab-plan .path-reference-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 1.62vw, 30px);
  min-height: clamp(96px, 7.36vw, 142px);
  margin: 0 !important;
  padding: clamp(16px, 1.45vw, 26px) clamp(18px, 1.67vw, 32px) !important;
  border: 1px solid #344456 !important;
  border-radius: 20px;
  background: #121e2b !important;
  box-shadow: none !important;
}
.path-reference-book {
  display: grid;
  place-items: center;
  width: clamp(48px, 5vw, 90px);
  height: clamp(48px, 4.3vw, 78px);
  border-radius: 16px;
  color: #ffd323;
  background: #222f3d;
}
.path-reference-book svg { width: 50%; height: 50%; color: #ffd323 !important; }
.student-dark-app.tab-plan .path-reference-action h2 {
  margin: 0 0 6px !important;
  color: #f3f6fc !important;
  font: 680 clamp(19px, 1.65vw, 32px)/1.2 system-ui, sans-serif !important;
  overflow-wrap: anywhere;
}
.student-dark-app.tab-plan .path-reference-action p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #aeBBCc !important;
  font: 400 clamp(15px, 1.24vw, 23px)/1.3 system-ui, sans-serif !important;
}
.path-reference-action p svg { width: 1.2em; height: 1.2em; }
.student-dark-app.tab-plan .path-reference-action p span { color: #aebbcc !important; }
.student-dark-app.tab-plan .path-reference .path-action-button {
  min-height: clamp(48px, 3.6vw, 68px);
  margin: 0 !important;
  padding: 10px clamp(16px, 1.8vw, 32px) !important;
  border: 0 !important;
  border-radius: 16px;
  background: #ffd323 !important;
  color: #0a1420 !important;
  box-shadow: none !important;
  cursor: pointer;
  font: 650 clamp(16px, 1.4vw, 27px)/1.25 system-ui, sans-serif !important;
  white-space: normal;
}
.student-dark-app.tab-plan .path-reference-receipt {
  display: flex;
  align-items: start;
  gap: 20px;
  margin-top: clamp(28px, 3vw, 52px);
  padding: clamp(20px, 2.25vw, 38px) 6px 0;
  border-top: 1px solid #445468;
}
.path-reference-check { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 2px solid #bedb43; border-radius: 50%; color: #bedb43; font-size: 21px; }
.student-dark-app.tab-plan .path-reference-receipt strong { color: #f3f6fc !important; font: 660 clamp(18px, 1.6vw, 30px)/1.3 system-ui, sans-serif !important; }
.student-dark-app.tab-plan .path-reference-receipt p { margin: 4px 0 0 !important; color: #afbdcd !important; font: 400 clamp(15px, 1.27vw, 24px)/1.4 system-ui, sans-serif !important; }
.student-dark-app.tab-plan .path-reference-summary {
  min-width: 0;
  margin: 6px 0 0 !important;
  padding: clamp(18px, 1.72vw, 34px) !important;
  border: 1px solid #344456 !important;
  border-radius: 20px;
  background: #121e2b !important;
  box-shadow: none !important;
}
.student-dark-app.tab-plan .path-reference-summary h2 { margin: -4px 0 18px !important; color: #f2f5fc !important; font: 400 clamp(18px, 1.45vw, 27px)/1.3 system-ui, sans-serif !important; }
.student-dark-app.tab-plan .path-reference-summary h2 strong { color: inherit !important; font-weight: 650; }
.student-dark-app.tab-plan .path-reference-summary h2 span { color: inherit !important; }
.path-reference-summary progress { display: block; appearance: none; width: 100%; height: clamp(13px, 1.32vw, 24px); border: 0; border-radius: 20px; overflow: hidden; background: #344456; accent-color: #ffd323; }
.path-reference-summary progress::-webkit-progress-bar { background: #344456; }
.path-reference-summary progress::-webkit-progress-value { background: #ffd323; border-radius: 20px; }
.path-reference-summary progress::-moz-progress-bar { background: #ffd323; border-radius: 20px; }
.student-dark-app.tab-plan .path-reference-goal { margin: 12px 0 0 !important; color: #afbdcd !important; font: 400 15px/1.4 system-ui, sans-serif !important; }
.path-reference-remaining { display: flex; align-items: center; gap: 16px; padding-top: 18px; margin-top: clamp(18px, 1.9vw, 34px); border-top: 1px solid #405266; }
.path-reference-remaining svg { width: 42px; height: 42px; color: #ffd323; }
.student-dark-app.tab-plan .path-reference-remaining p { margin: 0 !important; color: #ecf0f7 !important; font: 400 clamp(16px, 1.35vw, 25px)/1.35 system-ui, sans-serif !important; }
.student-dark-app.tab-plan .path-reference-results { margin: 16px 0 0 !important; padding: 6px 0 !important; border: 0 !important; background: transparent !important; color: #b5c8dd !important; font: 500 14px/1.4 system-ui, sans-serif !important; text-align: left; cursor: pointer; }
.path-reference :is(button, a):focus-visible { outline: 2px solid #ffd323; outline-offset: 4px; }
.student-dark-app.tab-plan .personal-manager-banner { margin-top: 20px !important; }

@media (min-width: 1100px) {
  .student-dark-app.tab-plan:has(.easy-sidebar) { grid-template-columns: clamp(220px, 18.3vw, 330px) minmax(0, 1fr) !important; }
  .student-dark-app.tab-plan .easy-sidebar { width: 100% !important; height: 100vh; min-width: 0 !important; padding: 32px 22px !important; background: #0d1724 !important; border-right: 1px solid #1f2d3d !important; }
  .student-dark-app.tab-plan .easy-sidebar :is(.sr-brand, .ref-brand) { margin: 3px 17px 64px !important; }
  .student-dark-app.tab-plan .easy-sidebar .easyoge-logo-text { font-size: clamp(20px, 1.65vw, 30px) !important; }
  .student-dark-app.tab-plan .easy-sidebar .easyoge-logo-book { width: clamp(29px, 2.4vw, 44px) !important; }
  .student-dark-app.tab-plan .easy-sidebar .easyoge-logo-text b { color: inherit !important; }
  .student-dark-app.tab-plan .easy-sidebar :is(.sr-nav, .ref-nav-link) { min-height: clamp(48px, 3.85vw, 72px); gap: clamp(13px, 1.3vw, 24px); padding: 12px 19px !important; color: #ced8e6 !important; font: 550 clamp(16px, 1.37vw, 25px)/1.2 system-ui, sans-serif !important; }
  .student-dark-app.tab-plan .easy-sidebar :is(.sr-nav, .ref-nav-link).is-active { border-radius: 16px; background: #202e3e !important; color: #f5f7fb !important; }
  .student-dark-app.tab-plan .easy-sidebar :is(.sr-nav, .ref-nav-link).is-active::before { display: none; }
  .student-dark-app.tab-plan .easy-sidebar :is(.sr-nav, .ref-nav-link).is-active svg { color: #ffd323 !important; }
}
@media (max-width: 1099px) {
  .path-reference-grid { grid-template-columns: minmax(0, 1.8fr) minmax(200px, 1fr); }
  .student-dark-app.tab-plan .path-reference-action { grid-template-columns: auto minmax(0, 1fr); }
  .student-dark-app.tab-plan .path-reference .path-action-button { grid-column: 1/-1; width: 100%; }
}
@media (max-width: 900px) {
  .student-dark-app.tab-plan .student-main-area { padding: 20px 18px 96px !important; }
  .student-dark-app.tab-plan .path-reference { min-height: calc(100svh - 116px); }
  .path-reference-top { min-height: 44px; margin-bottom: 28px; padding-right: 0; }
  .student-dark-app.tab-plan .path-reference-profile { width: 44px; height: 44px; padding: 8px !important; }
  .path-reference-grid { grid-template-columns: minmax(0, 1fr); }
  .path-reference-dialogue { grid-template-columns: clamp(90px, 18vw, 130px) minmax(0, 440px); gap: 20px; min-height: 125px; }
  .student-dark-app.tab-plan .path-reference-dialogue > .path-reference-izi { width: 100%; margin-left: 0; }
  .student-dark-app.tab-plan .path-reference h1 { margin-bottom: 25px !important; }
  .student-dark-app.tab-plan .path-reference-summary { margin: 0 !important; }
}
