.seo-page * { box-sizing: border-box; }
  .seo-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 60px;
    font-family: TildaSans, Arial, sans-serif;
    color: #3a5066;
  }

  /* === ГЕРОЙ === */
  .seo-hero { padding: 48px 0 24px; }
  .seo-hero h1 {
    font-size: 34px;
    font-weight: 700;
    color: #2d5f86;
    line-height: 1.22;
    margin-bottom: 14px;
  }
  .seo-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #8aa8c0;
  }
  .seo-meta-date { color: #8aa8c0; }
  .seo-meta-tag {
    background: #e8f2fb;
    color: #2d5f86;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
  }

  /* Обложка */
  .seo-cover {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin: 24px 0;
    line-height: 0;
    box-shadow: 0 4px 20px rgba(45,95,134,0.12);
  }
  .seo-cover img { width: 100%; height: auto; display: block; }

  /* Авторы */
  .seo-authors {
    margin-bottom: 28px;
    padding: 18px 22px;
    background: #f5f9fd;
    border-radius: 12px;
    border-left: 3px solid #2d5f86;
  }
  .seo-authors-name { font-size: 15px; font-weight: 700; color: #2d5f86; margin-bottom: 3px; }
  .seo-authors-org { font-size: 13px; color: #5a7a90; }

  /* Лид */
  .seo-lead {
    font-size: 17px;
    color: #5a7a90;
    line-height: 1.72;
    max-width: 720px;
  }

  /* === РАЗДЕЛИТЕЛИ === */
  .seo-divider { height: 1px; background: #e8f2fb; }

  /* === СЕКЦИИ === */
  .seo-section { padding: 40px 0; }
  .seo-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2d5f86;
    margin-bottom: 20px;
  }
  .seo-section p {
    font-size: 16px;
    line-height: 1.78;
    color: #3a5066;
    margin-bottom: 14px;
  }
  .seo-section p:last-child { margin-bottom: 0; }

  /* === СИМПТОМЫ === */
  .seo-symptoms { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .seo-symptoms li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.55;
    color: #3a5066;
  }
  .seo-symptoms li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2d5f86;
    margin-top: 7px;
    flex-shrink: 0;
  }

  /* === МЕХАНИЗМЫ === */
  .seo-mechanisms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .seo-mech-card {
    border-radius: 18px;
    padding: 22px 20px;
  }
  .seo-mech-card.canal {
    background: #f0f7ff;
    border-top: 4px solid #2d5f86;
  }
  .seo-mech-card.kupol {
    background: #f5f0ff;
    border-top: 4px solid #7a5fc0;
  }
  .seo-mech-icon {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .seo-mech-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .seo-mech-card.canal .seo-mech-title { color: #2d5f86; }
  .seo-mech-card.kupol .seo-mech-title { color: #7a5fc0; }
  .seo-mech-text { font-size: 14px; color: #5a7a90; line-height: 1.6; }
  .seo-mech-freq {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
  }
  .canal .seo-mech-freq { background: #e8f2fb; color: #2d5f86; }
  .kupol .seo-mech-freq { background: #ede8f8; color: #7a5fc0; }

  /* === ПРИЧИНЫ === */
  .seo-causes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .seo-cause-card { background: #f0f7ff; border-radius: 18px; padding: 22px 20px; }
  .seo-cause-num { font-size: 28px; font-weight: 700; color: #b8d4ea; line-height: 1; margin-bottom: 8px; }
  .seo-cause-title { font-size: 15px; font-weight: 700; color: #2d5f86; margin-bottom: 6px; }
  .seo-cause-text { font-size: 14px; color: #5a7a90; line-height: 1.55; }

  /* === ДИАГНОСТИКА === */
  .seo-diag-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #3a5066;
    margin-bottom: 24px;
  }
  .seo-diag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .seo-diag-test {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 24px;
  }
  .seo-diag-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #7a9ab5;
    margin-bottom: 8px;
  }
  .seo-diag-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d5f86;
    margin-bottom: 12px;
  }
  .seo-diag-text {
    font-size: 14px;
    color: #5a7a90;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .seo-positions {
    background: white;
    border-radius: 14px;
    padding: 14px 10px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    overflow-x: auto;
  }
  .seo-pos-step {
    flex: 0 0 80px;
    text-align: center;
  }
  .seo-pos-num {
    width: 22px;
    height: 22px;
    background: #2d5f86;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
  }
  .seo-pos-svg { height: 68px; display: flex; align-items: center; justify-content: center; }
  .seo-pos-label { font-size: 10px; color: #5a7a90; line-height: 1.3; margin-top: 6px; }
  .seo-pos-arrow {
    flex: 0 0 18px;
    color: #b8d4ea;
    font-size: 18px;
    padding-top: 32px;
    text-align: center;
  }
  .seo-nystagmus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2d5f86;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 2px;
  }

  /* === ЛЕЧЕНИЕ === */
  .seo-treatment-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #3a5066;
    margin-bottom: 24px;
  }
  .seo-maneuver-list { display: flex; flex-direction: column; gap: 18px; }
  .seo-maneuver-card {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 26px 28px;
    border-left: 4px solid #2d5f86;
  }
  .seo-maneuver-card.alt { border-left-color: #7a5fc0; background: #f8f5ff; }
  .seo-maneuver-card.horiz { border-left-color: #2a8a6a; background: #f0faf5; }
  .seo-maneuver-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  .seo-maneuver-card .seo-maneuver-badge { background: #2d5f86; color: white; }
  .seo-maneuver-card.alt .seo-maneuver-badge { background: #7a5fc0; color: white; }
  .seo-maneuver-card.horiz .seo-maneuver-badge { background: #2a8a6a; color: white; }
  .seo-maneuver-title {
    font-size: 19px;
    font-weight: 700;
    color: #2d5f86;
    margin-bottom: 8px;
  }
  .seo-maneuver-card.alt .seo-maneuver-title { color: #7a5fc0; }
  .seo-maneuver-card.horiz .seo-maneuver-title { color: #2a8a6a; }
  .seo-maneuver-desc {
    font-size: 15px;
    color: #3a5066;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .seo-steps-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    background: white;
    border-radius: 14px;
    padding: 14px 10px;
    overflow-x: auto;
  }
  .seo-step {
    flex: 0 0 80px;
    text-align: center;
  }
  .seo-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
  }
  .seo-maneuver-card .seo-step-num { background: #2d5f86; }
  .seo-maneuver-card.alt .seo-step-num { background: #7a5fc0; }
  .seo-maneuver-card.horiz .seo-step-num { background: #2a8a6a; }
  .seo-step-svg { height: 68px; display: flex; align-items: center; justify-content: center; }
  .seo-step-label { font-size: 10px; color: #5a7a90; line-height: 1.3; margin-top: 5px; }
  .seo-step-arrow {
    flex: 0 0 18px;
    color: #b8d4ea;
    font-size: 18px;
    padding-top: 30px;
    text-align: center;
  }

  /* Примечание */
  .seo-note {
    background: #f5f9fd;
    border-left: 3px solid #7ab0d0;
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 14px;
    color: #5a7a90;
    line-height: 1.65;
  }

  /* === ПРЕДУПРЕЖДЕНИЕ (жёлтое) === */
  .seo-warning {
    background: #fff8f0;
    border-left: 4px solid #e8934a;
    border-radius: 0 16px 16px 0;
    padding: 22px 24px;
  }
  .seo-warning-intro {
    font-size: 15px;
    color: #6a4a20;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .seo-warning h3 { font-size: 16px; font-weight: 700; color: #b86a20; margin-bottom: 14px; }
  .seo-warning ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .seo-warning ul li {
    font-size: 15px;
    color: #5a4020;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
  }
  .seo-warning ul li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #e8934a;
    font-weight: 700;
  }

  /* Красные флаги (экстренные) */
  .seo-red-flags {
    background: #fff5f5;
    border: 1.5px solid #f0a0a0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 16px;
  }
  .seo-red-flags h4 {
    font-size: 15px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .seo-red-flags ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .seo-red-flags ul li {
    font-size: 14px;
    color: #7a2020;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
  }
  .seo-red-flags ul li::before {
    content: '▲';
    position: absolute;
    left: 0;
    color: #c0392b;
    font-size: 9px;
    top: 4px;
  }
  .seo-red-flags-note {
    font-size: 13px;
    color: #c0392b;
    font-weight: 700;
    margin-top: 12px;
  }

  /* === CTA === */
  .seo-cta-block {
    background: #2d5f86;
    border-radius: 24px;
    padding: 44px 40px;
    text-align: center;
    margin: 48px 0;
  }
  .seo-cta-block h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
  .seo-cta-block p {
    font-size: 16px;
    color: #b8d4ea;
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .seo-cta-btn {
    background: #fff;
    color: #2d5f86;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 38px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-family: TildaSans, Arial, sans-serif;
    transition: all 0.2s;
  }
  .seo-cta-btn:hover {
    background: #e8f2fb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }

  /* === FAQ === */
  .seo-faq-list { display: flex; flex-direction: column; gap: 14px; }
  .seo-faq-item { border: 1px solid #d6e6f2; border-radius: 16px; padding: 22px 24px; }
  .seo-faq-item h3 { font-size: 16px; font-weight: 700; color: #2d5f86; margin-bottom: 10px; }
  .seo-faq-item p { font-size: 15px; color: #3a5066; line-height: 1.65; }

  /* === ТРИГГЕРЫ === */
  .seo-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
  }
  .seo-trigger-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f7ff;
    border: 1px solid #d6e6f2;
    border-radius: 12px;
    padding: 10px 14px;
    flex: 1 1 220px;
  }
  .seo-trigger-icon { font-size: 22px; flex-shrink: 0; }
  .seo-trigger-name { font-size: 14px; font-weight: 600; color: #2d5f86; }
  .seo-trigger-aka { font-size: 12px; color: #7a9ab5; margin-top: 2px; }

  /* === ФАКТОРЫ РИСКА === */
  .seo-risk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .seo-risk-col {
    background: #f5f9fd;
    border-radius: 16px;
    padding: 20px;
  }
  .seo-risk-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #2d5f86;
    margin-bottom: 14px;
  }
  .seo-risk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .seo-risk-tag {
    background: #e8f2fb;
    color: #2d5f86;
    font-size: 12.5px;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid #c8dce8;
  }
  .seo-risk-tag.recur {
    background: #fdf4ec;
    color: #8a5020;
    border-color: #f0d4b8;
  }

  /* === НИСТАГМ-БЛОК === */
  .seo-nystagmus-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 22px;
    padding: 16px 20px;
    background: #f5f9fd;
    border-radius: 12px;
    border-left: 3px solid #2d5f86;
  }
  .seo-nystagmus-point {
    font-size: 14px;
    color: #3a5066;
    padding-left: 18px;
    position: relative;
  }
  .seo-nystagmus-point::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2d5f86;
    font-weight: 700;
  }

  /* === ОСЛОЖНЕНИЯ === */
  .seo-compl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .seo-compl-block {
    background: #f5f9fd;
    border-radius: 16px;
    padding: 20px 22px;
  }
  .seo-compl-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d5f86;
    margin-bottom: 14px;
  }
  .seo-compl-list, .seo-compl-numlist {
    font-size: 14px;
    color: #3a5066;
    line-height: 1.7;
    padding-left: 18px;
    margin: 0;
  }
  .seo-compl-list li, .seo-compl-numlist li { margin-bottom: 4px; }
  .seo-compl-intro-text {
    font-size: 14px;
    color: #5a7a90;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  /* === МОБИЛЬНЫЙ === */
  @media (max-width: 600px) {
    .seo-page { padding: 0 16px 48px; }
    .seo-hero { padding: 32px 0 20px; }
    .seo-hero h1 { font-size: 24px; }
    .seo-causes { grid-template-columns: 1fr; }
    .seo-mechanisms { grid-template-columns: 1fr; }
    .seo-diag-grid { grid-template-columns: 1fr; }
    .seo-risk-grid { grid-template-columns: 1fr; }
    .seo-compl-grid { grid-template-columns: 1fr; }
    .seo-triggers { flex-direction: column; }
    .seo-cta-block { padding: 28px 20px; border-radius: 18px; }
    .seo-cta-block h2 { font-size: 20px; }
  }

  /* === ПАНЕЛЬ РЕДАКТОРА === */
  #editor-toolbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: #1e3a52;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  #editor-toolbar span { opacity: 0.7; font-size: 13px; }
  .ed-btn { padding: 7px 18px; border-radius: 8px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
  #btn-edit { background: #2d5f86; color: #fff; }
  #btn-edit:hover { background: #3a7ab0; }
  #btn-edit.active { background: #e87f3a; }
  #btn-save { background: #27ae60; color: #fff; display: none; }
  #btn-save:hover { background: #219150; }
  #btn-cancel { background: transparent; color: #aac; border: 1px solid #446; display: none; }
  #btn-cancel:hover { background: #2a4560; }
  body.edit-mode { padding-top: 52px; }
  body.edit-mode [contenteditable] { outline: 2px dashed #f0a040; border-radius: 4px; padding: 2px 4px; min-height: 1em; }
  body.edit-mode [contenteditable]:focus { outline: 2px solid #2d9fd4; background: #f0f8ff; }
  body.edit-mode [contenteditable]:hover { background: rgba(240,160,64,0.08); }