/* ETAP_TECH_DOCS_DRAWING_SAMPLES_v1 — strict-CSP styles */
:root {
  --bg: #0e0e10;
  --surface: #1a1a1d;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --accent: #f59e0b;
  --border: #27272a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.ts-header { padding: 32px 24px 16px; max-width: 1180px; margin: 0 auto; }
.ts-back { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.ts-header h1 { font-size: 28px; margin: 16px 0 8px; }
.ts-sub { color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 900px; }
.ts-block { padding: 24px; max-width: 1180px; margin: 16px auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.ts-block h2 { font-size: 20px; margin: 0 0 6px; }
.ts-block-sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.ts-figure { margin: 0; }
.ts-figure svg { width: 100%; height: auto; max-width: 1100px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.ts-figure figcaption { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 10px; font-style: italic; }
.ts-footer { padding: 32px 24px; text-align: center; color: var(--muted); font-size: 12px; }
@media (max-width: 768px) {
  .ts-header h1 { font-size: 22px; }
  .ts-block { padding: 16px; margin: 12px 8px; border-radius: 12px; }
}


/* ETAP_TECH_DOCS_DRAWING_SAMPLES_v2 — index-меню чертежей */
.ts-toc { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; }
.ts-toc strong { color: var(--accent, #f5a623); margin-right: 4px; }
.ts-toc a { color: var(--text, #ddd); text-decoration: none; border-bottom: 1px dashed currentColor; padding-bottom: 1px; }
.ts-toc a:hover { color: var(--accent, #f5a623); }
@media (max-width: 768px) {
  .ts-toc { font-size: 12px; gap: 8px; }
}
