.tr-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}
.tr-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  color: var(--template-colors-text);
}
.tr-preview-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warning);
  border: 1px solid var(--warning);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}
.tr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .tr-layout {
    grid-template-columns: 228px minmax(0, 1fr);
    gap: 1.75rem;
  }
  .tr-layout.tr-layout-review {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tr-layout-review .tr-article { max-width: 820px; }
.tr-sidenav .tr-nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 4.25rem;
}
.tr-article h2[id],
.tr-article h3[id],
.tr-owner-note[id] {
  scroll-margin-top: 4.25rem;
}
@media (min-width: 1024px) {
  .tr-sidenav .tr-nav-list { display: block; }
  .tr-sidenav .tr-nav-drop { display: none; }
}
.tr-sidenav .tr-nav-list li { margin: 0; padding: 0; }
.tr-sidenav .tr-nav-list a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-inline-start: 2px solid var(--template-colors-divider);
  color: var(--template-colors-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.35;
}
.tr-sidenav .tr-nav-list a::after {
  content: attr(data-label);
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  font-weight: 600;
}
.tr-sidenav .tr-nav-list a:hover { color: var(--template-colors-text); }
.tr-sidenav .tr-nav-list a.tr-nav-current {
  color: var(--primary);
  font-weight: 600;
  border-inline-start-color: var(--primary);
}
.tr-nav-drop {
  border: 1px solid var(--template-colors-divider);
  border-radius: 12px;
  background: var(--template-colors-2);
  padding: 0.25rem 0.75rem;
}
.tr-nav-drop summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--template-colors-text);
  padding: 0.5rem 0;
  list-style: none;
}
.tr-nav-drop summary::-webkit-details-marker { display: none; }
.tr-nav-drop summary::after { content: " \25BE"; opacity: 0.6; }
.tr-nav-drop ul { list-style: none; margin: 0 0 0.5rem 0; padding: 0; }
.tr-nav-drop a {
  display: block;
  padding: 0.4rem 0.25rem;
  color: var(--template-colors-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}
.tr-nav-drop a.tr-nav-current { color: var(--primary); font-weight: 600; }
.tr-article {
  max-width: 820px;
  min-width: 0;
  font-size: 0.95rem;
}
.tr-article h1 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--template-colors-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.tr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.8rem;
  color: var(--template-colors-text-muted);
  opacity: 0.85;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--template-colors-divider);
}
.tr-article h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--template-colors-text);
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.tr-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--template-colors-text);
  letter-spacing: -0.02em;
}
.tr-hash {
  margin-inline-start: 0.4rem;
  color: var(--primary);
  text-decoration: none;
  opacity: 0;
  font-weight: 400;
}
.tr-article h2:hover .tr-hash,
.tr-article h3:hover .tr-hash { opacity: 0.7; }
.tr-article p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.tr-article a {
  color: var(--primary);
  text-decoration: none;
}
.tr-article a:hover { text-decoration: underline; }
.tr-article strong { color: var(--template-colors-text); font-weight: 600; }
.tr-article ul {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}
.tr-article ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  padding-inline-start: 1.25rem;
  position: relative;
}
.tr-article ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.tr-article ol {
  margin: 0 0 1rem 0;
  padding-inline-start: 1.4rem;
}
.tr-article ol li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  padding-inline-start: 0.2rem;
}
.tr-article ol li::marker { color: var(--primary); font-weight: 600; }
.tr-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--template-colors-2);
  border: 1px solid var(--template-colors-divider);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  color: var(--template-colors-text);
  white-space: nowrap;
}
.tr-code {
  background: var(--template-colors-2);
  border: 1px solid var(--template-colors-divider);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem 0;
  overflow-x: auto;
}
.tr-code code {
  background: none;
  border: 0;
  padding: 0;
  white-space: pre;
  display: block;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--template-colors-text);
}
.tr-article blockquote {
  border-inline-start: 3px solid var(--primary);
  background: var(--template-colors-2);
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1.25rem;
  margin: 0 0 1.25rem 0;
}
.tr-article blockquote p {
  margin: 0;
  color: var(--template-colors-text);
}
.tr-article blockquote p + p { margin-top: 0.5rem; }
.tr-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem 0;
  border: 1px solid var(--template-colors-divider);
  border-radius: 12px;
}
.tr-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.tr-article th {
  text-align: start;
  font-weight: 600;
  color: var(--template-colors-text);
  background: var(--template-colors-2);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--template-colors-divider);
  white-space: nowrap;
}
.tr-article td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--template-colors-divider);
  vertical-align: top;
  line-height: 1.5;
}
.tr-article tr:last-child td { border-bottom: 0; }
.tr-owner-note {
  border: 1px solid rgba(255, 149, 0, 0.5);
  background: var(--warning-soft, rgba(255, 149, 0, 0.12));
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.25rem 0;
}
.tr-owner-note p { margin: 0 0 0.35rem 0; line-height: 1.55; color: var(--template-colors-text); }
.tr-owner-note-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warning);
}
.tr-owner-note-tag {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
  color: var(--warning);
  margin-bottom: 0;
}
.tr-owner-panel { margin-top: 2.5rem; }
.tr-owner-panel ul { margin: 0.35rem 0 0.5rem 0; }
.tr-owner-panel li { color: var(--template-colors-text); }
.tr-principle {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-inline-start: 3px solid var(--primary);
  background: var(--template-colors-2);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.35rem;
  margin: 1.75rem 0 0.5rem 0;
}
.tr-principle-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  display: block;
}
.tr-principle-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.tr-principle-head {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--template-colors-text);
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
}
.tr-principle-body {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--template-colors-text-muted);
}
@media (max-width: 640px) {
  .tr-principle { padding: 1rem; gap: 0.75rem; }
}
.tr-hero-cta {
  display: flex;
  margin: 1.5rem 0 0.75rem 0;
}
.tr-pagenav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.tr-pagenav a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid var(--template-colors-divider);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  min-width: 0;
}
.tr-pagenav a:hover { text-decoration: none; background: var(--template-colors-2); }
.tr-pagenav-prev { flex: 1 1 30%; }
.tr-pagenav-next { flex: 1 1 60%; align-items: flex-end; text-align: end; background: var(--template-colors-2); }
.tr-pagenav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--template-colors-text-muted);
}
.tr-pagenav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--template-colors-text);
}
.tr-pagenav-next .tr-pagenav-title { color: var(--primary); }
.tr-pagenav-arrow { font-weight: 400; }
@media (max-width: 640px) {
  .tr-pagenav { flex-direction: column; }
  .tr-pagenav-next { align-items: flex-start; text-align: start; }
}
.tr-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid var(--template-colors-divider);
  background: var(--template-colors-2);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-top: 3rem;
}
.tr-cta-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--template-colors-text);
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.02em;
}
.tr-cta-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--template-colors-text-muted);
}
@media (max-width: 640px) {
  .tr-article { font-size: 0.925rem; }
  .tr-cta { padding: 1.25rem; }
  .tr-cta .cta-btn { width: 100%; }
}
