/* Shared public shell with scoped styling for Wiki and native forum widgets. */
.tu-wiki, .tu-forum { color: #0a0d18; font: 16px/1.6 Involve, Arial, sans-serif; }
.tu-wiki__grid { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 32px; align-items: start; }
.tu-wiki__sidebar { min-width: 0; padding: 20px; background: #f0f3ff; border: 1px solid #d5e2ff; }
.tu-wiki__main, .tu-forum .row > * { min-width: 0; }
.tu-wiki h1, .tu-community-title { margin: 0 0 24px; font: 800 clamp(26px, 3vw, 38px)/1.2 Involve, Arial, sans-serif; overflow-wrap: anywhere; }
.tu-wiki h2, .tu-wiki h3 { margin: 24px 0 12px; font: 700 22px/1.3 Involve, Arial, sans-serif; }
.tu-wiki p, .tu-wiki ul, .tu-wiki ol { margin-bottom: 18px; }
.tu-wiki a:not(.tu-button), .tu-forum a:not(.btn) { color: #0781ef; }
.tu-wiki .tu-breadcrumbs a, .tu-forum .tu-breadcrumbs a { color: inherit; }
.tu-wiki img { max-width: 100%; height: auto; }
.tu-wiki__cover { display: block; width: 100%; max-height: 420px; object-fit: cover; margin-bottom: 24px; }
.tu-wiki__article { overflow-wrap: anywhere; }
.tu-wiki__article table { display: block; max-width: 100%; overflow-x: auto; }
.tu-wiki__article pre { max-width: 100%; overflow-x: auto; }
.tu-wiki__search label { display: block; margin-bottom: 6px; font-weight: 600; }
.tu-wiki__search input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #b7c9ed; background: #fff; color: #0a0d18; }
.tu-wiki__search button { width: 100%; margin-top: 10px; padding: 10px 16px; border: 0; background: #0781ef; color: #fff; font: inherit; font-weight: 700; }
.tu-wiki__toc, .tu-wiki__toc ul { margin: 0; padding: 0; list-style: none; }
.tu-wiki__toc ul { padding-left: 16px; }
.tu-wiki__toc li { position: relative; margin-top: 10px; padding-left: 20px; overflow-wrap: anywhere; }
.tu-wiki__toc a[aria-current] { font-weight: 700; text-decoration: underline; }
.tu-wiki__toc-toggle { position: absolute; left: -4px; top: 0; width: 22px; height: 26px; border: 0; padding: 0; color: #0781ef; background: transparent; font-size: 20px; }
.tu-wiki__toc-toggle::before { content: "−"; }
.tu-wiki__toc-toggle.collapsed::before { content: "+"; }
.tu-wiki__results { display: grid; gap: 16px; margin-top: 24px; }
.tu-wiki__result { padding: 20px; border: 1px solid #d5e2ff; background: #f0f3ff; }
.tu-wiki__result h2 { margin-top: 0; }
.tu-wiki__empty { padding: 24px; background: #f0f3ff; }
.tu-forum { --rainlab-forum-table-head-bg: #f0f3ff; --rainlab-forum-table-border: #d5e2ff; --rainlab-forum-post-member-bg: #f0f3ff; }
.tu-forum .forum-table { width: 100%; max-width: 100%; border: 1px solid #d5e2ff; }
.tu-forum .forum-table td { overflow-wrap: anywhere; }
.tu-forum .forum-table th { white-space: nowrap; }
.tu-wiki .tu-breadcrumbs ol { margin-bottom: 0; }
.tu-forum img { max-width: 100%; height: auto; }
.tu-forum .btn, .tu-forum .form-control { border-radius: 0; }
.tu-forum .btn-primary { background: #0781ef; border-color: #0781ef; color: #fff; }
.tu-forum h4, .tu-forum h5 { font-family: Involve, Arial, sans-serif; font-weight: 700; overflow-wrap: anywhere; }
.tu-forum pre { max-width: 100%; overflow-x: auto; }
@media (max-width: 767px) {
    .tu-wiki, .tu-forum { font-size: 14px; }
    .tu-wiki__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tu-wiki__main { grid-row: 1; }
    .tu-wiki__sidebar { padding: 16px; }
    .tu-wiki__cover { max-height: 280px; }
    .tu-forum .forum-table .activity-column { width: 120px; }
}
