/* Help panel + right dock - uses workbench CSS variables from workbench.css */

.right-dock {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--bg-surface);
    color: var(--text-primary);
}

.right-dock-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.right-dock-pane {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.right-dock-pane.hidden {
    display: none !important;
}

/* Chrome, so the topic card reads as sitting on the pane rather than filling
   it. The search bar above paints its own ground and stays the header. */
.help-pane {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    font-family: var(--font-ui);
    font-size: 13px;
    background: var(--bg-page);
}

.help-loading,
.help-error,
.help-empty {
    padding: 12px;
    color: var(--text-secondary);
}

.help-error {
    color: var(--error-fg, #f14c4c);
}

.help-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-sidebar);
    flex-shrink: 0;
}

.help-search-icon {
    flex-shrink: 0;
    opacity: 0.55;
    color: var(--text-tertiary);
}

.help-search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 12px;
    padding: 4px 8px;
    outline: none;
}

.help-search-input:focus {
    border-color: var(--accent);
}

.help-toolbar-row {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    flex-shrink: 0;
}

.help-nav-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.help-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.help-icon-btn:hover:not(:disabled) {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.help-icon-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.help-home-btn {
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 8px;
    cursor: pointer;
}

.help-home-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.help-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 6px;
    font-size: 11px;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.help-bc-sep {
    opacity: 0.6;
    user-select: none;
}

.help-bc-item:last-child {
    color: var(--text-secondary);
}

/* The topic body is a card on the same terms as the assistant's composer: the
   toolbar and breadcrumbs are chrome above it, and its own edge separates them,
   so the toolbar no longer draws a rule of its own. */
.help-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    margin: 8px;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    background: var(--bg-surface);
}

.help-index {
    padding: 8px 10px 16px;
}

.help-index-category {
    margin-bottom: 2px;
}

/* An expanded section owns its topic list, so it gets breathing room from the
   next section title; collapsed sections stay tight so the default HOME view
   reads as one compact directory rather than a widely-spaced menu. */
.help-index-category:has(.help-index-topic-list) {
    margin-bottom: 10px;
}

/* Collapsible section header - minimal Title Case label + caret. No box,
   border, or count badge: matches the original help-index heading treatment,
   just made clickable to collapse. */
.help-index-cat-header {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    font-family: var(--font-ui);
    padding: 3px 0;
    margin-bottom: 0;
    cursor: pointer;
}

.help-index-caret {
    flex-shrink: 0;
    width: 18px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    color: var(--text-tertiary);
}

/* A section title heads a list of 13px topic links, so it must not be smaller
   than the rows it introduces - at 11px it read as a caption and the index
   looked like a page of unlabelled links. Match the topic size and carry the
   hierarchy with weight and colour instead. */
.help-index-cat-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
}

.help-index-cat-header:hover .help-index-cat-title,
.help-index-cat-header:hover .help-index-caret {
    color: var(--text-primary);
}

/* Sub-group tier within a section (e.g. "Connections & Credentials"). */
.help-index-group {
    margin: 0 0 6px;
}

.help-index-group-title {
    margin: 8px 0 2px;
    padding-left: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-secondary);
}

.help-index-topic-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

.help-index-topic {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.35;
    padding: 3px 0 3px 14px;
    cursor: pointer;
}

.help-index-topic:hover {
    text-decoration: underline;
}

.help-search-results {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.help-search-hit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    padding: 8px 10px;
    margin-bottom: 6px;
    cursor: pointer;
    color: inherit;
}

.help-search-hit:hover {
    background: var(--bg-hover);
    border-color: var(--border-subtle);
}

.help-search-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.help-search-cat {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.help-search-snippet {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.45;
}

.help-search-snippet mark {
    background: rgba(255, 220, 120, 0.35);
    color: var(--text-primary);
    padding: 0 1px;
}

.help-topic-viewer {
    padding: 10px 12px 20px;
}

/* Markdown body - semantic HTML from Markdig */
.doc-markdown.help-markdown {
    line-height: 1.55;
    color: var(--text-primary);
    font-size: 13px;
}

.doc-markdown.help-markdown h1,
.doc-markdown.help-markdown h2,
.doc-markdown.help-markdown h3,
.doc-markdown.help-markdown h4 {
    font-weight: 600;
    margin: 1.1em 0 0.45em;
    line-height: 1.25;
    color: var(--text-primary);
}

.doc-markdown.help-markdown h1 {
    font-size: 1.35em;
}

.doc-markdown.help-markdown h2 {
    font-size: 1.15em;
}

.doc-markdown.help-markdown h3 {
    font-size: 1.05em;
}

.doc-markdown.help-markdown p {
    margin: 0.55em 0;
}

.doc-markdown.help-markdown ul,
.doc-markdown.help-markdown ol {
    margin: 0.5em 0 0.5em 1.25em;
    padding: 0;
}

.doc-markdown.help-markdown li {
    margin: 0.25em 0;
}

.doc-markdown.help-markdown code {
    font-family: var(--font-mono);
    font-size: 0.92em;
    background: var(--bg-sidebar);
    padding: 1px 5px;
    border-radius: 3px;
}

.doc-markdown.help-markdown pre {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 10px 12px;
    overflow: auto;
    font-family: var(--font-mono);
    font-size: 12px;
}

.doc-markdown.help-markdown pre code {
    background: none;
    padding: 0;
}

.doc-markdown.help-markdown blockquote {
    margin: 0.6em 0;
    padding: 4px 0 4px 12px;
    border-left: 3px solid var(--accent);
    color: var(--text-secondary);
}

.doc-markdown.help-markdown table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.75em 0;
    font-size: 12px;
}

