/* Reader repairs share the existing theme palette and navigation language. */
.wyl-admin-entry {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--wyl-line);
  border-radius: 10px;
  background: var(--wyl-surface-soft, var(--wyl-soft));
  color: var(--wyl-ink);
  font-size: 13px;
  text-decoration: none;
}
.wyl-admin-entry .wyl-icon { width: 18px; height: 18px; }
.wyl-admin-entry-short { display: none; }
.wyl-admin-entry:hover { border-color: var(--wyl-jade); color: var(--wyl-jade); }
.wyl-edit-book {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-block: 2px 8px;
  color: var(--wyl-jade);
  font-size: 14px;
  text-underline-offset: 3px;
}
.wyl-comments-closed { margin: 12px 0; color: var(--wyl-ink-2); font-size: 14px; }
.wyl-author-hero .wyl-author-mark,
.wyl-author-grid .wyl-author-letter {
  background: var(--wyl-surface-soft, var(--wyl-soft));
  color: var(--wyl-ink);
  border: 1px solid var(--wyl-line);
}
.wyl-feature-filter { min-width: 0; margin-bottom: 16px; }
.wyl-feature-filter [hidden] { display: none !important; }
.wyl-feature-picker { min-width: 0; border: 0; }
.wyl-feature-picker > summary { cursor: pointer; color: var(--wyl-ink); }
.wyl-feature-picker > summary > span { font-size: 13px; font-weight: 650; }
.wyl-feature-picker > summary > strong {
  display: block;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--wyl-line);
  border-radius: 8px;
  background: var(--wyl-surface-soft, var(--wyl-soft));
  color: var(--wyl-ink);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.wyl-feature-search { display: flex; align-items: center; gap: 6px; margin-block: 12px 8px; }
.wyl-feature-search input {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--wyl-line);
  border-radius: 8px;
  background: var(--wyl-surface, var(--wyl-paper));
  color: var(--wyl-ink);
  font-size: 16px;
  caret-color: var(--wyl-jade);
}
.wyl-feature-search input::placeholder { color: var(--wyl-ink-2); opacity: .85; }
.wyl-feature-search button,
.wyl-feature-all,
.wyl-feature-choice {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--wyl-line);
  border-radius: 8px;
  background: var(--wyl-surface-soft, var(--wyl-soft));
  color: var(--wyl-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.wyl-feature-search button { flex: 0 0 auto; }
.wyl-feature-search button:disabled { opacity: .55; cursor: default; }
.wyl-feature-options {
  max-height: 320px;
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--wyl-line) transparent;
}
.wyl-feature-options fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.wyl-feature-options legend { margin-bottom: 5px; color: var(--wyl-ink-2); font-size: 13px; font-weight: 650; }
.wyl-feature-choice { margin: 3px 4px 3px 0; }
.wyl-feature-choice:hover,
.wyl-feature-all:hover { border-color: var(--wyl-jade); }
.wyl-feature-choice[aria-pressed="true"],
.wyl-feature-all[aria-pressed="true"] { border-color: var(--wyl-jade); box-shadow: inset 0 0 0 1px var(--wyl-jade); font-weight: 700; }
.wyl-feature-status { margin: 8px 0 0; color: var(--wyl-ink-2); font-size: 13px; }
.wyl-feature-filter :is(button, input, summary):focus-visible,
.wyl-admin-entry:focus-visible,
.wyl-edit-book:focus-visible { outline: 2px solid var(--wyl-jade); outline-offset: 3px; }
@media (max-width: 900px) {
  .wyl-admin-entry { width: 44px; min-height: 44px; padding: 0; order: 3; }
  .wyl-admin-entry .wyl-icon,
  .wyl-admin-entry .wyl-admin-entry-full { display: none; }
  .wyl-admin-entry .wyl-admin-entry-short { display: inline; font-size: 13px; }
}
@media (max-width: 640px) {
  .wyl-mobile-tabbar.wyl-mobile-tabbar-complete { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wyl-admin-entry .wyl-icon { width: 20px; height: 20px; }
}
