.tc-main {
  width: min(calc(100% - 2 * var(--ew-gutter)), 1120px);
  margin-inline: auto;
  padding-block: clamp(21px, 4vw, 45px) 56px;
  color: var(--ew-ink);
}

.tc-main h1, .tc-main h2, .tc-main h3 { font-family: var(--ew-heading); }
.tc-main h1 { font-size: clamp(33px, 4.1vw, 54px); line-height: 1.08; margin: 0 0 12px; }
.tc-main h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 8px; }
.tc-main h3 { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.25; margin: 0 0 3px; }
.tc-main p { margin: 5px 0; line-height: 1.48; }
.tc-main a { text-underline-offset: 3px; }
.tc-main a:focus-visible, .tc-main button:focus-visible, .tc-main input:focus-visible, .tc-main select:focus-visible {
  outline: 3px solid #6351ad;
  outline-offset: 3px;
}
.tc-main :is(.tc-heading, .tc-panel, .tc-starters) {
  padding: clamp(19px, 3vw, 32px);
  border: 1px solid var(--ew-line);
  border-radius: 11px;
  background: #fff;
}
.tc-main .tc-heading { background: #e6f2ef; margin-bottom: 23px; }
.tc-heading p { max-width: 72ch; font-size: 19px; }
.tc-heading .ew-primary { margin-top: 13px; text-decoration: none; }
.tc-heading ul { padding-left: 25px; }
.tc-heading li { margin: 8px 0; }
.tc-starters > p, .tc-browse > p { font-size: 17px; color: var(--ew-muted); }
.tc-starters ul, .tc-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ew-line); }
.tc-starters li, .tc-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(155px, .27fr);
  align-items: start;
  gap: 7px 22px;
  padding-block: 13px;
  border-bottom: 1px solid var(--ew-line);
}
.tc-starters li:last-child { border-bottom: 0; padding-bottom: 0; }
.tc-starters .tc-also { padding-top: 14px; margin-top: 18px; border-top: 1px solid var(--ew-line); }
.tc-starters, #tc-first { scroll-margin-top: 110px; }
.tc-starters li p { color: var(--ew-muted); font-size: 16px; }
.tc-starters li .tc-provider { color: #42435e; }
.tc-starters li .tc-goal { margin: 0 0 5px; color: #365f59; font-weight: 750; }
.tc-selection { margin-top: 18px; border-top: 1px solid var(--ew-line); }
.tc-selection summary { width: fit-content; padding-block: 14px; color: var(--ew-accent); font-weight: 750; cursor: pointer; }
.tc-selection summary:focus-visible { outline: 3px solid var(--ew-accent); outline-offset: 3px; }
.tc-selection p { max-width: 76ch; margin: 0 0 12px; }
.tc-starters li > span, .tc-row-facts { color: #345b55; font-weight: 750; font-size: 16px; line-height: 1.3; }
.tc-browse { margin-top: 35px; }
.tc-browse [id], .tc-anchor { scroll-margin-top: 153px; }
.tc-group-links, .tc-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 14px; }
.tc-group-links a, .tc-filters button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid #c5bcdb;
  border-radius: 7px;
  padding: 8px 13px;
  color: var(--ew-accent);
  background: #fff;
  font: inherit;
  font-weight: 730;
}
.tc-group-links a:hover, .tc-filters button:hover { background: #eee9f9; }
.tc-filters label { display: grid; gap: 5px; font-weight: 720; }
.tc-filters input, .tc-filters select {
  width: 100%;
  min-height: 44px;
  appearance: auto;
  border: 1px solid #8175a3;
  border-radius: 7px;
  padding: 8px 11px;
  background: #fff;
  color: var(--ew-ink);
  font: inherit;
}
.tc-filters label:first-child { flex: 1 1 260px; }
.tc-filters button { cursor: pointer; }
.tc-main .tc-count { margin-top: 12px; }
.tc-group { margin: 22px 0; padding: clamp(16px, 2.5vw, 26px); background: #fff; border: 1px solid var(--ew-line); border-radius: 10px; }
.tc-group > p { color: var(--ew-muted); }
.tc-list li { position: relative; }
.tc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tc-anchor { position: absolute; top: 0; }
.tc-provider { font-weight: 750; color: #42435e; }
.tc-row-copy p:not(.tc-provider) { color: var(--ew-muted); }
.tc-row-facts { display: grid; gap: 6px; }
.tc-row-facts > span:first-child { color: var(--ew-ink); }
.tc-note { color: var(--ew-muted); font-size: 16px; }
.tc-back { margin-bottom: 15px !important; }
.tc-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 720; }
.tc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--ew-line); border-radius: 10px; background: var(--ew-line); }
.tc-facts div { padding: 17px 20px; background: #fff; }
.tc-main dt { font-size: 17px; font-weight: 750; }
.tc-main dd { margin: 3px 0 0; color: var(--ew-muted); line-height: 1.55; }
.tc-panel { margin-top: 17px; }
.tc-panel dl { margin: 0; }
.tc-panel dt:not(:first-child) { margin-top: 15px; }
.tc-panel > p { margin-top: 10px; }
.tc-panel li { margin-block: 7px; }
.tc-panel ul { padding-left: 22px; }
.tc-start-guide h2 { scroll-margin-top: 110px; }
.tc-start-guide ol { padding-inline-start: 1.6em; max-width: 72ch; line-height: 1.55; }
.tc-start-guide li::marker { color: var(--ew-accent); font-weight: 750; }
.tc-start-guide details { margin-top: 14px; border-top: 1px solid var(--ew-line); }
.tc-start-guide summary { width: fit-content; padding-block: 12px; cursor: pointer; color: var(--ew-accent); font-weight: 750; }
.tc-start-guide summary:focus-visible { outline: 3px solid var(--ew-accent); outline-offset: 3px; }
.tc-start-guide figure { margin: 0; }
.tc-start-guide img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.tc-start-guide figcaption { margin-top: 7px; font-size: 1rem; color: var(--ew-muted); }

@media (max-width: 625px) {
  .tc-starters li, .tc-list li, .tc-facts { grid-template-columns: minmax(0, 1fr); }
  .tc-row-facts { display: flex; flex-wrap: wrap; gap: 4px 13px; }
  .tc-filters label { flex: 1 1 100%; }
}
