/* ============================================================
   SHUM Selector – стилове само за help.html (инструкции за работа).
   Основната палитра, тъмната тема и .card/.note/.dwg идват от style.css.
   Двата езика са в HTML-а един до друг; показва се този на <html lang>.
   ============================================================ */
html[lang="bg"] .en, html[lang="en"] .bg { display: none !important; }

.help-grid { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .help-grid { grid-template-columns: 1fr; } }

.help-toc { position: sticky; top: 76px; font-size: 12.5px; padding: 14px 18px; }
@media (max-width: 900px) { .help-toc { position: static; } }
.help-toc h2 { font-size: 13px; margin: 0 0 8px; }
.help-toc ol { margin: 0; padding-left: 20px; }
.help-toc li { margin: 5px 0; }
.help-toc a { text-decoration: none; }
.help-toc a:hover { text-decoration: underline; }

.help-body h2 { font-size: 17px; margin: 0 0 4px; }
.help-body h3 { font-size: 13.5px; margin: 16px 0 4px; color: var(--ink-2); }
.help-body p { margin: 8px 0; }
.help-body ul, .help-body ol { margin: 8px 0; padding-left: 22px; }
.help-body li { margin: 4px 0; }
.help-body .lead { color: var(--muted); margin-top: 0; }
.help-body .card { scroll-margin-top: 76px; }

/* фигури */
.fig { margin: 14px 0 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); }
.fig > svg, .fig .drawing { width: 100%; height: auto; display: block; }
.fig figcaption { font-size: 11.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.fig-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .fig-2 { grid-template-columns: 1fr; } }
/* чертежите в инструкциите се подрязват до изометрията чрез viewBox от help.js */
.fig .drawing { background: transparent; border: 0; }

/* таблици в текста */
table.helptab { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0; }
table.helptab th { background: var(--blue-tint); color: var(--ink-2); text-align: left; font-weight: 600; font-size: 11.5px; padding: 7px 8px; }
table.helptab td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.helptab td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink-2); }

/* дребни акценти */
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--blue-tint); color: var(--blue); font-weight: 600; font-size: 11.5px; }
.help-body kbd { font-family: inherit; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--card); }
.mark { font-weight: 700; color: var(--amber); }
.steps { counter-reset: st; list-style: none; padding-left: 0; }
.steps > li { counter-increment: st; position: relative; padding-left: 34px; margin: 10px 0; }
.steps > li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* макети на интерфейса – използват истинските класове от style.css */
.mock { border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px; margin: 12px 0; background: var(--card); }
.mock .mock-cap { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.mock table.results { min-width: 0; font-size: 11.5px; }
.mock table.results th, .mock table.results td { padding: 5px 4px; cursor: default; }
