/* Use the shared site palette, type scale and thin section rules. */
.tr-help { overflow-wrap: anywhere; }
.tr-help a { text-underline-offset: .2em; }
.tr-help input:focus-visible, .tr-help select:focus-visible, .tr-help button:focus-visible,
.tr-help summary:focus-visible, .tr-help pre:focus-visible, .tr-help-table:focus-visible {
    outline: 1px solid var(--tr-accent-bright); outline-offset: 3px;
}
.tr-help-skip { position: absolute; left: -10000px; }
.tr-help-skip:focus { position: static; display: inline-block; margin-bottom: 1rem; }
.tr-help-breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--tr-muted); font-size: .8rem; }
.tr-help-hero { margin: 1.5rem 0; }
.tr-help-hero h1 { margin: 0 0 .7rem; }
.tr-help-lede { color: var(--tr-secondary); margin: 0; line-height: 1.6; }
.tr-help-search { display: grid; grid-template-columns: minmax(12rem, 2fr) minmax(8rem, 1fr) minmax(8rem, 1fr) auto; gap: .7rem; margin: 1rem 0 1.7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--tr-line); align-items: end; }
.tr-help-search label { display: block; color: var(--tr-muted); font-size: .8rem; margin-bottom: .4rem; }
.tr-help-search input, .tr-help-search select, .tr-help-search button { box-sizing: border-box; width: 100%; min-height: 2.5rem; border: 1px solid var(--tr-line-strong); border-radius: 0; padding: .5rem .65rem; background: var(--tr-bg); color: var(--tr-fg); font: inherit; font-size: .85rem; }
.tr-help-search button { background: var(--tr-surface); cursor: pointer; }
.tr-help-search button:hover { border-color: var(--tr-accent); color: var(--tr-accent-bright); }
.tr-help-search p { grid-column: 1 / -1; margin: .1rem 0 0; color: var(--tr-muted); font-size: .78rem; line-height: 1.6; }
.tr-help-layout { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 2.5rem; }
.tr-help-sidebar { min-width: 0; align-self: start; position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; font-size: .85rem; }
.tr-help-sidebar nav { display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.tr-help-sidebar h2 { font-size: .85rem; margin: 0 0 .5rem; }
.tr-help-sidebar nav a { line-height: 1.6; }
.tr-help-sidebar nav a[aria-current] { color: var(--tr-fg); text-decoration: underline; }
.tr-help-content { min-width: 0; }
.tr-help-content h2 { margin: 0 0 1rem; }
.tr-help-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.tr-help-group { min-width: 0; border-top: 1px solid var(--tr-line); padding-top: .9rem; }
.tr-help-group > h3 { font-size: .9rem; color: var(--tr-secondary); margin: 0 0 .8rem; }
.tr-help-card { min-width: 0; padding: .6rem 0 .8rem; }
.tr-help-card h3, .tr-help-card h4 { margin: 0; font-size: .9rem; line-height: 1.5; font-weight: 400; }
.tr-help-card p { margin: .3rem 0 0; color: var(--tr-secondary); font-size: .8rem; line-height: 1.6; }
.tr-help-kicker { display: block; color: var(--tr-muted); font-size: .75rem; margin-bottom: .3rem; }
.tr-help-meta { color: var(--tr-muted); font-size: .8rem; }
.tr-help-match { display: inline-block; margin-top: .5rem; font-size: .8rem; }
.tr-help-shortcuts { margin: 0 0 1.5rem; font-size: .85rem; line-height: 1.8; }
.tr-help-results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: baseline; }
.tr-help-results-heading > span { color: var(--tr-muted); font-size: .8rem; }
.tr-help-article-section { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--tr-line); scroll-margin-top: 1rem; }
.tr-help-article-section p, .tr-help-list { max-width: 72ch; line-height: 1.7; }
.tr-help-list { padding-left: 1.4rem; }
.tr-help-list li { margin-bottom: .65rem; }
.tr-help-permalink { margin-left: .6rem; color: var(--tr-muted); font-size: .85rem; text-decoration: none; }
.tr-help-actions { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .85rem; }
.tr-help pre { background: var(--tr-surface); padding: .8rem; border: 1px solid var(--tr-line); overflow: auto; font-size: .85rem; line-height: 1.7; }
.tr-help pre code { padding: 0; background: none; white-space: pre; }
.tr-help-table { overflow-x: auto; margin: 1rem 0; }
.tr-help table { width: 100%; border-collapse: collapse; font-size: .85rem; line-height: 1.6; }
.tr-help th, .tr-help td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--tr-line); vertical-align: top; }
.tr-help thead th { color: var(--tr-muted); font-weight: 400; }
.tr-help tbody th { width: 35%; font-weight: 400; }
.tr-help-notice { border-left: 2px solid var(--tr-accent); padding-left: 1rem; line-height: 1.6; }
.tr-help-empty { padding: 1rem 0; line-height: 1.6; }
.tr-help-related { margin-bottom: 2rem; }
.tr-help-search-panel { margin-bottom: 1rem; }
.tr-help-search-panel[open] .tr-help-search { margin-bottom: 0; }
.tr-help summary { cursor: pointer; color: var(--tr-accent); font-size: .85rem; line-height: 1.7; padding: .3rem 0; }
.tr-help-navigation { margin-bottom: .75rem; }
.tr-help-navigation nav { margin: .5rem 0 1rem; }
@media (max-width: 1000px) { .tr-help-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tr-help-search-text { grid-column: 1 / -1; } .tr-help-search button { grid-column: 1 / -1; width: auto; justify-self: start; } }
@media (max-width: 700px) { .tr-help-layout, .tr-help-groups { grid-template-columns: minmax(0, 1fr); } .tr-help-layout { gap: 1rem; } .tr-help-sidebar { position: static; max-height: none; overflow-y: visible; } .tr-help-sidebar nav[aria-label="Help topics"] { display: flex; flex-wrap: wrap; gap: .5rem 1rem; } .tr-help-sidebar nav[aria-label="Help topics"] h2 { width: 100%; } .tr-help-sidebar p { margin: 0 0 1rem; } .tr-help th, .tr-help td { min-width: 8rem; } }
