.ap-plan, .ap-home, .ap-paper {
  color: #1f2a44;
  font-size: var(--t-body, 18px);
  line-height: 1.55;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
.ap-plan { margin-block: 12px 20px; }
.ap-profile, .ap-part {
  padding: 12px;
  margin-block: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d9dce3;
  min-inline-size: 0;
}
.ap-body { min-inline-size: 0; }
.ap-plan summary.ui-disclosure {
  display: flex;
  align-items: center;
  min-height: 48px;
  cursor: pointer;
}
.ap-profile > summary { font-weight: 650; }
.ap-part h4 { font-size: var(--t-h3, 20px); margin: 0; }
.ap-part p { white-space: pre-line; margin-block: 8px; }
.ap-reading {
  font-size: 1.2em;
  word-spacing: .15em;
  letter-spacing: normal;
  line-height: 1.85;
}
.ap-reading mark { color: #10265f; background: #e8eefc; padding-inline: .08em; }
.ap-plan .btn, .ap-home .btn { min-height: 48px; max-inline-size: 100%; white-space: normal; }
.ap-plan .pel-t { min-inline-size: 0; width: 100%; font-size: inherit; }
.ap-plan .pel-x { min-width: 48px; min-height: 48px; }
.ap-plan .pel-row { display: flex; flex-wrap: wrap; gap: 4px; }
.ap-plan .pel-f { flex: 1 0 100%; min-width: 0; }
.ap-plan li > button { display: flex; margin-block: 6px; }
.ap-plan [data-ap-status]:empty, .ap-plan [data-ap-audio]:empty { display: none; }
.ap-plan [data-ap-qr] svg { display: block; max-width: 100%; margin-block: 12px; }
.ap-paper > div { break-inside: avoid; }
.ap-paper .ap-reading { font-size: 14pt; }
@media print {
  .ap-paper { break-before: page; }
}
