/* Workbook originals beneath content and guidance: Korean/English always shown. */
.bi-alt {
  display: block;
  margin-top: .2em;
  font-size: .88em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: #56684f;
  word-break: normal;
  /* break-word (not anywhere) keeps whole words when columns size to content. */
  overflow-wrap: break-word;
}
.bi-alt[lang="ko"], .bi-alt-inline [lang="ko"] { word-break: keep-all; }
.bi-alt + .bi-alt { margin-top: .1em; }
.bi-alt-inline { font-weight: 400; font-size: .92em; color: #56684f; }
.tag .bi-alt-inline { color: inherit; }
h1 .bi-alt { font-size: .46em; line-height: 1.5; margin-top: .35em; }
h2 .bi-alt { font-size: .58em; line-height: 1.5; }
h3 .bi-alt { font-size: .74em; }
.notice .bi-alt, .small-text .bi-alt { color: inherit; opacity: .85; }
.analysis-table .bi-alt, .feedback-table .bi-alt { font-size: .92em; }
/* Methodology stage cards: large stage names, so keep the original compact. */
.scale-guide strong .bi-alt { margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; }
/* Five stage columns cannot hold the English names on phones: list one per row. */
@media (max-width: 600px) {
  .scale-guide { grid-template-columns: minmax(0, 1fr); }
  .scale-guide > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid #e4eadf;
  }
  .scale-guide > div:last-child { border-bottom: 0; }
  .scale-guide span { font-size: 18px; }
  .scale-guide strong .bi-alt { margin-top: 2px; font-size: 12px; }
}
/* The five-pillar AHP board must fit one laptop screen (1366x768): two-line
   bilingual names stay inside the 44px control height. */
@media (min-width: 1101px) and (max-height: 850px) {
  .ahp-root-section .ahp-compact-side { line-height: 1.12; }
}
@media print {
  .bi-alt { color: #333; opacity: 1; }
}
