@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --bg: #f7f7f2;
  --surface: #fff;
  --surface2: #f1f2ed;
  --ink: #24302a;
  --muted: #6d756e;
  --line: #e3e7de;
  --accent: #426349;
  --accentSoft: #e9efdf;
  --orange: #e6a36d;
  --orangeSoft: #f8eada;
  --purple: #eeebf8;
  --danger: #ac3930;
  --shadow: 0 12px 40px #20302b0c;
  --radius: 18px;
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  --bg: #151d19;
  --surface: #202a23;
  --surface2: #29352c;
  --ink: #edf1e7;
  --muted: #b1bdb1;
  --line: #36443a;
  --accent: #c0d79b;
  --accentSoft: #354a35;
  --orange: #ecb081;
  --orangeSoft: #493b2d;
  --purple: #39324d;
  --danger: #ffb2a8;
  --shadow: 0 12px 40px #0002;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 34px;
  font-weight: 750;
}
h2 {
  font-size: 22px;
  font-weight: 750;
}
h3 {
  font-size: 17px;
  font-weight: 750;
}
h4 {
  font-size: 15px;
  font-weight: 700;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 232px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 34px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand span:last-child {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  align-self: flex-end;
  margin-bottom: 3px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 700;
  padding: 0 15px;
  margin: 4px 0 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  min-height: 46px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}
.nav-link:hover {
  background: var(--surface2);
  color: var(--ink);
}
.nav-link.active {
  background: var(--accentSoft);
  color: var(--ink);
  font-weight: 700;
}
.nav-link.active::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-goal {
  padding: 17px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 24px 2px 18px;
}
.sidebar-goal strong {
  font-size: 12px;
}
.sidebar-goal .goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0;
  color: var(--muted);
  font-size: 11px;
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 17px 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orangeSoft);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.sidebar-footer strong {
  font-size: 12px;
  display: block;
}
.sidebar-footer small {
  font-size: 10px;
  color: var(--muted);
}
.shell {
  margin-left: 232px;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 14px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 550;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.search-trigger {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  min-height: 38px;
}
.search-trigger kbd {
  font: 10px inherit;
  background: var(--surface2);
  border: 1px solid var(--line);
  padding: 0 4px;
  border-radius: 4px;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  flex: none;
}
.icon-button:hover {
  background: var(--surface2);
  color: var(--ink);
}
.main {
  max-width: 1460px;
  margin: auto;
  padding: 34px 40px 50px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.page-heading p {
  margin-top: 9px;
  font-size: 13px;
}
.page-heading .date {
  font-size: 12px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: normal;
  line-height: 1.5;
}
.button:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 10px #20302b08;
}
.button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.button.accent {
  background: var(--accentSoft);
  border-color: transparent;
  color: var(--ink);
}
.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 11px;
}
.button.danger {
  color: var(--danger);
  border-color: var(--danger);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
  background: none;
  padding: 6px 0;
  min-height: 32px;
}
.text-link:hover {
  text-decoration: underline;
}
.hero {
  background: var(--orangeSoft);
  border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 276px;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  padding: 32px 36px;
}
.hero .eyebrow {
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero .eyebrow::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
.hero h2 {
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 750;
  line-height: 1.13;
  margin: 13px 0;
  letter-spacing: -1.9px;
  max-width: 430px;
}
.hero p {
  font-size: 12px;
  max-width: 335px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--ink) 74%, var(--muted));
}
.hero .button {
  margin-top: 23px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-art svg {
  max-width: 360px;
  width: 100%;
  overflow: visible;
}
.hero-art text {
  font-family: "DM Sans", sans-serif;
  fill: #304337;
}
.hero-art .diagram-bg {
  fill: #fdfbf3;
}
.hero-art .diagram-line {
  stroke: #6d8067;
  fill: none;
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 22px 0 30px;
}
.stat {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  padding: 18px 19px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
.stat-top .icon {
  width: 16px;
  height: 16px;
}
.stat-value {
  font-family: Manrope, sans-serif;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1px;
}
.stat-value small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0;
}
.stat-bottom {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 28px 0 15px;
}
.section-heading h2 {
  font-size: 18px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 4px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel h3 + p {
  margin-top: 7px;
  font-size: 12px;
}
.continue-panel {
  position: relative;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  background: var(--surface2);
  font-size: 10px;
  font-weight: 650;
  color: var(--muted);
  white-space: normal;
  line-height: 1.5;
}
.tag.green {
  background: var(--accentSoft);
  color: var(--accent);
}
.tag.orange {
  background: var(--orangeSoft);
  color: var(--ink);
}
.tag.purple {
  background: var(--purple);
  color: var(--ink);
}
.continue-panel h3 {
  font-size: 23px;
  margin: 14px 0 8px;
}
.continue-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0;
}
.continue-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.progress-track {
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--surface2);
}
.progress-track > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.25s;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin: 9px 0;
}
.continue-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.review-panel {
  background: var(--accentSoft);
  border-color: color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.review-panel .big-icon {
  width: 43px;
  height: 43px;
  background: var(--surface);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.review-panel h3 {
  font-size: 21px;
}
.review-panel p {
  font-size: 12px;
  margin: 8px 0 20px;
  line-height: 1.8;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.path-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.path-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.path-card.selected {
  border-color: var(--accent);
}
.path-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 17px;
  background: var(--orangeSoft);
}
.path-card.purple .path-icon {
  background: var(--purple);
}
.path-card.green .path-icon {
  background: var(--accentSoft);
}
.path-card h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
}
.path-card p {
  font-size: 11px;
  margin: 8px 0 16px;
  line-height: 1.7;
}
.path-card .path-meta {
  margin-top: auto;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.path-card .selected-tag {
  position: absolute;
  top: 22px;
  right: 18px;
  font-size: 9px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}
.path-card button {
  margin-top: 15px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.resource-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-art {
  height: 104px;
  background: #e9ecdf;
  position: relative;
  overflow: hidden;
  padding: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #26352c;
}
.resource-art::before,
.resource-art::after {
  content: "";
  position: absolute;
  border: 1px solid #26352c20;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  right: -10px;
  top: -65px;
}
.resource-art::after {
  width: 100px;
  height: 100px;
  right: 20px;
  top: -35px;
}
.resource-art.purple {
  background: #e9e5f2;
}
.resource-art.orange {
  background: #f5e1cd;
}
.resource-art.blue {
  background: #e2ebed;
}
.resource-art .provider-mark {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  z-index: 1;
}
.resource-art .icon {
  width: 38px;
  height: 38px;
  z-index: 1;
}
.resource-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-provider {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.resource-body h3 {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.25px;
}
.resource-body p {
  font-size: 11px;
  line-height: 1.8;
  margin: 10px 0 14px;
}
.resource-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.resource-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.resource-footer .icon-button {
  width: 32px;
  height: 32px;
}
.resource-footer .text-link {
  font-size: 11px;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 35px;
}
.footer-note a {
  text-decoration: underline;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0;
}
.input,
select,
textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 9px;
  padding: 10px 12px;
  min-height: 42px;
  width: 100%;
}
textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}
select {
  width: auto;
  max-width: 100%;
}
.toolbar .search-field {
  flex: 1;
  min-width: 210px;
  position: relative;
}
.search-field .icon {
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--muted);
}
.search-field input {
  padding-left: 40px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field {
  margin-bottom: 18px;
}
.filter-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.results-count {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 15px;
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
  color: var(--muted);
}
.empty p {
  margin: 10px auto 18px;
  max-width: 440px;
  font-size: 13px;
}
.phase-list {
  display: grid;
  gap: 14px;
}
.phase-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  overflow: hidden;
}
.phase-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}
.phase-card summary::-webkit-details-marker {
  display: none;
}
.phase-card[open] summary {
  border-bottom: 1px solid var(--line);
}
.phase-number {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accentSoft);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.phase-title {
  flex: 1;
  min-width: 0;
}
.phase-title h3 {
  font-size: 15px;
}
.phase-title p {
  font-size: 11px;
  margin-top: 5px;
}
.phase-side {
  width: 105px;
  flex: none;
}
.phase-side small {
  font-size: 10px;
  color: var(--muted);
}
.phase-side .progress-track {
  margin-top: 6px;
}
.phase-topics {
  padding: 7px 22px;
}
.topic-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.topic-row:last-child {
  border: 0;
}
.topic-row:hover .topic-row-title {
  color: var(--accent);
}
.topic-dot {
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--muted);
}
.topic-dot.complete {
  background: var(--accentSoft);
  color: var(--accent);
}
.topic-row-main {
  flex: 1;
}
.topic-row-title {
  font-size: 13px;
  font-weight: 600;
}
.topic-row p {
  font-size: 11px;
  margin-top: 3px;
}
.topic-row .topic-time {
  font-size: 10px;
  color: var(--muted);
}
.phase-project {
  background: var(--bg);
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}
.phase-project span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.study-heading h1 {
  max-width: 790px;
  margin: 12px 0;
  font-size: 32px;
}
.study-heading p {
  max-width: 720px;
  font-size: 14px;
}
.study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  margin-top: 25px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.tab {
  padding: 13px 2px;
  background: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.check-list {
  display: grid;
  gap: 9px;
  margin: 17px 0;
}
.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  padding: 10px 0;
  cursor: pointer;
}
.check-item input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.check-item.done > span {
  color: var(--muted);
  text-decoration: line-through;
}
.learn-list {
  padding: 0;
  list-style: none;
  margin-top: 15px;
  display: grid;
  gap: 11px;
}
.learn-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
}
.learn-list li .icon {
  color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.study-resource {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 20px;
  margin: 14px 0;
}
.study-resource-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-number {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: var(--surface2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.study-resource-head > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.study-resource h3 {
  font-size: 15px;
}
.study-resource p {
  font-size: 12px;
  line-height: 1.8;
  margin: 11px 0;
}
.resource-scope {
  background: var(--bg);
  border-radius: 9px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 12px;
  color: var(--muted);
}
.resource-scope strong {
  display: block;
  font-size: 10px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}
.study-resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.study-resource-footer .check-item {
  font-size: 11px;
}
.study-aside .panel {
  padding: 20px;
  position: sticky;
  top: 20px;
}
.study-aside h3 {
  font-size: 14px;
}
.study-aside p {
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0;
}
.study-aside .button {
  width: 100%;
  margin: 5px 0;
}
.study-aside .session-display {
  font-size: 35px;
  margin: 20px 0 10px;
}
.question {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin: 11px 0;
  overflow: hidden;
}
.question summary {
  padding: 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.question summary .tag {
  margin-right: 8px;
}
.question-answer {
  border-top: 1px solid var(--line);
  padding: 18px;
  font-size: 13px;
  line-height: 1.85;
}
.question-answer p {
  color: var(--ink);
  margin: 8px 0;
}
.question-answer pre,
.reference pre {
  background: var(--surface2);
  padding: 16px;
  border-radius: 9px;
  overflow: auto;
  white-space: pre;
  font-size: 12px;
  line-height: 1.7;
}
.question-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.review-workspace {
  max-width: 850px;
  margin: 25px auto;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
}
.review-card h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 20px 0;
}
.review-card textarea {
  margin: 18px 0;
  background: var(--bg);
  min-height: 155px;
}
.review-card .reference {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 22px;
  font-size: 13px;
  line-height: 1.9;
}
.review-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.review-grade {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 650;
}
.review-grade small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 10px;
  margin-top: 3px;
}
.review-grade:hover {
  background: var(--accentSoft);
  border-color: var(--accent);
}
.review-card-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.project-card h3 {
  font-size: 19px;
  margin: 12px 0;
}
.project-card p {
  font-size: 12px;
  margin-bottom: 16px;
}
.project-card .progress-label {
  margin-top: auto;
}
.project-card .button {
  margin-top: 17px;
  align-self: flex-start;
}
.project-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 25px;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.note-text {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 12px 0;
  line-height: 1.8;
  max-height: 260px;
  overflow: auto;
}
.note-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
  font-size: 10px;
  color: var(--muted);
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.settings-grid .panel {
  display: flex;
  flex-direction: column;
}
.settings-grid p {
  font-size: 12px;
  margin: 9px 0 18px;
  line-height: 1.8;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.notice {
  border: 1px solid var(--line);
  background: var(--accentSoft);
  padding: 15px 18px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0;
}
.notice.warning {
  background: var(--orangeSoft);
  color: var(--ink);
}
.notice a {
  text-decoration: underline;
}
.error-banner {
  background: var(--orangeSoft);
  color: var(--ink);
  font-size: 12px;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line);
}
.error-banner a {
  text-decoration: underline;
  font-weight: 700;
}
.activity-strip {
  display: flex;
  gap: 7px;
  margin: 15px 0;
}
.activity-day {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.activity-day i {
  display: block;
  height: 25px;
  border-radius: 5px;
  background: var(--surface2);
  margin-bottom: 6px;
}
.activity-day.active i {
  background: var(--accent);
}
.timer-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--accent);
  background: var(--accentSoft);
  padding: 8px 12px;
  border-radius: 9px;
  min-height: 38px;
}
.timer-pill:empty {
  display: none;
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0;
  box-shadow: 0 25px 100px #0003;
  width: min(620px, calc(100% - 30px));
  max-height: 85dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #15241d70;
  backdrop-filter: blur(4px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  font-size: 18px;
}
.modal-content {
  padding: 25px;
}
.modal-content p {
  font-size: 13px;
  margin-bottom: 18px;
}
.modal-content .button-row {
  justify-content: flex-end;
  margin-top: 20px;
}
.modal-wide {
  width: min(760px, calc(100% - 30px));
}
.search-results {
  max-height: 400px;
  overflow: auto;
  margin-top: 15px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 9px;
  width: 100%;
  text-align: left;
  background: transparent;
}
.search-result:hover {
  background: var(--surface2);
}
.search-result > div {
  flex: 1;
}
.search-result strong {
  font-size: 12px;
  display: block;
}
.search-result small {
  font-size: 10px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 21px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.menu-button {
  display: none;
}
.mobile-overlay {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.spacer {
  height: 20px;
}
.muted {
  color: var(--muted);
}
.resource-details summary {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
  margin-top: 14px;
}
.resource-details p {
  font-size: 12px;
}
.load-more {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent);
  margin-right: 6px;
}
.lab-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.resource-card,
.panel,
.path-card,
.project-card {
  min-width: 0;
}
.page-heading h1,
.project-card h3,
.resource-body h3 {
  overflow-wrap: anywhere;
}
.study-resource h3 {
  overflow-wrap: anywhere;
}
.onboarding-options {
  display: grid;
  gap: 12px;
}
.onboarding-options button {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  background: var(--bg);
}
.onboarding-options strong {
  font-size: 14px;
}
.onboarding-options p {
  font-size: 12px;
  margin: 5px 0 0;
}
.onboarding-options button:hover {
  border-color: var(--accent);
  background: var(--accentSoft);
}
.note-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pending-change {
  color: var(--danger);
}
@media (min-width: 1600px) {
  .main {
    padding: 42px 55px;
  }
  .hero-copy {
    padding: 38px 42px;
  }
  .hero {
    min-height: 302px;
  }
  .hero h2 {
    font-size: 46px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 28px 14px 18px;
  }
  .shell {
    margin-left: 205px;
  }
  .main {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .study-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-resources .resource-card:last-child {
    display: none;
  }
  .path-card {
    padding: 18px;
  }
  .path-card .selected-tag {
    position: static;
    order: -1;
    margin-bottom: 8px;
  }
  .path-card.selected .path-icon {
    margin-bottom: 10px;
  }
  .topbar .breadcrumb span:first-child {
    display: none;
  }
  .project-detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 78px;
    padding: 26px 12px;
  }
  .shell {
    margin-left: 78px;
  }
  .brand {
    padding: 0 10px 28px;
  }
  .brand > span,
  .nav-label,
  .nav-link > span,
  .sidebar-goal,
  .sidebar-footer > div:not(.avatar) {
    display: none;
  }
  .nav-link {
    justify-content: center;
    padding: 12px;
  }
  .nav-link.active::after {
    display: none;
  }
  .sidebar-footer {
    padding: 18px 10px 0;
  }
  .sidebar-footer .avatar {
    flex: none;
  }
  .sidebar .nav-link {
    position: relative;
  }
  .hero-art {
    padding: 10px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .study-layout {
    grid-template-columns: 1fr;
  }
  .study-aside {
    order: -1;
  }
  .study-aside .panel {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px;
  }
  .study-aside .panel h3 {
    width: 100%;
  }
  .study-aside .panel p {
    display: none;
  }
  .study-aside .panel .button {
    width: auto;
  }
  .study-aside .progress-track,
  .study-aside .progress-label {
    width: 100%;
  }
  .study-aside .panel .spacer {
    display: none;
  }
  .study-aside .session-display {
    font-size: 20px;
    margin: 0;
  }
  .dashboard-columns {
    grid-template-columns: 1.4fr 1fr;
  }
  .search-trigger {
    width: 180px;
  }
  .search-trigger kbd {
    display: none;
  }
}
@media (max-width: 680px) {
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    padding: 26px 20px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar .brand {
    padding: 0 12px 27px;
  }
  .sidebar .brand > span,
  .sidebar .nav-label,
  .sidebar .nav-link > span,
  .sidebar .sidebar-goal,
  .sidebar .sidebar-footer > div {
    display: block;
  }
  .sidebar .nav-link {
    justify-content: flex-start;
  }
  .sidebar .nav-link.active::after {
    display: block;
  }
  .shell {
    margin: 0;
  }
  .menu-button {
    display: inline-flex;
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
    gap: 8px;
  }
  .topbar .breadcrumb {
    margin-right: auto;
    gap: 0;
  }
  .topbar .breadcrumb .icon {
    display: none;
  }
  .top-actions {
    gap: 2px;
  }
  .search-trigger {
    width: 38px;
    height: 38px;
    padding: 9px;
    border: 0;
    background: transparent;
  }
  .search-trigger span {
    display: none;
  }
  .top-actions .timer-pill {
    padding: 8px;
    font-size: 10px;
  }
  .main {
    padding: 24px 18px 35px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .date {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero h2 {
    font-size: 35px;
    letter-spacing: -1.3px;
    max-width: 320px;
  }
  .hero p {
    max-width: 290px;
  }
  .hero-art {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0 25px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 25px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .review-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .review-panel .big-icon {
    display: none;
  }
  .review-panel h3 {
    font-size: 18px;
  }
  .review-panel p {
    margin: 6px 0 0;
  }
  .review-panel .button {
    align-self: center;
    font-size: 11px;
  }
  .path-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .path-card {
    padding: 18px 20px;
  }
  .path-card .path-icon {
    margin-bottom: 12px;
  }
  .path-card .selected-tag {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .path-card p {
    max-width: 300px;
    margin-bottom: 9px;
  }
  .path-card .button {
    align-self: flex-start;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-resources .resource-card:last-child {
    display: flex;
  }
  .resource-art {
    height: 120px;
  }
  .resource-body {
    padding: 20px;
  }
  .resource-body h3 {
    font-size: 16px;
  }
  .resource-body p {
    font-size: 12px;
  }
  .resource-provider {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading .text-link {
    font-size: 11px;
  }
  .footer-note {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }
  .phase-card summary {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .phase-number {
    width: 36px;
    height: 36px;
  }
  .phase-title h3 {
    font-size: 14px;
  }
  .phase-side {
    width: 100%;
    margin-left: 48px;
  }
  .phase-title p {
    font-size: 11px;
  }
  .phase-topics {
    padding: 4px 16px;
  }
  .topic-row {
    gap: 10px;
  }
  .topic-row .topic-time {
    display: none;
  }
  .phase-project {
    padding: 13px 16px;
    align-items: flex-start;
  }
  .phase-project span {
    font-size: 10px;
  }
  .study-heading h1 {
    font-size: 28px;
  }
  .study-heading p {
    font-size: 13px;
  }
  .tabs {
    gap: 25px;
    margin-top: 20px;
  }
  .panel {
    padding: 20px;
  }
  .study-resource {
    padding: 16px;
  }
  .study-resource-head {
    gap: 9px;
    flex-wrap: wrap;
  }
  .study-resource-head .button {
    margin-left: 37px;
  }
  .study-resource-footer {
    align-items: flex-start;
  }
  .study-resource-footer .button {
    font-size: 10px;
  }
  .project-grid,
  .notes-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    padding: 23px;
  }
  .review-card h2 {
    font-size: 20px;
  }
  .review-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-card-footer {
    align-items: flex-start;
    gap: 12px;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar select {
    flex: 1;
    min-width: 120px;
    font-size: 12px;
  }
  .toolbar .search-field {
    flex-basis: 100%;
  }
  .mobile-overlay.on {
    display: block;
    position: fixed;
    inset: 0;
    background: #14271b70;
    z-index: 19;
  }
  .error-banner {
    padding: 12px 18px;
  }
  .continue-bottom {
    flex-wrap: wrap;
  }
  .project-detail {
    gap: 18px;
  }
  .modal-header,
  .modal-content {
    padding: 20px;
  }
  .modal-content .button-row {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .button,
  .icon-button,
  .footer-note {
    display: none;
  }
  .shell {
    margin: 0;
  }
  .main {
    padding: 0;
  }
  .panel,
  .note-card {
    break-inside: avoid;
  }
  body {
    background: white;
    color: black;
  }
}

.mobile-nav-close {
  display: none;
}
@media (max-width: 680px) {
  .mobile-nav-close {
    display: inline-flex;
    position: absolute;
    top: 76px;
    right: 18px;
  }
  .sidebar .nav-label {
    margin-top: 24px;
  }
  .sidebar {
    overflow-y: auto;
  }
}
