/* Compact disclosure rows. Loaded after app.css and left out of the service worker precache. */

.fold-meta {
  font-weight: 650;
  color: #f0d7a2;
}

details.fold > summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

details.fold + details.fold,
.card + details.fold,
details.fold + .card,
form.card + details.fold {
  margin-top: 8px;
}

.stack > details.fold {
  margin-top: 0;
}

/* A card that is the section body should not draw a second box under the summary. */
details.fold > .card,
details.fold > form.card,
details.fold > section.card,
details.fold > .fold-body.card,
details.fold > form.fold-body.card,
details.fold > section.fold-body.card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* The summary is the visible title. The heading stays in the page for existing checks. */
details.fold > .card > h2:first-of-type,
details.fold > form.card > h2:first-of-type,
details.fold > section.card > h2:first-of-type,
details.fold > .fold-body > h2:first-of-type,
details.fold > form.fold-body > h2:first-of-type,
details.fold > section.fold-body > h2:first-of-type,
details.fold > .fold-body.card > h2:first-of-type,
details.fold > form.fold-body.card > h2:first-of-type,
details.fold > section.fold-body.card > h2:first-of-type {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

details.fold .fold-body {
  padding-bottom: 10px;
}

details.fold details.more {
  margin-top: 0;
}

.choice {
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
}

.card {
  padding: 12px;
  border-radius: 12px;
}

.stack {
  gap: 8px;
}

.page-head {
  margin-bottom: 10px;
}

.btn,
button.btn {
  min-height: 44px;
  padding: 8px 12px;
}

.history-block > summary {
  min-height: 44px;
  padding: 8px 12px;
}
