/* The return-visit dashboard shares the topic's editorial typography. */
.tp {
  margin: 1.2rem 0;
  color: #25314b;
}
.tp-toolbar,
.tp-feed-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}
.tp-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  color: #315b97;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tp p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0.5rem 0;
}
.tp-actions,
.tp-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tp button,
.tp-shortcuts a {
  border: 1px solid #d7dfe9;
  background: #fff;
  border-radius: 7px;
  color: #294777;
  padding: 0.6rem 0.8rem;
  min-height: 42px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}
.tp button {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}
.tp button[aria-pressed="true"] {
  background: #eaf2ed;
  color: #24533c;
  border-color: #9bbfac;
}
.tp button:focus-visible,
.tp a:focus-visible,
.tp summary:focus-visible {
  outline: 3px solid #6195d9;
  outline-offset: 3px;
}
.tp [hidden] {
  display: none !important;
}
.tp-status {
  min-height: 1.2rem;
  color: #526078;
}
.tp-checkin {
  background: #edf3fe;
  border-left: 3px solid #315b97;
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  margin: 0.5rem 0 1rem;
}
.tp-shortcuts {
  margin: 0.6rem 0 1rem;
}
.tp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}
.tp-metrics > div {
  padding: 0.9rem;
  border: 1px solid #dce2eb;
  background: #f8f9fc;
  border-radius: 8px;
}
.tp-metrics strong {
  font:
    700 1.65rem/1.2 Georgia,
    serif;
  display: block;
}
.tp-metrics span {
  display: block;
  font-size: 0.73rem;
  color: #5b677c;
  margin-top: 0.4rem;
}
.tp-distribution {
  margin: 1rem 0 1.5rem;
}
.tp-distribution summary,
.tp-position > summary {
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.65rem 0;
}
.tp-distribution ul {
  padding: 0;
  margin: 0.75rem 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.tp-distribution li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.6rem;
  font-size: 0.8rem;
}
.tp-distribution meter {
  grid-column: 1/-1;
  width: 100%;
  height: 9px;
}
.tp-distribution meter::-webkit-meter-bar {
  background: #edf0f5;
  border: 0;
}
.tp-distribution meter::-webkit-meter-optimum-value {
  background: #6983ae;
}
.tp-latest {
  border-top: 1px solid #e0e5ee;
  padding-top: 1rem;
  scroll-margin-top: 115px;
}
.tp-feed-heading h3 {
  font:
    700 1.15rem/1.35 Georgia,
    serif;
  margin: 0;
}
.tp-feed-heading p,
.tp .tp-caption {
  font-size: 0.74rem;
  color: #5e6b80;
}
.tp-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}
.tp-filters label {
  font-size: 0.75rem;
  font-weight: 600;
}
.tp-filters input,
.tp-filters select {
  display: block;
  margin-top: 0.4rem;
  width: 100%;
  min-width: 0;
  border: 1px solid #c9d4e3;
  border-radius: 6px;
  padding: 0.65rem;
  font: inherit;
  background: #fff;
  color: #263652;
  min-height: 42px;
}
.tp-perspective {
  border: 1px solid #dce2eb;
  border-radius: 9px;
  margin: 0.7rem 0;
  background: #fff;
  scroll-margin-top: 115px;
}
.tp-perspective > summary {
  display: block;
  cursor: pointer;
  padding: 0.9rem;
}
.tp-perspective > summary::-webkit-details-marker {
  display: none;
}
.tp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #546685;
  font-size: 0.68rem;
  font-weight: 600;
}
.tp-meta time {
  margin-left: auto;
  white-space: nowrap;
}
.tp-quote {
  display: block;
  font-size: 0.87rem;
  line-height: 1.5;
  margin: 0.65rem 0;
  overflow-wrap: anywhere;
}
.tp-byline {
  font-size: 0.71rem;
  color: #627087;
}
.tp-perspective[open] > summary {
  border-bottom: 1px solid #e2e7ef;
  background: #f7f9fc;
}
.tp-perspective-body {
  padding: 0.3rem 0.9rem 1rem;
  overflow-wrap: anywhere;
}
.tp .tp-full {
  white-space: pre-wrap;
}
.tp-permalink {
  display: block;
  font-size: 0.73rem;
  margin-top: 0.8rem;
}
.tp-new {
  background: #e6f2e9;
  color: #28573b;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.tp-caution {
  padding: 0.65rem;
  background: #fff7e9;
  color: #725122;
}
.tp-position {
  border-top: 1px solid #dce2eb;
  margin-top: 1.5rem;
  scroll-margin-top: 115px;
}
@media (max-width: 600px) {
  .tp-toolbar,
  .tp-feed-heading {
    flex-direction: column;
  }
  .tp-filters {
    grid-template-columns: 1fr;
  }
  .tp-metrics {
    gap: 0.35rem;
  }
  .tp-metrics > div {
    padding: 0.65rem 0.5rem;
  }
  .tp-metrics strong {
    font-size: 1.4rem;
  }
  .tp-actions {
    width: 100%;
  }
  .tp-actions button {
    flex: 1;
  }
}

.tp-switcher {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.tp-switcher [aria-selected="true"] {
  background: #233e66;
  color: #fff;
  border-color: #233e66;
}

.tp-context {
  margin: 0.7rem 0;
}
.tp-context > summary {
  cursor: pointer;
  color: #456187;
  font-size: 0.8rem;
  font-weight: 600;
}
.tp-shortcuts {
  scroll-margin-top: 115px;
}
