.reader-study-aux {
  color: var(--ink, #27342d);
  font-family: var(--sans, system-ui, sans-serif);
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}
.reader-study-aux [hidden] { display: none !important; }
.reader-study-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-block: 1px solid var(--line, #d8dfd5);
}
.reader-study-status {
  flex: 1 1 240px;
  margin: 0;
  color: var(--muted, #5b655e);
  font-size: 13px;
  line-height: 1.7;
}
.reader-study-button {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--line, #a8b9ac);
  border-radius: 8px;
  color: var(--ink, #27342d);
  background: var(--surface, #fff);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.reader-study-button:hover:not(:disabled) { border-color: var(--green, #3458d4); }
.reader-study-button:disabled { color: var(--muted, #697269); cursor: default; }
.reader-study-button:focus-visible,
.reader-study-notes > summary:focus-visible { outline: 3px solid var(--green, #3458d4); outline-offset: 3px; }
.reader-study-paragraph { margin: -8px 0 26px; }
.reader-study-missing { color: var(--muted, #5b655e); font-size: 12px; }
.reader-study-translation {
  margin: 12px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--green, #3458d4);
  border-radius: 0 8px 8px 0;
  background: var(--surface, #eef3ec);
  color: var(--ink, #27342d);
  font-size: 16px;
  line-height: 1.95;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.reader-study-notes { margin-block: 30px; border: 1px solid var(--line, #d8dfd5); border-radius: 10px; }
.reader-study-notes > summary { min-height: 44px; padding: 14px 18px; cursor: pointer; font-size: 15px; }
.reader-study-note { padding: 18px; }
.reader-study-note + .reader-study-note { border-top: 1px solid var(--line, #d8dfd5); }
.reader-study-note blockquote { margin: 0 0 18px; font: italic 18px/1.8 Georgia, serif; overflow-wrap: anywhere; }
.reader-study-note dl { margin: 0; font-size: 15px; line-height: 1.9; }
.reader-study-note dt { margin-top: 12px; font-weight: 650; }
.reader-study-note dd { margin: 3px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.english-collection-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px 10px; }
.english-collection-tabs button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line, #d8dfd5);
  border-radius: 8px;
  color: var(--ink, #27342d);
  background: var(--surface, #fff);
  font: inherit;
  cursor: pointer;
}
.english-collection-tabs button[aria-pressed="true"] {
  color: var(--surface-solid, #fff);
  border-color: var(--green, #3458d4);
  background: var(--green, #3458d4);
}
.english-collection-tabs button:focus-visible { outline: 3px solid var(--green, #3458d4); outline-offset: 3px; }
.english-collection-group-note, .english-card-format {
  color: var(--muted, #5e6f90);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.english-collection-group-note { margin-block: 0 18px; }
.english-card-format { display: block; }
@media (max-width: 600px) {
  .reader-study-toolbar { align-items: stretch; flex-direction: column; }
  .reader-study-status { flex-basis: auto; }
  .reader-study-toolbar .reader-study-button { width: 100%; }
  .reader-study-translation, .reader-study-note { padding: 12px 14px; }
}
