/* Inline help is optional; the authored word and fallback remain plain text. */
/* Board #15332: keep ordinary lesson words whole while reading. */
.lesson-content .lesson-section, .lesson-content .lesson-section p {
  -webkit-hyphens: none;
  hyphens: none;
}
@media (max-width: 40rem) {
  .lesson-content .directions-grid { grid-template-columns: minmax(0, 1fr); }
}
dfn.pojam { font-style: normal; }
.pojam__word { font-weight: 600; }
.pojam__fallback { font-weight: 400; }
.pojam__word, .pojam__fallback { overflow-wrap: anywhere; }
.pojam--ready > .pojam__word[hidden], .pojam--ready > .pojam__fallback[hidden] { display: none !important; }
.lesson-content .pojam__trigger {
  display: inline;
  max-width: 100%;
  min-height: 24px;
  padding: 0 .1em;
  margin: 0;
  border: 0;
  border-bottom: 1px dotted currentColor;
  border-radius: 2px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.pojam__icon {
  display: inline-block;
  min-width: 1em;
  margin-left: .15em;
  padding: 0 .15em;
  border-radius: 2px;
  color: #fff;
  background: var(--color-text-dark, #2c3e50);
  font-family: "Pixelify Sans", ui-monospace, monospace;
  font-size: .65em;
  line-height: 1.15;
  vertical-align: super;
  pointer-events: none;
}
.lesson-content .pojam__trigger:focus-visible { outline: 2px solid var(--color-text-dark, #2c3e50); outline-offset: 3px; }
@media (hover: hover) { .lesson-content .pojam__trigger:hover { background: #e4edf7; } }
.lesson-content .pojam__trigger[aria-expanded="true"] { background: #e4edf7; }
.pojam__bubble {
  position: fixed;
  inset: auto;
  margin: 0;
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  padding: .75rem 1rem;
  overflow: auto;
  overscroll-behavior: contain;
  border: 2px solid var(--color-text-dark, #2c3e50);
  border-radius: var(--radius-small, 8px);
  color: var(--color-text-dark, #2c3e50);
  background: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / .12);
  font-family: var(--font-main, system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pojam__title { display: block; font-weight: 700; }
.pojam__explanation { margin: .35rem 0 0; }
.pojam__bubble::backdrop { background: transparent; pointer-events: none; }
@media (forced-colors: active) {
  .pojam__icon { color: ButtonFace; background: ButtonText; }
  .lesson-content .pojam__trigger:focus-visible { outline-color: Highlight; }
  .pojam__bubble { color: CanvasText; background: Canvas; border-color: CanvasText; }
}
@media print {
  .pojam__trigger, .pojam__bubble { display: none !important; }
  .pojam--ready > .pojam__word[hidden], .pojam--ready > .pojam__fallback[hidden] { display: inline !important; }
}
