  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 21px;
    line-height: 1.6;
    background: #F7F9FD;
    color: #1a1a2e;
  }

  /* ── ШАПКА (компактная) ── */
  .header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #1B3A6B 100%);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }

  /* ── НАВИГАЦИЯ ── */
  .nav {
    display: none;
  }

  /* ── ЗАМЕТКИ В ШАПКЕ ── */
  .header-notes-row {
    display: none;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
  }
  .header-notes-row.visible { display: flex; }
  .header-notes-row label { font-size: 17px; font-weight: 700; color: #E5A020; white-space: normal; line-height: 1.6; min-width: 180px; }
  .header-notes-row textarea {
    flex: 1; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 8px;
    padding: 5px 10px; font-size: 17px; font-family: inherit;
    resize: none; outline: none; color: #fff; background: rgba(255,255,255,0.1);
    line-height: 1.5; min-height: 34px; max-height: 80px; font-size: 18px;
  }
  .header-notes-row textarea::placeholder { color: rgba(255,255,255,0.45); }
  .header-notes-row textarea:focus { border-color: #E5A020; background: rgba(255,255,255,0.15); }
  .nav-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 17px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    font-family: inherit;
  }
  .nav-btn:hover { background: rgba(255,255,255,0.25); }
  .nav-btn.active {
    background: #fff;
    border: 2px solid #1A56F5;
    color: #1A56F5;
    font-weight: 700;
  }

  /* Кнопки воронок (Климатика/ГПУ), перенесённые в тёмную шапку из светлой карточки CRM —
     приводим к виду остальных кнопок меню */
  .header .crm-pipe-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
  }
  .header .crm-pipe-btn:hover:not(.active) { background: rgba(255,255,255,0.25); }
  .header .crm-pipe-btn.active {
    background: #fff;
    border: 2px solid #1A56F5;
    color: #1A56F5;
    font-weight: 700;
  }

  /* ── СЕКЦИИ ── */
  .section { margin: 10px 8px 0; display: none; }
  .section.active { display: block; }
  #s1.section { margin: 0; padding: 0; }
  #s1.section > div:first-child { border-radius: 0; }
  #s0.section { margin: 0; padding: 0; }
  #s0.section > div:first-child { border-radius: 0; }
  #s2.section, #s3.section, #s4.section, #s5.section, #s6.section, #s7.section, #s8.section { margin: 0; padding: 0; }
  #s2.section > div:first-child, #s3.section > div:first-child,
  #s4.section > div:first-child, #s5.section > div:first-child,
  #s6.section > div:first-child,
  #s7.section > div:first-child, #s8.section > div:first-child { border-radius: 0; }
  #s2.section > *:nth-child(2), #s3.section > *:nth-child(2),
  #s5.section > *:nth-child(2),
  #s6.section > *:nth-child(2) { margin-top: 14px; }
  .s0-sticky-header {
    position: sticky;
    top: 50px;
    z-index: 90;
    background: linear-gradient(135deg, #1B3A6B 0%, #1a1a2e 100%);
    color: #fff;
    border-radius: 0;
    padding: 10px 18px 10px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }

  /* ── КАРТОЧКИ ── */
  .card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #C5D0E6;
    overflow: hidden;
  }
  .card-header {
    padding: 9px 16px 8px;
    border-bottom: 1px solid #F7F9FD;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .card-header h2 { font-weight: 700; color: #1a1a2e; }
  .card-body { padding: 10px 16px; }

  /* ── ПРАВИЛО ── */
  .rule-box {
    background: #fff8e1;
    border-left: 4px solid #E5A020;
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #7c3100;
  }

  /* ── ДВЕ КОЛОНКИ ── */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
  .info-pill {
    background: #F7F9FD;
    border: 1px solid #C5D0E6;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 18px;
  }
  .info-pill .pill-label { font-size: 16px; font-weight: 700; color: #1A1A2E; text-transform: uppercase; margin-bottom: 5px; }

  /* ── ВАРИАНТЫ (с разделителями) ── */
  .variants-wrap { display: flex; flex-direction: column; gap: 0; }

  .variant {
    border: 1px solid #C5D0E6;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
  }
  .variant:last-child { margin-bottom: 0; }

  .variant-header {
    background: #1a1a2e;
    color: #fff;
    padding: 9px 15px;
    font-size: 17px;
    font-weight: 700;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .variant-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #2E5FA3;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .variant-body { padding: 12px 15px; }
  .variant-voice { font-size: 18px; color: #1a1a2e; margin-bottom: 10px; font-weight: 600; background: #F7F9FD; border-radius: 6px; padding: 7px 11px; border-left: 3px solid #2E5FA3; }
  .variant-tip {
    background: #E8F5EC;
    border-left: 4px solid #1E7E34;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: 700;
    color: #054a37;
    margin-top: 10px;
    border-radius: 0 8px 8px 0;
  }

  /* ── ДИАЛОГ ── */
  .dialog-line {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    align-items: flex-start;
  }
  .dialog-line:last-of-type { margin-bottom: 0; }
  .dialog-badge {
    flex-shrink: 0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
  }
  .badge-manager { background: #2d55d8; color: #fff; }
  .badge-client  { background: #6b28d4; color: #fff; }
  .dialog-text { font-size: 21px; line-height: 1.85; flex: 1; padding-top: 2px; color: #1A1A2E; font-weight: 500; }

  /* ── АККОРДЕОН ВАРИАНТОВ ── */
  .variant-toggle {
    background: none; border: none; cursor: pointer;
    width: 100%; text-align: left; padding: 0;
    font-family: inherit;
  }
  .variant-toggle-header {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 15px;
    font-size: 18px; font-weight: 700; color: #fff;
    transition: opacity 0.15s;
  }
  .variant-toggle-header:hover { opacity: 0.88; }
  .variant-arrow { margin-left: auto; font-size: 16px; transition: transform 0.2s; }
  .variant-toggle.open .variant-arrow { transform: rotate(180deg); }
  .variant-body { padding: 12px 15px; display: none; }
  .variant-body.open { display: block; }

  /* ── БЛОК ВОЗРАЖЕНИЙ ПОСЛЕ ДИАЛОГА ── */
  .obj-after {
    margin-top: 10px;
    background: #eff6ff;
    border: 2px solid #2E5FA3;
    border-radius: 10px;
    padding: 10px 14px;
  }
  .obj-after-label {
    font-size: 16px;
    font-weight: 700;
    color: #1B3A6B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
  }
  .obj-tags { display: flex; flex-wrap: wrap; gap: 7px; }
  .obj-tag {
    background: #fff;
    border: 2px solid #2E5FA3;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
    color: #1B3A6B;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    display: inline-block;
    box-shadow: 0 1px 4px rgba(37,99,235,0.12);
  }
  .obj-tag:hover { background: #EBE9FF; border-color: #1B3A6B; box-shadow: 0 2px 8px rgba(37,99,235,0.22); }

  /* ── ЦВЕТА РАЗМЕТКИ ── */
  .c-blue   { color: #1B3A6B; font-weight: 700; }
  .c-pause  { color: #B22222; font-weight: 700; background: #FFE8E8; border-radius: 4px; padding: 0 3px; }
  .c-amber  { color: #854F0B; font-weight: 600; }
  .c-green  { color: #1E7E34; font-weight: 700; }
  .c-purple { color: #6C63FF; }

  /* ── СПИН ── */
  .spin-table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .spin-table th { background: #1a1a2e; color: #fff; padding: 9px 12px; text-align: left; font-size: 16px; }
  .spin-table th:first-child { border-radius: 8px 0 0 0; }
  .spin-table th:last-child  { border-radius: 0 8px 0 0; }
  .spin-table td { padding: 9px 12px; border-bottom: 1px solid #F7F9FD; vertical-align: top; }
  .spin-table tr:last-child td { border-bottom: none; }
  .spin-table tr:nth-child(even) td { background: #F7F9FD; }
  .spin-badge { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 16px; font-weight: 700; }
  .spin-s { background: #EBE9FF; color: #1B3A6B; }
  .spin-p { background: #FCE9B8; color: #854F0B; }
  .spin-i { background: #FFE8E8; color: #B22222; }
  .spin-n { background: #E8F5EC; color: #1E7E34; }

  /* ── ОФФЕР ── */
  .offer-block {
    background: linear-gradient(135deg, #1B3A6B 0%, #16213e 100%);
    color: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 10px;
  }
  .offer-block .offer-label { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; margin-bottom: 10px; }
  .offer-block .offer-text { font-size: 18px; line-height: 1.75; }
  .offer-block .offer-key { font-size: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); opacity: 0.85; }

  /* ── КАРТОЧКИ ЗАПОЛНЕНИЯ ── */
  .fill-table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .fill-table tr { border-bottom: 1px solid #F7F9FD; }
  .fill-table tr:last-child { border-bottom: none; }
  .fill-table td { padding: 10px 12px; vertical-align: top; }
  .fill-table .fill-label { font-weight: 700; font-size: 18px; white-space: nowrap; }
  .fill-table .fill-q { color: #666666; font-size: 17px; }
  .fill-line {
    border: none; border-bottom: 2px solid #C5D0E6;
    width: 100%; background: transparent;
    padding: 3px 0; font-size: 18px; outline: none;
    color: #1a1a2e; font-family: inherit;
  }
  .fill-line:focus { border-bottom-color: #2E5FA3; }

  /* ── ПАМЯТКА ── */
  .memo-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #F7F9FD; font-size: 18px;
  }
  .memo-row:last-child { border-bottom: none; }
  .memo-num {
    width: 34px; height: 34px; background: #1a1a2e; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; flex-shrink: 0;
  }
  .memo-step { font-weight: 700; font-size: 17px; color: #1A1A2E; min-width: 155px; padding-top: 6px; }
  .memo-phrase { flex: 1; padding-top: 4px; }

  /* ── АРГУМЕНТЫ ── */
  .arg-item {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid #F7F9FD; font-size: 18px;
  }
  .arg-item:last-child { border-bottom: none; }
  .arg-icon { font-size: 20px; flex-shrink: 0; }

  /* ── СООБЩЕНИЕ ── */
  .msg-template-wrap { position: relative; }
  .msg-copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 8px;
    background: #1B3A6B; color: #fff;
    border: none; border-radius: 8px;
    padding: 7px 16px; font-size: 17px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: background 0.2s, transform 0.1s;
    user-select: none;
  }
  .msg-copy-btn:hover { background: #2E5FA3; }
  .msg-copy-btn:active { transform: scale(0.97); }
  .msg-copy-btn.copied { background: #1E7E34; }
  .msg-template {
    background: #E8F5EC; border: 1px solid #C5D0E6;
    border-radius: 10px; padding: 16px 18px;
    font-size: 19px; line-height: 1.8; white-space: pre-line;
  }
  .msg-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .msg-do   { background: #E8F5EC; border: 1px solid #a7f3d0; border-radius: 10px; padding: 12px 14px; font-size: 17px; }
  .msg-dont { background: #FFE8E8; border: 1px solid #FFE8E8; border-radius: 10px; padding: 12px 14px; font-size: 17px; }
  .msg-do .rule-header   { font-weight: 700; color: #054a37; font-size: 16px; margin-bottom: 6px; }
  .msg-dont .rule-header { font-weight: 700; color: #B22222; font-size: 16px; margin-bottom: 6px; }
  .rule-row { display: flex; gap: 6px; margin-bottom: 4px; font-size: 17px; }

  /* ── ИНТОНАЦИЯ ── */
  .intonation-table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .intonation-table th { background: #1a1a2e; color: #fff; padding: 8px 12px; text-align: left; font-size: 16px; }
  .intonation-table th:first-child { border-radius: 8px 0 0 0; }
  .intonation-table th:last-child  { border-radius: 0 8px 0 0; }
  .intonation-table td { padding: 9px 12px; border-bottom: 1px solid #F7F9FD; }
  .intonation-table tr:last-child td { border-bottom: none; }
  .arrow-down { color: #1B3A6B; font-weight: 700; }
  .arrow-up   { color: #B22222; font-weight: 700; }

  /* ── МЫСЛИ ── */
  .mindset { background: #eff6ff; border: 1px solid #C5D0E6; border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
  .mindset-item { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; margin-bottom: 10px; }
  .mindset-item:last-child { margin-bottom: 0; }
  .mindset-num {
    width: 28px; height: 28px; background: #1B3A6B; color: #fff;
    border-radius: 50%; font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }

  /* ── ПАУЗА ── */
  .pause-table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .pause-table th { background: #1a1a2e; color: #fff; padding: 8px 12px; text-align: left; font-size: 16px; }
  .pause-table th:first-child { border-radius: 8px 0 0 0; }
  .pause-table th:last-child  { border-radius: 0 8px 0 0; }
  .pause-table td { padding: 9px 12px; border-bottom: 1px solid #F7F9FD; vertical-align: top; }
  .pause-table tr:last-child td { border-bottom: none; }
  .pause-table tr:nth-child(even) td { background: #F7F9FD; }
  .pause-special { font-weight: 700; color: #B22222; }

  /* ── ГОЛОС ── */
  .voice-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid #C5D0E6; border-radius: 10px; overflow: hidden; font-size: 17px;
  }
  .voice-do-header   { background: #E8F5EC; padding: 8px 14px; font-weight: 700; color: #054a37; font-size: 16px; }
  .voice-dont-header { background: #FFE8E8; padding: 8px 14px; font-weight: 700; color: #B22222; font-size: 16px; border-left: 1px solid #C5D0E6; }
  .voice-do-col   { background: #E8F5EC; padding: 0 14px 12px; }
  .voice-dont-col { background: #fff5f5; padding: 0 14px 12px; border-left: 1px solid #C5D0E6; }
  .voice-row { padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 17px; display: flex; gap: 6px; }
  .voice-row:last-child { border-bottom: none; }

  /* ── НИЖНЯЯ ПАМЯТКА ── */
  .bottom-memo {
    background: #1a1a2e; color: #fff;
    border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
    display: flex; gap: 14px; justify-content: space-around;
    text-align: center; flex-wrap: wrap;
  }
  .bottom-memo-item { font-size: 17px; }
  .bottom-memo-item .bm-label { font-size: 15px; opacity: 0.75; text-transform: uppercase; margin-bottom: 4px; }

  /* ── ДИАГ ТАБЛИЦА ── */
  .diag-table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .diag-table th { background: #1a1a2e; color: #fff; padding: 8px 12px; text-align: left; font-size: 16px; }
  .diag-table th:first-child { border-radius: 8px 0 0 0; }
  .diag-table th:last-child  { border-radius: 0 8px 0 0; }
  .diag-table td { padding: 10px 12px; border-bottom: 1px solid #F7F9FD; vertical-align: top; }
  .diag-table tr:last-child td { border-bottom: none; }

  /* ── FAQ СЕКЦИЯ ── */
  .faq-group-title {
    font-size: 19px; font-weight: 700; color: #1a1a2e;
    padding: 8px 0 5px;
    border-bottom: 2px solid #C5D0E6;
    margin-bottom: 10px;
    display: flex; gap: 10px; align-items: center;
  }
  .faq-badge { font-size: 15px; font-weight: 700; border-radius: 6px; padding: 2px 8px; text-transform: uppercase; }
  .faq-badge-sec  { background: #EBE9FF; color: #1B3A6B; }
  .faq-badge-lpr  { background: #E8F5EC; color: #1E7E34; }
  .faq-badge-meet { background: #FCE9B8; color: #854F0B; }

  /* ── АККОРДЕОН ВОЗРАЖЕНИЙ (только в FAQ) ── */
  .objection {
    background: #fff;
    border: 1px solid #C5D0E6;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .objection-trigger {
    background: #1a1a2e; color: #fff;
    padding: 14px 18px; font-size: 19px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: background 0.2s;
    border-left: 4px solid #2E5FA3;
  }
  .objection-trigger:hover { background: #2E5FA3; border-left-color: #C5D0E6; }
  .objection-trigger .arrow { margin-left: auto; transition: transform 0.2s; font-size: 18px; background: rgba(255,255,255,0.2); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink:0; }
  .objection-trigger.open .arrow { transform: rotate(180deg); }
  .objection-meta {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #F7F9FD;
  }
  .objection-meta-item { padding: 9px 14px; font-size: 17px; border-right: 1px solid #F7F9FD; }
  .objection-meta-item:last-child { border-right: none; }
  .objection-meta-item .meta-label { font-size: 15px; font-weight: 700; color: #1A1A2E; text-transform: uppercase; margin-bottom: 3px; }
  .objection-content { padding: 12px 14px; display: none; }
  .objection-content.open { display: block; }

  /* ── ВОРОНКА — ЦВЕТА КНОПОК ── */
  .nav-product { background: #1B3A6B !important; border-color: #1E7E34 !important; }
  .nav-learn  { background: #1A1A2E !important; border-color: #666666 !important; }
  .nav-sec    { background: #1B3A6B !important; border-color: #2E5FA3 !important; }
  .nav-lpr    { background: #1E7E34 !important; border-color: #1E7E34 !important; }
  .nav-letter { background: #6C63FF !important; border-color: #6C63FF !important; }
  .nav-meet   { background: #854F0B !important; border-color: #E5A020 !important; }
  .nav-calc   { background: #164e63 !important; border-color: #06b6d4 !important; }
  .nav-faq    { background: #B22222 !important; border-color: #B22222 !important; }
  .nav-btn { opacity: 0.65; }
  .nav-btn:hover, .nav-btn.active { opacity: 1 !important; }

  /* ── ПАМЯТКА — АККОРДЕОН ── */
  .memo-acc {
    border: 1px solid #C5D0E6; border-radius: 12px;
    overflow: hidden; margin-bottom: 10px;
  }
  .memo-acc-header {
    background: #1a1a2e; color: #fff;
    padding: 13px 18px; font-size: 18px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: background 0.2s;
  }
  .memo-acc-header:hover { background: #1B3A6B; }
  .memo-acc-header .ma-arrow { margin-left: auto; transition: transform 0.2s; font-size: 17px; }
  .memo-acc-header.open .ma-arrow { transform: rotate(180deg); }
  .memo-acc-body { display: none; background: #fff; }
  .memo-acc-body.open { display: block; }

  /* ── ПЕЧАТЬ ── */
  .print-btn {
    display: block; width: 100%;
    background: #1a1a2e; color: #fff;
    border: none; border-radius: 10px;
    padding: 12px; font-size: 18px; font-weight: 700;
    cursor: pointer; text-align: center; font-family: inherit;
    margin-top: 14px; transition: background 0.2s;
  }
  .print-btn:hover { background: #1B3A6B; }

  @media print {
    body { background: #fff; font-size: 16px; }
    .nav, .header, .print-btn, .memo-acc-header { display: none !important; }
    .memo-acc-body { display: block !important; }
    .memo-row { padding: 8px 0; font-size: 16px; }
    .memo-step { min-width: 120px; }
    .c-pause { background: none; color: #B22222; }
  }

  .page-footer { height: 24px; }

  /* ── КОМПАКТНАЯ ЗАПИСНАЯ КАРТОЧКА ── */
  .notepad {
    background: #fffde7;
    border: 1px solid #E5A020;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
  }
  .notepad-header {
    background: #E5A020;
    color: #fff;
    padding: 7px 14px;
    font-size: 16px; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    user-select: none;
  }
  .notepad-header .np-arrow { margin-left: auto; font-size: 15px; transition: transform 0.2s; }
  .notepad-header.open .np-arrow { transform: rotate(180deg); }
  .notepad-grid { display: none; grid-template-columns: auto 1fr; gap: 0; }
  .notepad-grid.open { display: grid; }
  .notepad-row { display: contents; }
  .notepad-label {
    padding: 6px 12px;
    font-size: 17px; font-weight: 700; color: #854F0B;
    border-bottom: 1px solid #E5A020;
    white-space: nowrap;
    background: #fff8e1;
    display: flex; align-items: center;
  }
  .notepad-input {
    border: none; border-bottom: 1px solid #E5A020;
    background: #fffde7;
    padding: 6px 10px;
    font-size: 18px; font-family: inherit;
    outline: none; color: #1a1a2e; width: 100%;
  }
  .notepad-input:focus { background: #FCE9B8; }

  /* ── АККОРДЕОН ДЛЯ СПИН И ЗАКРЫТИЯ ── */
  .spin-acc {
    border: 1px solid #C5D0E6; border-radius: 10px;
    overflow: hidden; margin-bottom: 10px;
  }
  .spin-acc-header {
    background: #1a1a2e; color: #fff;
    padding: 11px 16px; font-size: 18px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: background 0.2s;
  }
  .spin-acc-header:hover { background: #1B3A6B; }
  .spin-acc-header .sa-arrow { margin-left: auto; transition: transform 0.2s; }
  .spin-acc-header.open .sa-arrow { transform: rotate(180deg); }
  .spin-acc-body { display: none; padding: 14px 16px; background: #fff; }
  .spin-acc-body.open { display: block; }

  /* ── СПИН РАСШИФРОВКА ── */
  .spin-key { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
  .spin-key-item {
    display: flex; align-items: center; gap: 6px;
    background: #F7F9FD; border: 1px solid #C5D0E6;
    border-radius: 8px; padding: 6px 11px; font-size: 17px;
  }
  .spin-key-letter { font-weight: 900; font-size: 18px; }

  /* ── КАНАЛЫ СООБЩЕНИЙ ── */
  .channels-wrap { display: flex; flex-direction: column; gap: 0; }
  .channel-item { border: 1px solid #C5D0E6; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
  .channel-header {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 15px; cursor: pointer;
    font-size: 18px; font-weight: 700; color: #fff;
    transition: opacity 0.15s;
  }
  .channel-header:hover { opacity: 0.88; }
  .channel-header .ch-arrow { margin-left: auto; font-size: 16px; transition: transform 0.2s; }
  .channel-header.open .ch-arrow { transform: rotate(180deg); }
  .channel-body { padding: 14px 15px; display: none; background: #fff; }
  .channel-body.open { display: block; }

  @media print {
    .nav, .header { display: none; }
    .section { display: block !important; }
  }

  /* ── ИНЛАЙН АККОРДЕОН ВОЗРАЖЕНИЙ ── */
  .iobj-wrap {
    margin-top: 10px;
    border: 2px solid #2E5FA3;
    border-radius: 10px;
    background: #eff6ff;
    overflow: hidden;
  }
  .iobj-header {
    padding: 7px 13px;
    font-size: 16px;
    font-weight: 700;
    color: #1B3A6B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #C5D0E6;
    background: #EBE9FF;
  }
  .iobj-list { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
  .iobj-item { border-radius: 8px; overflow: hidden; border: 1.5px solid #C5D0E6; background: #fff; box-shadow: 0 1px 3px rgba(37,99,235,0.08); }
  .iobj-trigger {
    width: 100%; text-align: left; background: none; border: none;
    padding: 9px 14px; font-size: 18px; font-weight: 700; color: #1B3A6B;
    cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    transition: background 0.15s;
  }
  .iobj-trigger:hover { background: #eff6ff; }
  .iobj-trigger.open { background: #1B3A6B; color: #fff; }
  .iobj-trigger.open .iobj-hint { color: #C5D0E6; }
  .iobj-hint { font-weight: 500; font-size: 17px; color: #1A1A2E; }
  .iobj-arrow { font-size: 15px; flex-shrink: 0; transition: transform 0.2s; }
  .iobj-trigger.open .iobj-arrow { transform: rotate(180deg); }
  .iobj-body { display: none; padding: 10px 12px; background: #f8faff; border-top: 1px solid #C5D0E6; }
  .iobj-body.open { display: block; }
  .iobj-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
  .iobj-meta-item { background: #eff6ff; border-radius: 6px; padding: 6px 10px; font-size: 16px; border: 1px solid #C5D0E6; }
  .iobj-meta-label { font-size: 15px; font-weight: 700; color: #1A1A2E; text-transform: uppercase; margin-bottom: 2px; }

  /* ── ПОИСК ── */
  .header-search {
    position: relative;
    flex: 0 0 auto;
    width: 130px;
  }
  .header-search input {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 6px 30px 6px 10px;
    font-size: 16px;
    font-family: inherit;
    color: #fff;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .header-search input::placeholder { color: rgba(255,255,255,0.45); }
  .header-search input:focus { border-color: #E5A020; background: rgba(255,255,255,0.15); }
  .header-search .search-icon {
    position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
    font-size: 16px; pointer-events: none; opacity: 0.55;
  }
  .header-search .search-clear {
    position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
    font-size: 17px; cursor: pointer; color: rgba(255,255,255,0.6);
    display: none; background: none; border: none; padding: 0; line-height: 1;
  }
  .header-search .search-clear:hover { color: #fff; }

  /* ── ВЫПАДАЮЩИЙ СПИСОК РЕЗУЛЬТАТОВ ── */
  .search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #1a1a2e;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
    display: none;
  }
  .search-dropdown.open { display: block; }
  .search-result-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.15s;
  }
  .search-result-item:last-child { border-bottom: none; }
  .search-result-item:hover { background: rgba(255,255,255,0.1); }
  .search-result-section {
    font-size: 15px; font-weight: 700; text-transform: uppercase;
    color: #E5A020; letter-spacing: 0.5px; margin-bottom: 3px;
  }
  .search-result-text {
    font-size: 17px; color: #C5D0E6; line-height: 1.4;
  }
  .search-result-text mark {
    background: #E5A020; color: #1a1a2e; border-radius: 2px; padding: 0 2px;
  }
  .search-no-results {
    padding: 14px; text-align: center; font-size: 17px; color: rgba(255,255,255,0.7);
  }
  .search-count {
    font-size: 15px; color: rgba(255,255,255,0.6);
    padding: 6px 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  /* ── МЕТОДИКА: КНОПКА ЛИТРЕС ── */
  .litres-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e63946;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 10px;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    box-shadow: 0 2px 6px rgba(230,57,70,0.25);
  }
  .litres-btn:hover { background: #c5283d; box-shadow: 0 3px 10px rgba(230,57,70,0.35); transform: translateY(-1px); }
  .litres-btn:active { transform: translateY(0); }

  /* ── МЕТОДИКА: КАРТОЧКА КНИГИ ── */
  .book-card {
    background: #fff;
    border: 1px solid #C5D0E6;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  .book-card .book-title {
    font-size: 19px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px;
  }
  .book-card .book-author {
    font-size: 17px; color: #666666; margin-bottom: 10px;
  }
  .book-card .book-section-label {
    font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: #2E5FA3; margin-top: 12px; margin-bottom: 6px;
  }
  .book-card .book-text { font-size: 18px; line-height: 1.7; color: #1A1A2E; }
  .book-card ul { list-style: none; padding-left: 0; }
  .book-card li { padding: 5px 0 5px 18px; position: relative; font-size: 18px; line-height: 1.65; }
  .book-card li::before { content: "•"; position: absolute; left: 4px; color: #2E5FA3; font-weight: 700; }

  /* ── МЕТОДИКА: ЭТАП-ЛЕЙБЛ ── */
  .stage-label {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  /* ── МЕТОДИКА: АККОРДЕОН-ЭТАП ── */
  .stage-acc { margin-bottom: 10px; border: 1px solid #C5D0E6; border-radius: 10px; overflow: hidden; }
  .stage-acc-header {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.15s;
    user-select: none;
  }
  .stage-acc-header:hover { background: #1B3A6B; }
  .stage-acc-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex: 1;
    letter-spacing: 0.2px;
  }
  .stage-acc-arrow {
    color: #fff;
    font-size: 16px;
    transition: transform 0.2s;
    display: inline-block;
  }
  .stage-acc-arrow.open { transform: rotate(180deg); }
  .stage-acc-body {
    padding: 14px 16px;
    background: #fff;
    display: none;
  }
  .stage-acc-body.open { display: block; }
  .stage-acc-intro {
    font-size: 17px;
    color: #666666;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.65;
  }

  /* ── МЕТОДИКА: МАРШРУТНАЯ КАРТА (плитки чисел) ── */
  .route-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 12px 0;
  }
  .route-tile {
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
  }
  .route-tile-num { font-size: 26px; font-weight: 700; color: #fff; }
  .route-tile-label { font-size: 16px; color: rgba(255,255,255,0.9); margin-top: 4px; text-transform: lowercase; }
  @media (max-width: 600px) {
    .route-tiles { grid-template-columns: repeat(2, 1fr); }
  }

  /* ── МЕТОДИКА: БЛОК С ИНСТРУКЦИЕЙ ── */
  .howto-block {
    background: #F7F9FD;
    border-left: 4px solid #2E5FA3;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.7;
  }
  .howto-block strong { color: #1a1a2e; }

  /* ── МЕТОДИКА: ПЯТЬ ПРАВИЛ ── */
  .rule-num-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #F7F9FD;
  }
  .rule-num-item:last-child { border-bottom: none; }
  .rule-num {
    width: 30px; height: 30px;
    background: #2E5FA3; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 17px;
    flex-shrink: 0;
  }
  .rule-text { font-size: 18px; line-height: 1.6; }
  .rule-text strong { color: #1a1a2e; }

  /* ── МЕТОДИКА: ЧЕК-ЛИСТ ── */
  .check-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #F7F9FD;
    font-size: 18px;
    line-height: 1.55;
  }
  .check-item:last-child { border-bottom: none; }
  .check-box {
    width: 18px; height: 18px;
    border: 2px solid #2E5FA3;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    background: #fff;
    transition: background 0.15s;
  }
  .check-box.checked { background: #2E5FA3; position: relative; }
  .check-box.checked::after {
    content: "✓"; color: #fff; font-size: 17px; font-weight: 700;
    position: absolute; top: -3px; left: 3px;
  }

  /* ── МЕТОДИКА: ПСИХОЛОГИЯ-РОЛЬ ── */
  .role-block {
    background: #fff;
    border: 1px solid #C5D0E6;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 8px;
  }
  .role-block .role-title {
    font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px;
    padding-bottom: 8px; border-bottom: 2px solid #2E5FA3;
  }

  /* ── МЕТОДИКА: ОПАСНЫЙ ТРИГГЕР ── */
  .danger-list li { color: #B22222; }
  .ok-list li { color: #1E7E34; }

  /* ── МЕТОДИКА: ТАБЛИЦА ГРАФИКА ── */
  .schedule-table { width: 100%; border-collapse: collapse; font-size: 17px; }
  .schedule-table th {
    background: #1a1a2e; color: #fff; padding: 9px 12px;
    text-align: left; font-size: 16px; text-transform: uppercase; letter-spacing: 0.4px;
  }
  .schedule-table th:first-child { border-radius: 8px 0 0 0; }
  .schedule-table th:last-child  { border-radius: 0 8px 0 0; }
  .schedule-table td { padding: 9px 12px; border-bottom: 1px solid #F7F9FD; vertical-align: top; }
  .schedule-table tr:last-child td { border-bottom: none; }
  .schedule-table tr:nth-child(even) td { background: #F7F9FD; }
  .schedule-table td.col-window { font-weight: 700; color: #1a1a2e; white-space: nowrap; }

  /* ── МЕТОДИКА: ПЯТЬ ЭТАПОВ (карта) ── */
  .stages-table { width: 100%; border-collapse: collapse; font-size: 17px; }
  .stages-table th {
    background: #1a1a2e; color: #fff; padding: 10px 12px;
    text-align: left; font-size: 16px; text-transform: uppercase; letter-spacing: 0.4px;
  }
  .stages-table th:first-child { border-radius: 8px 0 0 0; }
  .stages-table th:last-child  { border-radius: 0 8px 0 0; }
  .stages-table td { padding: 10px 12px; border-bottom: 1px solid #F7F9FD; vertical-align: top; }
  .stages-table tr:last-child td { border-bottom: none; }
  .stages-table .stage-badge {
    display: inline-block; background: #2E5FA3; color: #fff;
    border-radius: 6px; padding: 3px 10px; font-size: 15px; font-weight: 700;
  }

  /* ── МЕТОДИКА: КАРТА ЗВОНКА (трёхколоночная таблица) ── */
  .call-map-table { width: 100%; border-collapse: collapse; font-size: 17px; }
  .call-map-table th {
    background: #1a1a2e; color: #fff; padding: 9px 11px;
    text-align: left; font-size: 16px; text-transform: uppercase; letter-spacing: 0.3px;
  }
  .call-map-table th:first-child { border-radius: 8px 0 0 0; width: 26%; }
  .call-map-table th:nth-child(2) { width: 36%; }
  .call-map-table th:last-child   { border-radius: 0 8px 0 0; width: 38%; }
  .call-map-table td { padding: 10px 11px; border-bottom: 1px solid #F7F9FD; vertical-align: top; line-height: 1.55; }
  .call-map-table tr:last-child td { border-bottom: none; }
  .call-map-table tr:nth-child(even) td { background: #F7F9FD; }
  .call-map-table .col-said { font-weight: 700; color: #6C63FF; }
  .call-map-table .col-real { color: #666666; font-style: italic; }
  .call-map-table .col-do { color: #1a1a2e; }

  /* ── МЕТОДИКА: ВОЗРАЖЕНИЯ-ТАБЛИЦА ── */
  .objection-table { width: 100%; border-collapse: collapse; font-size: 17px; }
  .objection-table th {
    background: #1a1a2e; color: #fff; padding: 9px 11px;
    text-align: left; font-size: 16px; text-transform: uppercase; letter-spacing: 0.3px;
  }
  .objection-table th:first-child { border-radius: 8px 0 0 0; width: 38%; }
  .objection-table th:last-child  { border-radius: 0 8px 0 0; }
  .objection-table td { padding: 10px 11px; border-bottom: 1px solid #F7F9FD; vertical-align: top; line-height: 1.55; }
  .objection-table tr:last-child td { border-bottom: none; }
  .objection-table tr:nth-child(even) td { background: #F7F9FD; }
  .objection-table .col-q { font-weight: 700; color: #1a1a2e; }

/* ── ОБУЧЕНИЕ: пять ступеней ── */
.quiz-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #C5D0E6;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.quiz-btn:hover { background: rgba(255,255,255,0.2); }
.quiz-note {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 17px;
  font-family: inherit;
  color: #fff;
  resize: none;
  outline: none;
  min-height: 54px;
  line-height: 1.55;
  box-sizing: border-box;
}
.quiz-note:focus { border-color: #E5A020; }
.done-btn {
  margin-top: 12px;
  background: #1E7E34;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.done-btn:hover:not(:disabled) { background: #1E7E34; }
.done-btn:disabled { background: #666666; cursor: default; }

/* ── СТУПЕНИ: ИЕРАРХИЯ РАЗМЕРОВ И ЗЕЛЁНЫЙ ГРАДИЕНТ ── */

/*
  Градиент: белый (ступень 1) → тёмно-зелёный (ступень 5) → «Все пройдено»
  Шаг: #ffffff → #d4edda → #6dbf7e → #2E5FA3 → #1B3A6B → финал #0a3d0a
*/

/* Шапки главных ступеней */
.step-header-1 { background: #EFF4FF; border-bottom: 2px solid #C5D0E6; }
.step-header-2 { background: linear-gradient(135deg, #C5D0E6 0%, #2E5FA3 100%); }
.step-header-3 { background: linear-gradient(135deg, #2E5FA3 0%, #2E5FA3 100%); }
.step-header-4 { background: linear-gradient(135deg, #2E5FA3 0%, #1B3A6B 100%); }
.step-header-5 { background: linear-gradient(135deg, #1B3A6B 0%, #1B3A6B 100%); }

/* ── ИЕРАРХИЯ ШРИФТОВ ПО ГЛУБИНЕ ВЛОЖЕННОСТИ ── */

/* Уровень 0: шапка раздела и заголовки карточек */
.card-header h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; }

/* Ступень 1: светлый фон — принудительно тёмный текст */
.step-header-1 h2,
.step-header-1 .step-title-1 { color: #1a1a2e !important; }
.step-header-1 [id$="-arrow"] { color: #1a1a2e !important; }
.step-header-1 #step-done-1 { background: #1E7E34; color: #fff !important; }

/* Уровень 1: главные аккордионы ступеней — все одинаково 20px */
.step-title-1,
.step-title-2,
.step-title-3,
.step-title-4,
.step-title-5 { font-size: 20px !important; }

/* Уровень 2: внутренние аккордионы (stage-acc-title) — 16px */
.stage-acc-title { font-size: 18px !important; }

/* Уровень 3: содержимое внутри аккордионов */
.stage-acc-body { font-size: 17px; }
.book-card .book-title { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.book-card .book-text { font-size: 17px; line-height: 1.7; color: #1A1A2E; }
.book-card li { font-size: 17px; }
.role-block .role-title { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid #2E5FA3; }
.mindset-item { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; margin-bottom: 10px; }
.rule-text { font-size: 17px; line-height: 1.6; }
.check-item { font-size: 17px; }

/* Уровень 4: метки, подписи, лейблы внутри контента */
.book-card .book-section-label { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #2E5FA3; margin-top: 12px; margin-bottom: 6px; }
.book-card .book-author { font-size: 16px; color: #666666; margin-bottom: 10px; }
.stage-acc-intro { font-size: 17px; color: #1A1A2E; margin-bottom: 10px; font-style: italic; line-height: 1.65; }

/* Цвета (без размеров — размер задан глобально выше) */

/* Бейджи ступеней — все одинакового размера (уровень 1) */
.step-badge-sz-1,
.step-badge-sz-2,
.step-badge-sz-3,
.step-badge-sz-4,
.step-badge-sz-5 { width: 32px !important; height: 32px !important; font-size: 18px !important; }

/* Внутренние аккордионы — градиент внутри каждой ступени */
/* Ступень 1 — почти белый, текст тёмный */
#step-card-1 .stage-acc-header { background: #EFF4FF; }
#step-card-1 .stage-acc-header:hover { background: #C5D0E6; }
#step-card-1 .stage-acc-title { color: #1B3A6B !important; font-size: 18px !important; }
#step-card-1 .stage-acc-arrow { color: #1B3A6B !important; }

/* Ступень 2 — светло-зелёный */
#step-card-2 .stage-acc-header { background: #C5D0E6; }
#step-card-2 .stage-acc-header:hover { background: #C5D0E6; }
#step-card-2 .stage-acc-title { color: #1B3A6B !important; font-size: 18px !important; }
#step-card-2 .stage-acc-arrow { color: #1B3A6B !important; }

/* Ступень 3 — средний зелёный, белый текст */
#step-card-3 .stage-acc-header { background: #2E5FA3; }
#step-card-3 .stage-acc-header:hover { background: #1B3A6B; }
#step-card-3 .stage-acc-title { color: #fff !important; font-size: 18px !important; }
#step-card-3 .stage-acc-arrow { color: #fff !important; }

/* Ступень 4 — тёмно-зелёный */
#step-card-4 .stage-acc-header { background: #2E5FA3; }
#step-card-4 .stage-acc-header:hover { background: #1B3A6B; }
#step-card-4 .stage-acc-title { color: #fff !important; font-size: 18px !important; }
#step-card-4 .stage-acc-arrow { color: #fff !important; }

/* Ступень 5 — очень тёмный зелёный */
#step-card-5 .stage-acc-header { background: #1B3A6B; }
#step-card-5 .stage-acc-header:hover { background: #1B3A6B; }
#step-card-5 .stage-acc-title { color: #fff !important; font-size: 18px !important; }
#step-card-5 .stage-acc-arrow { color: #fff !important; }

/* Вложенные аккордионы (планы внутри ступеней) — чуть светлее родителя */
#step-card-1 .stage-acc .stage-acc-header { background: #F7F9FD; }
#step-card-2 .stage-acc .stage-acc-header { background: #C5D0E6; }
#step-card-3 .stage-acc .stage-acc-header { background: #2E5FA3; }
#step-card-4 .stage-acc .stage-acc-header { background: #2E5FA3; }
#step-card-5 .stage-acc .stage-acc-header { background: #1B3A6B; }

/* Исключение: вложенные «синие» аккордионы внутри ступени 1 и 2 остаются */
#step-card-1 .stage-acc .stage-acc-header[style*="1a3a5c"],
#step-card-2 .stage-acc .stage-acc-header[style*="1a3a5c"] { background: #1B3A6B !important; }

/* ── ИТОГОВЫЙ АККОРДИОН «Все ступени» — финал градиента ── */
.final-acc-header {
  background: linear-gradient(135deg, #1B3A6B 0%, #1B3A6B 100%);
  color: #fff;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  transition: opacity 0.15s;
  user-select: none;
}
.final-acc-header:hover { opacity: 0.9; }
.final-acc-body { display: none; padding: 0; }
.final-acc-body.open { display: block; }
.final-acc-arrow { margin-left: auto; font-size: 17px; transition: transform 0.2s; }
.final-acc-header.open .final-acc-arrow { transform: rotate(180deg); }

/* ── ПРОГРЕСС В ШАПКЕ РАЗДЕЛА ── */
.progress-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.progress-bar-wrap {
  display: flex; gap: 5px; align-items: center;
}
.progress-bar-wrap .pb-seg {
  width: 32px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.2);
  transition: background 0.4s;
}

@keyframes qa-shake {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-4px)}
  40%{transform:translateX(4px)}
  60%{transform:translateX(-3px)}
  80%{transform:translateX(3px)}
}
.quiz-note.qa-error {
  animation: qa-shake 0.4s ease;
  border-color: #B22222 !important;
  box-shadow: 0 0 0 2px rgba(239,68,68,0.2);
}

/* ── TOOLTIP ── */
.tt { position:relative; cursor:help; border-bottom:1px dashed rgba(255,255,255,0.4); }
.tt[data-tip]::after {
  content: attr(data-tip);
  position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%);
  background:#1a1a2e; color:#C5D0E6; font-size:16px; font-weight:400;
  line-height:1.5; padding:6px 10px; border-radius:8px; white-space:pre-wrap;
  max-width:280px; min-width:160px; text-align:left;
  box-shadow:0 4px 16px rgba(0,0,0,0.4);
  pointer-events:none; opacity:0; transition:opacity 0.18s; z-index:9999;
}
.tt[data-tip]:hover::after { opacity:1; }
/* arrow up */
.tt[data-tip]::before {
  content:''; position:absolute; bottom:calc(100% + 2px); left:50%; transform:translateX(-50%);
  border:4px solid transparent; border-top-color:#1a1a2e;
  pointer-events:none; opacity:0; transition:opacity 0.18s; z-index:9999;
}
.tt[data-tip]:hover::before { opacity:1; }
/* light bg variant — darker tooltip for contrast */
.tt-light { border-bottom:1px dashed #666666; }
.tt-light[data-tip]::after { background:#1A1A2E; color:#F7F9FD; }
.tt-light[data-tip]::before { border-top-color:#1A1A2E; }
/* opens downward — for elements near top of screen (header, progress bar) */
.tt-down[data-tip]::after {
  bottom:auto; top:calc(100% + 6px);
}
.tt-down[data-tip]::before {
  bottom:auto; top:calc(100% + 2px);
  border-top-color:transparent; border-bottom-color:#1a1a2e;
}

/* ── FULL-WIDTH: убираем боковые отступы и скругления в секциях s1–s7 ── */
#s1 .card, #s2 .card, #s3 .card, #s4 .card, #s5 .card, #s6 .card, #s7 .card {
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  border-bottom: 1px solid #C5D0E6;
}
#s1 .card-body, #s2 .card-body, #s3 .card-body, #s4 .card-body,
#s5 .card-body, #s6 .card-body, #s7 .card-body {
  padding: 14px 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#s1 .variant, #s2 .variant, #s3 .variant, #s4 .variant,
#s5 .variant, #s6 .variant, #s7 .variant {
  border-radius: 0;
  border-left: none;
  border-right: none;
  margin-bottom: 0;
  border-bottom: 1px solid #C5D0E6;
}
#s1 .variant:last-child, #s2 .variant:last-child, #s3 .variant:last-child,
#s4 .variant:last-child, #s5 .variant:last-child,
#s6 .variant:last-child, #s7 .variant:last-child {
  border-bottom: none;
}
#s1 .variant-toggle-header, #s2 .variant-toggle-header,
#s3 .variant-toggle-header, #s4 .variant-toggle-header,
#s5 .variant-toggle-header, #s6 .variant-toggle-header,
#s7 .variant-toggle-header {
  border-radius: 0;
}
#s1 .spin-acc, #s2 .spin-acc, #s3 .spin-acc, #s4 .spin-acc,
#s5 .spin-acc, #s6 .spin-acc, #s7 .spin-acc {
  border-radius: 0;
  border-left: none;
  border-right: none;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #C5D0E6;
}
#s1 .spin-acc:last-child, #s2 .spin-acc:last-child,
#s3 .spin-acc:last-child, #s4 .spin-acc:last-child,
#s5 .spin-acc:last-child, #s6 .spin-acc:last-child,
#s7 .spin-acc:last-child {
  border-bottom: none;
}
#s1 .spin-acc-header, #s2 .spin-acc-header, #s3 .spin-acc-header,
#s4 .spin-acc-header, #s5 .spin-acc-header,
#s6 .spin-acc-header, #s7 .spin-acc-header {
  border-radius: 0;
}
#s1 .spin-acc-body, #s2 .spin-acc-body, #s3 .spin-acc-body,
#s4 .spin-acc-body, #s5 .spin-acc-body,
#s6 .spin-acc-body, #s7 .spin-acc-body {
  padding: 14px 18px;
}
#s1 .variant-body, #s2 .variant-body, #s3 .variant-body,
#s4 .variant-body, #s5 .variant-body,
#s6 .variant-body, #s7 .variant-body {
  padding: 12px 18px;
}
/* spin-acc внутри variant-body — на всю ширину */
#s1 .variant-body .spin-acc, #s2 .variant-body .spin-acc,
#s3 .variant-body .spin-acc, #s4 .variant-body .spin-acc,
#s5 .variant-body .spin-acc {
  margin-left: -18px;
  margin-right: -18px;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
/* прямые дочерние spin-acc секций */
#s2 > .spin-acc, #s3 > .spin-acc, #s4 > .spin-acc,
#s5 > .spin-acc, #s6 > .spin-acc, #s7 > .spin-acc {
  margin-bottom: 0 !important;
  margin-top: 0;
}

  /* ══ ПРОДУКТ: аккордеоны ══ */
  .pa-wrap { border-radius:14px; margin-bottom:8px; overflow:hidden;
    box-shadow:0 2px 10px rgba(21,128,61,.10); border:1.5px solid #bbf7d0; }
  .pa-head {
    display:flex; align-items:center; gap:10px; padding:12px 18px;
    cursor:pointer; user-select:none;
    background:linear-gradient(90deg,#1B3A6B 0%,#166534 80%,#1E7E34 100%);
    color:#fff; font-size:18px; font-weight:800; transition:filter .15s; }
  .pa-head:hover { filter:brightness(1.1); }
  .pa-num  { font-size:14px; font-weight:700; background:rgba(255,255,255,.18);
    border-radius:20px; padding:2px 8px; flex-shrink:0; }
  .pa-title { flex:1; }
  .pa-sub  { font-size:14px; font-weight:400; opacity:.72; }
  .pa-done-badge { font-size:14px; background:#C5D0E6; color:#052e16;
    border-radius:6px; padding:2px 8px; font-weight:700; flex-shrink:0; display:none; }
  .pa-done-btn { font-size:14px; border-radius:6px; padding:3px 9px;
    font-weight:700; cursor:pointer; flex-shrink:0; font-family:inherit;
    border:1px solid rgba(255,255,255,.35); transition:background .15s, color .15s; }
  .pa-done-btn.off { background:rgba(255,255,255,.15); color:#fff; }
  .pa-done-btn.off:hover { background:rgba(255,255,255,.28); }
  .pa-done-btn.on  { background:#C5D0E6; color:#052e16; border-color:#C5D0E6; }
  .pa-done-btn.on:hover  { background:#FFE8E8; color:#B22222; border-color:#FFE8E8; }
  .pa-arrow { font-size:16px; transition:transform .25s; flex-shrink:0; }
  .pa-head.open .pa-arrow { transform:rotate(180deg); }
  .pa-body { display:none; background:#fff; padding:20px; }
  .pa-body.open { display:block; }

  /* ══ Климатические схемы ══ */
  .clim-cycle { display:flex; align-items:center; overflow-x:auto; margin:14px 0; gap:0; }
  .cc-step { flex:1; min-width:108px; border-radius:10px; padding:12px 8px;
    text-align:center; font-size:16px; font-weight:700; border:2px solid #1E7E34; }
  .cc-step .cc-icon { font-size:22px; display:block; margin-bottom:4px; }
  .cc-step .cc-sub  { font-size:14px; font-weight:400; color:#666666; margin-top:3px; display:block; }
  .cc-arrow { color:#1E7E34; font-size:18px; font-weight:900; flex-shrink:0; padding:0 3px; }

  /* ══ AHU конвейер ══ */
  .ahu-belt { display:flex; align-items:stretch; overflow-x:auto; margin:12px 0;
    border-radius:10px; overflow:hidden; }
  .ahu-step { flex:1; min-width:60px; padding:9px 4px; text-align:center;
    font-size:13px; font-weight:700; color:#fff;
    border-right:2px solid rgba(255,255,255,.18); }
  .ahu-step:last-child { border-right:none; }
  .ahu-step .as-i { font-size:18px; display:block; margin-bottom:3px; }

  /* ══ Универсальная таблица ══ */
  .p-tbl { width:100%; border-collapse:collapse; font-size:17px; margin:10px 0; }
  .p-tbl th { background:#1B3A6B; color:#fff; padding:8px 10px; text-align:left; }
  .p-tbl td { padding:8px 10px; border-bottom:1px solid #C5D0E6; font-size:17px; vertical-align:top; }
  .p-tbl tr:nth-child(even) td { background:#E8F5EC; }
  .b-out  { background:#FFE8E8;color:#B22222;border-radius:6px;padding:2px 7px;font-size:14px;font-weight:700; }
  .b-main { background:#E8F5EC;color:#1E7E34;border-radius:6px;padding:2px 7px;font-size:14px;font-weight:700; }
  .b-fut  { background:#EBE9FF;color:#2E5FA3;border-radius:6px;padding:2px 7px;font-size:14px;font-weight:700; }
  .b-old  { background:#F7F9FD;color:#666666;border-radius:6px;padding:2px 7px;font-size:14px;font-weight:700; }

  /* ══ Инвертор ══ */
  .inv-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
  .inv-box { border-radius:12px; padding:14px 16px; }
  .inv-box .ibt { font-size:17px; font-weight:800; margin-bottom:8px; display:flex; align-items:center; gap:6px; }
  .inv-box .ibr { display:flex; justify-content:space-between; padding:4px 0;
    border-bottom:1px solid rgba(0,0,0,.07); font-size:16px; }
  .inv-box .ibr:last-child { border-bottom:none; }

  /* ══ Матрица выбора ══ */
  .ch-matrix { display:flex; flex-direction:column; gap:5px; margin:10px 0; }
  .ch-row { display:flex; align-items:center; gap:8px; background:#E8F5EC;
    border-radius:8px; padding:8px 12px; font-size:17px; }
  .ch-obj { flex:1.3; font-weight:600; color:#1A1A2E; }
  .ch-arr { color:#1E7E34; font-weight:900; flex-shrink:0; }
  .ch-sol { flex:1.1; font-weight:800; color:#1B3A6B; }
  .ch-n   { flex:1.2; font-size:15px; color:#666666; }

  /* ══ VRF-схема ══ */
  .vrf-outer { background:linear-gradient(135deg,#1B3A6B,#166534); color:#fff;
    border-radius:10px; padding:10px 16px; text-align:center; font-weight:800;
    font-size:17px; margin-bottom:10px; }
  .vrf-floors { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
  .vrf-fl { background:#fff; border:1.5px solid #C5D0E6; border-radius:8px;
    padding:7px 12px; font-size:16px; color:#1B3A6B; font-weight:600;
    display:flex; align-items:center; gap:6px; }

  /* ══ Нормы воздуха ══ */
  .norm-pills { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
  .n-pill { background:#E8F5EC; border:1px solid #C5D0E6; border-radius:10px;
    padding:10px 14px; font-size:17px; color:#1B3A6B; }
  .n-val { font-size:22px; font-weight:900; color:#1E7E34; display:block; }
  .norms-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:10px 0; }
  .n-card { background:#E8F5EC; border:1px solid #C5D0E6; border-radius:10px; padding:12px; font-size:16px; }
  .n-code { font-weight:800; color:#1B3A6B; font-size:17px; margin-bottom:4px; }
  .n-sub  { font-size:14px; color:#666666; }

  /* ══ LTV ══ */
  .ltv-r { display:flex; align-items:center; gap:8px; margin-bottom:5px; font-size:16px; }
  .ltv-lbl { width:185px; font-weight:600; color:#1A1A2E; }
  .ltv-bar-w { flex:1; background:#C5D0E6; border-radius:6px; height:19px; overflow:hidden; }
  .ltv-bar { height:100%; background:linear-gradient(90deg,#1E7E34,#1E7E34); border-radius:6px;
    display:flex; align-items:center; padding-left:6px; font-size:13px; color:#fff; font-weight:700; }
  .ltv-v { width:88px; text-align:right; font-weight:700; color:#1B3A6B; }

  /* ══ Аналогии ══ */
  .ana-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:10px 0; }
  .ana-item { background:#E8F5EC; border-radius:10px; padding:10px 12px;
    border:1px solid #bbf7d0; cursor:help; }
  .ana-term { font-weight:800; color:#1B3A6B; font-size:16px; }
  .ana-like { color:#1A1A2E; font-size:16px; display:block; margin-top:2px; }

  /* ══ Tooltip зелёный ══ */
  .tt-g { border-bottom:1.5px dashed #1E7E34; cursor:help; color:#1B3A6B; font-weight:600; display:inline; }


  /* ── Продукт: прогрессия градиентов 1→8 ── */
  .pa-head-1 { background:linear-gradient(135deg,#E8F5EC 0%,#a7f3d0 100%)!important; color:#052e16!important; }
  .pa-head-2 { background:linear-gradient(135deg,#C5D0E6 0%,#34d399 100%)!important; color:#052e16!important; }
  .pa-head-3 { background:linear-gradient(135deg,#1E7E34 0%,#1E7E34 100%)!important; }
  .pa-head-4 { background:linear-gradient(135deg,#1E7E34 0%,#1E7E34 100%)!important; }
  .pa-head-5 { background:linear-gradient(135deg,#1E7E34 0%,#1E7E34 100%)!important; }
  .pa-head-6 { background:linear-gradient(135deg,#1E7E34 0%,#1B3A6B 100%)!important; }
  .pa-head-7 { background:linear-gradient(135deg,#1B3A6B 0%,#1B3A6B 100%)!important; }
  .pa-head-8 { background:linear-gradient(135deg,#1B3A6B 0%,#052e16 100%)!important; }
  /* светлые модули — тёмный текст */
  .pa-head-1 .pa-num, .pa-head-2 .pa-num { background:rgba(0,0,0,.1)!important; color:#052e16!important; }
  .pa-head-1 .pa-done-btn, .pa-head-2 .pa-done-btn { border-color:rgba(0,0,0,.2)!important; color:#052e16!important; background:rgba(0,0,0,.06)!important; }
  .pa-head-1 .pa-sub, .pa-head-2 .pa-sub, .pa-head-1 .pa-arrow, .pa-head-2 .pa-arrow { color:#052e16!important; opacity:.65; }

  /* ─── НОВЫЕ КОМПОНЕНТЫ v38 ─── */

  /* Живой таймер графика */
  .sched-live{background:linear-gradient(135deg,#1B3A6B,#1a1a2e);color:#fff;border-radius:12px;padding:14px 18px;margin-bottom:10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
  .sched-live-time{font-size:28px;font-weight:800;color:#C5D0E6;letter-spacing:1px;min-width:80px;font-variant-numeric:tabular-nums;}
  .sched-live-label{flex:1;}
  .sched-live-label .slb-block{font-size:18px;font-weight:700;color:#E5A020;}
  .sched-live-label .slb-next{font-size:15px;color:rgba(255,255,255,.6);margin-top:2px;}
  .sched-live-cd{font-size:16px;background:rgba(255,255,255,.12);border-radius:8px;padding:6px 12px;color:#E5A020;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;}

  /* Счётчик дня */
  .day-counter{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px;}
  @media(max-width:600px){.day-counter{grid-template-columns:repeat(2,1fr);}}
  .dc-cell{background:#fff;border:1.5px solid #C5D0E6;border-radius:10px;padding:10px 8px;text-align:center;}
  .dc-label{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:#666666;margin-bottom:4px;}
  .dc-val{font-size:26px;font-weight:800;color:#1a1a2e;line-height:1;}
  .dc-val.dc-green{color:#1E7E34;} .dc-val.dc-blue{color:#2E5FA3;} .dc-val.dc-purple{color:#6C63FF;} .dc-val.dc-amber{color:#854F0B;} .dc-val.dc-red{color:#B22222;} .dc-val.dc-teal{color:#0D9488;}
  .dc-btns{display:flex;justify-content:center;gap:6px;margin-top:6px;}
  .dc-btn{width:28px;height:28px;border:none;border-radius:6px;cursor:pointer;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:opacity .15s;font-family:inherit;}
  .dc-btn-plus{background:#E8F5EC;color:#1E7E34;} .dc-btn-minus{background:#FFE8E8;color:#B22222;}
  .dc-btn:hover{opacity:.8;}
  .dc-reset-row{display:flex;justify-content:flex-end;margin-bottom:8px;}
  .dc-reset-btn{background:none;border:1px solid #C5D0E6;border-radius:6px;padding:4px 10px;font-size:15px;cursor:pointer;font-family:inherit;color:#666666;transition:background .15s;}
  .dc-reset-btn:hover{background:#F7F9FD;}
  /* Отчёт руководителю */
  .dc-report-block{background:#fff;border:1.5px solid #C5D0E6;border-radius:12px;padding:12px 14px;margin-bottom:10px;}
  .dc-report-header{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px;}
  .dc-report-btn{background:linear-gradient(135deg,#1B3A6B 0%,#2E5FA3 100%);color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .15s;}
  .dc-report-btn:hover{opacity:.88;}
  .dc-report-text{background:#F7F9FD;border:1px solid #C5D0E6;border-radius:8px;padding:10px 14px;font-size:16px;font-family:'Segoe UI',Arial,sans-serif;white-space:pre-wrap;line-height:1.7;color:#1A1A2E;margin:10px 0 8px;}
  .dc-report-copy{background:#EBE9FF;color:#4C3DBD;border:1px solid #C4B5FD;border-radius:7px;padding:6px 14px;font-size:16px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s;}
  .dc-report-copy:hover{background:#DDD9FF;}
  /* Чекбоксы расписания */
  .sched-done-btn{background:#F7F9FD;color:#666666;border:1.5px solid #C5D0E6;border-radius:7px;padding:5px 10px;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit;white-space:nowrap;transition:all .18s;}
  .sched-done-btn:hover{background:#E8F5EC;border-color:#C5D0E6;color:#1E7E34;}
  .sched-done-btn.done{background:#E8F5EC;border-color:#4ade80;color:#1E7E34;font-weight:700;}
  .schedule-table tr.sched-row-done td{opacity:.45;text-decoration-color:transparent;}
  .schedule-table tr.sched-row-done .col-window{text-decoration:line-through;text-decoration-color:#888888;}
  .sched-reset-row{display:flex;justify-content:flex-end;margin-bottom:8px;}
  .sched-reset-btn{background:none;border:1px solid #C5D0E6;border-radius:6px;padding:4px 10px;font-size:15px;cursor:pointer;font-family:inherit;color:#666666;transition:background .15s;}
  .sched-reset-btn:hover{background:#F7F9FD;}

  /* Маршрутизатор сегментов */
  .seg-router{background:#F7F9FD;border:1px solid #C5D0E6;border-radius:10px;margin-bottom:10px;overflow:hidden;}
  .seg-router-hdr{background:#1a1a2e;color:#E5A020;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:8px 14px;cursor:pointer;display:flex;align-items:center;gap:8px;user-select:none;}
  .seg-router-body{display:none;} .seg-router-body.open{display:block;}
  .seg-row{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid #F7F9FD;font-size:17px;}
  .seg-row:last-child{border-bottom:none;}
  .seg-name{font-weight:700;color:#1a1a2e;min-width:140px;}
  .seg-note{font-size:15px;color:#666666;flex:1;}
  .seg-chip{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-size:15px;font-weight:700;flex-shrink:0;cursor:pointer;transition:transform .1s;text-decoration:none;color:#fff;}
  .seg-chip:hover{transform:scale(1.15);}

  /* Кнопки результата звонка */
  .call-result-row{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 4px;border-top:1px dashed #C5D0E6;margin-top:10px;}
  .cr-btn{border:none;border-radius:8px;padding:7px 12px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .15s,transform .1s;display:flex;align-items:center;gap:4px;}
  .cr-btn:hover{opacity:.85;} .cr-btn:active{transform:scale(.97);}
  .cr-btn.cr-green{background:#E8F5EC;color:#1E7E34;} .cr-btn.cr-blue{background:#EBE9FF;color:#1B3A6B;}
  .cr-btn.cr-yellow{background:#FCE9B8;color:#854F0B;} .cr-btn.cr-red{background:#FFE8E8;color:#B22222;}
  .cr-btn.cr-flash{outline:2px solid currentColor;}

  /* СПИН прогресс */
  .spin-progress{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap;align-items:center;}
  .spin-progress-label{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#666666;margin-right:4px;}
  .sp-btn{width:40px;height:40px;border-radius:50%;border:2.5px solid transparent;font-size:17px;font-weight:700;cursor:pointer;transition:all .15s;font-family:inherit;position:relative;}
  .sp-btn.sp-s{background:#EBE9FF;color:#1B3A6B;border-color:#C5D0E6;}
  .sp-btn.sp-p{background:#FCE9B8;color:#854F0B;border-color:#E5A020;}
  .sp-btn.sp-i{background:#FFE8E8;color:#B22222;border-color:#FFE8E8;}
  .sp-btn.sp-n{background:#E8F5EC;color:#1E7E34;border-color:#C5D0E6;}
  .sp-btn.sp-done{opacity:.6;}
  .sp-btn.sp-done::after{content:"✓";position:absolute;bottom:-2px;right:-2px;background:#1E7E34;color:#fff;border-radius:50%;width:14px;height:14px;font-size:13px;display:flex;align-items:center;justify-content:center;}
  .spin-progress-reset{font-size:15px;color:#888888;cursor:pointer;background:none;border:none;font-family:inherit;padding:0 4px;transition:color .15s;}
  .spin-progress-reset:hover{color:#1A1A2E;}

  /* Чек-лист диагностики */
  .diag-checklist{border:1px solid #C5D0E6;border-radius:10px;overflow:hidden;margin-bottom:8px;}
  .dc-check-item{display:flex;align-items:flex-start;gap:10px;padding:9px 14px;border-bottom:1px solid #F7F9FD;background:#fff;font-size:16px;}
  .dc-check-item:last-child{border-bottom:none;}
  .dc-cb{width:18px;height:18px;border:2px solid #2E5FA3;border-radius:4px;flex-shrink:0;margin-top:1px;cursor:pointer;background:#fff;transition:background .15s;position:relative;}
  .dc-cb.checked{background:#2E5FA3;border-color:#2E5FA3;}
  .dc-cb.checked::after{content:"✓";color:#fff;font-size:15px;font-weight:700;position:absolute;top:-2px;left:2px;}
  .dc-check-name{font-weight:700;color:#1a1a2e;min-width:195px;padding-top:1px;}
  .dc-check-inp{flex:1;border:none;border-bottom:1.5px solid #C5D0E6;background:transparent;font-size:16px;font-family:inherit;outline:none;color:#1A1A2E;padding:2px 0;min-width:0;}
  .dc-check-inp:focus{border-bottom-color:#2E5FA3;}
  .dc-check-status{display:flex;gap:4px;flex-shrink:0;}
  .dc-s-btn{border:1.5px solid transparent;border-radius:4px;padding:3px 7px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;opacity:.45;transition:all .15s;}
  .dc-s-btn.active{opacity:1;}
  .dc-s-ok.active{border-color:#1E7E34;} .dc-s-warn.active{border-color:#854F0B;} .dc-s-bad.active{border-color:#B22222;}
  .dc-s-ok{background:#E8F5EC;color:#1E7E34;} .dc-s-warn{background:#FCE9B8;color:#854F0B;} .dc-s-bad{background:#FFE8E8;color:#B22222;}
  .dc-check-item.dc-ok{background:#E8F5EC;}
  .dc-check-item.dc-warn{background:#FCE9B8;}
  .dc-check-item.dc-bad{background:#FFE8E8;}
  .dc-gen-btn{width:100%;background:linear-gradient(135deg,#1B3A6B,#16213e);color:#fff;border:none;border-radius:10px;padding:12px 18px;font-size:17px;font-weight:700;cursor:pointer;font-family:inherit;transition:opacity .2s;margin-bottom:10px;}
  .dc-gen-btn:hover{opacity:.88;}
  .dc-act-out{background:#E8F5EC;border:1px solid #C5D0E6;border-radius:10px;padding:14px 16px;font-size:16px;line-height:1.7;white-space:pre-line;display:none;position:relative;margin-bottom:10px;}
  .dc-act-copy{position:absolute;top:10px;right:10px;background:#1B3A6B;color:#fff;border:none;border-radius:6px;padding:5px 10px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;}
  .dc-act-copy:hover{background:#2E5FA3;}

  /* Эскалация директора */
  .director-steps{background:#fff8e1;border-left:4px solid #E5A020;border-radius:0 10px 10px 0;padding:12px 16px;margin-top:10px;font-size:17px;line-height:1.7;}
  .director-steps .ds-title{font-weight:700;color:#854F0B;margin-bottom:8px;font-size:15px;text-transform:uppercase;letter-spacing:.4px;}
  .director-step{display:flex;gap:10px;margin-bottom:6px;align-items:flex-start;}
  .director-step:last-child{margin-bottom:0;}
  .ds-num{width:20px;height:20px;background:#E5A020;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0;margin-top:2px;}

  /* Мультирум */
  .mr-row{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#F7F9FD;border:1px solid #C5D0E6;border-radius:8px;margin-bottom:6px;font-size:17px;}
  .mr-label{font-weight:700;min-width:60px;color:#1A1A2E;font-size:16px;}
  .mr-inp{border:none;border-bottom:2px solid #C5D0E6;background:transparent;font-size:17px;width:75px;padding:2px 4px;font-family:inherit;outline:none;color:#1a1a2e;text-align:right;}
  .mr-inp:focus{border-bottom-color:#2E5FA3;}
  .mr-kw{font-size:16px;font-weight:700;color:#1E7E34;min-width:55px;}
  .mr-del{background:#FFE8E8;color:#B22222;border:none;border-radius:6px;padding:4px 8px;cursor:pointer;font-family:inherit;font-size:17px;margin-left:auto;transition:opacity .15s;}
  .mr-del:hover{opacity:.8;}
  .mr-add-btn{background:#eff6ff;color:#1B3A6B;border:1.5px dashed #C5D0E6;border-radius:8px;padding:8px 14px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;width:100%;transition:background .15s;margin-bottom:8px;}
  .mr-add-btn:hover{background:#EBE9FF;}
  .mr-total{background:linear-gradient(135deg,#1B3A6B,#16213e);color:#fff;border-radius:10px;padding:14px 18px;display:flex;align-items:center;gap:14px;margin-bottom:10px;flex-wrap:wrap;}
  .mr-total-kw{font-size:28px;font-weight:800;color:#C5D0E6;}
  .mr-total-hint{font-size:16px;color:rgba(255,255,255,.75);margin-top:2px;}
  .mr-copy-btn{margin-left:auto;background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:8px 14px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .2s;white-space:nowrap;}
  .mr-copy-btn:hover{background:rgba(255,255,255,.25);}
  .mr-copy-btn.copied{background:#1E7E34;border-color:#1E7E34;}

  /* ROI */
  .roi-block{background:#fff;border:1px solid #C5D0E6;border-radius:10px;margin-bottom:10px;overflow:hidden;}
  .roi-header{background:#1a1a2e;color:#E5A020;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:10px 14px;}
  .roi-body{padding:14px 16px;}
  .roi-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:17px;}
  .roi-row-lbl{min-width:220px;color:#1A1A2E;font-weight:600;}
  .roi-inp{border:none;border-bottom:2px solid #C5D0E6;background:transparent;font-size:18px;width:110px;padding:2px 4px;font-family:inherit;outline:none;color:#1a1a2e;text-align:right;}
  .roi-inp:focus{border-bottom-color:#2E5FA3;}
  .roi-unit{font-size:16px;color:#666666;}
  .roi-result{background:linear-gradient(135deg,#1E7E34,#1B3A6B);color:#fff;border-radius:10px;padding:14px 16px;margin-top:12px;display:none;font-size:17px;line-height:1.8;}
  .roi-result.vis{display:block;}
  .roi-result strong{color:#C5D0E6;}

  /* Кнопка копирования результата calc */
  .calc-copy-btn{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:8px 14px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .2s;margin-top:10px;display:inline-flex;align-items:center;gap:6px;}
  .calc-copy-btn:hover{background:rgba(255,255,255,.25);}
  .calc-copy-btn.copied{background:#1E7E34;border-color:#1E7E34;}

  /* Возражения v38 */
  .obj-meta-bar{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#F7F9FD;border-top:1px solid #F7F9FD;flex-wrap:wrap;}
  .obj-cnt-btn{background:#eff6ff;color:#1B3A6B;border:1.5px solid #C5D0E6;border-radius:8px;padding:5px 10px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s;display:flex;align-items:center;gap:4px;}
  .obj-cnt-btn:hover{background:#EBE9FF;}
  .obj-cnt-val{background:#1B3A6B;color:#fff;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;}
  .obj-top-badge{background:#FCE9B8;color:#854F0B;border-radius:5px;padding:2px 6px;font-size:13px;font-weight:700;white-space:nowrap;}
  .obj-note-wrap{padding:0 14px 10px;}
  .obj-note-lbl{font-size:14px;font-weight:700;color:#666666;text-transform:uppercase;letter-spacing:.4px;display:block;margin-bottom:4px;}
  .obj-personal-note{width:100%;border:1.5px solid #C5D0E6;border-radius:8px;padding:8px 10px;font-size:16px;font-family:inherit;resize:vertical;outline:none;color:#1a1a2e;background:#F7F9FD;line-height:1.55;min-height:44px;}
  .obj-personal-note:focus{border-color:#2E5FA3;background:#fff;}


  /* ══ CRM v2 ══ */
  .nav-crm{background:#6C63FF!important;border-color:#6C63FF!important;}
  .nav-sched{background:#1B3A6B!important;border-color:#2E5FA3!important;}
  .nav-analytics{background:#1B3A6B!important;border-color:#2E5FA3!important;}
  #s9.section{margin:0;padding:0;}
  #s-sched.section{margin:0;padding:0;}
  #s9 .crm-wrap{font-family:'Segoe UI',Arial,sans-serif;background:#F7F9FD;min-height:80vh;}
  .crm-hdr{background:linear-gradient(135deg,#6C63FF 0%,#1a1a2e 100%);color:#fff;padding:10px 18px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
  .crm-hdr h1{font-size:19px;font-weight:700;flex:1;}
  .crm-tabs{display:flex;flex-wrap:wrap;gap:3px;background:rgba(255,255,255,.12);border-radius:10px;padding:3px;}
  .crm-tab-sep{display:inline-block;width:1px;align-self:stretch;background:rgba(255,255,255,.30);margin:2px 5px;}
  .crm-tab{padding:6px 13px;font-size:16px;font-weight:600;border:none;background:transparent;color:rgba(255,255,255,.7);border-radius:7px;cursor:pointer;font-family:inherit;transition:all .15s;white-space:nowrap;}
  .crm-tab.active{background:#fff;color:#6C63FF;border:2px solid #6C63FF;}
  .crm-tab:hover:not(.active){background:rgba(255,255,255,.18);color:#fff;}
  .crm-body{padding:14px 18px;}
  .crm-screen{display:none;}
  .crm-screen.active{display:block;}
  .crm-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:10px;}
  .crm-mc{background:#fff;border-radius:10px;border:1px solid #C5D0E6;padding:12px 14px;}
  .crm-mc .cml{font-size:14px;font-weight:700;color:#666666;text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px;}
  .crm-mc .cmv{font-size:24px;font-weight:800;color:#1a1a2e;}
  .cmv-red{color:#B22222!important;}.cmv-amb{color:#E5A020!important;}.cmv-grn{color:#1E7E34!important;}
  .crm-panel{background:#fff;border:1px solid #C5D0E6;border-radius:12px;padding:14px 16px;margin-bottom:8px;}
  .crm-pt{font-size:17px;font-weight:700;color:#1a1a2e;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #F7F9FD;}
  .crm-toolbar{display:flex;gap:8px;margin-bottom:10px;align-items:center;flex-wrap:wrap;}
  .crm-ml{margin-left:auto;display:flex;gap:8px;}
  .c-btn-p{padding:7px 14px;font-size:16px;font-weight:700;background:#6C63FF;color:#fff;border:none;border-radius:8px;cursor:pointer;font-family:inherit;transition:opacity .15s;display:inline-flex;align-items:center;gap:5px;}
  .c-btn-p:hover{opacity:.85;}
  .c-btn-s{padding:7px 14px;font-size:16px;font-weight:600;background:#fff;color:#1A1A2E;border:1px solid #C5D0E6;border-radius:8px;cursor:pointer;font-family:inherit;transition:background .15s;display:inline-flex;align-items:center;gap:5px;}
  .c-btn-s:hover{background:#F7F9FD;}
  .c-btn-d{padding:7px 14px;font-size:16px;font-weight:600;background:#fff;color:#B22222;border:1px solid #FFE8E8;border-radius:8px;cursor:pointer;font-family:inherit;}
  .kanban-crm{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
  .kb-col{background:#F7F9FD;border-radius:12px;border:1px solid #C5D0E6;padding:10px;min-height:180px;}
  .kb-col-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}
  .kb-col-t{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#666666;}
  .kb-cnt{background:#fff;border:1px solid #C5D0E6;border-radius:20px;padding:1px 7px;font-size:14px;font-weight:700;color:#1A1A2E;}
  .kb-card{background:#fff;border:1px solid #C5D0E6;border-radius:9px;padding:9px 11px;margin-bottom:6px;cursor:pointer;transition:border-color .15s,box-shadow .15s;}
  .kb-card:hover{border-color:#6C63FF;box-shadow:0 2px 8px rgba(139,92,246,.15);}
  .kb-cn{font-size:16px;font-weight:700;color:#1a1a2e;margin-bottom:2px;}
  .kb-cm{font-size:14px;color:#666666;margin-bottom:4px;line-height:1.4;}
  .kb-nx{font-size:14px;color:#1A1A2E;background:#E8F5EC;border-radius:4px;padding:2px 6px;display:inline-block;margin-top:3px;}
  .kb-add{width:100%;padding:6px;font-size:15px;color:#888888;background:transparent;border:1px dashed #C5D0E6;border-radius:8px;cursor:pointer;font-family:inherit;margin-top:3px;transition:all .15s;}
  .kb-add:hover{background:#fff;color:#6C63FF;border-color:#6C63FF;}
  .sp{display:inline-block;padding:2px 7px;border-radius:20px;font-size:13px;font-weight:700;}
  .sp-hot{background:#FFE8E8;color:#B22222;}.sp-warm{background:#FCE9B8;color:#854F0B;}.sp-cold{background:#EBE9FF;color:#1B3A6B;}
  .c-tbl{width:100%;border-collapse:collapse;font-size:16px;}
  .c-tbl th{text-align:left;padding:9px 11px;background:#1a1a2e;color:#fff;font-size:15px;font-weight:700;}
  .c-tbl th:first-child{border-radius:8px 0 0 0;}.c-tbl th:last-child{border-radius:0 8px 0 0;}
  .c-tbl td{padding:9px 11px;border-bottom:1px solid #F7F9FD;vertical-align:middle;}
  .c-tbl tr:hover td{background:#faf7ff;cursor:pointer;}
  .c-tbl tr:last-child td{border-bottom:none;}
  .c-empty{text-align:center;padding:28px 16px;color:#888888;}
  .import-zone{border:2px dashed #C5D0E6;border-radius:12px;padding:24px 16px;text-align:center;cursor:pointer;transition:all .15s;margin-bottom:8px;}
  .import-zone:hover,.import-zone.drag-over{border-color:#6C63FF;background:#faf7ff;}
  .iz-ic{font-size:28px;margin-bottom:7px;}
  .iz-t{font-size:17px;font-weight:700;color:#1a1a2e;margin-bottom:3px;}
  .iz-s{font-size:15px;color:#666666;}
  .c-steps{display:flex;margin-bottom:10px;}
  .c-step{flex:1;text-align:center;font-size:15px;padding:8px 4px;border-bottom:3px solid #C5D0E6;color:#888888;}
  .c-step.active{background:#EBE9FF;border:2px solid #6C63FF;border-bottom:3px solid #6C63FF;color:#6C63FF;font-weight:700;border-radius:6px 6px 0 0;}
  .c-step.done{border-bottom-color:#1E7E34;color:#1E7E34;font-weight:700;}
  .c-map-row{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-bottom:6px;}
  .c-map-l{font-size:15px;font-weight:700;color:#1A1A2E;text-align:right;}
  .c-map-a{font-size:17px;color:#888888;text-align:center;}
  .c-ptbl{width:100%;border-collapse:collapse;font-size:15px;}
  .c-ptbl th{padding:6px 9px;background:#F7F9FD;font-weight:700;font-size:14px;color:#666666;border-bottom:1px solid #F7F9FD;text-align:left;}
  .c-ptbl td{padding:6px 9px;border-bottom:1px solid #F7F9FD;}
  .c-ptbl tr:last-child td{border-bottom:none;}
  .c-ok{background:#E8F5EC;border:1px solid #C5D0E6;border-radius:8px;padding:10px 13px;font-size:16px;font-weight:700;color:#1E7E34;margin-bottom:10px;}
  .c-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;}
  .c-form-full{grid-template-columns:1fr;}
  .c-fg{display:flex;flex-direction:column;gap:3px;}
  .c-fg label{font-size:15px;font-weight:700;color:#1A1A2E;}
  .c-fg input,.c-fg select,.c-fg textarea{padding:7px 10px;font-size:16px;border:1px solid #C5D0E6;border-radius:8px;background:#fff;color:#1a1a2e;font-family:inherit;outline:none;transition:border-color .15s;}
  .c-fg input:focus,.c-fg select:focus,.c-fg textarea:focus{border-color:#6C63FF;}
  .c-fg textarea{resize:vertical;min-height:56px;}
  .c-roi{background:#E8F5EC;border-radius:8px;padding:9px 12px;font-size:16px;color:#1E7E34;margin-top:7px;display:none;}
  .c-modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:9999;padding:16px;}
  .c-modal{background:#fff;border-radius:14px;width:100%;max-width:520px;max-height:86vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,.22);}
  .c-mhd{padding:13px 15px;border-bottom:1px solid #F7F9FD;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:1;}
  .c-mhd h3{font-size:18px;font-weight:700;}
  .c-mclose{background:none;border:none;font-size:20px;cursor:pointer;color:#666666;line-height:1;}
  .c-mbody{padding:14px 15px;}
  .c-mfoot{padding:11px 15px;border-top:1px solid #F7F9FD;display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:0;background:#fff;}
  .c-slbl{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#666666;margin-bottom:5px;}
  .c-stg-btns{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px;}
  .c-stg-btn{padding:5px 11px;font-size:15px;border:2px solid #C5D0E6;border-radius:20px;cursor:pointer;background:#fff;color:#666666;font-family:inherit;transition:all .15s;}
  .c-stg-btn.active{background:#6C63FF;color:#fff;border:2px solid #443DCC;font-weight:700;}
  .c-sts-btns{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px;}
  .c-sts-btn{padding:5px 11px;font-size:15px;border:2px solid #C5D0E6;border-radius:20px;cursor:pointer;background:#fff;color:#666666;font-family:inherit;transition:all .15s;}
  .c-sts-hot.active{background:#FFE8E8;color:#B22222;border:2px solid #B22222;font-weight:700;}
  .c-sts-warm.active{background:#FCE9B8;color:#854F0B;border:2px solid #E5A020;font-weight:700;}
  .c-sts-cold.active{background:#EBE9FF;color:#1B3A6B;border:2px solid #1B3A6B;font-weight:700;}
  .c-dfields{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px;}
  .c-df .c-dfl{font-size:14px;color:#666666;margin-bottom:1px;}
  .c-df .c-dfv{font-size:16px;font-weight:700;color:#1a1a2e;}
  .c-dfv .phone-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;margin-bottom:4px;background:#F7F9FD;border:1px solid #C5D0E6;border-radius:8px;font-size:14px;font-weight:600;}
  .c-dfv .phone-row:last-child{margin-bottom:0;}
  .phone-call-btn{background:none;border:none;cursor:pointer;font-size:16px;color:#E84545;padding:2px 6px;flex-shrink:0;}
  .phone-call-btn:hover{opacity:0.7;}
  .c-log{border-top:1px solid #F7F9FD;margin-top:8px;padding-top:8px;}
  .c-log-e{display:flex;gap:9px;padding:6px 0;border-bottom:1px solid #F7F9FD;}
  .c-log-e:last-child{border-bottom:none;}
  .c-log-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px;}
  .c-log-dot.call{background:#2E5FA3;}.c-log-dot.email{background:#1E7E34;}.c-log-dot.meet{background:#6C63FF;}
  .c-log-m{font-size:14px;color:#666666;margin-bottom:1px;}
  .c-log-t{font-size:15px;color:#1a1a2e;}
  .c-act-row{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px;}
  @media(max-width:700px){.crm-metrics{grid-template-columns:1fr 1fr!important;}.kanban-crm{grid-template-columns:1fr 1fr!important;}.c-form-row{grid-template-columns:1fr!important;}.c-dfields{grid-template-columns:1fr!important;}}

/* ── ВОССТАНОВЛЕНО для v7: переключатель воронок ── */
.crm-pipe-btn{padding:9px 16px;font-size:16px;font-weight:700;border:2px solid #C5D0E6;background:#fff;color:#2E5FA3;border-radius:9px;cursor:pointer;font-family:inherit;transition:all .15s;}
.crm-pipe-btn:hover:not(.active){background:#EFF4FF;}
.crm-pipe-btn.active{background:#1B3A6B;color:#fff;border:2px solid #fff;}

/* ── ВОССТАНОВЛЕНО для v7: кнопка уведомлений графика ── */
.sched-notif-btn{padding:6px 12px;font-size:15px;font-weight:600;border:1px solid #C5D0E6;background:#fff;color:#2E5FA3;border-radius:8px;cursor:pointer;font-family:inherit;transition:all .15s;}
.sched-notif-btn:hover:not(.on){background:#EFF4FF;}
.sched-notif-btn.on{background:#E9F6EE;color:#1E7E34;border-color:#1E7E34;}

/* ── ВОССТАНОВЛЕНО для v7: всплывающие уведомления ── */
#sched-toast-wrap{position:fixed;right:16px;bottom:16px;z-index:9999;display:flex;flex-direction:column;gap:8px;}
.sched-toast{background:#1B3A6B;color:#fff;padding:10px 16px;border-radius:10px;font-size:16px;box-shadow:0 4px 16px rgba(0,0,0,.18);opacity:0;transform:translateY(10px);transition:all .3s;max-width:280px;}
.sched-toast.show{opacity:1;transform:translateY(0);}

/* ══ tooltip на кнопках и интерактивных элементах ══
   Убираем border-bottom и cursor:help, которые .tt ставит по умолчанию */
button.tt, .nav-btn.tt, .crm-tab.tt, .crm-pipe-btn.tt,
.c-btn-s.tt, .c-btn-p.tt, .c-btn-d.tt,
.c-stg-btn.tt, .c-sts-btn.tt,
.sched-notif-btn.tt, .sched-reset-btn.tt, .dc-reset-btn.tt,
.dc-report-btn.tt, .dc-report-copy.tt, .calc-copy-btn.tt,
.mr-add-btn.tt, .mr-copy-btn.tt, .mr-del.tt,
.cr-btn.tt, .dc-btn.tt, .dc-s-btn.tt, .dc-gen-btn.tt, .dc-act-copy.tt,
.pa-done-btn.tt, .quiz-btn.tt, .sched-done-btn.tt,
.msg-copy-btn.tt, .search-clear.tt, .print-btn.tt,
.spin-progress-reset.tt, .sp-btn.tt, .seg-chip.tt,
.kb-add.tt, .obj-cnt-btn.tt, .c-mclose.tt,
#lpr-hot.tt, #lpr-warm.tt, #lpr-cold.tt {
  border-bottom: none !important;
  cursor: pointer !important;
}
/* подписи-термины — сохраняем cursor:help и подчёркивание */
label.tt         { cursor: help; border-bottom: 1px dashed #666666; }
.dc-label.tt     { cursor: help; border-bottom: 1px dashed rgba(255,255,255,0.35); }
.roi-row-lbl.tt  { cursor: help; border-bottom: 1px dashed #666666; }
.c-slbl.tt       { cursor: help; }


/* ════════════ ЕДИНАЯ ПАЛИТРА — НАКЛАДКА v16 ════════════ */
:root{
  --navy:#1B3A6B; --blue:#2E5FA3; --accent:#6C63FF; --accent-l:#EBE9FF;
  --ink:#1A1A2E; --muted:#666666; --line:#C5D0E6; --row:#F7F9FD; --card:#EFF4FF;
  --glass:#F0F4FF; --pos:#1E7E34; --neg:#B22222; --warn:#E5A020; --teal:#0D9488;
}
/* Навигация — единый навигационный синий */
.nav-learn,.nav-sched,.nav-crm{ background:var(--navy)!important; border-color:var(--blue)!important; }
.nav-btn{ opacity:.8; }
.nav-btn:hover{ opacity:1; }
.nav-btn.active{ background:#fff!important; border-color:#1A56F5!important; color:#1A56F5!important; opacity:1!important; }
/* Шапка CRM — навигационный синий (фиолетовый только для мелких акцентов) */
.crm-hdr{ background:linear-gradient(135deg,var(--navy) 0%,var(--ink) 100%)!important; }
/* Вкладки CRM: два ряда, с отступом-вложенностью под переключателем воронки */
.crm-tabs{ flex-direction:column; align-items:stretch; gap:6px; padding:6px 8px;
  margin-left:10px; border-left:3px solid rgba(255,255,255,.28); }
.crm-tabrow{ display:flex; flex-wrap:wrap; gap:4px; align-items:center; background:transparent; padding:0; }
.crm-tabrow-fn{ padding-top:6px; border-top:1px solid rgba(255,255,255,.20); }
.crm-vt{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;font-size:20px;font-weight:700;line-height:1;border:1px solid #C5D0E6;border-radius:8px;background:#fff;color:#1A1A2E;cursor:pointer;font-family:inherit;transition:background .15s;flex-shrink:0;}
.crm-vt:hover{background:#F7F9FD;}
/* ── СПИСОК-РЕЕСТР ── */
.cl-bar{width:4px;padding:0!important;min-width:4px;}
.cl-company{font-weight:700;font-size:15px;color:#1A1A2E;}
.cl-seg{display:inline-block;font-size:11px;color:#666666;background:#F0F4FF;border-radius:4px;padding:1px 6px;margin-top:2px;}
.cl-lpr{font-size:14px;color:#1A1A2E;}
.cl-phone{font-size:12px;color:#666666;margin-top:1px;}
.cl-stage{display:inline-block;font-size:12px;background:#EBE9FF;color:#6C63FF;border-radius:5px;padding:2px 8px;font-weight:600;}
.cl-next{font-size:14px;color:#1A1A2E;}
.cl-remind{font-size:12px;color:#666666;margin-top:2px;}
.cl-remind-over{color:#B22222;font-weight:700;}
.cl-remind-now{color:#1E7E34;font-weight:700;}
.cl-remind-today{color:#E5A020;font-weight:600;}
.cl-actions{white-space:nowrap;opacity:0;transition:opacity .15s;}
.cl-row:hover .cl-actions{opacity:1;}
.cl-act-btn{background:none;border:1px solid #C5D0E6;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:14px;margin-left:3px;transition:background .12s;}
.cl-act-btn:hover{background:#EBE9FF;}
.kb-remind{font-size:11px;margin-top:2px;}
.crm-vt{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;font-size:20px;font-weight:700;line-height:1;border:1px solid #C5D0E6;border-radius:8px;background:#fff;color:#1A1A2E;cursor:pointer;font-family:inherit;transition:background .15s;flex-shrink:0;}
.crm-vt:hover{background:#F7F9FD;}

/* ── Массовые действия: выбор, подсветка, панель, модал, отмена ── */
.crm-selall-lbl{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;user-select:none;flex-shrink:0;}
.crm-selall-lbl input{width:17px;height:17px;accent-color:var(--accent);cursor:pointer;}
.kb-card-top{display:flex;align-items:flex-start;gap:7px;}
.kb-card-top .kb-cn{margin-bottom:0;}
.kb-check{width:17px;height:17px;margin-top:2px;accent-color:var(--accent);cursor:pointer;flex-shrink:0;}
.kb-card.kb-card-sel{border-color:var(--accent);border-width:2px;background:var(--accent-l);}
.c-tbl th.crm-chk-th,.c-tbl td.crm-chk-td{width:34px;padding-left:11px;padding-right:0;}
.c-tbl input[type="checkbox"]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;}
.c-tbl tr.row-sel td{background:var(--accent-l);}

.crm-bulkbar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:6000;
  background:var(--navy);color:#fff;border-radius:14px;padding:10px 12px 10px 18px;
  display:none;align-items:center;gap:14px;box-shadow:0 8px 28px rgba(0,0,0,.28);font-size:15px;}
.crm-bulkbar-count{font-weight:700;white-space:nowrap;}
.crm-bulkbar-act{background:var(--accent);color:#fff;border:none;border-radius:9px;padding:8px 16px;
  font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;white-space:nowrap;}
.crm-bulkbar-act:hover{opacity:.88;}
.crm-bulkbar-x{background:rgba(255,255,255,.14);color:#fff;border:none;border-radius:9px;
  width:32px;height:32px;font-size:16px;cursor:pointer;font-family:inherit;flex-shrink:0;}
.crm-bulkbar-x:hover{background:rgba(255,255,255,.24);}

.crm-bulk-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.crm-bulk-act{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
  padding:14px 8px;background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer;
  font-family:inherit;font-size:14px;font-weight:600;color:var(--ink);transition:border-color .15s,background .15s;}
.crm-bulk-act:hover{border-color:var(--accent);background:var(--accent-l);}
.crm-bulk-act-icon{font-size:22px;}
.crm-bulk-act-d{color:var(--neg);}
.crm-bulk-act-d:hover{border-color:var(--neg);background:#FFE8E8;}
.crm-bulk-back{background:none;border:none;color:var(--accent);font-size:14px;font-weight:700;
  cursor:pointer;font-family:inherit;padding:0;margin-bottom:12px;}
.crm-bulk-back:hover{text-decoration:underline;}
.cb-stg-btn,.cb-sts-btn,.cb-log-btn{padding:5px 11px;font-size:15px;border:2px solid var(--line);
  border-radius:20px;cursor:pointer;background:#fff;color:var(--muted);font-family:inherit;transition:all .15s;}
.cb-stg-btn.active{background:var(--accent);color:#fff;border-color:#443DCC;font-weight:700;}
.cb-sts-btn.active[data-s="hot"]{background:#FFE8E8;color:var(--neg);border-color:var(--neg);font-weight:700;}
.cb-sts-btn.active[data-s="warm"]{background:#FCE9B8;color:#854F0B;border-color:var(--warn);font-weight:700;}
.cb-sts-btn.active[data-s="cold"]{background:var(--accent-l);color:var(--navy);border-color:var(--navy);font-weight:700;}
.cb-log-btn.active{background:var(--accent);color:#fff;border-color:#443DCC;font-weight:700;}
.crm-bulk-del-box{background:#FFE8E8;border-left:4px solid var(--neg);border-radius:6px;padding:12px;font-size:14px;color:var(--ink);}

.crm-undo-toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%) translateY(10px);z-index:6000;
  background:var(--navy);color:#fff;border-radius:12px;padding:10px 10px 10px 16px;display:flex;align-items:center;
  gap:12px;box-shadow:0 8px 28px rgba(0,0,0,.28);font-size:15px;opacity:0;pointer-events:none;transition:all .25s;}
.crm-undo-toast.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto;}
.crm-undo-toast button{background:rgba(255,255,255,.16);color:#fff;border:none;border-radius:8px;
  padding:7px 14px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;white-space:nowrap;}
.crm-undo-toast button:hover{background:rgba(255,255,255,.28);}
@media(max-width:700px){.crm-bulkbar,.crm-undo-toast{width:92%;left:4%;transform:none;bottom:12px;}}
.crm-tab.active{ background:#fff; color:var(--accent); border:2px solid var(--accent); }
/* Ступени методики — единый синий, белый текст */
.step-header-1,.step-header-2,.step-header-3,.step-header-4,.step-header-5,.step-header-6{
  background:linear-gradient(135deg,var(--navy),var(--blue))!important; border-bottom:none!important; }
.step-header-1 h2,.step-header-1 .step-title-1,
.step-header-2 h2,.step-header-3 h2,.step-header-4 h2,.step-header-5 h2,.step-header-6 h2{ color:#fff!important; }
[class*="step-header-"] h2 span{ color:#fff!important; }
.step-header-1 [id$="-arrow"]{ color:#fff!important; }
.step-badge-sz-1,.step-badge-sz-2,.step-badge-sz-3,.step-badge-sz-4,.step-badge-sz-5,.step-badge-sz-6{
  background:#fff!important; color:var(--navy)!important; }
/* Плоские разделы вместо аккордеонов */
.stage-head{ display:flex; align-items:center; gap:10px; padding:12px 16px; background:#fff;
  border-left:4px solid var(--navy); border-bottom:1px solid var(--line); cursor:default; }
.stage-acc-title{ color:var(--navy)!important; font-weight:700; }
#step-card-1 .stage-acc-title,#step-card-2 .stage-acc-title,#step-card-3 .stage-acc-title,
#step-card-4 .stage-acc-title,#step-card-5 .stage-acc-title,#step-card-6 .stage-acc-title{ color:var(--navy)!important; }
.stage-acc-body{ display:block!important; }
.stage-acc-arrow,.final-acc-arrow,.ma-arrow{ display:none!important; }
.memo-acc-header.memo-static,.final-acc-header{ cursor:default!important; }
.memo-acc-header.memo-static:hover,.final-acc-header:hover{ opacity:1; }
.memo-acc-body.open,.final-acc-body.open{ display:block!important; }
/* Семантические цвета списков/таблиц */
.ok-list li{ color:var(--pos)!important; }
.danger-list li{ color:var(--neg)!important; }
.call-map-table .col-said{ color:var(--accent)!important; }
.role-block .role-title{ border-bottom-color:var(--blue)!important; }
.book-card .book-section-label{ color:var(--blue)!important; }
/* Якорная навигация по ступеням (любая ступень — в одно касание) */
.section [id^="step-card-"]{ scroll-margin-top:96px; }
.step-jump{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; background:var(--card);
  border:1px solid var(--line); border-left:4px solid var(--navy); border-radius:10px; padding:10px 14px; margin:0 0 16px; }
.step-jump .sj-label{ font-size:16px; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:.4px; }
.step-jump .sj-link{ font-size:16px; font-weight:600; color:var(--blue); text-decoration:none; background:#fff;
  border:1px solid var(--line); border-radius:7px; padding:5px 11px; transition:all .15s; }
.step-jump .sj-link:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }
/* Парсер внутри CRM — заголовки на палитре */
#cscr-parser h1,#cscr-parser h2,#cscr-parser h3{ color:var(--navy)!important; }

/* ═══════════════════════════════════════
   СКРИПТ ГПУ 250 кВт — дополнительные стили
   ═══════════════════════════════════════ */

/* Цвета заголовков модулей продукта ГПУ */
.gpu-pa-head-1 { background: linear-gradient(135deg,#1B3A6B 0%,#2E5FA3 100%) !important; }
.gpu-pa-head-2 { background: linear-gradient(135deg,#064e3b 0%,#065f46 100%) !important; }
.gpu-pa-head-3 { background: linear-gradient(135deg,#4a1d96 0%,#5b21b6 100%) !important; }
.gpu-pa-head-4 { background: linear-gradient(135deg,#7c2d12 0%,#9a3412 100%) !important; }
.gpu-pa-head-5 { background: linear-gradient(135deg,#0c4a6e 0%,#0369a1 100%) !important; }
.gpu-pa-head-6 { background: linear-gradient(135deg,#374151 0%,#1f2937 100%) !important; }

/* Метки блоков в расписании ГПУ */
.sched-lbl {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.sched-lbl.bg-call  { background: #eff6ff; color: #1e40af; }
.sched-lbl.bg-learn { background: #f0fdf4; color: #14532d; }
.sched-lbl.bg-prep  { background: #fef3c7; color: #92400e; }
.sched-lbl.bg-rest  { background: #fef2f2; color: #991b1b; }
.sched-lbl.bg-warm  { background: #f5f3ff; color: #5b21b6; }

/* ══════════════════════════════════════════════════════════════
   ВИЗУАЛЬНЫЙ РЕДАКТОР UI (UVE)
   ══════════════════════════════════════════════════════════════ */

/* В режиме редактирования шапка уходит под uve-bar */
body.uve-mode .header {
  top: 44px !important;
}

/* Отступ страницы под uve-bar */
body.uve-mode {
  padding-top: 44px;
}

/* В режиме редактирования курсор везде показывает что элемент кликабелен */
body.uve-mode * {
  cursor: pointer !important;
}

/* Исключения — служебные элементы редактора */
body.uve-mode #uve-panel *,
body.uve-mode #uve-bar * {
  cursor: default !important;
}
body.uve-mode #uve-panel button,
body.uve-mode #uve-bar button {
  cursor: pointer !important;
}

/* Маркер перетаскивания */
.uve-drag-handle        { cursor: grab !important; }
.uve-drag-handle:hover  { background: #8b83ff !important; }
.uve-drag-handle:active { cursor: grabbing !important; }

/* Панель свойств — тонкий скроллбар */
#uve-panel::-webkit-scrollbar       { width: 4px; }
#uve-panel::-webkit-scrollbar-thumb { background: #2d2d4e; border-radius: 4px; }

/* Панель: flex-direction через CSS, а не инлайн */
#uve-panel {
  flex-direction: column;
  gap: 10px;
}

#uve-props {
  flex-direction: column;
  gap: 8px;
}

/* Кнопка-триггер — активное состояние */
#uve-trigger.uve-active {
  background: rgba(108, 99, 255, 0.6) !important;
  color: #fff !important;
  border-color: #6C63FF !important;
}


/* ══════════════════════════════════════════════════════════
   КНИЖНЫЙ СТИЛЬ — КЛИМАТИКА ПРОДУКТ (#kscr-product)
   pa-wrap → card  |  pa-head → step-header  |  тело 16px/1.75
══════════════════════════════════════════════════════════ */
#kscr-product .pa-wrap {
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  background: #fff;
}
#kscr-product .pa-head {
  font-size: 18px !important;
  padding: 14px 18px !important;
}
#kscr-product .pa-title { font-size: 18px !important; font-weight: 700; }
#kscr-product .pa-sub   { font-size: 14px !important; }
#kscr-product .pa-num {
  width: 32px !important; height: 32px !important; min-width: 32px;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important; font-weight: 800 !important;
}
/* Шапки модулей: шаг 1–2 светлые, 3–8 тёмные градиенты */
#kscr-product .pa-head-1 {
  background: linear-gradient(135deg,#EFF4FF 0%,#E0F7F6 100%) !important;
  color: #1A1A2E !important;
}
#kscr-product .pa-head-1 .pa-num   { background:rgba(0,0,0,.09) !important; color:#1A1A2E !important; }
#kscr-product .pa-head-1 .pa-sub,
#kscr-product .pa-head-1 .pa-arrow { color:#1A1A2E !important; opacity:.60; }
#kscr-product .pa-head-1 .pa-done-btn {
  border-color:rgba(0,0,0,.18) !important;
  color:#1A1A2E !important;
  background:rgba(0,0,0,.06) !important;
}
#kscr-product .pa-head-2 {
  background: linear-gradient(135deg,#C5D0E6 0%,#A0C4FF 100%) !important;
  color: #1A1A2E !important;
}
#kscr-product .pa-head-2 .pa-num   { background:rgba(0,0,0,.11) !important; color:#1A1A2E !important; }
#kscr-product .pa-head-2 .pa-sub,
#kscr-product .pa-head-2 .pa-arrow { color:#1A1A2E !important; opacity:.65; }
#kscr-product .pa-head-2 .pa-done-btn {
  border-color:rgba(0,0,0,.20) !important;
  color:#1A1A2E !important;
  background:rgba(0,0,0,.07) !important;
}
#kscr-product .pa-head-3 { background:linear-gradient(135deg,#1E7E34 0%,#2E5FA3 100%) !important; }
#kscr-product .pa-head-4 { background:linear-gradient(135deg,#0D9488 0%,#1B3A6B 100%) !important; }
#kscr-product .pa-head-5 { background:linear-gradient(135deg,#2E5FA3 0%,#0D9488 100%) !important; }
#kscr-product .pa-head-6 { background:linear-gradient(135deg,#1B3A6B 0%,#0D9488 100%) !important; }
#kscr-product .pa-head-7 { background:linear-gradient(135deg,#1B3A6B 0%,#052e16 100%) !important; }
#kscr-product .pa-head-8 { background:linear-gradient(135deg,#052e16 0%,#1B3A6B 100%) !important; }

/* Тело: книжная типографика */
#kscr-product .pa-body {
  font-size: 16px !important;
  line-height: 1.75 !important;
  padding: 20px !important;
}
/* Переопределяем inline font-size:14px внутри тела (частый паттерн) */
#kscr-product .pa-body [style*="font-size:14px"] {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* ══════════════════════════════════════════════════════════
   КНИЖНЫЙ СТИЛЬ — ГПУ ПРОДУКТ (#gscr-product)
══════════════════════════════════════════════════════════ */
#gscr-product .pa-wrap {
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  background: #fff;
}
#gscr-product .pa-head {
  font-size: 18px !important;
  padding: 14px 18px !important;
}
#gscr-product .pa-title { font-size: 18px !important; font-weight: 700; }
#gscr-product .pa-sub   { font-size: 14px !important; }
#gscr-product .pa-num {
  width: 32px !important; height: 32px !important; min-width: 32px;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important; font-weight: 800 !important;
}
#gscr-product .gpu-pa-head-1 {
  background: linear-gradient(135deg,#EFF4FF 0%,#C5D0E6 100%) !important;
  color: #1A1A2E !important;
}
#gscr-product .gpu-pa-head-1 .pa-num   { background:rgba(0,0,0,.09) !important; color:#1A1A2E !important; }
#gscr-product .gpu-pa-head-1 .pa-sub,
#gscr-product .gpu-pa-head-1 .pa-arrow { color:#1A1A2E !important; opacity:.60; }
#gscr-product .gpu-pa-head-1 .pa-done-btn {
  border-color:rgba(0,0,0,.18) !important;
  color:#1A1A2E !important;
  background:rgba(0,0,0,.06) !important;
}
#gscr-product .gpu-pa-head-2 { background:linear-gradient(135deg,#C5D0E6 0%,#2E5FA3 100%) !important; }
#gscr-product .gpu-pa-head-3 { background:linear-gradient(135deg,#2E5FA3 0%,#1B3A6B 100%) !important; }
#gscr-product .gpu-pa-head-4 { background:linear-gradient(135deg,#1B3A6B 0%,#0f2348 100%) !important; }
#gscr-product .gpu-pa-head-5 { background:linear-gradient(135deg,#0f2348 0%,#052e16 100%) !important; }
#gscr-product .gpu-pa-head-6 { background:linear-gradient(135deg,#052e16 0%,#1B3A6B 100%) !important; }
#gscr-product .pa-body {
  font-size: 16px !important;
  line-height: 1.75 !important;
  padding: 20px !important;
}

/* ══════════════════════════════════════════════════════════
   МЕТОДИКА — прогресс-бар: hover на кликабельных сегментах
══════════════════════════════════════════════════════════ */
.s0-sticky-header [role="button"] {
  cursor: pointer;
  transition: opacity .15s;
  border-radius: 3px;
}
.s0-sticky-header [role="button"]:hover { opacity: .82; }
.s0-sticky-header [role="button"]:hover > div:first-child {
  background: rgba(255,255,255,.38) !important;
}


/* ═══════════════════════════════════════════════════════════
   КНИЖНЫЙ РЕЖИМ — Климатика + ГПУ (pa-wrap → книжный раздел)
   Аккордеоны убраны: pa-body всегда открыт,
   pa-head → заголовок главы, кнопки пройдено скрыты.
═══════════════════════════════════════════════════════════ */

/* Тело — всегда видно */
#kscr-product .pa-body,
#gscr-product .pa-body { display: block !important; }

/* Скрыть кнопки «Пройдено» и стрелку-аккордеон */
#kscr-product .pa-done-btn, #kscr-product .pa-arrow,
#gscr-product .pa-done-btn, #gscr-product .pa-arrow,
.done-btn { display: none !important; }

/* ── Заголовок раздела → книжный ── */
#kscr-product .pa-head,
#gscr-product .pa-head {
  background: #fff !important;
  color: #1A1A2E !important;
  border-left: 5px solid #1B3A6B;
  border-bottom: 1px solid #E8EEFF;
  padding: 24px 22px 18px !important;
  cursor: default !important;
  pointer-events: none !important;
  box-shadow: none !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-height: unset !important;
}

/* Цветные боковые акценты по разделу */
#kscr-product .pa-head-1 { border-left-color: #0D9488 !important; }
#kscr-product .pa-head-2 { border-left-color: #2E5FA3 !important; }
#kscr-product .pa-head-3 { border-left-color: #1E7E34 !important; }
#kscr-product .pa-head-4 { border-left-color: #0D9488 !important; }
#kscr-product .pa-head-5 { border-left-color: #2E5FA3 !important; }
#kscr-product .pa-head-6 { border-left-color: #1B3A6B !important; }
#kscr-product .pa-head-7 { border-left-color: #052e16 !important; }
#kscr-product .pa-head-8 { border-left-color: #1B3A6B !important; }
#gscr-product .gpu-pa-head-1 { border-left-color: #0D9488 !important; }
#gscr-product .gpu-pa-head-2 { border-left-color: #2E5FA3 !important; }
#gscr-product .gpu-pa-head-3 { border-left-color: #1B3A6B !important; }
#gscr-product .gpu-pa-head-4 { border-left-color: #052e16 !important; }
#gscr-product .gpu-pa-head-5 { border-left-color: #0f2348 !important; }
#gscr-product .gpu-pa-head-6 { border-left-color: #1B3A6B !important; }

/* Номер главы — круглый синий badge */
#kscr-product .pa-num,
#gscr-product .pa-num {
  width: 36px !important;  height: 36px !important;  min-width: 36px;
  border-radius: 50% !important;
  background: #1B3A6B !important;  color: #fff !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;  font-weight: 800 !important;
  flex-shrink: 0;  margin-bottom: 10px;
}

/* Название главы */
#kscr-product .pa-title,
#gscr-product .pa-title {
  font-size: 20px !important;  font-weight: 800 !important;
  color: #1A1A2E !important;  line-height: 1.3 !important;
}

/* Подзаголовок */
#kscr-product .pa-sub,
#gscr-product .pa-sub {
  color: #555 !important;  font-size: 14px !important;  opacity: 1 !important;
}

/* Секция — белая карточка */
#kscr-product .pa-wrap,
#gscr-product .pa-wrap {
  border-radius: 12px;
  margin-bottom: 28px;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  overflow: hidden;
  background: #fff;
}

/* Тело раздела — книжная типографика */
#kscr-product .pa-body,
#gscr-product .pa-body {
  font-size: 16px !important;
  line-height: 1.75 !important;
  padding: 20px 22px 28px !important;
}

/* Override inline font-size:14px → 16px */
#kscr-product .pa-body [style*="font-size:14px"],
#gscr-product .pa-body [style*="font-size:14px"] {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* ── Методика: hover на pb-сегментах ── */
.s0-sticky-header [role="button"] { cursor: pointer; }
.s0-sticky-header [role="button"]:hover > div:first-child {
  background: rgba(255,255,255,.38) !important;
}
