.tm-answer {
  width: 100%;
  margin-inline: auto;
  align-self: stretch;
}

.tm-answer__column {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: clamp(var(--wm-space-4), 3vw, var(--wm-space-6));
  box-sizing: border-box;
}

.tm-crumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--wm-color-text-muted);
  margin-bottom: var(--wm-space-5);
  overflow: hidden;
  max-width: 100%;
}

.tm-crumbs a {
  color: var(--wm-color-accent-soft);
  text-decoration: none;
  flex-shrink: 0;
}

.tm-crumbs a:hover {
  color: var(--wm-color-accent);
  text-decoration: underline;
}

.tm-crumbs__sep {
  flex-shrink: 0;
  padding: 0 0.4em;
  opacity: 0.55;
}

.tm-crumbs__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--wm-color-text-muted);
}

.tm-answer__layout {
  display: flex;
  flex-direction: column;
  gap: var(--wm-space-5);
}

.tm-toc {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
}

.tm-toc__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wm-color-text-muted);
  margin: 0 0 var(--wm-space-3);
}

.tm-toc ol,
.tm-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-toc a {
  color: var(--wm-color-text-muted);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0;
  border-left: 2px solid transparent;
  padding-left: var(--wm-space-3);
  line-height: 1.35;
}

.tm-toc a:hover {
  color: var(--wm-color-accent-soft);
  border-left-color: var(--wm-color-accent-soft);
}

.tm-toc__sub a {
  padding-left: var(--wm-space-5);
  font-size: 0.78rem;
}

.tm-toc--desktop {
  display: none;
}

.tm-toc--mobile .tm-toc__jump {
  display: flex;
  gap: var(--wm-space-2);
  overflow-x: auto;
  padding-bottom: var(--wm-space-2);
  -webkit-overflow-scrolling: touch;
}

.tm-toc--mobile .tm-toc__jump li {
  flex: 0 0 auto;
}

.tm-toc--mobile .tm-toc__jump a {
  border: 1px solid var(--wm-color-border);
  border-radius: var(--wm-radius-pill);
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
  background: var(--wm-color-surface-0);
}

@media (min-width: 1080px) {
  .tm-answer__layout {
    display: grid;
    grid-template-columns: minmax(168px, 200px) minmax(0, 1fr);
    gap: var(--wm-space-7);
    align-items: start;
  }

  .tm-toc--desktop {
    display: block;
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .tm-toc--mobile {
    display: none;
  }
}

body.tm-answer-page .morri-utility-page--legal {
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 7.5rem;
}

body.tm-answer-page .tm-answer__article.morri-legal-card {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
}

body.tm-answer-page .tm-answer__article--hub {
  max-width: 960px;
}

.tm-answer__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wm-color-accent-soft);
  margin: 0 0 var(--wm-space-3);
}

.tm-answer__title {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: var(--wm-space-5);
}

.tm-answer__short {
  margin: var(--wm-space-5) 0 var(--wm-space-5);
  padding: var(--wm-space-6) var(--wm-space-6);
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-color-border);
  background: linear-gradient(
    145deg,
    var(--wm-color-surface-0),
    var(--wm-color-surface-1)
  );
  box-shadow: var(--wm-shadow-sm);
}

.tm-answer__short-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wm-color-accent-soft);
  margin-bottom: var(--wm-space-3);
}

.tm-answer__short p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--wm-color-text);
}

.tm-answer__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--wm-color-text-muted);
  margin: 0 0 var(--wm-space-7);
  padding-bottom: var(--wm-space-5);
  border-bottom: 1px solid var(--wm-color-border);
}

.tm-answer__meta-dot {
  opacity: 0.45;
}

.tm-answer__intro {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--wm-color-text-muted);
  margin: var(--wm-space-4) 0 0;
  max-width: 42rem;
}

.tm-answer__head--hub {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.tm-prose {
  margin-bottom: var(--wm-space-7);
  max-width: 68ch;
  line-height: 1.7;
  font-size: 1rem;
  color: var(--wm-color-text-muted);
}

.tm-prose p {
  margin: 0 0 1.35em;
}

.tm-prose h2.morri-legal-h2,
.tm-prose > h2,
.tm-anchor {
  scroll-margin-top: 6.5rem;
}

.tm-prose h2.morri-legal-h2,
.tm-prose > h2 {
  margin: 2.25em 0 0.85em;
  color: var(--wm-color-text);
  line-height: 1.35;
}

.tm-prose h2.morri-legal-h2:first-child,
.tm-prose > h2:first-child {
  margin-top: 0;
}

.tm-prose h3 {
  margin: 1.75em 0 0.65em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wm-color-text);
  line-height: 1.4;
}

