/* Generated by scripts/build-spelling-css.py; edit the original CSS. */
.learning-components{
  --bg: #f6f3ec;
  --panel: #fffefa;
  --ink: #22211f;
  --muted: #68635c;
  --line: #ddd5c8;
  --accent: #1f7a6d;
  --accent-soft: #d9ebe7;
  --warn: #b85c38;
  --gold: #c9962d;
  --shadow: 0 16px 40px rgba(34, 33, 31, 0.08);
  --tibetan-font: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
}
@font-face{
  font-family: "Noto Serif Tibetan Local";
  src:
    url("../assets/fonts/NotoSerifTibetan-TibetanSubset.woff2") format("woff2"),
    url("../assets/fonts/NotoSerifTibetan-VariableFont_wght.ttf") format("truetype");
  font-display: block;
  unicode-range: U+0F00-0FFF, U+25CC;
}
:where(.learning-components) *{
  box-sizing: border-box;
}
:where(.learning-components) [hidden]{
  display: none !important;
}
.learning-components{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
:where(.learning-components) button{
  font: inherit;
}
:where(.learning-components) .app-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 20px;
}
:where(.learning-components) .eyebrow,:where(.learning-components) .small-label{
  margin: 0 0 6px;
  color: var(--warn);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:where(.learning-components) h1,:where(.learning-components) h2,:where(.learning-components) h3,:where(.learning-components) p{
  overflow-wrap: anywhere;
}
:where(.learning-components) h1{
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1;
}
:where(.learning-components) .summary{
  min-width: 112px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 800;
}
:where(.learning-components) .summary small{
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
:where(.learning-components) .sync-status{
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
:where(.learning-components) .sync-status[data-state="synced"]{
  color: var(--accent);
}
:where(.learning-components) .sync-status[data-state="local"]{
  color: var(--muted);
}
:where(.learning-components) .sync-status[data-state="failed"]{
  color: var(--warn);
}
:where(.learning-components) .tabs{
  display: flex;
  gap: 8px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .tab{
  min-width: 92px;
  min-height: 42px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}
:where(.learning-components) .tab.active{
  border-color: var(--accent);
  color: var(--ink);
}
:where(.learning-components) .view{
  display: none;
}
:where(.learning-components) .view.active{
  display: block;
}
:where(.learning-components) .section-title{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 18px;
}
:where(.learning-components) .section-title h2{
  margin: 0;
  font-size: 28px;
}
:where(.learning-components) .section-title p{
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}
:where(.learning-components) .subsection-title{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 12px;
}
:where(.learning-components) .subsection-title h3,:where(.learning-components) .subsection-title p{
  margin: 0;
}
:where(.learning-components) .subsection-title h3{
  font-size: 22px;
}
:where(.learning-components) .subsection-title p{
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}
:where(.learning-components) .source-panel{
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}
:where(.learning-components) .source-panel strong{
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
:where(.learning-components) .source-panel p{
  margin: 0;
}
:where(.learning-components) .source-panel code{
  color: var(--warn);
  font-size: 0.95em;
}
:where(.learning-components) .study-card{
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
:where(.learning-components) .syllabus-summary{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--panel);
}
:where(.learning-components) .syllabus-summary > div{
  display: grid;
  min-width: 108px;
}
:where(.learning-components) .syllabus-summary strong{
  font-size: 22px;
}
:where(.learning-components) .syllabus-summary small,:where(.learning-components) .syllabus-summary p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}
:where(.learning-components) .syllabus-timeline{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .timeline-step{
  position: relative;
  min-width: 0;
  padding: 16px 14px 16px 18px;
  border-right: 1px solid var(--line);
}
:where(.learning-components) .timeline-step:last-child{
  border-right: 0;
}
:where(.learning-components) .timeline-step::before{
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
:where(.learning-components) .timeline-step[data-state="missing"]::before{
  background: var(--gold);
}
:where(.learning-components) .timeline-step span,:where(.learning-components) .timeline-step strong,:where(.learning-components) .timeline-step p{
  display: block;
}
:where(.learning-components) .timeline-step span{
  color: var(--warn);
  font-size: 11px;
  font-weight: 780;
}
:where(.learning-components) .timeline-step strong{
  margin: 3px 0 5px;
  font-size: 14px;
}
:where(.learning-components) .timeline-step p{
  margin: 0;
  color: var(--muted);
  font-family: var(--tibetan-font), sans-serif;
  font-size: 12px;
  line-height: 1.45;
}
:where(.learning-components) .syllabus-node-list{
  display: grid;
  gap: 28px;
}
:where(.learning-components) .syllabus-unit{
  overflow: hidden;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
:where(.learning-components) .syllabus-unit:last-child{
  border-top-color: var(--gold);
}
:where(.learning-components) .syllabus-unit-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
:where(.learning-components) .syllabus-unit-heading h3,:where(.learning-components) .syllabus-unit-heading p{
  margin: 0;
}
:where(.learning-components) .syllabus-unit-heading > div:first-child > span{
  color: var(--warn);
  font-size: 11px;
  font-weight: 780;
}
:where(.learning-components) .syllabus-unit-heading h3{
  margin-top: 2px;
  font-size: 20px;
}
:where(.learning-components) .syllabus-unit-meta{
  display: grid;
  justify-items: end;
  max-width: 620px;
  text-align: right;
}
:where(.learning-components) .syllabus-unit-heading-side{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
:where(.learning-components) .syllabus-unit-toggle{
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .syllabus-unit-toggle:hover,:where(.learning-components) .syllabus-unit-toggle:focus-visible{
  border-color: var(--accent);
  color: var(--accent);
}
:where(.learning-components) .syllabus-unit-toggle-icon{
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
:where(.learning-components) .syllabus-unit-toggle .sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:where(.learning-components) .syllabus-unit[data-collapsed="true"] .syllabus-unit-toggle-icon{
  transform: translateX(-2px) rotate(-45deg);
}
:where(.learning-components) .syllabus-unit[data-collapsed="true"] .syllabus-unit-heading{
  border-bottom: 0;
}
:where(.learning-components) .syllabus-unit-heading p{
  color: var(--muted);
  font-size: 13px;
}
:where(.learning-components) .syllabus-unit-meta strong{
  color: var(--accent);
  font-size: 12px;
}
:where(.learning-components) .syllabus-node{
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .syllabus-node:last-child{
  border-bottom: 0;
}
:where(.learning-components) .syllabus-node-index{
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
:where(.learning-components) .syllabus-node[data-status="mastered"] .syllabus-node-index{
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}
:where(.learning-components) .syllabus-node[data-status="progress"] .syllabus-node-index,:where(.learning-components) .syllabus-node[data-status="review"] .syllabus-node-index{
  border-color: var(--gold);
  background: #f4dfac;
}
:where(.learning-components) .syllabus-node[data-status="missing"]{
  background: #f4f1eb;
}
:where(.learning-components) .syllabus-node-copy{
  display: grid;
  gap: 4px;
  min-width: 0;
  font-family: var(--tibetan-font), sans-serif;
}
:where(.learning-components) .syllabus-node-title{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
:where(.learning-components) .syllabus-node-title > span{
  color: var(--warn);
  font-size: 11px;
  font-weight: 780;
}
:where(.learning-components) .syllabus-node-title h4{
  margin: 0;
  font-size: 17px;
}
:where(.learning-components) .syllabus-status{
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}
:where(.learning-components) .syllabus-node[data-status="mastered"] .syllabus-status{
  border-color: var(--accent);
  color: var(--accent);
}
:where(.learning-components) .syllabus-node[data-status="progress"] .syllabus-status,:where(.learning-components) .syllabus-node[data-status="review"] .syllabus-status{
  border-color: var(--gold);
  color: #7a5714;
}
:where(.learning-components) .syllabus-node-copy p,:where(.learning-components) .syllabus-node-copy small{
  margin: 0;
}
:where(.learning-components) .syllabus-node-copy p{
  color: var(--ink);
  font-size: 14px;
}
:where(.learning-components) .syllabus-node-copy small{
  color: var(--muted);
  font-size: 12px;
}
:where(.learning-components) .syllabus-result{
  font-weight: 720;
}
:where(.learning-components) .syllabus-node-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 8px;
}
:where(.learning-components) .syllabus-node-actions .text-button{
  min-height: 38px;
  padding: 0 12px;
}
:where(.learning-components) .syllabus-routine{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--accent-soft);
}
:where(.learning-components) .syllabus-routine > div{
  display: grid;
  gap: 3px;
  min-width: 0;
}
:where(.learning-components) .syllabus-routine span{
  color: var(--warn);
  font-size: 11px;
  font-weight: 780;
}
:where(.learning-components) .syllabus-routine strong{
  font-size: 16px;
}
:where(.learning-components) .syllabus-routine p,:where(.learning-components) .syllabus-routine small{
  margin: 0;
}
:where(.learning-components) .syllabus-routine p{
  color: var(--ink);
  font-size: 13px;
}
:where(.learning-components) .syllabus-routine small{
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
}
:where(.learning-components) .syllabus-routine .text-button{
  min-width: 104px;
  min-height: 38px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
:where(.learning-components) .syllabus-validate-button:not(:disabled){
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
:where(.learning-components) .syllabus-node-actions .text-button:disabled{
  cursor: not-allowed;
  opacity: 0.6;
}
:where(.learning-components) .validation-banner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(620px, 100%);
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
}
:where(.learning-components) .validation-banner[data-state="failed"]{
  border-color: var(--warn);
  background: #f7e1d7;
}
:where(.learning-components) .validation-banner > div{
  display: grid;
  gap: 2px;
}
:where(.learning-components) .validation-banner span{
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
:where(.learning-components) .validation-banner .text-button{
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}
:where(.learning-components) .learn-toolbar{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: min(760px, 100%);
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 254 250 / 70%);
}
:where(.learning-components) .learn-toolbar-label{
  margin: 0 4px 0 0;
}
:where(.learning-components) .learn-section-tabs{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  width: min(760px, 100%);
  margin-bottom: 10px;
}
:where(.learning-components) .learn-section{
  display: none;
}
:where(.learning-components) .learn-section.active{
  display: block;
}
:where(.learning-components) .return-practice{
  min-height: 38px;
  padding: 0 12px;
}
:where(.learning-components) .learn-practice-shortcut{
  min-height: 38px;
  margin-left: auto;
  padding: 0 16px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
:where(.learning-components) .learn-practice-shortcut:hover{
  background: var(--accent);
  color: #fff;
}
:where(.learning-components) .toggle-control{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
}
:where(.learning-components) .toggle-control input{
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
:where(.learning-components) .compact-only-control{
  display: none;
}
:where(.learning-components) .segmented-control.compact-only-control{
  display: none;
}
:where(.learning-components) .compact-cards .compact-only-control{
  display: inline-flex;
}
:where(.learning-components) .compact-cards .segmented-control.compact-only-control{
  display: inline-grid;
}
:where(.learning-components) .compact-cards #vocabularyCompactModeControl{
  display: none;
}
:where(.learning-components) .compact-cards.learn-vocabulary-active #vocabularyCompactModeControl{
  display: inline-grid;
}
:where(.learning-components) .segmented-control{
  display: inline-grid;
  grid-auto-flow: column;
  gap: 0;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
:where(.learning-components) .segmented-button{
  min-width: 66px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}
:where(.learning-components) .segmented-button:last-child{
  border-right: 0;
}
:where(.learning-components) .segmented-button.active{
  background: var(--accent-soft);
  color: var(--ink);
}
:where(.learning-components) .vowel-panel h3,:where(.learning-components) .vowel-panel p{
  margin: 0;
}
:where(.learning-components) .vowel-panel p{
  color: var(--muted);
  font-size: 14px;
}
:where(.learning-components) .vowel-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
:where(.learning-components) .vowel-card{
  min-height: 220px;
}
:where(.learning-components) .vowel-sign{
  padding-top: 18px;
  width: auto;
}
:where(.learning-components) .vowel-position{
  margin: 0;
}
:where(.learning-components) .vowel-audio-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
:where(.learning-components) .vowel-audio{
  min-height: 34px;
  font-size: 13px;
}
:where(.learning-components) .card-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
:where(.learning-components) .related-vocabulary{
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 56px;
}
:where(.learning-components) .related-vocabulary.is-empty{
  visibility: hidden;
}
:where(.learning-components) .related-vocabulary > small{
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}
:where(.learning-components) .related-vocabulary-list{
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
:where(.learning-components) .vocabulary-link{
  display: grid;
  grid-template-columns: auto 1fr;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-width: 124px;
  min-height: 44px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .vocabulary-link-tibetan{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 20px;
}
:where(.learning-components) .vocabulary-link-copy{
  display: grid;
  justify-items: start;
  line-height: 1.25;
}
:where(.learning-components) .vocabulary-link-copy strong{
  color: var(--accent);
  font-size: 10px;
}
:where(.learning-components) .vocabulary-link-copy small{
  color: var(--muted);
  font-size: 10px;
}
:where(.learning-components) .letter-labels{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}
:where(.learning-components) .letter-labels.is-empty{
  visibility: hidden;
}
:where(.learning-components) .letter-labels span{
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}
:where(.learning-components) .vocabulary-title{
  margin-top: 34px;
}
:where(.learning-components) .vocabulary-grid{
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
:where(.learning-components) .vocabulary-learn-filters{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 254 250 / 70%);
}
:where(.learning-components) .vocabulary-learn-filter{
  display: grid;
  gap: 7px;
}
:where(.learning-components) .vocabulary-learn-filter .small-label{
  margin: 0;
}
:where(.learning-components) .vocabulary-learn-unit-row,:where(.learning-components) .vocabulary-learn-group-row{
  display: grid;
  gap: 6px;
}
:where(.learning-components) .vocabulary-learn-unit-row{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(.learning-components) .vocabulary-learn-group-row{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(.learning-components) .vocabulary-active-heading{
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 2px 0 4px;
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .vocabulary-active-heading:first-child{
  margin-top: 0;
}
:where(.learning-components) .vocabulary-active-heading h4,:where(.learning-components) .vocabulary-active-heading p{
  margin: 0;
}
:where(.learning-components) .vocabulary-active-heading h4{
  font-size: 18px;
}
:where(.learning-components) .vocabulary-active-heading p,:where(.learning-components) .vocabulary-active-heading span{
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
:where(.learning-components) .vocabulary-active-heading span{
  white-space: nowrap;
}
:where(.learning-components) .vocabulary-card{
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
}
:where(.learning-components) .vocabulary-source-label{
  justify-self: start;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
}
:where(.learning-components) .vocabulary-card[data-vocabulary-source="core"] .vocabulary-source-label{
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
:where(.learning-components) .vocabulary-card[data-vocabulary-source="derived"] .vocabulary-source-label{
  border-color: #8ba59b;
  background: #edf5f1;
  color: #486b60;
}
:where(.learning-components) .vocabulary-main{
  display: grid;
  gap: 2px;
}
:where(.learning-components) .vocabulary-tibetan{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 34px;
  line-height: 1.2;
}
:where(.learning-components) .vocabulary-pronunciation{
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}
:where(.learning-components) .vocabulary-meaning{
  display: -webkit-box;
  min-height: 35px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}
:where(.learning-components) .vocabulary-wylie{
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}
:where(.learning-components) .vocabulary-audio-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-height: 32px;
}
:where(.learning-components) .vocabulary-audio-row.has-spelling-audio{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(.learning-components) .vocabulary-audio-button{
  width: 100%;
  min-height: 32px;
  font-size: 12px;
}
:where(.learning-components) .tone-change-list{
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
:where(.learning-components) .tone-change-list > span{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}
:where(.learning-components) .tone-change-list strong{
  color: var(--warn);
}
:where(.learning-components) .tone-original{
  color: var(--muted);
}
:where(.learning-components) .vocabulary-note{
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
:where(.learning-components) .vocabulary-letter-links{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
:where(.learning-components) .vocabulary-letter-links button{
  min-width: 30px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 16px;
}
:where(.learning-components) .vocabulary-card.is-highlighted{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
:where(.learning-components) .postscript-rule-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
:where(.learning-components) .postscript-mode-row,:where(.learning-components) .postscript-series-tabs{
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
:where(.learning-components) .postscript-mode-row{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(420px, 100%);
}
:where(.learning-components) .postscript-series-tabs{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(520px, 100%);
}
:where(.learning-components) .postscript-series-tabs .mode-button{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 21px;
}
:where(.learning-components) .postscript-panel[hidden]{
  display: none;
}
:where(.learning-components) .compact-subsection-title{
  margin-bottom: 12px;
}
:where(.learning-components) .postscript-vowel-title{
  margin-top: 28px;
}
:where(.learning-components) .postscript-card{
  grid-template-rows: 62px minmax(0, 1fr) 52px 28px;
  align-content: stretch;
  min-height: 188px;
  padding: 14px;
}
:where(.learning-components) .postscript-card .tibetan-letter{
  min-height: 62px;
  font-size: 52px;
}
:where(.learning-components) .postscript-rule-copy{
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
:where(.learning-components) .postscript-rule-copy strong{
  color: var(--ink);
  font-size: 14px;
}
:where(.learning-components) .postscript-examples{
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-height: 52px;
  min-width: 0;
  overflow-x: auto;
}
:where(.learning-components) .postscript-examples.is-empty{
  visibility: hidden;
}
:where(.learning-components) .postscript-examples button{
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
  gap: 1px;
  min-width: 78px;
  height: 48px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .postscript-card > .letter-labels{
  align-items: flex-start;
  justify-self: start;
  width: max-content;
}
:where(.learning-components) .postscript-card > .letter-labels span{
  flex: 0 0 auto;
}
:where(.learning-components) .postscript-examples span{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 20px;
  line-height: 1.25;
}
:where(.learning-components) .postscript-examples small{
  color: var(--muted);
  font-size: 10px;
}
:where(.learning-components) .postscript-series-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(.learning-components) .postscript-syllable-chip.is-highlighted{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
:where(.learning-components) .letter-card{
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 18px;
}
:where(.learning-components) .letter-top{
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
:where(.learning-components) .tibetan-letter{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 68px;
  line-height: 1.2;
}
:where(.learning-components) .status-select{
  min-width: 88px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
:where(.learning-components) .latin{
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}
:where(.learning-components) .latin span{
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
:where(.learning-components) .forms-row{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .vowel-forms-row{
  grid-template-columns: minmax(0, 1fr);
}
:where(.learning-components) .form-chip{
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 82px;
  padding: 18px 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
:where(.learning-components) .form-letter{
  display: block;
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 28px;
  min-height: 44px;
  line-height: 1.35;
}
:where(.learning-components) .form-chip small{
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}
:where(.learning-components) .form-chip.has-audio{
  cursor: pointer;
}
:where(.learning-components) .form-chip.has-audio:hover{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .spelling-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
:where(.learning-components) .spelling-chip{
  min-height: 96px;
  padding: 16px 4px 8px;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .spelling-chip:hover{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .spelling-chip.is-pending{
  cursor: default;
  opacity: 0.72;
}
:where(.learning-components) .spelling-chip.is-pending:hover{
  border-color: var(--line);
  background: #fff;
}
:where(.learning-components) .letter-card.is-highlighted{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
:where(.learning-components) .tag-row{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
:where(.learning-components) .tag{
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}
:where(.learning-components) .compact-cards .card-grid,:where(.learning-components) .compact-cards .vowel-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
:where(.learning-components) .compact-cards .vocabulary-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .compact-cards .vocabulary-active-heading{
  margin-top: 10px;
  padding-bottom: 2px;
}
:where(.learning-components) .compact-cards .vocabulary-card{
  align-content: center;
  justify-items: center;
  min-height: 74px;
  gap: 2px;
  padding: 8px 2px 5px;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  text-align: center;
}
:where(.learning-components) .compact-cards .vocabulary-card.has-compact-audio{
  cursor: pointer;
}
:where(.learning-components) .compact-cards .vocabulary-card.has-compact-audio:active{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .compact-cards .vocabulary-main{
  display: block;
  width: 100%;
}
:where(.learning-components) .compact-cards .vocabulary-tibetan{
  font-size: 28px;
  line-height: 1.18;
}
:where(.learning-components) .compact-cards .vocabulary-meaning{
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(.learning-components) .compact-cards.vocabulary-compact-tibetan-only .vocabulary-card{
  min-height: 62px;
}
:where(.learning-components) .compact-cards.vocabulary-compact-tibetan-only .vocabulary-meaning{
  display: none;
}
:where(.learning-components) .compact-cards .vocabulary-pronunciation,:where(.learning-components) .compact-cards .vocabulary-source-label,:where(.learning-components) .compact-cards .vocabulary-wylie,:where(.learning-components) .compact-cards .vocabulary-audio-row,:where(.learning-components) .compact-cards .tone-change-list,:where(.learning-components) .compact-cards .vocabulary-note,:where(.learning-components) .compact-cards .vocabulary-letter-links{
  display: none;
}
:where(.learning-components) .compact-cards .letter-card{
  align-content: center;
  justify-items: center;
  min-height: 86px;
  gap: 2px;
  padding: 14px 2px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  text-align: center;
}
:where(.learning-components) .compact-cards .letter-card.has-compact-audio{
  cursor: pointer;
}
:where(.learning-components) .compact-cards .letter-card.has-compact-audio:active{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .compact-cards .letter-top{
  display: block;
  width: 100%;
}
:where(.learning-components) .compact-cards .tibetan-letter{
  min-height: 48px;
  font-size: 40px;
  line-height: 1.15;
}
:where(.learning-components) .compact-cards .latin{
  font-size: 13px;
  line-height: 1.15;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .letter-card{
  min-height: 76px;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .latin{
  display: none;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .spelling-chip{
  min-height: 76px;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .spelling-chip small{
  display: none;
}
:where(.learning-components) .compact-cards .audio-button,:where(.learning-components) .compact-cards .status-select,:where(.learning-components) .compact-cards .vowel-position,:where(.learning-components) .compact-cards .vowel-audio-row,:where(.learning-components) .compact-cards .forms-row{
  display: none;
}
:where(.learning-components) .compact-cards .related-vocabulary{
  display: none;
}
:where(.learning-components) .compact-cards .letter-labels{
  display: none;
}
:where(.learning-components) .subscript-mode-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
  margin-bottom: 18px;
}
:where(.learning-components) .subscript-panel[hidden]{
  display: none;
}
:where(.learning-components) .subscript-rule-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
:where(.learning-components) .subscript-combination-list{
  display: grid;
  gap: 20px;
}
:where(.learning-components) .subscript-combination-group{
  display: grid;
  gap: 9px;
  width: min(760px, 100%);
  min-width: 0;
}
:where(.learning-components) .subscript-combination-heading{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .subscript-combination-heading > div{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
}
:where(.learning-components) .subscript-combination-heading strong{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 21px;
}
:where(.learning-components) .subscript-combination-heading span,:where(.learning-components) .subscript-combination-heading small{
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}
:where(.learning-components) .subscript-combination-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
:where(.learning-components) .subscript-combination-chip{
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  min-width: 0;
  min-height: 78px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
:where(.learning-components) .subscript-combination-chip span{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 30px;
  line-height: 1.25;
}
:where(.learning-components) .subscript-combination-chip small{
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}
:where(.learning-components) .subscript-rule-card{
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}
:where(.learning-components) .subscript-rule-card > p,:where(.learning-components) .subscript-rule-card > small{
  margin: 0;
}
:where(.learning-components) .subscript-rule-card > p{
  color: var(--ink);
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.45;
}
:where(.learning-components) .subscript-rule-card > small{
  color: var(--muted);
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
:where(.learning-components) .subscript-rule-heading{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
:where(.learning-components) .subscript-rule-heading > div{
  display: grid;
  gap: 3px;
}
:where(.learning-components) .subscript-rule-heading strong{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 22px;
}
:where(.learning-components) .subscript-rule-heading span{
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}
:where(.learning-components) .subscript-rule-letter{
  color: var(--ink) !important;
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 52px !important;
  line-height: 1.2;
}
:where(.learning-components) .subscript-outcomes{
  display: grid;
  gap: 5px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
:where(.learning-components) .subscript-outcomes > div{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}
:where(.learning-components) .subscript-outcomes span{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 18px;
}
:where(.learning-components) .subscript-outcomes strong{
  color: var(--accent);
  font-size: 12px;
  text-align: right;
}
:where(.learning-components) .subscript-examples{
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
}
:where(.learning-components) .subscript-examples button{
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
  gap: 1px;
  min-width: 96px;
  min-height: 46px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .subscript-examples span{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 20px;
}
:where(.learning-components) .subscript-examples small{
  color: var(--muted);
  font-size: 10px;
}
:where(.learning-components) .subscript-spelling-chip .form-letter{
  font-size: 24px;
}
:where(.learning-components) .subscript-rule-card.is-highlighted,:where(.learning-components) .subscript-combination-chip.is-highlighted,:where(.learning-components) .subscript-spelling-chip.is-highlighted{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 720px){:where(.learning-components) .subscript-rule-grid{
    grid-template-columns: minmax(0, 1fr);
  }}
:where(.learning-components) .superscript-mode-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
:where(.learning-components) .superscript-overview{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 18px;
  margin-bottom: 16px;
  border-block: 1px solid var(--line);
  padding: 14px 0;
}
:where(.learning-components) .superscript-overview-group,:where(.learning-components) .superscript-token-group{
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}
:where(.learning-components) .superscript-overview-group > strong,:where(.learning-components) .superscript-token-group > strong{
  font-size: 0.8rem;
  color: var(--muted);
}
:where(.learning-components) .superscript-letter-list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .prescript-letter-list{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
:where(.learning-components) .superscript-letter-list button,:where(.learning-components) .superscript-token-group > div{
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
:where(.learning-components) .superscript-letter-list button{
  cursor: pointer;
}
:where(.learning-components) .superscript-letter-list button:hover{
  border-color: var(--accent);
}
:where(.learning-components) .superscript-letter-list .form-letter,:where(.learning-components) .superscript-token-group .form-letter{
  font-size: 1.35rem;
}
:where(.learning-components) .superscript-letter-list small,:where(.learning-components) .superscript-token-group small{
  color: var(--muted);
}
:where(.learning-components) .superscript-shape-note{
  display: grid;
  gap: 7px;
  padding-top: 4px;
}
:where(.learning-components) .superscript-shape-note > span{
  font-size: 0.78rem;
  color: var(--muted);
}
:where(.learning-components) .superscript-shape-note p{
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
:where(.learning-components) .superscript-shape-examples{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .superscript-shape-examples > span{
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
:where(.learning-components) .superscript-shape-examples .form-letter{
  font-size: 1.18rem;
}
:where(.learning-components) .superscript-shape-examples b{
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}
:where(.learning-components) .superscript-shape-examples small{
  color: var(--accent);
}
:where(.learning-components) .superscript-token-group p{
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
:where(.learning-components) .superscript-rule-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
:where(.learning-components) .superscript-rule-card{
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}
:where(.learning-components) .superscript-rule-card header{
  display: grid;
  gap: 5px;
}
:where(.learning-components) .superscript-rule-card h4,:where(.learning-components) .superscript-rule-card p{
  margin: 0;
}
:where(.learning-components) .superscript-rule-card h4{
  font-size: 1rem;
}
:where(.learning-components) .superscript-rule-card p{
  color: var(--muted);
  line-height: 1.55;
}
:where(.learning-components) .superscript-base-row{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .superscript-base-row .form-chip{
  min-height: 48px;
  padding: 5px;
}
:where(.learning-components) .superscript-base-row .form-letter{
  font-size: 1.45rem;
}
:where(.learning-components) .superscript-mapping-list{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
:where(.learning-components) .superscript-mapping-list span{
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 5px 7px;
  font-size: 0.76rem;
  color: var(--muted);
}
:where(.learning-components) .superscript-spelling-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
:where(.learning-components) .superscript-spelling-detail{
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px 16px;
}
:where(.learning-components) .superscript-detail-heading{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}
:where(.learning-components) .superscript-detail-heading .form-letter{
  font-size: 1.8rem;
}
:where(.learning-components) .superscript-detail-heading span,:where(.learning-components) .superscript-spelling-detail p{
  color: var(--muted);
}
:where(.learning-components) .superscript-spelling-detail p{
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.6;
}
:where(.learning-components) .superscript-spelling-card{
  display: grid;
  grid-template-rows: minmax(52px, auto) auto auto;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 112px;
  padding: 9px 7px;
  text-align: center;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .superscript-spelling-card.active{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .superscript-spelling-card .form-letter{
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 1.5rem;
  line-height: 1.25;
}
:where(.learning-components) .superscript-spelling-card small,:where(.learning-components) .superscript-spelling-card > span:last-child{
  font-size: 0.75rem;
  color: var(--muted);
}
:where(.learning-components) .compact-cards .superscript-spelling-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
:where(.learning-components) .compact-cards .superscript-spelling-card{
  grid-template-rows: minmax(38px, auto) auto auto;
  min-height: 76px;
  padding: 6px 3px;
}
:where(.learning-components) .compact-cards .superscript-spelling-card .form-letter{
  font-size: 1.25rem;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .superscript-spelling-card{
  grid-template-rows: minmax(42px, auto) auto;
  min-height: 68px;
}
:where(.learning-components) .compact-cards.hide-compact-pronunciation .superscript-spelling-card small{
  display: none;
}
@media (max-width: 720px){:where(.learning-components) .superscript-overview{
    grid-template-columns: 1fr;
    gap: 12px;
  }
:where(.learning-components) .superscript-rule-grid{
    grid-template-columns: 1fr;
  }
:where(.learning-components) .superscript-spelling-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .prescript-letter-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
:where(.learning-components) .quiz-panel{
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
:where(.learning-components) .practice-control-group{
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
}
:where(.learning-components) .quiz-panel.is-validating > .practice-control-group,:where(.learning-components) .quiz-panel.is-validating > .practice-subpanel,:where(.learning-components) .quiz-panel.is-validating .flashcard-direction-row,:where(.learning-components) .quiz-panel.is-validating .writing-mode-row{
  display: none;
}
:where(.learning-components) .quiz-panel.is-validation-complete > :not(.validation-banner){
  display: none !important;
}
:where(.learning-components) .practice-control-group .small-label{
  margin: 0;
}
:where(.learning-components) .practice-subpanel{
  display: grid;
  width: min(620px, 100%);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}
:where(.learning-components) .practice-subpanel-title{
  display: grid;
  gap: 2px;
  color: var(--ink);
}
:where(.learning-components) .practice-subpanel-title strong{
  font-size: 15px;
}
:where(.learning-components) .practice-subpanel-title span{
  color: var(--muted);
  font-size: 13px;
}
:where(.learning-components) .practice-subpanel .practice-control-group{
  width: 100%;
}
:where(.learning-components) .mode-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
}
:where(.learning-components) .practice-type-row{
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
}
:where(.learning-components) .flashcard{
  display: grid;
  width: min(520px, 100%);
  min-height: 280px;
  padding: 28px;
  color: var(--ink);
  cursor: pointer;
}
:where(.learning-components) .flashcard-direction-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
}
:where(.learning-components) .flashcard-face{
  place-self: center;
  width: 100%;
}
:where(.learning-components) .flashcard-face[hidden],:where(.learning-components) .flashcard-actions[hidden]{
  display: none;
}
:where(.learning-components) .flashcard-front{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: clamp(72px, 14vw, 132px);
  line-height: 1.35;
}
:where(.learning-components) .flashcard-front.is-meaning{
  font-family: inherit;
  font-size: clamp(34px, 8vw, 58px);
  font-weight: 800;
}
:where(.learning-components) .flashcard-back{
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-weight: 760;
}
:where(.learning-components) .flashcard-back .flashcard-answer{
  color: var(--accent);
  font-size: 24px;
}
:where(.learning-components) .flashcard-back .flashcard-tibetan-answer{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: clamp(62px, 12vw, 108px);
  line-height: 1.35;
}
:where(.learning-components) .flashcard-actions,:where(.learning-components) .writing-mode-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
}
:where(.learning-components) .write-reference{
  display: grid;
  justify-items: center;
  position: relative;
}
:where(.learning-components) .write-card.is-dictation:not(.is-answer-visible) .write-letter,:where(.learning-components) .write-card.is-dictation:not(.is-answer-visible) #writeHint{
  visibility: hidden;
}
:where(.learning-components) .write-pronunciation-prompt{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
:where(.learning-components) .write-prompt-meaning{
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
:where(.learning-components) .write-audio-button{
  width: 100%;
}
:where(.learning-components) .practice-scope-row{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
:where(.learning-components) .vocabulary-unit-row,:where(.learning-components) .vocabulary-group-row{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
}
:where(.learning-components) .mode-button{
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}
:where(.learning-components) .mode-button.active{
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
:where(.learning-components) .streak-row{
  display: flex;
  justify-content: center;
  gap: 14px;
  width: min(520px, 100%);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
:where(.learning-components) .streak-row span{
  min-width: 120px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
:where(.learning-components) .streak-row strong{
  color: var(--accent);
  font-size: 18px;
}
:where(.learning-components) .quiz-letter{
  display: grid;
  place-items: center;
  min-height: clamp(190px, 30vw, 280px);
  width: min(520px, 100%);
  padding: 36px 0 10px;
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: clamp(86px, 15vw, 150px);
  line-height: 1.35;
}
:where(.learning-components) .quiz-letter.is-text-question{
  min-height: 150px;
  padding: 28px 20px 10px;
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}
:where(.learning-components) .practice-pane{
  display: none;
  justify-items: center;
  width: 100%;
}
:where(.learning-components) .practice-pane.active{
  display: grid;
  gap: 20px;
}
:where(.learning-components) .quiz-options{
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
  width: min(520px, 100%);
}
:where(.learning-components) .quiz-options.is-spelling-options{
  grid-template-columns: minmax(0, 1fr);
}
:where(.learning-components) .quiz-options.is-text-options{
  grid-template-columns: minmax(0, 1fr);
}
:where(.learning-components) .quiz-options.is-text-options .option-button{
  min-height: 56px;
  padding: 10px 14px;
  line-height: 1.45;
  text-align: left;
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
}
:where(.learning-components) .spelling-option{
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px 12px;
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
:where(.learning-components) .option-form-chip{
  min-height: 92px;
  padding: 16px 10px;
}
:where(.learning-components) .option-form-letter{
  min-height: 54px;
  font-size: 42px;
}
:where(.learning-components) .quiz-detail{
  width: min(520px, 100%);
}
:where(.learning-components) .quiz-detail-card{
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
}
:where(.learning-components) .detail-link{
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
}
:where(.learning-components) .quiz-detail-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
:where(.learning-components) .quiz-detail-actions .audio-button,:where(.learning-components) .quiz-detail-actions .detail-link{
  min-height: 36px;
  padding: 0 12px;
}
:where(.learning-components) .option-button,:where(.learning-components) .text-button,:where(.learning-components) .audio-button{
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}
:where(.learning-components) .option-button:hover,:where(.learning-components) .text-button:hover,:where(.learning-components) .audio-button:hover{
  border-color: var(--accent);
}
:where(.learning-components) .audio-button:disabled{
  cursor: not-allowed;
  opacity: 0.58;
}
:where(.learning-components) .option-button.correct{
  border-color: var(--accent);
  background: var(--accent-soft);
}
:where(.learning-components) .option-button.wrong{
  border-color: var(--warn);
  background: #f7e1d7;
}
:where(.learning-components) .quiz-feedback{
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}
:where(.learning-components) .magic-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
}
:where(.learning-components) .magic-card{
  min-height: 116px;
  cursor: pointer;
}
:where(.learning-components) .magic-card:hover{
  border-color: var(--accent);
}
:where(.learning-components) .magic-grid.is-marking-wrong .magic-card{
  border-color: var(--line);
}
:where(.learning-components) .magic-grid.is-marking-wrong .magic-card.is-marked-wrong{
  border-color: var(--warn);
  background: #f7e1d7;
}
:where(.learning-components) .magic-letter{
  min-height: 58px;
  font-size: 46px;
}
:where(.learning-components) .magic-card small.is-hidden{
  display: none;
}
:where(.learning-components) .magic-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(620px, 100%);
}
:where(.learning-components) .magic-answer-toggle{
  justify-self: center;
}
:where(.learning-components) .write-layout{
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
}
:where(.learning-components) .canvas-wrap{
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
:where(.learning-components) .write-card{
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}
:where(.learning-components) .write-letter{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 132px;
  line-height: 1.2;
}
:where(.learning-components) .writing-actions{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}
:where(.learning-components) .write-feedback{
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-family: var(--tibetan-font), sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
:where(.learning-components) .write-feedback[data-verdict="correct"]{
  color: var(--accent);
}
:where(.learning-components) .write-feedback[data-verdict="incorrect"]{
  color: var(--warn);
}
:where(.learning-components) .canvas-wrap{
  overflow: hidden;
}
:where(.learning-components) canvas{
  display: block;
  width: 100%;
  height: min(420px, 58vh);
  background:
    linear-gradient(90deg, rgba(221, 213, 200, 0.52) 1px, transparent 1px),
    linear-gradient(rgba(221, 213, 200, 0.52) 1px, transparent 1px), #fffefa;
  background-size: 40px 40px;
  touch-action: none;
}
:where(.learning-components) .canvas-actions{
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  border-top: 1px solid var(--line);
}
:where(.learning-components) .series-prompt{
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 126px;
  width: min(620px, 100%);
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
:where(.learning-components) .series-prompt .small-label{
  margin: 0;
}
:where(.learning-components) .series-prompt-form{
  font-family: "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya", serif;
  font-size: 58px;
  line-height: 1.25;
}
:where(.learning-components) .series-prompt strong{
  color: var(--accent);
  font-size: 14px;
}
:where(.learning-components) .series-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(720px, 100%);
}
:where(.learning-components) .series-card{
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 116px;
  padding: 9px 5px;
  cursor: pointer;
}
:where(.learning-components) .series-card.is-revealed{
  border-color: var(--accent);
}
:where(.learning-components) .series-card-label{
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-family: "Noto Serif Tibetan Local", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(.learning-components) .series-card-form{
  font-size: 40px;
  line-height: 1.3;
}
:where(.learning-components) .series-card-answer{
  min-height: 34px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
:where(.learning-components) .series-card-answer.is-hidden{
  visibility: hidden;
}
:where(.learning-components) .series-grid.is-marking-wrong .series-card.is-marked-wrong{
  border-color: var(--warn);
  background: #f7e1d7;
}
:where(.learning-components) .series-answer-toggle{
  justify-self: center;
}
:where(.learning-components) .series-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(620px, 100%);
}
:where(.learning-components) .series-actions.is-marking-wrong #seriesMissed{
  grid-column: 1 / -1;
}
@media (max-width: 560px){:where(.learning-components) .series-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
:where(.learning-components) .series-card{
    min-height: 104px;
  }
:where(.learning-components) .series-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
:where(.learning-components) .knowledge-grid{
  display: grid;
  gap: 18px;
}
:where(.learning-components) .knowledge-group{
  display: grid;
  gap: 10px;
}
:where(.learning-components) .knowledge-group > h3{
  margin: 0;
  font-size: 20px;
}
:where(.learning-components) .knowledge-card-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
:where(.learning-components) .knowledge-card{
  padding: 18px;
}
:where(.learning-components) .knowledge-card h4,:where(.learning-components) .knowledge-card p{
  margin: 0;
  font-family:
    "Noto Serif Tibetan Local", "Noto Serif Tibetan", "Microsoft Himalaya",
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
:where(.learning-components) .knowledge-card h4{
  margin-bottom: 8px;
  font-size: 18px;
}
:where(.learning-components) .knowledge-card p{
  color: var(--muted);
}
@media (max-width: 900px){:where(.learning-components) .syllabus-timeline{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
:where(.learning-components) .timeline-step:nth-child(3){
    border-right: 0;
  }
:where(.learning-components) .timeline-step:nth-child(-n + 3){
    border-bottom: 1px solid var(--line);
  }
:where(.learning-components) .card-grid,:where(.learning-components) .postscript-rule-grid,:where(.learning-components) .vowel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .vocabulary-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
:where(.learning-components) .spelling-grid{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
:where(.learning-components) .vowel-panel{
    grid-template-columns: 1fr;
  }
:where(.learning-components) .write-layout{
    grid-template-columns: 1fr;
  }
:where(.learning-components) .knowledge-card-list{
    grid-template-columns: 1fr;
  }}
@media (max-width: 560px){:where(.learning-components) .syllabus-summary,:where(.learning-components) .syllabus-node{
    grid-template-columns: 1fr;
  }
:where(.learning-components) .syllabus-summary > div{
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
  }
:where(.learning-components) .syllabus-timeline{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
:where(.learning-components) .timeline-step{
    flex: 0 0 190px;
    border-bottom: 0 !important;
    scroll-snap-align: start;
  }
:where(.learning-components) .syllabus-unit-heading,:where(.learning-components) .validation-banner{
    align-items: flex-start;
    flex-direction: column;
  }
:where(.learning-components) .syllabus-unit-heading-side{
    align-items: end;
    width: 100%;
  }
:where(.learning-components) .syllabus-unit-meta{
    flex: 1 1 auto;
    justify-items: start;
    text-align: left;
  }
:where(.learning-components) .syllabus-node{
    gap: 8px;
    padding: 15px;
  }
:where(.learning-components) .syllabus-routine{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }
:where(.learning-components) .syllabus-routine .text-button{
    width: 100%;
  }
:where(.learning-components) .syllabus-node-index{
    display: none;
  }
:where(.learning-components) .syllabus-node-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .validation-banner .text-button{
    width: 100%;
  }
:where(.learning-components) .app-header,:where(.learning-components) .section-title,:where(.learning-components) .subsection-title{
    align-items: flex-start;
    flex-direction: column;
  }
:where(.learning-components) .tabs{
    gap: 4px;
    overflow-x: visible;
  }
:where(.learning-components) .tab{
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
  }
:where(.learning-components) .card-grid,:where(.learning-components) .mode-row,:where(.learning-components) .writing-actions{
    grid-template-columns: 1fr;
  }
:where(.learning-components) .flashcard-direction-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .learn-section-tabs{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
:where(.learning-components) .learn-practice-shortcut{
    width: 100%;
    margin-left: 0;
  }
:where(.learning-components) .vocabulary-learn-filters{
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
:where(.learning-components) .quiz-options{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) #quizPane.is-answered{
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
:where(.learning-components) #quizPane.is-answered #nextQuestion{
    position: fixed;
    z-index: 20;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    min-height: 48px;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px rgb(39 47 43 / 24%);
  }
:where(.learning-components) .practice-type-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .practice-scope-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .vocabulary-unit-row,:where(.learning-components) .vocabulary-group-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .vowel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .spelling-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
:where(.learning-components) .spelling-chip{
    min-height: 86px;
    padding: 14px 2px 7px;
  }
:where(.learning-components) .vocabulary-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
:where(.learning-components) .vocabulary-card{
    gap: 6px;
    padding: 10px;
  }
:where(.learning-components) .vocabulary-tibetan{
    font-size: 30px;
  }
:where(.learning-components) .vocabulary-pronunciation{
    font-size: 13px;
  }
:where(.learning-components) .magic-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
:where(.learning-components) .magic-card{
    min-height: 96px;
    padding: 14px 2px 7px;
  }
:where(.learning-components) .magic-letter{
    min-height: 48px;
    font-size: 38px;
  }
:where(.learning-components) .magic-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(.learning-components) .compact-cards .card-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
:where(.learning-components) .compact-cards .vowel-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
:where(.learning-components) .compact-cards .letter-card{
    min-height: 86px;
    padding: 14px 2px 7px;
    justify-items: center;
    text-align: center;
  }
:where(.learning-components) .compact-cards .letter-top{
    justify-content: center;
  }
:where(.learning-components) .compact-cards .tibetan-letter{
    font-size: 40px;
  }
:where(.learning-components) .compact-cards .latin{
    font-size: 13px;
  }
:where(.learning-components) .streak-row{
    flex-direction: column;
    gap: 8px;
  }}