/* Kanban Importer help centre. Deliberately small: the site stylesheet does
   the heavy lifting, this only lays out the pieces the help pages add. */
.help-crumbs { font-size: 0.85rem; opacity: 0.75; margin-bottom: 1rem; }
.help-crumbs span { opacity: 0.5; margin: 0 0.35rem; }

.help-lede { font-size: 1.05rem; opacity: 0.85; max-width: 60ch; }

.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .help-layout { grid-template-columns: 1fr; } }

.help-article article h2 { margin-top: 2.2rem; }
.help-article article h3 { margin-top: 1.6rem; }
.help-article article p, .help-article article li { max-width: 70ch; line-height: 1.7; }
.help-article article code { padding: 0.1em 0.35em; border-radius: 3px; background: rgba(127,127,127,0.18); font-size: 0.92em; }
.help-article article pre { padding: 1rem; border-radius: 6px; background: rgba(127,127,127,0.14); overflow-x: auto; }
.help-article article pre code { background: none; padding: 0; }

.help-table { overflow-x: auto; margin: 1.2rem 0; }
.help-table table { border-collapse: collapse; width: 100%; min-width: 460px; }
.help-table th, .help-table td { text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid rgba(127,127,127,0.3); vertical-align: top; }
.help-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }

.help-pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(127,127,127,0.3); }

.help-aside { position: sticky; top: 6rem; font-size: 0.95rem; }
.help-aside h2 { font-size: 1rem; margin-bottom: 0.6rem; }
.help-aside ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.help-aside li { margin: 0.45rem 0; }

.help-search { margin: 1.5rem 0 2rem; max-width: 34rem; }
.help-search label { display: block; font-size: 0.85rem; opacity: 0.75; margin-bottom: 0.35rem; }
.help-search input { width: 100%; padding: 0.7rem 0.9rem; font: inherit; border-radius: 6px; border: 1px solid rgba(127,127,127,0.45); background: rgba(127,127,127,0.08); color: inherit; }
.help-results { margin-top: 0.6rem; border: 1px solid rgba(127,127,127,0.3); border-radius: 6px; overflow: hidden; }
.help-results a { display: block; padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(127,127,127,0.2); text-decoration: none; color: inherit; }
.help-results a:last-child { border-bottom: none; }
.help-results strong { display: block; }
.help-results span { font-size: 0.88rem; opacity: 0.75; }
.help-results mark { background: rgba(255, 214, 0, 0.35); color: inherit; padding: 0 0.1em; }
.help-empty { margin-top: 0.6rem; font-size: 0.92rem; opacity: 0.8; }

.help-cards[hidden] { display: none; }
.help-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.help-cards a { display: block; height: 100%; padding: 1.1rem 1.2rem; border: 1px solid rgba(127,127,127,0.3); border-radius: 8px; text-decoration: none; color: inherit; }
.help-cards a:hover { border-color: currentColor; }
.help-cards h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.help-cards p { margin: 0; font-size: 0.9rem; opacity: 0.85; line-height: 1.55; color: inherit; }

.help-foot { margin-top: 2rem; font-size: 0.95rem; opacity: 0.85; }
