/* Reading measure, navigation and touch controls are shared by all course families. */
body[data-screen-reader="course"] main {
  --path-ink: #1b1a18;
  --path-paper: #f7f5ef;
  --path-line: #c9c4b8;
  --path-accent: #ffc400;
  --path-width: 75rem;
  --path-gutter: clamp(1rem, 4vw, 2.5rem);
  --path-header: 0px;
  --path-bar: 88px;
}
body[data-screen-reader] main .path-shell {
  width:min(calc(100% - 2 * var(--path-gutter)),var(--path-width));
  margin-inline:auto;
}
body[data-screen-reader] main.wrap .path-shell {width:100%}
.path-content {min-width:0}
body[data-screen-reader] main :is(.path-map,.path-turn,.path-recommend,.path-extra) {
  box-sizing: border-box;
  inline-size: min(calc(100% - 2 * var(--path-gutter)), var(--path-width));
  margin-inline: auto;
}
body[data-screen-reader] main .path-map {
  display: block;
  position: sticky;
  top: var(--path-header);
  z-index: 8;
  background: var(--path-paper);
  color: var(--path-ink);
  border-block: 1px solid var(--path-line);
  padding: 5px 0 7px;
}
body[data-screen-reader] main .path-shell :is(.path-map,.path-turn,.path-chapter > .wrap,.path-extra,.path-recommend) {width:100%}
body[data-screen-reader] main .path-shell .path-chapter > :is(.dark,.yellow) > .wrap {width:calc(100% - 2 * var(--path-gutter))}
body[data-screen-reader] main .path-map .path-strip {padding:12px 0;margin:0;font-size:.875rem}
body[data-screen-reader] main .path-map .path-strip p {margin:0 0 8px}
body[data-screen-reader] .path-map-head,
body[data-screen-reader] .path-native-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}
body[data-screen-reader] .path-map-head > span {
  color: #58544d;
  font-size: .81rem;
  font-weight: 700;
}
body[data-screen-reader] main .path-view {
  min-height: 44px;
  padding: 5px 6px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--path-ink);
  font: 600 .875rem/1.3 Arial, sans-serif;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.path-view[hidden],.path-chapter[hidden] {display:none!important}