.doc-markdown.help-markdown th,
.doc-markdown.help-markdown td {
    border: 1px solid var(--border-subtle);
    padding: 6px 8px;
}

.doc-markdown.help-markdown th {
    background: var(--bg-sidebar);
    font-weight: 600;
}

.doc-markdown.help-markdown a.help-internal-link {
    color: var(--accent);
    text-decoration: none;
}

.doc-markdown.help-markdown a.help-internal-link:hover {
    text-decoration: underline;
}

.doc-markdown.help-markdown a.help-external-link::after {
    content: " ↗";
    font-size: 0.85em;
    opacity: 0.7;
}

.doc-markdown.help-markdown .katex {
    font-size: 1.05em;
}

.doc-markdown.help-markdown .katex-display {
    margin: 0.9em 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25em 0;
}

.doc-markdown.help-markdown .katex-display > .katex {
    white-space: normal;
}

.doc-markdown.help-markdown .katex-display > .katex > .katex-html {
    white-space: nowrap;
}

/* KaTeX emits a screen-reader MathML twin of every formula that is hidden only by
   katex.min.css. Keep it hidden here too, so a missing, late, or overridden katex.min.css
   never renders each equation a second time as raw (mangled) MathML. */
.katex-mathml {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Try It + bundled data links */
.doc-markdown.help-markdown .help-fenced-shz {
    position: relative;
    margin: 0.75em 0;
}

.doc-markdown.help-markdown .help-fenced-shz pre {
    position: relative;
    margin: 0;
}

.doc-markdown.help-markdown .help-fenced-shz code.language-shz,
.doc-markdown.help-markdown .help-fenced-shz code.language-shazam {
    color: #1e1e1e;
}

/* Token colours are scoped to the whole help document, not to the fenced block:
   inline `code` spans in an options section are tokenised too. */
.doc-markdown.help-markdown .shz-tok-keyword {
    color: #0000ff;
    font-weight: 700;
}

.doc-markdown.help-markdown .shz-tok-control {
    color: #af00db;
    font-weight: 700;
}

.doc-markdown.help-markdown .shz-tok-function {
    color: #795e26;
}

.doc-markdown.help-markdown .shz-tok-number {
    color: #098658;
}

.doc-markdown.help-markdown .shz-tok-string {
    color: #a31515;
}

.doc-markdown.help-markdown .shz-tok-comment {
    color: #6a9955;
    font-style: italic;
}

.doc-markdown.help-markdown .shz-tok-sysvar {
    color: #e50000;
    font-weight: 700;
}

.doc-markdown.help-markdown .shz-tok-constant {
    color: #0000ff;
}

.doc-markdown.help-markdown .shz-tok-formula {
    color: #001080;
    font-weight: 700;
}

.doc-markdown.help-markdown .shz-tok-logical {
    color: #af00db;
    font-weight: 700;
}

.doc-markdown.help-markdown .shz-tok-modifier,
.doc-markdown.help-markdown .shz-tok-sub,
.doc-markdown.help-markdown .shz-tok-option {
    color: #7b2d8b;
}

.doc-markdown.help-markdown .shz-tok-interp {
    color: #d16969;
}

/* Dark-theme token colors for help code snippets - matches the shazam-dark Monaco palette */
[data-theme="dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shz,
[data-theme="dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shazam,
[data-theme="nord"] .doc-markdown.help-markdown .help-fenced-shz code.language-shz,
[data-theme="nord"] .doc-markdown.help-markdown .help-fenced-shz code.language-shazam,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shz,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shazam,
[data-theme="abyss"] .doc-markdown.help-markdown .help-fenced-shz code.language-shz,
[data-theme="abyss"] .doc-markdown.help-markdown .help-fenced-shz code.language-shazam,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shz,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .help-fenced-shz code.language-shazam {
    color: #d4d4d4;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-keyword,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-keyword,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-keyword,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-keyword,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-keyword {
    color: #569cd6;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-control,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-control,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-control,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-control,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-control {
    color: #c586c0;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-function,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-function,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-function,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-function,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-function {
    color: #dcdcaa;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-number,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-number,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-number,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-number,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-number {
    color: #b5cea8;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-string,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-string,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-string,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-string,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-string {
    color: #ce9178;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-sysvar,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-sysvar,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-sysvar,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-sysvar,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-sysvar {
    color: #ff6b6b;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-constant,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-constant,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-constant,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-constant,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-constant {
    color: #569cd6;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-formula,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-formula,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-formula,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-formula,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-formula {
    color: #9cdcfe;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-logical,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-logical,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-logical,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-logical,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-logical {
    color: #c586c0;
    font-weight: 700;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-modifier,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-modifier,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-modifier,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-modifier,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-modifier,
[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-sub,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-sub,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-sub,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-sub,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-sub,
[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-option,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-option,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-option,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-option,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-option {
    color: #c586c0;
}

[data-theme="dark"] .doc-markdown.help-markdown .shz-tok-interp,
[data-theme="nord"] .doc-markdown.help-markdown .shz-tok-interp,
[data-theme="solarized-dark"] .doc-markdown.help-markdown .shz-tok-interp,
[data-theme="abyss"] .doc-markdown.help-markdown .shz-tok-interp,
[data-theme="high-contrast-dark"] .doc-markdown.help-markdown .shz-tok-interp {
    color: #d7ba7d;
}

.doc-markdown.help-markdown .help-try-it-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 7px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-ui);
    border-radius: 3px;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.2px;
    opacity: 0.85;
    transition: opacity 0.15s, background 0.15s, box-shadow 0.15s;
}

.doc-markdown.help-markdown .help-fenced-shz pre:hover .help-try-it-btn,
.doc-markdown.help-markdown .help-try-it-btn:focus-visible {
    opacity: 1;
}

.doc-markdown.help-markdown .help-try-it-btn::before {
    content: "▶";
    font-size: 8px;
    opacity: 0.9;
}

.doc-markdown.help-markdown .help-try-it-btn:hover {
    opacity: 1;
    background: color-mix(in srgb, var(--accent) 85%, #000);
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.doc-markdown.help-markdown .help-try-it-btn:active {
    background: color-mix(in srgb, var(--accent) 75%, #000);
}

.doc-markdown.help-markdown a.help-data-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.doc-markdown.help-markdown a.help-data-link:hover {
    text-decoration: underline;
}

/* Learning tracks */
.help-index-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.help-index-track-group {
    list-style: none;
    padding: 0.55rem 0.75rem 0.15rem;
}

.help-index-track-group-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shz-text-muted, #6b7280);
}

.help-index-track-title {
    flex: 1;
    min-width: 0;
}

.help-index-track-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 18%, var(--bg-surface));
    color: var(--text-secondary);
}

/* Learning-mode chip: sits inline with the tutorial title, replacing the old
   .learning-track-banner. The banner was a flex row whose action buttons carried
   flex-shrink:0 while its text did not, so in a ~330px Help panel the buttons kept
   their full width and the text was crushed into a ten-line column. A chip cannot
   develop that failure mode: it wraps as a unit and never competes with the title. */
.learning-track-mode-chip {
    flex-shrink: 0;
    align-self: center;
    padding: 1px 7px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    cursor: default;
    background: color-mix(in srgb, var(--accent) 16%, var(--bg-sidebar));
    color: var(--text-secondary);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.learning-track-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.learning-track-overview {
    padding: 8px 12px 16px;
    overflow: auto;
    flex: 1;
    min-height: 0;
}

.learning-track-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.learning-track-meta {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.learning-track-source {
    font-size: 11px;
    color: var(--text-tertiary);
}

.learning-track-progress-wrap {
    margin-bottom: 16px;
}

.learning-track-progress-label {
    font-size: 12px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.learning-track-progress-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--border-subtle);
    overflow: hidden;
}

.learning-track-progress-fill {
    height: 100%;
    background: color-mix(in srgb, var(--accent) 55%, var(--bg-surface));
    border-radius: 4px;
    transition: width 0.2s ease;
}

.learning-track-steps {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.learning-track-step-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.learning-track-step-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.learning-track-step-status.status-notStarted {
    background: var(--text-tertiary);
    opacity: 0.5;
}

.learning-track-step-status.status-inProgress {
    background: var(--accent);
}

.learning-track-step-status.status-completed {
    background: #3fb950;
}

.learning-track-step-title {
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.learning-track-step-time {
    font-size: 11px;
    color: var(--text-tertiary);
}

.learning-track-step-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 0 18px;
}

.learning-track-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 0 18px;
}

.learning-track-mark-btn {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-sidebar);
    color: var(--text-primary);
    cursor: pointer;
}

.learning-track-completed-label {
    font-size: 12px;
    color: #2a7e2a;
    font-weight: 600;
}

.learning-track-undo-btn {
    color: var(--text-secondary);
    font-weight: 400;
}

/* The one-line note above the categories for a user who chose a kind of work. */
.help-index-face-note {
    margin: 4px 8px 8px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-secondary, #666);
}
