/* Hmong Heritage (was Learning Center; Wiki merged in) 2026-10-16. Hex colors only in token files. */
.lc-page { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.lc-page .proto-tag { display: inline-flex; align-items: center; padding: 1px 7px; border: 1px dashed var(--hb-warning); border-radius: var(--radius-sm); color: var(--hb-warning); background: var(--tint-warning); font-size: 12px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.lc-muted { margin: 0; color: var(--hb-muted); font-size: 15px; }
.lc-muted .icon, .lc-pending .icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }

.lc-hero { padding: 8px 0 0; }
.lc-hero h1 { margin: 0; font-size: clamp(26px, 6.4vw, 34px); font-weight: 800; line-height: 1.15; }
.lc-hero .lc-tagline { margin-top: 6px; color: var(--hb-text); font-size: 19px; font-weight: 700; }
.lc-hero p { max-width: 60ch; margin: 10px 0 0; color: var(--hb-muted); font-size: 17px; line-height: 1.5; }

.lc-back { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 44px; color: var(--hb-primary); font-weight: 700; text-decoration: none; }
.lc-back-icon { width: 18px; height: 18px; transform: rotate(180deg); }
.lc-back:focus-visible, .lc-row:focus-visible, .lc-word:focus-visible { outline: 3px solid var(--hb-primary); outline-offset: 2px; }

/* Lists, not card grids */
.lc-list { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.lc-list > li + li { border-top: 1px solid var(--line); }
.lc-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; color: var(--hb-text); text-decoration: none; }
.lc-row:hover { background: var(--raised); }
.lc-row-icon { display: grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); color: var(--hb-primary); background: var(--tint-primary); }
.lc-row-icon .icon { width: 22px; height: 22px; }
.lc-row-main { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; }
.lc-row-main strong { font-size: 17px; overflow-wrap: anywhere; }
.lc-row-meta { color: var(--hb-muted); font-size: 14px; }
.lc-row-flag { margin-top: 4px; }
.lc-row .row-chevron { flex: 0 0 auto; width: 18px; height: 18px; color: var(--hb-muted); }

.lc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.lc-foot .text-button .icon { width: 16px; height: 16px; margin-right: 4px; }

.lc-empty { display: grid; gap: 6px; justify-items: start; padding: 18px 16px; }
.lc-empty p { margin: 0; }
.lc-empty > .icon { width: 24px; height: 24px; color: var(--hb-muted); }
.lc-pending { display: flex; align-items: center; }

.lc-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--radius-md); background: var(--raised); color: var(--hb-text); font-size: 15px; }
.lc-note .icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--hb-muted); }
.lc-note--warning { background: var(--tint-warning); }
.lc-note--warning .icon { color: var(--hb-warning); }

/* Pills */
.lc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lc-pill { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--hb-text); background: var(--hb-surface); font-size: 13px; font-weight: 700; white-space: nowrap; }
.lc-pill--type { border-color: transparent; color: var(--hb-primary); background: var(--tint-primary); }
.lc-pill--good { border-color: transparent; color: var(--hb-success); background: var(--tint-accent); }
.lc-pill--warning { border-color: transparent; color: var(--hb-warning); background: var(--tint-warning); }
.lc-pill--muted { color: var(--hb-muted); }
.lc-ai { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--hb-muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.lc-ai .icon { width: 14px; height: 14px; }

/* Article */
.lc-article-head { display: grid; gap: 10px; }
.lc-section-name { margin: 0; color: var(--hb-muted); font-size: 14px; font-weight: 700; }
.lc-article-head h1 { margin: 0; font-size: clamp(24px, 6vw, 30px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.lc-meta { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.lc-meta > div { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.lc-meta dt { min-width: 92px; color: var(--hb-muted); font-weight: 700; }
.lc-meta dd { margin: 0; overflow-wrap: anywhere; }
.lc-block { display: grid; gap: 8px; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 16px; }
.lc-block h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; }
.lc-block p { margin: 0; font-size: 17px; line-height: 1.6; }
.lc-body p + p { margin-top: 10px; }
.lc-words { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lc-word { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); color: var(--hb-primary); font-weight: 700; text-decoration: none; }
.lc-word:hover { background: var(--tint-primary); }

/* Forms */
.lc-form { display: grid; gap: 12px; }
.lc-field { display: grid; gap: 6px; font-weight: 700; }
.lc-field small { color: var(--hb-muted); font-weight: 500; }
.lc-field select, .lc-field textarea, .lc-field input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); color: var(--hb-text); background: var(--hb-surface); font: inherit; font-weight: 400; }
.lc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lc-done { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--hb-success); font-weight: 700; }
.lc-done .icon { width: 18px; height: 18px; }

/* Preview switch */
.lc-preview { display: grid; gap: 8px; margin-top: 8px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--raised); }
.lc-preview-title { display: flex; align-items: center; gap: 6px; color: var(--hb-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.lc-preview-title .icon { width: 14px; height: 14px; }
.lc-switch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lc-switch-label { color: var(--hb-muted); font-size: 14px; font-weight: 700; }

/* Review area */
.lc-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: lcflow; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--hb-surface); overflow: hidden; }
.lc-flow li { display: grid; gap: 2px; padding: 10px 12px; counter-increment: lcflow; }
.lc-flow li + li { border-left: 1px solid var(--line); }
.lc-flow strong::before { content: counter(lcflow) ". "; color: var(--hb-muted); }
.lc-flow span { color: var(--hb-muted); font-size: 13px; line-height: 1.35; }
.lc-filter { justify-self: start; flex-wrap: wrap; max-width: 100%; }
.lc-review-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lc-review-item { display: grid; gap: 12px; padding: 14px; }
.lc-review-head { display: grid; gap: 8px; }
.lc-review-head strong { font-size: 17px; overflow-wrap: anywhere; }
.lc-meta--grid { grid-template-columns: 1fr; }
.lc-meta--grid dt { min-width: 150px; }
.lc-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.lc-checks legend { padding: 0 4px; font-weight: 800; font-size: 15px; }
.lc-checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 15px; }
.lc-checks input { width: 20px; height: 20px; }

