.wt-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  gap: 18px;
  align-items: start;
}

.wt-layout[hidden],
.wt-status[hidden] {
  display: none;
}

.wt-panel,
.wt-status {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #c5d8e4;
  border-radius: 16px;
  background: #fff;
  color: #162032;
}

.wt-panel h2 {
  margin: 0 0 12px;
}

.wt-panel hr {
  border: 0;
  border-top: 1px solid #c5d8e4;
  margin: 24px 0;
}

.wt-chapters,
#wt-text ol,
#wt-text ul {
  padding-inline-start: 24px;
}

.wt-chapters li + li,
#wt-text li + li {
  margin-top: 10px;
}

#wt-retry,
.wt-chapters button,
#wt-text button,
.wt-search input {
  color: inherit;
  font: inherit;
  border: 1px solid #8aa8bb;
  border-radius: 8px;
  background: #f5faff;
  padding: 7px 10px;
  text-align: start;
}

.wt-chapters button {
  width: 100%;
}

.wt-chapters button,
#wt-text button {
  cursor: pointer;
}

.wt-chapters button[aria-current],
.wt-chapters button:hover,
#wt-text button:hover {
  background: #dceefc;
  border-color: #256084;
}

.wt-search {
  display: grid;
  gap: 5px;
}

.wt-search input {
  width: 100%;
}

.wt-status {
  background: #fff6df;
}

@media (max-width: 690px) {
  .wt-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