.tm-checklist {
  list-style: none;
  margin: 0 0 1.35em;
  padding: var(--wm-space-4) var(--wm-space-5);
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-0);
}

.tm-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65em;
  line-height: 1.55;
}

.tm-checklist li:last-child {
  margin-bottom: 0;
}

.tm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--wm-color-accent-soft);
  border-bottom: 2px solid var(--wm-color-accent-soft);
  transform: rotate(-45deg);
}

.tm-checklist--ordered {
  counter-reset: tm-step;
}

.tm-checklist--ordered li::before {
  content: counter(tm-step);
  counter-increment: tm-step;
  width: 1.25rem;
  height: 1.25rem;
  top: 0.15em;
  border: 1px solid var(--wm-color-border);
  border-radius: var(--wm-radius-xs);
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--wm-color-accent-soft);
  background: var(--wm-color-surface-elevated);
}

.tm-prose blockquote {
  margin: 0 0 1.35em;
  padding: var(--wm-space-4) var(--wm-space-5);
  border-left: 3px solid var(--wm-color-accent);
  border-radius: 0 var(--wm-radius-sm) var(--wm-radius-sm) 0;
  background: var(--wm-color-surface-1);
}

.tm-prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.tm-answer__table-wrap {
  margin: var(--wm-space-4) 0 var(--wm-space-7);
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-color-border);
  overflow: hidden;
}

.tm-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tm-compare-table thead th {
  background: var(--wm-color-surface-elevated);
  font-weight: 600;
  text-align: left;
  padding: var(--wm-space-3) var(--wm-space-4);
  border-bottom: 1px solid var(--wm-color-border);
}

.tm-compare-table tbody tr:nth-child(even) {
  background: var(--wm-color-surface-0);
}

.tm-compare-table th,
.tm-compare-table td {
  padding: var(--wm-space-3) var(--wm-space-4);
  border-bottom: 1px solid var(--wm-color-border);
  vertical-align: top;
}

.tm-callout {
  margin: var(--wm-space-7) 0;
  padding: var(--wm-space-5) var(--wm-space-6);
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-1);
}

.tm-callout--accent {
  border-color: var(--wm-color-accent-soft);
  background: var(--wm-color-surface-0);
  box-shadow: inset 3px 0 0 var(--wm-color-accent);
}

.tm-callout__title {
  font-weight: 600;
  margin: 0 0 var(--wm-space-3);
  color: var(--wm-color-text);
}

.tm-callout__body p {
  margin: 0 0 0.75em;
}

.tm-faq {
  margin: var(--wm-space-7) 0;
}

.tm-faq__item {
  border: 1px solid var(--wm-color-border);
  border-radius: var(--wm-radius-md);
  margin-bottom: var(--wm-space-3);
  background: var(--wm-color-surface-0);
  overflow: hidden;
}

.tm-faq__item summary {
  cursor: pointer;
  padding: var(--wm-space-4) var(--wm-space-5);
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}

.tm-faq__item summary::-webkit-details-marker {
  display: none;
}

.tm-faq__item summary::after {
  content: "";
  position: absolute;
  right: var(--wm-space-5);
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--wm-color-accent-soft);
  border-bottom: 2px solid var(--wm-color-accent-soft);
  transform: translateY(-60%) rotate(45deg);
  transition: transform var(--wm-duration-fast) var(--wm-ease-out);
}

.tm-faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.tm-faq__item summary:focus-visible {
  outline: 2px solid var(--wm-color-focus-ring);
  outline-offset: -2px;
}

.tm-faq__a {
  padding: 0 var(--wm-space-5) var(--wm-space-4);
  color: var(--wm-color-text-muted);
  line-height: 1.65;
}

.tm-sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--wm-space-4);
  counter-reset: tm-source;
}

.tm-sources__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--wm-space-4);
  padding: var(--wm-space-4);
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-0);
  counter-increment: tm-source;
}

.tm-sources__item::before {
  content: counter(tm-source);
  font-weight: 700;
  color: var(--wm-color-accent-soft);
  font-family: var(--font-mono);
  padding-top: 0.15rem;
}