@media (max-width: 520px) {
  .lc-flow { grid-template-columns: 1fr; }
  .lc-flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .lc-meta--grid dt { min-width: 0; width: 100%; }
}

/* Search */
.lc-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--hb-surface); }
.lc-search > .icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--hb-muted); }
.lc-search input { flex: 1 1 auto; min-width: 0; min-height: 40px; border: 0; color: var(--hb-text); background: transparent; font: inherit; font-size: 16px; }
.lc-search input:focus-visible { outline: none; }
.lc-search:focus-within { outline: 3px solid var(--hb-primary); outline-offset: 2px; }
.lc-results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.lc-results-head h2, .lc-h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.lc-results-head h2 { margin: 0; }
.lc-actions .icon { width: 18px; height: 18px; }

/* Article extras (from the old Wiki) */
.lc-hmong { margin: 0; font-size: 17px; font-weight: 700; }
.lc-hmong small { margin-left: 6px; color: var(--hb-muted); font-size: 13px; font-weight: 500; }
.lc-article-actions { margin-top: 2px; }
.lc-article-actions .text-safety { min-height: 44px; }
.lc-article .tab-strip { margin-top: 14px; }
.lc-tab-panel > .lc-block:first-child { border-top: 0; margin-top: 4px; padding-top: 8px; }
.lc-body h3, .lc-perspective h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.lc-body-part + .lc-body-part, .lc-body p + .lc-body-part { margin-top: 14px; }
.lc-perspectives { display: grid; gap: 10px; }
.lc-perspective { padding: 10px 12px; border-left: 4px solid var(--hb-thread-gold); border-radius: var(--radius-sm); background: var(--raised); }
.lc-perspective h3 span { color: var(--hb-muted); font-weight: 600; }
.lc-citations { display: grid; gap: 6px; margin: 0; padding-left: 22px; font-size: 16px; }
.lc-citations a { color: var(--hb-primary); font-weight: 600; overflow-wrap: anywhere; }
.lc-ext { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }

/* History */
.lc-rev { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 14px; }
.lc-rev .lc-row-main strong { font-size: 16px; }
.lc-rev .lc-done { font-size: 14px; }
.lc-compare { display: grid; gap: 10px; padding: 12px; }
.lc-review-item .lc-compare { padding: 0; }
.lc-compare-title { margin: 0; font-weight: 800; font-size: 15px; }
.lc-compare-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lc-diff { margin: 0; padding: 12px; border-radius: var(--radius-md); background: var(--raised); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.lc-diff del, .lc-diff-key del { padding: 0 2px; border-radius: var(--radius-sm); color: var(--hb-danger); background: var(--tint-danger); }
.lc-diff ins, .lc-diff-key ins { padding: 0 2px; border-radius: var(--radius-sm); color: var(--hb-text); background: var(--tint-primary-strong); text-decoration: underline; }
.lc-diff-key { display: flex; gap: 14px; margin: 0; font-size: 13px; }

/* Discussion */
.lc-post { display: flex; gap: 10px; padding: 12px 14px; }
.lc-post > div { min-width: 0; }
.lc-post p { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.lc-post .lc-post-meta { color: var(--hb-muted); font-size: 14px; }
.lc-post .lc-post-meta strong { color: var(--hb-text); }
.lc-post .text-safety { margin-left: -10px; }
.lc-reply { margin-top: 12px; }

/* Edit / new article */
.lc-editor { padding: 16px; }
.lc-types { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.lc-types legend { margin-bottom: 6px; padding: 0; }
.lc-type-option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-md); font-weight: 600; }
.lc-type-option input, .lc-check input { width: 20px; height: 20px; flex: 0 0 auto; }
.lc-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.lc-check small { display: block; color: var(--hb-muted); font-weight: 500; }

/* Review filters */
.lc-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; }
.lc-kind { min-width: 220px; }
.lc-open { justify-self: start; display: inline-flex; align-items: center; gap: 4px; }
.lc-open .icon { width: 16px; height: 16px; }

/* Old /wiki screen */
.lc-moved { display: grid; justify-items: start; gap: 10px; max-width: 560px; margin: 24px auto; padding: 20px; }
.lc-moved > .icon { width: 28px; height: 28px; color: var(--hb-primary); }
.lc-moved h1 { margin: 0; font-size: 24px; font-weight: 800; }
.lc-moved p { margin: 0; color: var(--hb-muted); }

@media (max-width: 520px) {
  .lc-compare-pick { grid-template-columns: 1fr; }
  .lc-kind { min-width: 0; width: 100%; }
}
