@font-face {
  font-family: Vazirmatn;
  src: url("Vazirmatn-Regular.de3af78a5789.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("Vazirmatn-Bold.3b473f8b485a.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --navy: #0f1422;
  --ink: #141924;
  --muted: #525b6b;
  --line: #dce0e6;
  --surface: #f5f6f8;
  --yellow: #ffbf12;
  --blue: #2659ea;
  --width: 936px;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.7; }
body, main { min-width: 0; }
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 5vw, 47px); line-height: 1.35; }
h2 { font-size: 24px; }
p { color: var(--muted); }
:focus-visible { outline: 2px solid #698cff; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(var(--width), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 0; inset-inline-start: 12px; padding: 8px 16px; transform: translateY(-130%); background: white; z-index: 5; }
.skip-link:focus { transform: none; }
.topbar, .footer { background: var(--navy); color: #f8fafc; }
.nav { min-height: 100px; display: flex; align-items: center; gap: 27px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.brand-logo { display: block; object-fit: contain; background: #fff; color: #c5cde1; border-radius: 10px;}
.nav-links { display: flex; align-items: center; gap: 22px; color: #9aa4b6; }
.nav-links a:hover, .footer a:hover { color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 7px; padding: 8px 15px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.button-light { background: linear-gradient(105deg, #1239d9, #2767ef); color: white; border-radius: 100px; padding: 4px 22px; }
.button-dark { background: var(--navy); color: white; }
.button-outline { background: var(--yellow); color: #171717; }
.button:hover { filter: brightness(1.1); }
.nav-signup { margin-inline-start: auto; }
.home-page { background: #0e121e; color: #eef1f7; }
.home-hero { padding: 45px 0 45px; background: linear-gradient(var(--navy), #0e121e); }
.home-hero h1 {
  width: fit-content;
  background: linear-gradient(180deg, #f1e4ff 5%, #af55fa 82%);
  background-clip: text;
  color: transparent;
}
.home-hero p { color: #a2aabb; font-size: 18px; margin-top: 5px; }
.catalog { background: linear-gradient(#0e121e, #0e121e 90%, #0e131e); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.catalog-toolbar::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; border-bottom: 1px solid #202534; z-index: 0; }
.catalog-tabs { display: flex; align-items: stretch; gap: 26px; }
.catalog-tabs a { padding: 12px 0; border-bottom: 2px solid transparent; color: #9ba8bf; white-space: nowrap; z-index: 1; }
.catalog-tabs .current { border-color: var(--yellow); color: white; }
.catalog-tabs a:hover { color: white; }
.catalog-search { display: flex; align-items: center; gap: 7px; color: #95a4bc; background: #121827; border: 1px solid #252d40; border-radius: 7px; padding: 4px 9px; z-index: 1; }
.catalog-search input { color: #f5f6fb; background: transparent; border: 0; width: 155px; min-width: 0; font-size: 13px; }
.catalog-search input::placeholder { color: #99a8bd; }
.catalog-group { margin-top: 43px; }
.catalog-group + .catalog-group { margin-top: 28px; }
.group-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #a7b2c6; }
.group-heading h2 { font-size: 14px; color: #d0d9e8; }
.group-heading span { font-size: 12px; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.field, .field-cta { background: #101523; border: 1px solid #222838; border-radius: 8px; color: #a4b1c8; }
.field summary, .field-cta { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; gap: 12px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.field summary > span { width: 8px; height: 8px; border-inline-end: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-inline-end: 4px; margin-block-end: 3px; flex: none; }
.field[open] > summary > span { transform: rotate(225deg); margin-block-end: -3px; }
.field:hover, .field[open] { background: #171e30; border-color: #44465e; color: #fff; }
.field ul { list-style: none; padding: 0; margin: 0; }
.field li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid #2b3144; color: #d1daeb; font-size: 13px; }
.field li a:hover { color: white; background: #232a40; }
.field-cta { justify-content: flex-start; color: white; font-weight: 700; background: linear-gradient(110deg, #6100d7, #9827f4); border-color: transparent; }
.field-cta:hover { filter: brightness(1.12); }
#catalog-empty { padding: 28px 0; color: #b8c4da; }
.reading-section { padding-block: 60px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading a { color: #bd9bf9; font-size: 14px; }
.guide-list { margin-top: 12px; border-top: 1px solid var(--line); }
.guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.guide-list a:hover { color: #8b50de; }
.guide-list small { color: var(--muted); white-space: nowrap; }
.home-page .guide-list, .home-page .guide-list a { border-color: #262d40; }
.home-page .guide-list small { color: #a2afc6; }
.community { background: #141a2b; color: #f8fafc; }
.community-inner { text-align: center; padding-block: 48px; }
.community p, .footer p { color: #a2aec2; margin-top: 5px; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.community-grid a { border: 1px solid #313a51; background: #181f31; border-radius: 8px; padding: 20px 10px; }
.community-grid a:hover { border-color: #a27bde; }
.community-grid strong, .community-grid span { display: block; }
.community-grid span { font-size: 13px; color: #acb9d0; margin-top: 5px; }
.footer { border-top: 1px solid #262d40; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-block: 34px; font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; color: #a2aec2; }
.prose { max-width: 730px; padding-block: 46px; }
.prose .breadcrumb { margin-bottom: 15px; }
.prose h2 { margin-top: 20px; }
.prose p { margin-top: 8px; }
.prose > .button { margin-top: 20px; }
.signup-wrap { padding: 48px 20px; }
.signup-card { max-width: 440px; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.signup-card h1 { margin-top: 12px; }
.signup-card form { margin-top: 18px; }
.form-note { font-size: 12px; margin-block: 12px; }

:root { --navy: #0c1020; --width: 974px; --surface: #f8f9fc; --ink: #15172a; }
.nav { min-height: 68px; }
.nav-edition { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; color: #c2bada; font-size: 12px; white-space: nowrap; }
.nav-edition i, .hero-kicker i { background: #bc91fa; width: 6px; height: 6px; border-radius: 50%; }
.home-hero { background: radial-gradient(ellipse at 50% -25%, #302048 0, #151327 43%, #0e121e 76%); text-align: center; padding: 65px 0 56px; }
.home-hero h1 { margin: 10px auto 8px; font-size: clamp(34px, 6vw, 57px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; color: #d5b9ff; font-size: 13px; }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.hero-meta span { background: #1b2133; border: 1px solid #32374d; color: #c5cde1; border-radius: 20px; padding: 3px 11px; font-size: 12px; }
.catalog-tabs { gap: 20px; }
.catalog-tabs a { display: flex; gap: 7px; align-items: center; }
.catalog-tabs a[aria-current] { border-color: #d49dfc; color: white; font-weight: 700; }
.catalog-tabs a span { background: #202435; border-radius: 5px; padding: 1px 5px; color: #b5bed1; font-size: 10px; }
.catalog-group { margin-top: 26px; }
.group-heading { gap: 10px; margin-bottom: 15px; align-items: end; }
.group-heading h2 { font-size: 18px; }
.group-heading p { font-size: 13px; color: #a5aec4; }
.group-heading > span { white-space: nowrap; }
.field-grid { gap: 9px; }
.field summary strong { flex: 1; font-size: 14px; }
.field summary small { border-radius: 4px; padding-inline: 5px; background: #232940; color: #c8cde2; }
.field li a { align-items: center; }
.field li a span { color: #bda2f0; }
.catalog-footnote { color: #aab3c9; font-size: 12px; margin-top: 20px; }
.degree-empty { border: 1px dashed #33354e; border-radius: 10px; padding: 40px 16px; text-align: center; }
.degree-empty > span { color: #bc91fa; font-size: 26px; }
.degree-empty p { color: #aab3c9; }
.degree-empty a { color: #d6b6ff; font-weight: 700; padding-top: 10px; display: inline-block; }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #63677c; font-size: 13px; }
.breadcrumb a:hover, a.breadcrumb:hover { color: #5935a6; text-decoration: underline; }
.specialty-page { max-width: 640px; padding-block: 32px 64px; }
.specialty-page h1 { font-size: clamp(29px, 5vw, 42px); margin: 16px 0 26px; }
.specialty-options { display: grid; gap: 10px; }
.specialty-options > a { border: 1px solid var(--line); background: white; }
.specialty-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 65px; padding: 12px; list-style: none; border-radius: 8px; }
.map-about summary::-webkit-details-marker { display: none; }
.specialty-option:hover { background: #f8f9fc; }
.shelf-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #fff5d1; color: #6c4c00; }
.shelf-icon svg, .track-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.option-arrow, .option-chevron { color: #667085; }
details[open] > summary .option-chevron { transform: rotate(180deg); }

.people-page { --people-accent: #594296; --people-tint: #f0eafa; padding-block: 28px 64px; }
.peers-page { --people-accent: #1b6958; --people-tint: #e8f4ef; }
.people-intro { margin-block: 16px 24px; padding: clamp(22px, 6vw, 48px); border-radius: 16px; background: radial-gradient(ellipse at 10% 100%, #3d2c69, transparent 70%), #19182d; color: #fff; }
.people-intro .people-specialty { color: #dcd0fa; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.people-intro h1 { font-size: clamp(28px, 5vw, 46px); }
.people-intro p, .people-intro .person-example { max-width: 55ch; color: #e4ddef; margin-top: 7px; }
.person-example { display: block; font-size: 12px; color: var(--muted); }
.people-intro .person-example { margin-top: 12px; }
.peers-page .people-intro { background: linear-gradient(135deg, #edfaf4, #d8eee6); color: #163b33; border: 1px solid #cfe5dc; }
.peers-page .people-intro p, .peers-page .people-intro .person-example { color: #315d51; }

.people-directory { display: grid; gap: 15px; }
.people-controls { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; }
.people-filters { border: 0; margin: 0; padding: 0; min-width: 0; }
.people-filters legend { padding: 0; margin-bottom: 7px; font-weight: 700; font-size: 14px; }
.people-filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.people-filter-options button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 13px; background: #fff; color: var(--ink); font-size: 13px; }
.people-filter-options button[aria-pressed="true"] { border-color: var(--people-accent); color: var(--people-accent); background: var(--people-tint); font-weight: 700; }
.people-count { font-size: 13px; }
.people-grid, .peer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.people-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.person-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.person-card:hover, .person-card:focus-visible { border-color: var(--people-accent); }
.person-identity { display: flex; gap: 12px; align-items: center; }
.person-identity h2 { font-size: 19px; }
.person-identity p { font-size: 13px; color: var(--people-accent); }
.person-avatar { position: relative; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; width: 53px; height: 53px; border-radius: 15px; background: var(--people-tint); color: var(--people-accent); font-weight: 700; }
.mentor-portrait::after { content: ""; position: absolute; inset: 0; background: url("mentor-portraits.e20aeb689928.jpg") left center / 300% 100% no-repeat; }
.mentor-portrait[data-portrait="concept-review"]::after { background-position: center; }
.mentor-portrait[data-portrait="exam-review"]::after { background-position: right; }
.person-card-description { font-size: 14px; }
.person-degree { font-size: 12px; margin-top: auto; }
.person-degree small { display: block; font-size: inherit; }
.person-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; border-top: 1px solid var(--line); padding-top: 11px; font-size: 12px; }
.person-card-footer strong { color: var(--people-accent); }

.mentor-detail { margin-top: 16px; }
.mentor-intro { border-radius: 15px; background: #201934; color: #fff; padding: clamp(18px, 4vw, 32px); }
.mentor-intro .person-avatar { width: clamp(60px, 14vw, 90px); height: clamp(60px, 14vw, 90px); font-size: 22px; }
.mentor-intro .person-identity p, .mentor-intro > p, .mentor-intro .person-example { color: #e4d8f4; }
.mentor-intro > p { margin-top: 10px; }
.mentor-intro .person-example { margin-top: 3px; }
.mentor-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.mentor-content { min-width: 0; display: grid; gap: 12px; }
.person-section, .mentor-session { background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(15px, 4vw, 23px); }
.person-section h2, .mentor-session h2 { font-size: 18px; margin-bottom: 5px; }
.person-section p + p { margin-top: 8px; }
.mentor-focus { background: var(--people-tint); color: #47356c; padding: 9px 12px; border-radius: 7px; }
.mentor-agenda { margin-block: 8px 12px; padding-inline-start: 25px; color: var(--muted); }
.mentor-agenda li + li { margin-top: 5px; }
.mentor-agenda li::marker { color: var(--people-accent); font-weight: 700; }
.person-education { display: grid; gap: 8px; list-style: none; margin: 9px 0 13px; padding: 0; }
.person-education span { display: block; color: var(--muted); font-size: 14px; }
.person-topics { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.person-topics li { padding: 4px 9px; border-radius: 6px; background: var(--people-tint); color: var(--people-accent); font-size: 13px; }
.mentor-session { border-color: #d9cbea; position: sticky; top: 14px; }
.mentor-format { color: var(--people-accent); font-weight: 700; }
.person-facts { display: grid; gap: 11px; margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.person-facts dt { font-weight: 700; }
.person-facts dd { margin: 0; color: var(--muted); }
.person-cta { width: 100%; background: #34235a; }

.peers-page .people-directory { grid-template-columns: minmax(175px, 1fr) minmax(0, 3fr); align-items: start; }
.peers-page .people-controls { display: grid; background: white; border: 1px solid #d8e6e1; border-radius: 12px; padding: 14px; }
.peers-page .people-filter-options { display: grid; }
.peers-page .people-filter-options button { text-align: start; }
.peer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 14px; border: 1px solid #d8e6e1; border-radius: 12px; background: #fff; }
.peer-row:hover, .peer-row:focus-visible { border-color: var(--people-accent); background: #fbfefa; }
.peer-row .person-avatar, .peer-profile .person-avatar { border-radius: 50%; }
[data-people-category="evening"] .person-avatar, [data-peer-schedule="evening"] .person-avatar { background: #eae7f7; color: #5e477a; }
[data-people-category="weekend"] .person-avatar, [data-peer-schedule="weekend"] .person-avatar { background: #fbf0dc; color: #795825; }
.peer-row-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.peer-row-title h2 { font-size: 18px; }
.peer-row-title span { color: var(--people-accent); font-size: 12px; }
.peer-row-info p { font-size: 13px; margin-block: 4px 8px; }
.peer-row-meta { display: flex; gap: 4px 13px; flex-wrap: wrap; font-size: 12px; color: #405a51; }
.peer-match { display: inline-block; margin-top: 6px; border-radius: 6px; padding-inline: 7px; background: var(--people-tint); color: var(--people-accent); font-size: 12px; }
.peer-row-arrow { color: var(--people-accent); }
.person-page { max-width: 710px; }
.peer-profile { margin-top: 16px; border: 1px solid #d8e6e1; border-radius: 14px; background: #fff; }
.peer-profile-header { display: flex; align-items: center; gap: 14px; padding: clamp(16px, 4vw, 24px); border-radius: 13px 13px 0 0; background: #eaf6f0; }
.peer-profile-header .person-avatar { width: 62px; height: 62px; font-size: 21px; }
.peer-profile-header h1 { font-size: clamp(25px, 5vw, 35px); }
.peer-profile-header p { font-size: 13px; }
.peer-profile-body { padding: clamp(16px, 4vw, 25px); }
.peer-profile-body h2 { font-size: 17px; margin-bottom: 4px; }
.peer-current { margin-block: 14px; padding: 12px 14px; background: #f0f8f4; border-inline-start: 3px solid #47967e; border-radius: 7px; }
.peer-schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 14px; font-size: 14px; }
.peer-schedule > div { padding: 10px 12px; border: 1px solid #d8e6e1; border-radius: 8px; }
.peer-schedule dt { font-weight: 700; }
.peer-schedule dd { margin: 0; color: var(--muted); }
.peer-cta { margin-top: 4px; background: #1b6958; color: #fff; }

@media (max-width: 640px) {
  .mentor-layout, .peers-page .people-directory, .peer-schedule { grid-template-columns: minmax(0, 1fr); }
  .mentor-session { position: static; }
  .peers-page .people-filter-options { display: flex; }
  .peer-row { gap: 8px; padding: 11px; }
}

.track-page { --width: 936px; --surface: #f5f6f8; --navy: #0f1422; }
@media (min-width: 721px) { .track-page .nav { min-height: 100px; } }
.track-content { padding-block: 22px 52px; }
.track-header { padding: 13px 20px 0; background: white; border: 1px solid #dadce0; border-radius: 8px; }
.track-top, .track-actions, .track-tabs { display: flex; align-items: center; gap: 5px; }
.track-top { justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.track-actions { direction: rtl; }
.track-icon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 33px; min-height: 33px; padding: 4px 7px; border: 0; border-radius: 6px; background: #f1f2f4; color: #111522; font-size: 13px; }
.track-icon:hover { background: #e3e5ea; }
.track-icon.track-yellow { background: var(--yellow); color: #08090c; }
.track-icon.track-yellow:hover { background: #f0ad00; }
.track-title { padding-block: 44px 38px; }
.track-title h1 { color: #0b0c0e; font-size: clamp(30px, 5vw, 47px); }
.track-title p { font-size: clamp(14px, 2vw, 18px); margin-top: 7px; }
.track-tabs { flex-wrap: wrap; }
.track-tabs a { display: flex; align-items: center; gap: 6px; padding: 10px 8px; border-bottom: 2px solid transparent; color: #4b5563; font-size: 13px; }
.track-tabs a[aria-current] { border-color: #0b0b0b; color: #111; font-weight: 700; }
.track-tabs a:hover { color: #111; }
.track-personalize { margin-inline-start: auto; }
#share-feedback { padding: 6px 0; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.track-signup { margin-inline-start: auto; background: #1947e9; color: #fff; border-radius: 22px; padding: 4px 15px; font-size: 13px; white-space: nowrap; }
.track-signup:hover { background: #3159ef; }
.track-badge { color: #592fa1; background: #f0e9fd; border: 1px solid #e7dafb; padding: 2px 9px; border-radius: 5px; font-size: 12px; display: inline-block; }

.track-overview { border: 1px solid #dadce0; border-radius: 6px; background: #fff; margin-block-start: 10px; overflow: hidden; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fffae3; padding: 6px 11px; }
.map-progress { display: flex; align-items: center; gap: 9px; font-size: 12px; min-width: 0; color: #644318; }
#progress-percent { min-width: 37px; text-align: center; color: #432d11; font-size: 14px; }
#progress-bar { display: block; width: min(100%, 170px); height: 5px; accent-color: #2144df; }
.next-topic { background: var(--navy); color: #fff; border-radius: 20px; font-size: 12px; padding: 3px 10px; }
.next-topic:hover { background: #293246; }
.map-about { border-top: 1px solid #e4dfd1; }
.map-about summary { display: flex; align-items: center; gap: 6px; list-style: none; padding: 7px 10px; color: #17191f; font-size: 14px; }
.map-about .option-chevron { margin-inline-start: auto; }
.map-about p { padding: 2px 12px 10px; }
.graph-card { margin-top: 13px; }
.graph-tools { display: flex; justify-content: end; padding: 0 0 6px; }
.zoom { display: flex; gap: 3px; direction: ltr; }
.zoom button { background: white; color: #252a31; border: 1px solid #dadce0; min-width: 27px; min-height: 27px; padding: 0 6px; border-radius: 5px; }
.zoom button:hover { background: #eaedf3; }
.graph-viewport { overflow: auto; direction: rtl; }
.track-questions { margin-block-start: 32px; }
.track-questions h2 { margin-bottom: 9px; }
.track-ai-float { position: fixed; z-index: 2; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-start: 50%; translate: 50% 0; display: flex; gap: 9px 13px; align-items: center; max-width: calc(100% - 24px); border-radius: 28px; background: #171717; padding: 8px 19px; color: #fff; font-size: 13px; white-space: nowrap; }
.track-ai-float strong { color: var(--yellow); }

.track-finish { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; border: 1px solid #e7dbf8; border-radius: 9px; margin-top: 22px; background: #f8f2ff; }
.track-finish h2 { font-size: 18px; }
.track-finish p { font-size: 13px; margin-top: 4px; }
.roadmap-community { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 14px 18px; margin-top: 14px; border: 1px solid #e1d8ef; border-radius: 8px; background: #f5effc; }
.roadmap-community h2 { font-size: 17px; }
.roadmap-community p { font-size: 13px; margin-top: 3px; }
.roadmap-community .button { background: white; color: #48267e; border-color: #cdbbe7; }
.roadmap-community .button:hover { background: #ebe1f7; filter: none; }
.content-intro { margin-block: 21px 15px; }
.content-intro > span { color: #704ab3; font-weight: 700; font-size: 12px; }
.learning-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.learning-cards article, .question-list details { background: white; border: 1px solid #e0e1ed; border-radius: 8px; padding: 15px; }
.learning-cards h3 { margin-block: 5px 7px; }
.learning-label { color: #713eac; font-size: 12px; }
.learning-cards dl { border-top: 1px solid #ecebf2; padding-top: 9px; font-size: 13px; }
.learning-cards dt { font-weight: 700; }
.learning-cards dd { margin: 0 0 7px; color: #565e74; }
.learning-cards .button, .resource-buttons .button:not(.button-dark) { border-color: #ded5ee; background: #fff; color: #55338c; }
.question-list { display: grid; gap: 8px; }
.question-list summary { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.question-list summary span:first-child { background: #f0e8ff; color: #572b96; border-radius: 4px; padding-inline: 6px; font-size: 12px; }
.question-list summary span:last-child { margin-inline-start: auto; color: #6539a7; }
.question-list details p { margin-top: 10px; }

.track-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(100%, 600px); max-width: 100%; height: 100dvh; max-height: 100%; border: 0; padding: 0; background: white; color: #141822; }
.track-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.track-drawer::backdrop { background: #10172580; }
.track-drawer-bar { display: flex; align-items: center; gap: 5px; padding: 24px 24px 10px; font-size: 13px; }
#drawer-close { flex: none; height: 29px; width: 29px; padding: 0; background: #e3e4e7; border: 1px solid #dedfe3; border-radius: 6px; color: #232631; font-size: 20px; line-height: 1; }
#drawer-close:hover { background: #d8dbe1; }
.drawer-tabs, .topic-statuses { display: flex; align-items: center; }
.drawer-tabs { margin-inline-start: auto; gap: 5px; }
.drawer-tabs > :is(span, a), .topic-statuses button, .resource-buttons a { border: 1px solid #d6d8db; border-radius: 6px; background: white; color: #252d3c; padding: 3px 8px; white-space: nowrap; line-height: 1.5; }
.drawer-tabs > span { background: #080809; border-color: #080809; color: white; }
.drawer-tabs a:hover, .resource-buttons a:hover, .topic-statuses button:hover { background: #f0f2f5; }
.topic-statuses button { border-radius: 0; }
.topic-statuses button + button { margin-inline-start: -1px; }
.topic-statuses button:first-child { border-start-start-radius: 6px; border-end-start-radius: 6px; }
.topic-statuses button:last-child { border-start-end-radius: 6px; border-end-end-radius: 6px; }
.topic-statuses button[aria-pressed="true"] { border-color: #91b6ec; background: #eaf2ff; position: relative; }
.topic-statuses button:disabled { opacity: 0.65; }
.topic-statuses [data-status-value="doing"] span { color: #6e37c8; }
.topic-statuses [data-status-value="done"] span { color: #16723b; }
.track-drawer-body { padding: 15px 24px 22px; overflow: auto; }
#drawer-title { color: #141822; font-size: clamp(25px, 4vw, 34px); line-height: 1.4; margin-bottom: 7px; }
#drawer-title:focus { outline: none; }
.skill-description { display: grid; gap: 7px; font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.skill-description p { color: #252d38; margin: 0; }
.drawer-section { margin-block-start: 11px; border: 1px solid #d8d8dc; border-radius: 7px; padding: 11px 12px; }
.drawer-section h3 { display: flex; gap: 6px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.drawer-ai h3 { color: #203ccf; }
.drawer-references h3 { color: #177235; }
.drawer-more h3 { color: #6730b5; }
.drawer-review details + details { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.drawer-review summary { font-size: 13px; }
.drawer-review p { margin: 4px 12px 4px 0; font-size: 13px; }
.resource-buttons { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.resource-buttons .drawer-primary { background: #173eec; border-color: #173eec; color: white; }
.resource-buttons .drawer-primary:hover { background: #1332b9; }
.reference-links { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0; }
.reference-links a { display: block; overflow-wrap: anywhere; }
.reference-links strong { color: #18252e; font-size: 14px; text-decoration: underline; }
.reference-links a:hover strong { color: #1639c2; }
.reference-links small { display: block; color: #4b5563; }
#topic-feedback { color: #334863; font-size: 13px; margin-top: 8px; }
.account-buttons { display: grid; gap: 8px; }
.signup-card .button-outline { background: #fff; border-color: #e2d6f3; color: #55338c; }
.signup-card .track-badge { margin-top: 12px; }
.signup-card > .button { margin-top: 16px; }
.signup-card h1 { font-size: clamp(25px, 4vw, 37px); }
.signup-card p { margin-top: 7px; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 26px); }
  .nav { gap: 13px; min-height: 57px; font-size: 13px; }
  .nav-links { gap: 11px; }
  .nav-links a:last-child { display: none; }
  .catalog-toolbar { flex-wrap: wrap; gap: 10px; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .graph-node { padding: 6px 4px; }
  .node-state { display: none; }
  .graph-node[data-status]:not([data-status="todo"]) .node-state { display: inline; }
  .track-finish { align-items: start; flex-direction: column; }
}
@media (max-width: 460px) {
  .home-hero { padding-block: 40px 35px; }
  .nav-edition { display: none; }
  .nav-links { margin-inline-start: auto; }
  .field-grid, .learning-cards { grid-template-columns: 1fr; }
  .catalog-tabs { gap: 11px; }
  .catalog-tabs a { font-size: 13px; }
  .map-toolbar { padding-inline: 6px; }
  .map-progress { gap: 5px; }
  #progress-percent { min-width: 38px; font-size: 15px; }
  .next-topic { font-size: 12px; padding-inline: 5px; }
  .graph-legend { gap: 5px; font-size: 10px; }
  .footer-inner { flex-direction: column; }
}
/* Specialty menus float above the grid without resizing its rows. */
.field { position: relative; }
.field[open] { z-index: 3; }
.field ul {
  position: absolute;
  z-index: 1;
  inset-inline: -1px;
  top: calc(100% + 4px);
  background: #171e30;
  border: 1px solid #44465e;
  border-radius: 8px;
  box-shadow: 0 10px 22px #05070cb3;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 100ms ease;
}
.field[open] ul { opacity: 1; pointer-events: auto; }
.field li:first-child a { border-top: 0; }
.field::details-content {
  transition: content-visibility 100ms allow-discrete;
}
@starting-style {
  .field[open] ul { opacity: 0; }
}

.lesson-poster { margin: 12px 0 0; display: grid; align-content: center; gap: 10px; min-height: 210px; padding: 22px; border: 1px solid #cfad47; border-radius: 9px; background-color: #ffdf6b; background-image: radial-gradient(#b58a3e 1px, transparent 1px), linear-gradient(135deg, #fff6d3, #ffdb61); background-size: 16px 16px, auto; color: #342305; }
.lesson-poster strong { font-size: clamp(22px, 5vw, 35px); line-height: 1.4; }
.lesson-poster span, .lesson-poster figcaption { font-size: 13px; }
@media (max-width: 460px) { .field ul { max-height: min(50vh, 340px); overflow: auto; } }

.field-grid.is-filtered .field ul { position: static; max-height: none; box-shadow: none; border-inline: 0; border-bottom: 0; }

.atlas-graph {
  --zoom: 1;
  --rail: #2864cc;
  --atlas-hub: #ffff00;
  --atlas-topic: #ffe28b;
  --atlas-columns: minmax(0, 1fr) minmax(130px, 24%) minmax(0, 1fr);
  --atlas-gutter: clamp(18px, 5.5vw, 74px);
  position: relative;
  isolation: isolate;
  width: calc(100% * var(--zoom));
  margin: auto;
  padding: 0 8px 24px;
  display: grid;
  gap: 30px;
}
.atlas-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.atlas-links path { fill: none; stroke: var(--rail); stroke-width: 3; }
.atlas-links .atlas-branch-line { stroke-width: 2.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.atlas-entry, .atlas-band { display: grid; grid-template-columns: var(--atlas-columns); column-gap: var(--atlas-gutter); align-items: center; }
.atlas-entry { align-items: start; padding-bottom: 24px; }
.atlas-entry .atlas-cap { grid-column: 2; grid-row: 1; margin-top: 145px; font-size: 23px; }
.atlas-entry .atlas-cap::before { content: ""; display: block; width: 0; height: 75px; border-inline-end: 3px dotted var(--rail); margin: -92px auto 13px; }
.atlas-cap { justify-self: center; text-align: center; background: var(--surface); color: #111; font-weight: 700; }
.atlas-exit { padding: 4px 12px; border: 2px solid #111; border-radius: 5px; background: white; }
.atlas-exit:hover { background: var(--atlas-topic); }
.atlas-key, .atlas-brief { grid-row: 1; display: grid; gap: 4px; align-self: start; border-radius: 5px; background: white; padding: 11px 13px; font-size: 13px; }
.atlas-key { grid-column: 3; border: 2px solid #111; }
.atlas-key span { display: flex; align-items: center; gap: 6px; }
.atlas-key i { display: inline-block; width: 13px; height: 11px; border: 1px solid #111; border-radius: 3px; }
.atlas-key .key-branch { height: 0; border: 0; border-top: 3px dotted var(--rail); border-radius: 0; }
.key-core { background: var(--atlas-hub); }
.key-concept { background: var(--atlas-topic); }
.atlas-brief { grid-column: 1; }
.atlas-brief p { color: #262a36; }
.atlas-brief button { background: #e5e5e5; border: 0; border-radius: 5px; padding: 6px; color: #151518; margin-top: 6px; }
.atlas-brief button:hover { background: #d6d6d9; }
.atlas-core { grid-column: 2; grid-row: 1; min-width: 0; }
.atlas-right, .atlas-left { grid-row: 1; min-width: 0; }
.atlas-right { grid-column: 1; }
.atlas-left { grid-column: 3; }
.atlas-cluster h4, .atlas-variant h4 { color: #171a20; font-weight: 700; font-size: 13px; margin: 0 0 5px; text-align: center; }
.atlas-cluster ul, .atlas-variant ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.atlas-cluster ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.atlas-cluster li { display: flex; min-width: 0; }
.atlas-cluster li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.graph-node { position: relative; width: 100%; display: block; min-height: 42px; padding: 5px 9px; border: 2px solid #111; border-radius: 5px; background: var(--atlas-topic); color: #0b0b0b; text-align: center; font-size: 14px; line-height: 1.4; }
.atlas-heading { display: grid; place-items: center; background: var(--atlas-hub); padding: 8px 10px; font-weight: 700; }
.atlas-node-meta { display: block; font-size: 11px; font-weight: 400; margin-block-start: 3px; }
.exam-note { margin-block: 10px; font-size: 13px; }
button.graph-node:hover { filter: brightness(0.94); }
.graph-node[data-status="done"] { background: #b9edc1; }
.graph-node[data-status="doing"] { background: #dcd3ff; }
.graph-node[data-status="skip"] { background: #e9e9ec; }
.atlas-heading[data-status] { background: var(--atlas-hub); padding-inline: 18px; }
.atlas-graph .node-state { position: absolute; display: grid; place-items: center; width: 16px; height: 16px; top: calc(50% - 8px); inset-inline-end: -8px; border-radius: 50%; font-size: 11px; background: #7139ed; color: #fff; }
.atlas-left .node-state { inset-inline: -8px auto; }
.graph-node[data-status="done"] .node-state { background: #287633; }
.graph-node[data-status="skip"] .node-state { background: #625d68; }

@media (min-width: 651px) {
  .atlas-band[data-shape="split"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--atlas-gutter);
    row-gap: 29px;
    align-items: start;
  }
  [data-shape="split"] .atlas-core { grid-column: 1 / -1; width: min(100%, 250px); justify-self: center; }
  [data-shape="split"] :is(.atlas-right, .atlas-left) { grid-row: 2; width: min(100%, 350px); justify-self: center; }
  [data-shape="split"] .atlas-left { grid-column: 2; }
  [data-shape="split"] .atlas-variant[data-atlas-group="fan"] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-shape="split"] .atlas-variant[data-atlas-group="fan"] li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  [data-shape="split"] .graph-node { height: 100%; }
  [data-shape="split"] .node-state { inset-inline: auto 5px; }
  [data-shape="split"] button.graph-node { padding-inline-end: 25px; }

  .atlas-band[data-shape="step"] {
    grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
    grid-template-areas: "core right" "core left";
    row-gap: 9px;
  }
  .atlas-band[data-shape="step"]:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 27%);
    grid-template-areas: "right core" "left core";
  }
  [data-shape="step"] .atlas-core { grid-area: core; }
  [data-shape="step"] .atlas-right { grid-area: right; }
  [data-shape="step"] .atlas-left { grid-area: left; }
  [data-shape="step"] :is(.atlas-right, .atlas-left) { width: min(100%, 435px); }
  [data-shape="step"]:nth-of-type(even) :is(.atlas-right, .atlas-left) { justify-self: end; }
  [data-shape="step"] .node-state { inset-inline: -8px auto; }
  [data-shape="step"]:nth-of-type(even) .node-state { inset-inline: auto -8px; }
}

@media (max-width: 650px) {
  .track-content { padding-top: 12px; }
  .track-header { padding-inline: 12px; }
  .track-title { padding-block: 27px 18px; }
  .track-tabs a { padding: 7px 4px; font-size: 12px; }
  .track-personalize { margin-inline-start: 0; }
  .atlas-graph { gap: 22px; }
  .atlas-band, .atlas-entry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .atlas-brief { grid-column: 1; }
  .atlas-key { grid-column: 2; }
  .atlas-entry { padding-bottom: 4px; }
  .atlas-entry .atlas-cap { grid-row: 2; grid-column: 1 / -1; margin-top: 0; font-size: 19px; }
  .atlas-entry .atlas-cap::before { display: none; }
  .atlas-core { grid-column: 1 / -1; width: min(100%, 215px); justify-self: center; }
  [data-shape="step"] .atlas-core { justify-self: start; margin-inline: 8px; }
  [data-shape="step"]:nth-of-type(even) .atlas-core { justify-self: end; }
  .atlas-right, .atlas-left { grid-row: 2; }
  .atlas-left { grid-column: 2; }
  .atlas-core + :last-child { grid-column: 1 / -1; width: min(100%, 300px); justify-self: center; }
  .atlas-cluster ul { grid-template-columns: 1fr; }
  .graph-node { font-size: 12px; }
  .atlas-right .node-state { inset-inline-end: -4px; }
  .atlas-left .node-state { inset-inline-start: -4px; }
}
@media (max-width: 540px) {
  .track-drawer-bar { flex-wrap: wrap; padding: 12px 12px 8px; }
  .drawer-tabs { margin-inline-start: auto; }
  .topic-statuses { order: 1; flex-basis: 100%; }
  .track-drawer-body { padding-inline: 12px; }
}
@media (max-width: 380px) {
  .track-page .nav { gap: 8px; }
  .track-page .brand { gap: 5px; }
  .track-page .brand-logo { width: 27px; }
  .track-page .nav-links a:nth-child(2) { display: none; }
  .track-page .track-signup { padding-inline: 8px; font-size: 11px; }
}
@media print {
  body { display: block; min-height: 0; }
  .track-page :is(.topbar, .footer, .track-top, .track-tabs, .track-overview, .graph-tools, .track-questions, .track-finish, .track-ai-float, .roadmap-community) { display: none; }
  .track-page #map[hidden] { display: block !important; }
  .track-page #projects { display: none; }
  .track-page .shell { width: 100%; }
  .track-page .graph-viewport { overflow: visible; }
  .track-page .atlas-graph { width: 100%; print-color-adjust: exact; }
  .track-page .atlas-band { break-inside: avoid; }
}

.signup-field { display: grid; gap: 4px; }
.signup-field input { width: 100%; padding: 8px 10px; border: 1px solid #b4bbca; border-radius: 6px; color: #121827; font: inherit; }
.signup-field .errorlist { margin: 0; padding-inline-start: 20px; color: #9c2323; font-size: 13px; }
.signup-notice { padding: 12px; border: 1px solid #dcaa69; border-radius: 7px; background: #fff4dd; color: #684008; }