.tm-sources__chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--wm-radius-pill);
  border: 1px solid var(--wm-color-border);
  color: var(--wm-color-text-muted);
  margin-bottom: var(--wm-space-2);
}

.tm-sources__body p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--wm-color-text-muted);
  line-height: 1.5;
}

.tm-sources a {
  color: var(--wm-color-accent-soft);
  font-weight: 600;
  text-decoration: none;
}

.tm-sources a:hover {
  text-decoration: underline;
}

.tm-cta {
  margin: var(--wm-space-8) 0;
  padding: var(--wm-space-6) var(--wm-space-7);
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-elevated);
}

.tm-cta--card {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.tm-cta__title {
  margin-top: 0;
}

.tm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wm-space-3);
  margin-top: var(--wm-space-5);
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: var(--wm-radius-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--wm-duration-fast) var(--wm-ease-out);
}

.tm-btn--primary {
  background: var(--wm-color-accent);
  color: #fff;
}

.tm-btn--primary:hover {
  background: var(--wm-color-accent-hover);
}

.tm-btn--secondary {
  background: transparent;
  border-color: var(--wm-color-border);
  color: var(--wm-color-text);
}

.tm-btn--secondary:hover {
  border-color: var(--wm-color-accent-soft);
}

.tm-btn:focus-visible {
  outline: 2px solid var(--wm-color-focus-ring);
  outline-offset: 2px;
}

.tm-related__grid {
  display: grid;
  gap: var(--wm-space-4);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.tm-related__card {
  display: flex;
  flex-direction: column;
  gap: var(--wm-space-2);
  padding: var(--wm-space-5);
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-0);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--wm-duration-fast) var(--wm-ease-out);
  min-height: 100%;
}

.tm-related__card:hover {
  border-color: var(--wm-color-accent-soft);
}

.tm-related__q {
  font-weight: 600;
  color: var(--wm-color-text);
  line-height: 1.35;
}

.tm-related__card small {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wm-color-text-muted);
  flex: 1;
}

.tm-related__card time {
  font-size: 0.75rem;
  color: var(--wm-color-text-muted);
}

.tm-hub-grid {
  display: grid;
  gap: var(--wm-space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  margin-top: var(--wm-space-6);
}

.tm-hub-card {
  display: flex;
  flex-direction: column;
  gap: var(--wm-space-3);
  padding: var(--wm-space-5) var(--wm-space-6);
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-color-border);
  background: var(--wm-color-surface-0);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--wm-duration-fast) var(--wm-ease-out);
  min-height: 100%;
}

.tm-hub-card:hover {
  border-color: var(--wm-color-accent-soft);
}

.tm-hub-card__q {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wm-color-text);
}

.tm-hub-card__a {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--wm-color-text-muted);
  flex: 1;
}

.tm-hub-card__date {
  font-size: 0.75rem;
  color: var(--wm-color-text-muted);
}

@media (max-width: 640px) {
  .tm-answer__table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
  }

  .tm-compare-table thead {
    display: none;
  }

  .tm-compare-table,
  .tm-compare-table tbody,
  .tm-compare-table tr,
  .tm-compare-table th,
  .tm-compare-table td {
    display: block;
    width: 100%;
  }

  .tm-compare-table tr {
    margin-bottom: var(--wm-space-4);
    border: 1px solid var(--wm-color-border);
    border-radius: var(--wm-radius-md);
    overflow: hidden;
    background: var(--wm-color-surface-0);
  }

  .tm-compare-table th[scope="row"] {
    background: var(--wm-color-surface-elevated);
    font-weight: 700;
    border-bottom: 1px solid var(--wm-color-border);
  }

  .tm-compare-table td,
  .tm-compare-table th[scope="row"] {
    padding: var(--wm-space-3) var(--wm-space-4);
    border-bottom: 1px solid var(--wm-color-border);
  }

  .tm-compare-table td::before,
  .tm-compare-table th[scope="row"] + td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wm-color-text-muted);
    margin-bottom: 0.25rem;
  }

  .tm-compare-table th[scope="row"]::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-faq__item summary::after,
  .tm-btn,
  .tm-related__card,
  .tm-hub-card {
    transition: none;
  }
}

@media (max-width: 360px) {
  .tm-answer__short,
  .tm-callout,
  .tm-cta {
    padding-left: var(--wm-space-4);
    padding-right: var(--wm-space-4);
  }
}
