:root {
  color-scheme: light;
  --bg: #f9f9fc;
  --ink: #1b1932;
  --muted: #615f75;
  --line: #e6e4ee;
  --accent: #5736d4;
  --accent-dark: #4325b4;
  --tint: #eeebff;
  --paper: #fff;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9c70ff; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.042em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.55rem); }
h3 { font-size: 1.24rem; }
p { color: var(--muted); }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 12px; border-radius: 6px; background: white; }
.top { position: sticky; top: 0; z-index: 3; background: #fffffff7; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.24rem; font-weight: 800; letter-spacing: -.06em; }
.brand-accent { color: var(--accent); }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: white; font-size: 1.4rem; line-height: 1; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.8vw, 35px); font-size: .9rem; }
.nav-link { color: var(--muted); font-weight: 650; }
.nav-link:hover, .nav-link.current { color: var(--accent); }
.inline { display: inline; }
.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; background: var(--accent); color: white; padding: 10px 17px; min-height: 46px; font-size: .9rem; font-weight: 750; line-height: 1.3; transition: background .16s ease, box-shadow .16s ease, transform .16s ease; text-align: center; }
.button:hover { background: var(--accent-dark); }
.button:active:not(:disabled) { transform: scale(.98); }
.button:disabled { opacity: .65; cursor: wait; }
.button.compact { min-height: 40px; padding: 9px 14px; }
.button.outline { color: var(--accent); background: white; border-color: #dcd4ff; }
.button.outline:hover { background: var(--tint); }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 36px; padding: 49px 0 52px; }
.hero-copy { padding-block: 11px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; border-radius: 99px; padding: 7px 12px; background: var(--tint); color: var(--accent-dark); font-weight: 750; font-size: .76rem; }
.dot { width: 7px; height: 7px; border-radius: 100%; background: #7956ef; }
.hero h1 { margin-top: 15px; font-size: clamp(3.1rem, 5.6vw, 5.1rem); letter-spacing: -.073em; }
.hero em { color: var(--accent); font-style: normal; }
.hero p { max-width: 470px; margin: 19px 0 23px; font-size: clamp(1rem, 1.4vw, 1.13rem); }
.search { display: flex; position: relative; align-items: center; gap: 7px; max-width: 532px; padding: 6px; border: 1px solid #dfdbe8; border-radius: 14px; background: white; box-shadow: 0 5px 19px #23163a08; }
.search:focus-within { border-color: #a893f7; }
.search .button { min-height: 43px; padding-inline: 20px; }
.search input { min-width: 0; width: 100%; padding: 10px 4px 10px 37px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; font-size: .94rem; }
.search input::placeholder { color: #6b687c; }
.public-course-search { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 24px; }
.public-course-search .search { flex: 1 1 240px; }
.branch-picker { position: relative; flex: 0 1 265px; min-width: min(100%, 215px); }
.branch-picker summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; height: 100%; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; list-style: none; }
.branch-picker summary::-webkit-details-marker { display: none; }
.branch-chevron { flex: 0 0 8px; height: 8px; border: solid var(--accent-dark); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.branch-picker[open] .branch-chevron { transform: translateY(2px) rotate(225deg); }
.branch-options { position: absolute; z-index: 2; inset: calc(100% + 7px) 0 auto; max-height: min(320px, 45vh); overflow: auto; padding: 5px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 26px #25204424; }
.branch-options button { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); text-align: left; background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.branch-options button:is(:hover, :focus-visible, [aria-pressed="true"]) { color: var(--accent-dark); background: var(--tint); }
.public-course-search[hidden], .public-course-card[hidden] { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cv-form { max-width: 760px; display: grid; gap: 10px; }
.cv-form :is(h2, p) { margin: 0; }
.cv-form label { margin-top: 8px; font-weight: 700; }
.cv-form textarea, .cv-form input[type="file"] { max-width: 100%; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font: inherit; }
.cv-form textarea { resize: vertical; min-height: 160px; }
.cv-form button:disabled { opacity: .6; cursor: default; }
.cv-include { display: flex; align-items: start; gap: 8px; margin: 16px 0; }
.cv-include input { margin-top: .35em; accent-color: var(--accent); }
.cv-result-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 14px; padding: 0; list-style: none; }
.cv-result { display: flex; flex-direction: column; gap: 12px; }
.cv-result :is(h3, h4, p) { margin: 0; }
.cv-result > .hero-actions { margin-top: auto; }
.cv-result .tags { margin: 5px 0 0; }
.cv-score { display: inline-block; margin-top: 7px; color: var(--accent-dark); }
.job-search-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.job-search-controls label { display: block; margin-bottom: 5px; font-weight: 700; }
.job-search-controls select { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font: inherit; }
.public-course-card > article { height: 100%; }
.career-photo.public-hero-photo { margin: 0; min-width: 0; border-radius: 24px; }
.career-photo.public-hero-photo img { width: 100%; height: auto; }
.suggestions { position: absolute; z-index: 2; inset: calc(100% + 7px) 0 auto; background: white; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 12px; list-style: none; box-shadow: 0 14px 28px #23163a1e; }
.suggestions a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; justify-content: space-between; padding: 8px 11px; border-radius: 8px; font-size: .86rem; }
.suggestions a:hover, .suggestions a:focus-visible { background: var(--tint); }
.suggestions a:focus-visible { outline-offset: -2px; }
.suggestions small { color: var(--muted); }
.magnifier { position: absolute; left: 19px; top: calc(50% - 8px); width: 13px; height: 13px; border: 1.8px solid #69637b; border-radius: 50%; pointer-events: none; }
.magnifier::after { content: ''; position: absolute; width: 6px; height: 2px; border-radius: 2px; background: #69637b; top: 10px; left: 8px; transform: rotate(46deg); }
.quick-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px; margin-top: 13px; font-size: .78rem; color: var(--muted); }
.quick-links a { border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; background: white; font-weight: 650; }
.quick-links a:hover { color: var(--accent); border-color: #a893f7; }
.hero-visual { min-width: 0; height: 374px; isolation: isolate; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 29px; background: linear-gradient(135deg, #21135ae8 3%, #4e26bdd6 47%, #7149ef7d), url('/nauka.webp') center 54% / cover, #5431ca; }
.visual-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#fff2 1px, transparent 1px), linear-gradient(90deg, #fff2 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(120deg, #0000, #0008, #0000); }
.visual-orb { position: absolute; right: -95px; top: -182px; z-index: -1; width: 425px; height: 425px; border: 1px solid #ffffff38; border-radius: 100%; box-shadow: 0 0 0 26px #ffffff12, 0 0 0 52px #ffffff0d, 0 0 0 78px #ffffff09; }
.sample-course { width: min(75%, 352px); padding: 21px; margin-top: -15px; margin-right: 20px; background: #fff; border-radius: 18px; box-shadow: 0 23px 45px #15094466; transform: rotate(-5deg); }
.sample-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.sample-heading small, .sample-note small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .05em; font-weight: 700; }
.sample-heading strong { display: block; font-size: 1.18rem; letter-spacing: -.04em; }
.sample-icon { display: grid; place-items: center; width: 43px; height: 43px; background: var(--accent); color: white; font-size: 1.48rem; border-radius: 12px; }
.sample-row { display: flex; gap: 9px; align-items: center; padding: 8px; margin-top: 5px; border-radius: 9px; color: var(--muted); font-size: clamp(.72rem, 1vw, .83rem); font-weight: 650; }
.sample-row.active { background: var(--tint); color: var(--accent-dark); }
.sample-step { display: grid; flex: 0 0 23px; width: 23px; height: 23px; place-items: center; background: #f1eff6; border-radius: 99px; font-size: .7rem; }
.active .sample-step { background: var(--accent); color: white; }
.sample-step.done { background: #e1f6eb; color: #1a6c42; }
.sample-note { position: absolute; right: 8%; bottom: 12%; display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #eee9ff; padding: 10px 15px 10px 10px; border-radius: 12px; box-shadow: 0 10px 24px #1c0a5352; font-size: .79rem; transform: rotate(4deg); }
.sample-note > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #176e49; background: #dff8ea; }
.sample-note small { letter-spacing: 0; font-weight: 500; }
.catalog { padding-top: 25px; border-top: 1px solid var(--line); }
.catalog.filtered { margin-top: 43px; padding-top: 0; border: 0; }
.filtered h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.filtered .search { margin-top: 21px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-head p { margin-top: 7px; }
.result-count { flex-shrink: 0; color: var(--muted); font-size: .86rem; }
.catalog-controls { display: flex; flex-wrap: wrap; align-items: start; gap: 9px; margin: 20px 0; }
.filters { display: flex; flex: 1 1 560px; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 6px 12px; min-height: 36px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: .82rem; font-weight: 650; }
.course-filter { flex-shrink: 0; border-color: #ddd3ff; color: var(--accent-dark); }
.filter-check { font-size: 1rem; line-height: 1; }
.filter.selected { background: var(--accent); border-color: var(--accent); color: white; }
.filter:hover:not(.selected) { border-color: #9c88ee; color: var(--accent); }
.clear, .text-link, .back { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.clear { align-self: center; margin-left: 4px; font-size: .83rem; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.role-card, .panel, .empty { border: 1px solid var(--line); background: white; border-radius: 17px; }
.role-card { display: flex; flex-direction: column; position: relative; min-height: 216px; padding: 17px 19px 13px; overflow-wrap: anywhere; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.role-card:has(h3 a):is(:hover, :focus-within) { border-color: #c7b6fa; box-shadow: 0 10px 25px #35237414; }
.role-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 17px; }
.card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.role-icon { display: grid; place-items: center; height: 37px; width: 37px; border-radius: 10px; font-size: 1.2rem; font-weight: 700; }
.violet { background: #eee9ff; color: #5736d4; }
.blue { background: #e5f0ff; color: #2149b1; }
.pink { background: #fae9f6; color: #9b397a; }
.orange { background: #fdf0df; color: #995314; }
.green { background: #e5f4e8; color: #2d7046; }
.teal { background: #dff5f1; color: #166954; }
.category-name { font-size: .72rem; font-weight: 750; color: var(--muted); }
.role-card p { margin: 7px 0 12px; font-size: .89rem; }
.card-body { display: flex; flex: 1; flex-direction: column; }
.course-card { padding: 0; }
.course-card .card-body { padding: 15px 16px 12px; }
.course-cover { --cover: #5837cf; --cover-deep: #29165d; position: relative; isolation: isolate; height: 120px; overflow: hidden; border-radius: 16px 16px 0 0; background: linear-gradient(125deg, var(--cover-deep), var(--cover)); }
.course-cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff38 1px, transparent 1px); background-size: 15px 15px; mask-image: linear-gradient(to left, #000, transparent); }
.course-cover::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #150c30ae, transparent 85%); }
.course-cover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.course-cover:has(img) { background: var(--cover-deep); }
.cover-blue { --cover: #176dc4; --cover-deep: #113969; }
.cover-pink { --cover: #a22f82; --cover-deep: #57164c; }
.cover-orange { --cover: #b75325; --cover-deep: #6b2b1c; }
.cover-green { --cover: #2a8756; --cover-deep: #12452d; }
.cover-teal { --cover: #148079; --cover-deep: #0e494a; }
.cover-glyph { display: grid; place-items: center; position: absolute; right: 16%; top: -19px; width: 132px; height: 132px; border: 1px solid #fff7; border-radius: 36px; color: #fff; font-size: 3.25rem; transform: rotate(-13deg); background: #ffffff1a; box-shadow: 0 0 0 17px #ffffff12, 0 0 0 34px #ffffff0a; }
.cover-label { position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; color: #fff; background: #211631e8; border: 1px solid #ffffff2a; border-radius: 6px; font-size: .72rem; font-weight: 720; }
.card-preview { z-index: 1; position: relative; display: inline-flex; align-items: center; gap: 5px; color: var(--accent-dark); padding: 5px 7px; margin-inline-end: -5px; border-radius: 6px; font-weight: 750; }
.card-preview:is(:hover, :focus-visible) { background: var(--tint); }
.course-card .card-foot { gap: 7px; }
.course-card:has(a):active { transform: scale(.985); }
.course-card:has(.card-main:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.fresh-courses { margin-bottom: 36px; }
.fresh-courses .section-head { margin-bottom: 15px; }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: 5px; padding: 0; margin: 0 0 12px; }
.tags li { border-radius: 6px; padding: 3px 7px; background: #f3f2f8; color: #525069; font-size: .72rem; font-weight: 650; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid #f0eef6; color: var(--muted); font-size: .77rem; font-weight: 650; }
.card-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--accent-dark); background: var(--tint); font-size: 1rem; transition: color .2s ease, background .2s ease; }
.role-card:is(:hover, :focus-within) .card-arrow { color: white; background: var(--accent); }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 52px; padding: 23px 0 29px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer .brand { color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a:hover { color: var(--accent); }
.empty { text-align: center; padding: 40px 18px; }
.empty p { margin: 10px 0 20px; }
.standalone, .standard { margin-top: 42px; }
.standard .section-head { margin-bottom: 24px; }
.back { display: inline-block; margin: 25px 0 15px; font-size: .9rem; }
.course-breadcrumbs { margin: 25px 0 15px; font-size: .9rem; }
.course-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4em .65em; padding: 0; margin: 0; list-style: none; }
.course-breadcrumbs li + li::before { content: '›' / ''; margin-right: .65em; }
.detail-hero { padding: clamp(20px, 5vw, 49px); border: 1px solid #e1dcf9; border-radius: 24px; background: linear-gradient(135deg, #f2eeff, #faf9ff 85%); overflow-wrap: anywhere; }
.detail-hero p { margin: 13px 0 17px; font-size: 1.1rem; }
.detail-hero .tags { margin-bottom: 0; }
.detail-hero .tags li { background: white; border: 1px solid #e3ddfa; }
.detail-hero .source-note { margin: 12px 0 0; font-size: .8rem; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; }
.detail-grid, .lesson-layout { display: grid; align-items: start; gap: 17px; margin-top: 18px; }
.detail-grid { grid-template-columns: 1.6fr 1fr; }
.panel { padding: clamp(18px, 3.2vw, 33px); }
.panel h2 { font-size: 1.55rem; }
.panel > p { margin: 11px 0; }
.stack { display: grid; justify-items: start; gap: 11px; }
.start-panel .stack { margin-top: 16px; }
.form-hint, .panel small { color: var(--muted); font-size: .83rem; }
.program { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.program li { display: flex; align-items: center; gap: 10px; background: #f7f6fb; border-radius: 10px; padding: 10px; }
.program li span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: #eae5fe; color: var(--accent-dark); font-size: .8rem; font-weight: 750; }
.program li:has(.program-link) { padding: 0; }
.program-link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 10px; color: var(--accent-dark); border-radius: 10px; text-decoration: underline; text-underline-offset: .18em; }
.program-link:is(:hover, :focus-visible) { background: var(--tint); }
.chapter { margin-top: 20px; }
.chapter:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.chapter-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.work-practice { padding: 14px 18px; margin-top: 18px; border-left: 3px solid var(--accent); background: var(--tint); border-radius: 0 12px 12px 0; }
.work-practice li + li { margin-top: .55rem; }
.recruitment-visual { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--tint); }
.recruitment-visual figcaption { font-weight: 750; margin-bottom: 12px; }
.recruitment-visual ol, .conversion-chart { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.recruitment-visual li, .conversion-chart > div { padding: 12px; border-radius: 10px; background: white; }
.recruitment-visual li span { display: block; margin-top: 4px; }
.conversion-chart dt { font-weight: 750; }
.conversion-chart dd { margin: 4px 0 0; }
.conversion-rate { display: flex; align-items: center; gap: 10px; }
.conversion-rate meter { width: 100%; height: 14px; accent-color: var(--accent); }
.program small { display: block; margin-top: 2px; }
.auth { max-width: 475px; margin: 55px auto 0; }
.auth h1 { font-size: 2.55rem; }
.auth form { margin-top: 20px; justify-items: stretch; }
.auth label { display: grid; gap: 5px; color: var(--ink); font-size: .91rem; font-weight: 700; }
.auth input { background: #fcfbfe; border: 1px solid #dcd7e7; color: var(--ink); border-radius: 9px; min-height: 43px; padding: 9px 12px; }
.auth .auth-switch { margin: 18px 0 0; font-size: .88rem; }
.lesson-layout { grid-template-columns: minmax(230px, 1fr) minmax(0, 2.2fr); margin-top: 0; }
.lesson-sidebar .program li { padding: 0; background: none; }
.lesson-sidebar .program a { display: flex; align-items: center; width: 100%; gap: 8px; padding: 8px; border-radius: 9px; font-size: .88rem; font-weight: 650; }
.lesson-sidebar .program a:hover, .lesson-sidebar [aria-current='step'] { background: var(--tint); color: var(--accent-dark); }
.lesson-sidebar .program .passed { color: #20653d; background: #e0f5e9; }
progress { width: 100%; height: 8px; border: 0; border-radius: 10px; background: #eae6f6; accent-color: var(--accent); }
progress::-webkit-progress-bar { border-radius: 10px; background: #eae6f6; }
progress::-webkit-progress-value { border-radius: 10px; background: var(--accent); }
progress::-moz-progress-bar { border-radius: 10px; background: var(--accent); }
.dashboard-card h2 { font-size: 1.4rem; }
.dashboard-card .button { align-self: start; margin-top: 17px; }
.lesson h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 13px 0; }
.lesson .lesson-body { font-size: 1.05rem; line-height: 1.72; white-space: pre-line; }
.exercise { margin: 21px 0; padding: 16px; border-radius: 12px; background: var(--tint); }
.exercise h2 { font-size: 1.2rem; margin-bottom: 5px; }
.quiz { border-top: 1px solid var(--line); padding-top: 17px; }
.quiz fieldset { margin: 13px 0; padding: 0; border: 0; min-width: 0; }
.quiz legend { margin-bottom: 6px; padding: 0; font-weight: 700; }
.option { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 9px; margin: 7px 0; cursor: pointer; }
.option:has(input:checked) { border-color: #ad9af1; background: var(--tint); }
.option input { accent-color: var(--accent); }
.feedback { padding: 12px; border-radius: 9px; margin: 12px 0; font-size: .9rem; }
.correct { color: #176a40; background: #e4f6ed; }
.incorrect { color: #8b2936; background: #fcecf1; }
.quiz summary, .optional-quiz summary, .compact-compendium summary { color: var(--accent-dark); font-weight: 700; cursor: pointer; }
.optional-quiz > p { margin-top: 10px; }
.lesson-next { margin-top: 16px; }
.compendium-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.compendium-grid > div { padding: 14px; border: 1px solid var(--line); background: #faf9ff; border-radius: 12px; }
.compendium-grid dl { margin: 8px 0 0; }
.compendium-grid dl > div + div { margin-top: 11px; }
.compendium-grid dt { color: var(--ink); font-weight: 750; }
.compendium-grid dd { margin: 3px 0 0; color: var(--muted); }
.compact-compendium { margin-block: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.work-scenario { padding: clamp(12px, 3vw, 22px); border: 1px solid var(--line); border-radius: 14px; background: var(--tint); }
.work-scenario label { display: block; margin: 12px 0 6px; font-weight: 700; }
.work-scenario select { width: 100%; min-height: 42px; padding: 8px; color: var(--ink); background: white; border: 1px solid #a497c9; border-radius: 8px; font: inherit; }
.work-scenario [role="status"]:not(:empty) { margin-top: 8px; color: var(--ink); }
.career-guide { margin-top: 17px; }
.career-photo { position: relative; margin: 15px 0; border-radius: 13px; overflow: hidden; background: #e9e6f2; }
.career-photo img { display: block; width: 100%; height: clamp(150px, 30vw, 320px); object-fit: cover; }
.career-photo figcaption { position: absolute; bottom: 0; right: 0; padding: 4px 8px; background: #151224df; color: white; font-size: .71rem; border-radius: 8px 0 0 0; }
.career-photo a, .source-note a { text-decoration: underline; text-underline-offset: 3px; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; padding: 0; margin: 17px 0 13px; list-style: none; }
.workflow li { position: relative; padding: 14px; border: 1px solid #e3dcfc; background: #faf9ff; border-radius: 12px; }
.workflow li:not(:last-child)::after { content: '→' / ''; position: absolute; top: calc(50% - 13px); right: -22px; width: 21px; color: var(--accent); text-align: center; font-weight: 800; }
.stage-label { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: .74rem; font-weight: 750; }
.workflow h3 { margin-bottom: 5px; font-size: 1.03rem; }
.workflow p, .source-note { font-size: .85rem; }
.source-note a { color: var(--accent-dark); }
.interview details, .case-study details { background: #f8f7fb; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; padding: 10px 12px; }
.interview summary, .case-study summary { color: var(--accent-dark); font-weight: 700; cursor: pointer; }
.interview details p { margin-top: 8px; }
.interview h3 { margin-top: 20px; }
.salary dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.salary dl div { padding: 10px 14px; border-radius: 9px; background: var(--tint); }
.salary dt { font-size: .78rem; color: var(--accent-dark); }
.salary dd { margin: 1px 0 0; font-weight: 800; }
.salary-source { display: block; font-size: .75rem; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.lesson-example, .case-study { margin: 17px 0; }
.lesson-example h2, .case-study h2 { margin-bottom: 6px; font-size: 1.2rem; }
.lesson-example p { white-space: pre-line; }
.case-study ul { margin: 7px 0; padding-left: 19px; }
.cash-scenario { padding: clamp(12px, 3vw, 22px); background: var(--tint); border: 1px solid var(--line); border-radius: 14px; }
.cash-scenario table { width: 100%; margin: 16px 0; border-collapse: collapse; text-align: left; font-size: .87rem; }
.cash-scenario caption { margin-bottom: 6px; text-align: left; font-weight: 750; }
.cash-scenario th, .cash-scenario td { padding: 8px 6px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.cash-scenario td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cash-scenario label { display: block; margin-bottom: 6px; font-weight: 700; }
.cash-scenario select { width: 100%; min-height: 42px; padding: 8px; color: var(--ink); background: white; border: 1px solid #a497c9; border-radius: 8px; font: inherit; }
.cash-scenario [role="status"] { margin: 8px 0 12px; color: var(--ink); font-weight: 700; }
.cash-scenario details p { margin-top: 8px; }
.levels { display: grid; gap: 15px; margin-top: 18px; }
.levels h3 { color: var(--accent-dark); font-size: .88rem; letter-spacing: 0; }
.levels .program { margin-top: 7px; }
.lesson-flow li { display: flex; align-items: center; gap: 8px; font-size: .86rem; }
.lesson-flow li span { display: grid; place-items: center; flex: 0 0 24px; height: 24px; background: var(--tint); border-radius: 7px; color: var(--accent-dark); }
.reading-wrap, .information { max-width: 870px; margin-inline: auto; }
.analyst-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 58px); align-items: center; padding: clamp(24px, 5vw, 62px); background: linear-gradient(140deg, #181530 0%, #2b2156 68%, #413078 100%); border-radius: 22px; color: white; }
.analyst-hero h1 { margin: .27em 0; }
.analyst-kicker { color: #e0d7ff; font-size: .82rem; font-weight: 700; }
.analyst-kicker span { margin-inline: 6px; color: #bba6ff; }
.analyst-lead { color: #ede9f9; max-width: 50ch; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.analyst-hero .hero-actions { margin-top: 22px; }
.analyst-hero .button:not(.outline) { color: #2b1959; background: #d9caff; }
.analyst-hero .button:not(.outline):hover { background: #e9deff; }
.analyst-hero-art { min-width: 0; margin: 0; padding: clamp(16px, 2.6vw, 28px); background: #ffffff10; border: 1px solid #ffffff2b; border-radius: 17px; }
.analyst-hero-art figcaption { margin-bottom: 12px; color: #e0d7ff; font-size: .8rem; font-weight: 750; }
.analyst-hero-art ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.analyst-hero-art li { display: flex; align-items: center; gap: 12px; padding: 10px; background: #2017448c; border-radius: 9px; }
.analyst-hero-art li > span { color: #dfd1ff; font-variant-numeric: tabular-nums; font-size: .8rem; font-weight: 700; }
.analyst-hero-art small { display: block; color: #e5ddf7; }
.analyst-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.analyst-jump a { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 13px; background: white; border: 1px solid var(--line); border-radius: 9px; color: var(--accent-dark); font-size: .88rem; font-weight: 700; }
.analyst-jump a:hover { background: var(--tint); }
.analyst-section + .analyst-section { margin-top: 18px; }
.analyst-section > p, .analyst-intro { margin-top: 12px; max-width: 70ch; }
.analyst-cards, .analyst-skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.analyst-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.analyst-cards > div, .analyst-skill-grid > div { padding: 16px; border: 1px solid var(--line); background: #faf9fe; border-radius: 12px; }
.analyst-cards dt, .analyst-skill-grid h3 { color: var(--accent-dark); font-size: 1.04rem; font-weight: 750; }
.analyst-cards dd { margin: 5px 0 0; color: var(--muted); }
.analyst-cards .text-link { display: inline-block; margin-top: 8px; }
.analyst-skill-grid ul { margin: 10px 0 0; padding-left: 1.15rem; color: var(--muted); }
.analyst-skill-grid li + li { margin-top: 6px; }
.skill-example { margin-top: 10px; }
.pro-access-code, .terms-paragraph { overflow-wrap: anywhere; }
.terms-paragraph { white-space: pre-line; }
.ads-placement:not([hidden]) { margin: 32px 0; text-align: center; }
.ads-placement p { color: var(--muted); font-size: .8rem; }
.ads-placement .adsbygoogle { display: block; min-height: 90px; }
.career-hero h1 { overflow-wrap: anywhere; font-size: clamp(2.15rem, 4vw, 3.9rem); }
.career-lesson-visual { margin: 16px 0; padding: 14px; background: #faf8ff; border: 1px solid #e7ddfd; border-radius: 13px; }
.career-lesson-visual figcaption { color: var(--accent-dark); font-weight: 750; margin-bottom: 8px; }
.career-lesson-visual ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.career-lesson-visual li { padding: 10px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.career-lesson-visual li small { display: block; font-size: .77rem; color: var(--muted); }
.career-lesson-visual li strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.analyst-reader { max-width: 970px; }
.analyst-reader #spis-lekcji { margin-top: 24px; }
.analyst-reader .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.analyst-reader .levels > section { min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: 10px; }
.analyst-reader .program-link { overflow-wrap: anywhere; }
.analyst-reader .lesson-body { max-width: 75ch; }
.analyst-downloads { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #faf9fe; }
.analyst-downloads summary, .analyst-lab summary { cursor: pointer; color: var(--accent-dark); font-weight: 750; }
.analyst-downloads p { margin-top: 8px; }
.analyst-downloads ul, .analyst-sources ul { padding-left: 1.2rem; }
.analyst-sources { margin-bottom: 18px; }
.analyst-lab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 18px 0; }
.analyst-lab details { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.analyst-lab details[open] summary { margin-bottom: 10px; }
.analyst-lab details > * + * { margin-top: 10px; }
.analyst-lab details li + li { margin-top: 7px; }
.analyst-data-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.analyst-table-scroll, .analyst-code { min-width: 0; border: 1px solid var(--line); border-radius: 11px; }
.analyst-table-scroll { overflow: auto; }
.analyst-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .89rem; font-variant-numeric: tabular-nums; }
.analyst-table caption { padding: 10px 12px; color: var(--accent-dark); background: #f4f1ff; text-align: left; font-weight: 750; }
.analyst-table th, .analyst-table td { padding: 7px 12px; white-space: nowrap; border-top: 1px solid var(--line); }
.analyst-table thead th, .analyst-table tfoot { background: #faf9fd; font-weight: 750; }
.analyst-code { background: #1c1930; color: #f2ecff; }
.analyst-code > div { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 4px 12px; border-bottom: 1px solid #ffffff26; color: #e1d2ff; font-size: .8rem; font-weight: 750; }
.analyst-code button { border: 1px solid #a997d0; border-radius: 7px; padding: 4px 8px; color: inherit; background: transparent; }
.analyst-code button:hover { background: #ffffff18; }
.analyst-code pre { margin: 0; padding: 12px; overflow: auto; line-height: 1.6; font-size: .86rem; }
.analyst-relation, .analyst-pivot-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.analyst-relation > span, .analyst-pivot-fields > span { padding: 7px 11px; background: #eeebff; color: var(--accent-dark); border-radius: 8px; font-size: .86rem; }
.analyst-relation small { display: block; }
.analyst-pivot-fields strong { margin-left: 5px; }
.analyst-report { border: 1px solid #e8dcbd; border-radius: 13px; background: #fffdf6; overflow: hidden; }
.analyst-report-title { padding: 14px 18px; background: #30280e; color: #fff1bc; }
.analyst-report-title > span { font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.analyst-report-title > strong { display: block; color: white; font-size: 1.35rem; }
.analyst-report-content { padding: clamp(12px, 2.2vw, 20px); }
.analyst-report-note { margin: 0; }
.analyst-filter { margin: 12px 0; }
.analyst-filter label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; }
.analyst-filter select { min-height: 40px; padding: 5px 10px; border-radius: 8px; border: 1px solid #a7966c; background: white; color: var(--ink); font: inherit; }
.analyst-report-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.analyst-report-kpis > div { padding: 9px 12px; border: 1px solid #e8dcbd; background: white; border-radius: 8px; }
.analyst-report-kpis dt, .analyst-chart dt { font-size: .84rem; font-weight: 650; }
.analyst-report-kpis dd { margin: 2px 0 0; font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 800; }
.analyst-chart { margin: 0; padding: 10px 12px; border: 1px solid #e8dcbd; background: white; border-radius: 8px; }
.analyst-chart figcaption { font-weight: 750; }
.analyst-chart figcaption span { display: block; color: var(--muted); font-size: .77rem; font-weight: 500; }
.analyst-chart dl { margin: 8px 0 0; display: grid; gap: 6px; }
.analyst-chart dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 8px; }
.analyst-chart dd { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; align-items: center; margin: 0; text-align: right; font-size: .84rem; }
.analyst-chart meter { width: 100%; min-width: 0; height: 19px; appearance: none; }
.analyst-chart meter::-webkit-meter-bar { background: #f7edcf; border: 0; border-radius: 4px; }
.analyst-chart meter::-webkit-meter-optimum-value { background: #a16b00; border-radius: 4px; }
.analyst-chart meter::-moz-meter-bar { background: #a16b00; border-radius: 4px; }
@media (max-width: 720px) {
  .analyst-hero, .analyst-cards, .analyst-skill-grid, .analyst-reader .levels { grid-template-columns: minmax(0, 1fr); }
  .analyst-jump { gap: 6px; }
  .analyst-jump a { padding-inline: 9px; }
  .analyst-table th, .analyst-table td { padding-inline: 8px; }
  .career-lesson-visual ol { grid-template-columns: minmax(0, 1fr); }
}
.information h2 { margin-top: 22px; }
.related-courses { margin-top: 14px; }
.dashboard-card .text-link { margin-top: 9px; font-size: .82rem; }
.ads-placement:not([hidden]) { min-height: 150px; margin-block: 28px; }
.course-directory { padding-top: 25px; }
.directory-intro { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 303px; align-items: center; overflow: hidden; border-radius: 23px; background: #211743; color: #fff; }
.directory-intro > div:first-child { z-index: 1; padding: clamp(22px, 4vw, 52px); }
.directory-intro h1 { margin: 8px 0 14px; font-size: clamp(2.45rem, 5.3vw, 4.7rem); line-height: .99; letter-spacing: -.055em; }
.directory-intro p { max-width: 405px; color: #e5dff9; }
.directory-intro .directory-kicker { font-size: .8rem; color: #d4c2ff; font-weight: 740; }
.directory-image { position: relative; align-self: stretch; isolation: isolate; display: grid; align-items: end; padding: 25px; }
.directory-image img, .directory-image::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.directory-image img { z-index: -2; object-fit: cover; object-position: center 46%; }
.directory-image::after { content: ''; z-index: -1; background: linear-gradient(90deg,#211743,transparent 45%), linear-gradient(0deg,#2117438c,transparent 56%); }
.directory-image-label { width: fit-content; padding: 10px 13px; margin-inline-start: auto; color: #fff; background: #24164be8; border: 1px solid #ffffff36; border-radius: 10px; }
.directory-image-label strong, .directory-image-label span { display: block; }
.directory-image-label span { color: #e5dff9; font-size: .76rem; }
.course-finder { position: relative; margin-top: 18px; }
.course-finder[aria-busy='true'] .finder-results { opacity: .55; }
.finder-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.finder-toolbar .search { flex: 1; max-width: 570px; }
.finder-sort { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #f1edf9; }
.finder-sort a { padding: 7px 10px; font-size: .82rem; font-weight: 680; color: var(--muted); border-radius: 7px; }
.finder-sort a.current { color: var(--accent-dark); background: #fff; box-shadow: 0 1px 4px #2b17421b; }
.finder-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.finder-filter { gap: 7px; }
.finder-filter > span { display: inline-grid; place-items: center; border-radius: 99px; min-width: 19px; height: 19px; padding-inline: 3px; background: #ede7fc; color: #4c33a4; font-size: .71rem; font-weight: 760; }
.finder-filter.selected > span { color: #fff; background: #ffffff35; }
.finder-filter:active, .finder-sort a:active { transform: scale(.96); }
.finder-results { transition: opacity .16s ease; }
.finder-results .results-head { margin: 22px 0 14px; }
.finder-results .results-head h2 { scroll-margin-top: 90px; }
.pending::before { content: ''; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: navigation; }
  ::view-transition-group(navigation) { animation-duration: .22s; }
  ::view-transition-old(root) { animation: leave .16s ease-in both; }
  ::view-transition-new(root) { animation: enter .24s ease-out both; }
  .hero-copy { animation: enter .45s ease-out both; }
  .sample-course { animation: sample-in .6s .06s cubic-bezier(.22,.8,.24,1) both; }
  .sample-note { animation: note-in .5s .22s cubic-bezier(.22,.8,.24,1) both; }
  .suggestions, .feedback, .interview details[open] p, .case-study details[open] ul { animation: enter .16s ease-out both; }
  .pending::before { animation: spin .8s linear infinite; }
  .finder-enter .role-card, .finder-enter > .empty { animation: finder-in .27s cubic-bezier(.2,.7,.3,1) backwards; }
  .finder-enter .role-card:nth-child(3n + 2) { animation-delay: 35ms; }
  .finder-enter .role-card:nth-child(3n + 3) { animation-delay: 70ms; }
}
@keyframes finder-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .role-card:has(h3 a):hover { transform: translateY(-3px); }
  .course-card:is(:hover, :focus-within) .course-cover img { transform: scale(1.05); }
  .course-card:has(.card-main):active { transform: scale(.985); }
}
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes leave { to { opacity: 0; } }
@keyframes sample-in { from { opacity: 0; transform: translateY(18px) rotate(-9deg) scale(.97); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes note-in { from { opacity: 0; transform: translateY(11px) rotate(8deg); } to { opacity: 1; transform: rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 42px); }
  .hero { gap: 23px; }
  .hero-visual { height: 330px; }
  .sample-course { width: 80%; }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .branch-picker { flex-basis: 100%; }
  .wrap { width: calc(100% - 32px); }
  .top-inner { height: 62px; gap: 8px; }
  .top .brand { gap: 6px; font-size: 1.06rem; }
  .top .mark { width: 30px; height: 30px; font-size: 1.2rem; }
  .top nav { gap: 8px; font-size: .77rem; white-space: nowrap; }
  .top .button.compact { min-height: 36px; padding: 7px 9px; font-size: .77rem; white-space: nowrap; }
  .top .nav-catalog { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 20px 0 28px; gap: 18px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.9rem); }
  .desktop-break { display: none; }
  .hero-visual { height: 264px; border-radius: 20px; }
  .sample-course { width: min(79%, 320px); padding: 14px; }
  .sample-note { bottom: 5%; right: 5%; }
  .section-head { flex-wrap: wrap; }
  .role-grid, .detail-grid, .lesson-layout, .compendium-grid { grid-template-columns: minmax(0, 1fr); }
  .role-card { min-height: 0; }
  .course-directory { padding-top: 14px; }
  .directory-intro { grid-template-columns: 1fr; min-height: auto; }
  .directory-intro h1 br { display: none; }
  .directory-image { min-height: 125px; padding: 10px 14px; }
  .directory-image img { object-position: center 42%; }
  .directory-image::after { background: linear-gradient(#211743,transparent 48%), linear-gradient(0deg,#2117438c,transparent 70%); }
  .finder-toolbar { align-items: start; flex-direction: column; }
  .finder-toolbar .search { width: 100%; }
  .finder-sort { align-self: flex-end; }
  .finder-filters { padding-top: 10px; }
  .lesson-layout > article { grid-row: 1; }
  .footer { margin-top: 35px; }
  .filters { flex-basis: 100%; }
  .workflow { grid-template-columns: minmax(0, 1fr); }
  .workflow li:not(:last-child)::after { top: auto; right: calc(50% - 10px); bottom: -23px; transform: rotate(90deg); }
}
@media (max-width: 360px) {
  .top .button.compact span { display: none; }
  .top .mark { width: 27px; height: 27px; }
  .search .button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