.path-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
body[data-screen-reader] .path-links a {
  display:flex; min-height:44px; align-items:center; gap:.6em;
  padding:6px 10px; text-decoration:none; color:var(--path-ink);
  border:0; border-radius:4px; font:700 .93rem/1.35 Arial,sans-serif;
}
.path-num {flex:none;white-space:nowrap;word-break:normal;color:#656055; font-size:.82rem; font-variant-numeric:tabular-nums}
body[data-screen-reader] .path-links a[aria-current="step"] {background:var(--path-ink);color:#fff}
.path-links [aria-current] .path-num {color:var(--path-accent)}
body[data-screen-reader] .path-links a:hover {text-decoration:underline;text-underline-offset:3px}
.path-select {display:none}
@media(min-width:1120px) {
  body[data-screen-reader] main .path-shell {
    display:grid;grid-template-columns:minmax(11.75rem,14rem) minmax(0,1fr);
    gap:clamp(24px,4vw,56px);align-items:start;
  }
  body[data-screen-reader] main .path-map {
    padding:12px 10px 16px;
    top:calc(var(--path-header) + 12px);
    border:1px solid var(--path-line);
    border-radius:4px;
  }
  body[data-screen-reader] .path-map-head {display:contents}
  body[data-screen-reader] .path-map-head > span {display:block;padding:4px 8px 10px}
  body[data-screen-reader] .path-map .path-view {text-align:left;padding-inline:8px}
  body[data-screen-reader] .path-links {grid-template-columns:minmax(0,1fr)}
}
body[data-screen-reader] main .path-chapter,
body[data-screen-reader] main .path-chapter [id] {
  scroll-margin-block-start:calc(var(--path-header) + var(--path-bar) + 12px);
}
@media(min-width:1120px) {
  body[data-screen-reader] main .path-shell .path-chapter,
  body[data-screen-reader] main .path-shell .path-chapter [id] {
    scroll-margin-block-start:calc(var(--path-header) + 16px);
  }
  body[data-screen-reader] main .path-chapter > :first-child.section {padding-top:4px}
}
.path-chapter {display:flow-root}
.path-chapter:focus:not(:focus-visible) {outline:none}
body[data-screen-reader] main .path-chapter :is(h2,h3)[tabindex="-1"]:focus {outline:none}
body[data-screen-reader] main .path-chapter > .wrap,
body[data-screen-reader] main .path-chapter > :is(.dark,.yellow) > .wrap,
body[data-screen-reader] main #site-step-0.wrap {
  width:min(calc(100% - 2 * var(--path-gutter)),var(--path-width));
  margin-inline:auto;
}
body[data-screen-reader] main .path-chapter :is(.section,.quiet-section) {
  padding-block:clamp(22px,4vw,46px);
}
body[data-screen-reader] main .path-chapter :is(p,ol,ul,textarea) {overflow-wrap:break-word}
body[data-screen-reader] main .path-chapter :is(p:not(.kicker,.learning-kicker,.eyebrow),textarea){max-inline-size:68ch}
body[data-screen-reader] main .path-chapter :is(h2,h3) {text-wrap:pretty;overflow-wrap:break-word}
body[data-screen-reader] main .path-chapter h2 {font-size:clamp(1.5rem,3.8vw,2.35rem);line-height:1.16}
body[data-screen-reader] main .path-chapter .path-primary-task {
  border-top:4px solid var(--path-accent);
}
body[data-screen-reader] main .path-chapter .path-primary-link {font-weight:700}
body[data-screen-reader] main .learning-field textarea {min-height:6rem;font-size:1rem}
body[data-screen-reader] main .learning-work .learning-scene {
  padding:clamp(14px,2.5vw,22px);
  border-left:4px solid var(--path-accent);
  background:#eee9dc;
}
body[data-screen-reader] main .path-extra {
  border:0;border-block:1px solid var(--path-line);margin-block:18px;
  padding:0; background:transparent; color:var(--path-ink);
}
body[data-screen-reader] main .path-extra > summary,
body[data-screen-reader] main .path-native-note > summary {
  min-height:48px;box-sizing:border-box;padding:14px 4px;cursor:pointer;
  font-weight:700;line-height:1.4;
}
body[data-screen-reader] main .path-extra > .wrap {width:100%;margin:0}
body[data-screen-reader] main .path-extra .journey-media .split {display:grid;grid-template-columns:minmax(0,1fr);gap:26px;max-width:48rem}
body[data-screen-reader] main .path-turn {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  border-top:1px solid var(--path-line);padding-block:16px 32px;
}
body[data-screen-reader] main :is(.path-prev,.path-next) {
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:48px;box-sizing:border-box;padding:10px 16px;border-radius:4px;
  font:700 1rem/1.35 Arial,sans-serif;color:var(--path-ink);text-decoration:none;
}
body[data-screen-reader] main .path-prev {padding-inline:4px;text-decoration:underline;text-underline-offset:4px}
body[data-screen-reader] main .path-next {background:var(--path-accent);border:1px solid #b48d08}
.path-turn .path-next {margin-inline-start:auto}
body[data-screen-reader] main .path-recommend {padding-top:22px}
body[data-screen-reader] main :is(.path-turn,.path-links,.path-map-head,.path-native-bar) :focus-visible {
  outline:3px solid #1669a0;outline-offset:2px;
}
body[data-screen-reader] main .path-chapter video {max-width:100%;height:auto}
body[data-screen-reader] main .path-chapter audio {width:min(100%,40rem)}
body[data-screen-reader] main .path-chapter img {max-width:100%}
html:has(body[data-screen-reader="course"]) {scroll-padding-block-start:0}
body[data-screen-reader] main #site-step-0,
body[data-screen-reader] main #ut-menu {scroll-margin-block-start:var(--path-header)}
@media(min-width:741px) {
  body[data-screen-reader="course"] main .path-chapter .lny-fej {
    display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:center;
    gap:clamp(16px,3vw,40px);
  }
  body[data-screen-reader="course"] main .path-chapter .lny-kep {width:100%;margin:0}
  body[data-screen-reader="course"] main .path-chapter .lny-kep img {width:100%;max-height:220px;height:auto;object-fit:contain}
}
@media(min-width:640px) and (max-width:1023px) {
  body[data-screen-reader="course"] main .path-chapter .lny-kartyak {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1024px) {
  body[data-screen-reader="course"] main .path-chapter .lny-kartyak:has(> li:nth-child(4):last-child) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
body[data-screen-reader] main .path-chapter .learning-actions {gap:12px}
body[data-lumina-id^="ertekesites-"] main .path-chapter > section,
body[data-lumina-id^="ertekesites-"] main .path-chapter > .finish {margin:0 auto;padding-block:clamp(22px,3vw,40px);max-width:var(--path-width)}
body[data-lumina-id^="ertekesites-"] main :is(.path-map,.path-turn) {width:min(100%,var(--path-width))}
body[data-screen-reader] main .path-native-bar {
  position:sticky;top:var(--path-header);z-index:7;
  background:var(--path-paper);color:var(--path-ink);
  margin:12px 0;min-height:52px;border-block:1px solid var(--path-line);
}
body[data-screen-reader] main .path-native-bar .mobile-step {display:flex;align-items:center;gap:8px;flex:1;margin:0}
body[data-screen-reader] main .path-native-bar select {font-size:1rem;min-width:0;max-width:100%;min-height:44px}
body[data-screen-reader] main .study-grid {grid-template-columns:minmax(0,1fr);gap:20px;max-width:var(--path-width);margin-inline:auto}
body[data-screen-reader] main .path-native-note {margin:0;padding:0;border-block:1px solid var(--path-line);background:transparent}
body[data-screen-reader] main .note-side {position:static;max-width:68ch}
body[data-screen-reader] main .station {max-width:var(--path-width);padding:clamp(16px,3vw,32px)}
body[data-screen-reader] main .station :is(p,textarea) {max-width:68ch}
body[data-screen-reader] main.path-all [data-panel][hidden] {display:block!important}
body[data-screen-reader] main .step-nav {display:none}
@media(min-width:1000px){
  body[data-screen-reader] main .step-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  body[data-screen-reader] main .path-native-bar .mobile-step {display:none}
  body[data-screen-reader] main .path-native-bar {justify-content:flex-end}
}
/* Max's authored learning engines keep their original chapter and exercise state. */
body[data-screen-reader] main :is(.ai-path-body,.lesson-body,.v5-course) :is(section,article) {
  min-width:0;overflow-wrap:break-word;
}
body[data-screen-reader] main :is(.ai-path-body,.lesson-body,.v5-course) :is(p,textarea) {max-inline-size:70ch}
body[data-screen-reader] main :is(.ai-path-body,.lesson-body,.v5-course) :is(textarea,input[type="text"],select) {max-width:100%;font-size:1rem}
body[data-screen-reader] main :is(.ai-path-body,.lesson-body,.v5-course) :is(video,audio,img) {max-width:100%}
@media(max-width:740px){
  .path-paged .path-links,.path-paged .path-map-head>span {display:none}
  body[data-screen-reader] .path-paged .path-select {
    display:block;flex:1;min-width:0;max-width:100%;height:46px;box-sizing:border-box;
    border:1px solid var(--path-line);border-radius:4px;padding:4px 3px;
    color:var(--path-ink);background:var(--path-paper);font:700 1rem/1.3 Arial,sans-serif;
  }
  body[data-screen-reader] .path-map-head {flex-wrap:nowrap;gap:6px}
  body[data-screen-reader] main .path-map {padding:6px 0}
  body[data-screen-reader] main .path-view {max-width:6.5rem;line-height:1.25}
  body[data-screen-reader] .path-links {grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-screen-reader] main .path-chapter :is(.split,.journey-voices,.lny-fej,.lny-dobozok,.app-row,.gallery,.principle-grid,.editorial-pair),
  body[data-screen-reader] main .station :is(.editorial-pair,.concept-grid,.request-grid,.rich-pair) {grid-template-columns:minmax(0,1fr)}
  body[data-screen-reader] main .path-native-bar .mobile-step {display:block}
  body[data-screen-reader] main .path-native-bar .mobile-step label {font-size:.8rem}
  body[data-screen-reader] main .path-chapter .lny-kep img {max-height:180px;object-fit:contain}
  body[data-screen-reader] main .journey-hero figure {margin:0}
  body[data-screen-reader] main .journey-hero .journey-image {max-height:180px;object-position:left}
}
@media(max-height:550px){body[data-screen-reader] main :is(.path-map,.path-native-bar) {position:static}}
@media print {
  body[data-screen-reader] main :is(.path-map,.path-turn,.path-native-bar) {display:none!important}
  body[data-screen-reader] main .path-chapter[hidden],body[data-screen-reader] main [data-panel][hidden] {display:block!important}
  body[data-screen-reader] main details::details-content {content-visibility:visible}
}
