
  :root{
    --sea:#46707C; --sea-deep:#345258; --ink:#2B3E43; --ink-soft:#5C7178;
    --page:#FBF8F1; --page-edge:#F0EADA; --cream:#F0E8D5;
    --gold:#B8965A; --line:#E3DCC9;
  }
  html{scroll-behavior:smooth}
  body{
    margin:0; color:var(--ink);
    font-family:Georgia,'Times New Roman',serif;
    font-size:19px; line-height:1.8;
    background-color:var(--sea);
    background-image:
      radial-gradient(ellipse 55% 38% at 15% 10%, rgba(240,233,214,.30), transparent 70%),
      radial-gradient(ellipse 48% 32% at 85% 25%, rgba(255,255,255,.20), transparent 70%),
      radial-gradient(ellipse 65% 42% at 50% 85%, rgba(228,236,232,.15), transparent 70%),
      radial-gradient(ellipse 45% 30% at 5% 60%, rgba(43,69,75,.5), transparent 72%),
      linear-gradient(165deg,#54808C 0%, #46707C 45%, #3B6069 100%);
    background-attachment:fixed;
  }

  /* ── Кнопка меню и выдвижная панель ── */
  .menu-btn{
    position:fixed; top:18px; left:18px; z-index:60;
    width:48px; height:48px; border-radius:50%; border:1px solid rgba(240,232,213,.5);
    background:rgba(52,82,88,.88); color:var(--cream); cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 20px rgba(20,40,45,.35);
  }
  .menu-btn:hover{background:var(--sea-deep)}
  .menu-btn svg{display:block}
  .drawer{
    position:fixed; top:0; left:0; bottom:0; z-index:70;
    width:330px; max-width:88vw; box-sizing:border-box;
    background:linear-gradient(170deg,#3A5B64,#2E484F);
    color:var(--cream); padding:28px 26px 40px; overflow-y:auto;
    transform:translateX(-102%); transition:transform .3s ease;
    box-shadow:24px 0 60px rgba(20,40,45,.4);
  }
  .drawer.open{transform:translateX(0)}
  .drawer .close{
    position:absolute; top:16px; right:16px; width:36px; height:36px;
    border:none; border-radius:50%; background:rgba(240,232,213,.12);
    color:var(--cream); font-size:20px; line-height:1; cursor:pointer;
  }
  .drawer .brand{font-size:17px; letter-spacing:.2em; text-transform:uppercase; margin:6px 0 2px}
  .drawer .sub{font-family:-apple-system,'Segoe UI',sans-serif; font-size:10px; letter-spacing:.3em; text-transform:uppercase; color:rgba(240,232,213,.6); padding-bottom:18px; border-bottom:1px solid rgba(240,232,213,.25); margin-bottom:10px}
  .nav-group{display:block; font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin:20px 0 4px; text-decoration:none}
  a.nav-group:hover{color:#E8CF9E}
  .nav-item{
    display:block; font-family:-apple-system,'Segoe UI',sans-serif; font-size:15px; line-height:1.45;
    color:rgba(240,232,213,.92); text-decoration:none; padding:7px 0 7px 14px;
    border-left:2px solid rgba(240,232,213,.2);
  }
  .nav-item:hover{color:#fff; border-left-color:var(--gold)}
  .nav-item.soon{color:rgba(240,232,213,.45); cursor:default; font-style:italic}
  .overlay{position:fixed; inset:0; z-index:65; background:rgba(20,35,40,.45); opacity:0; pointer-events:none; transition:opacity .3s}
  .overlay.show{opacity:1; pointer-events:auto}

  /* ── Небесная шапка книги ── */
  .sky-head{color:var(--cream); text-align:center; padding:64px 24px 44px}
  .sky-head .over{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; letter-spacing:.35em; text-transform:lowercase; color:rgba(240,232,213,.75)}
  .sky-head .brand{font-size:34px; letter-spacing:.24em; text-transform:uppercase; margin-top:6px}
  .sky-head .crumbs{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:rgba(240,232,213,.7); margin-top:24px}

  /* ── Колонка листов ── */
  .sheets{max-width:780px; margin:0 auto 72px; padding:0 12px; display:flex; flex-direction:column; gap:34px}

  .sheet{
    background:var(--page); border-radius:14px;
    box-shadow:0 22px 60px rgba(20,40,45,.32), 0 3px 12px rgba(20,40,45,.18);
    padding:52px 76px 56px; position:relative;
  }
  .sheet .tab{
    position:absolute; top:-14px; left:50%; transform:translateX(-50%);
    background:var(--sea-deep); color:var(--cream); white-space:nowrap;
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; font-weight:600;
    letter-spacing:.26em; text-transform:uppercase;
    border-radius:999px; padding:7px 22px; border:1px solid rgba(240,232,213,.35);
  }
  .sheet .tab b{color:var(--gold); font-weight:700; margin-right:10px}

  /* Титульные листы глав */
  .chapter-head{text-align:center; scroll-margin-top:30px;
    background:linear-gradient(180deg, #FBF8F1 0%, #F4EEDF 100%);
    border:1px solid rgba(200,169,107,.45);
  }
  .chapter-head .kicker{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); font-weight:600}
  .chapter-head h1{font-weight:400; font-size:37px; line-height:1.25; margin:16px 0 0; color:var(--sea-deep)}
  .chapter-head .orn{color:var(--gold); font-size:18px; letter-spacing:.6em; margin-top:22px}
  .chapter-head .lede{font-style:italic; color:var(--ink-soft); max-width:480px; margin:18px auto 0; font-size:18px}

  .chapter-head .intro{text-align:left; margin-top:38px; padding-top:34px; border-top:1px solid var(--line)}

  .kicker-line{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.26em; text-transform:uppercase; color:var(--gold); font-weight:700; text-align:center; margin-bottom:10px}

  p{margin:0 0 24px}
  p:last-child{margin-bottom:0}
  /* Правка Андрея 07.09: абзац оформляется отступом первой строки, а не пробелом */
  .sheet > p, .story > p{margin:0; text-indent:1.6em}
  .sheet > h1 + p, .sheet > h2 + p, .sheet > h3 + p,
  .sheet > p.drop, .sheet > .kicker-line + p,
  .story > .who + p, .story > p:first-child{text-indent:0}
  .sheet > p:last-child, .story > p:last-child{margin-bottom:0}
  .drop::first-letter{
    font-size:74px; float:left; line-height:.82; padding:8px 14px 0 0; color:var(--sea); font-weight:400;
  }
  /* Правка Андрея 07.09: выделения без фонового маркера — цветом */
  em{font-style:normal; color:var(--sea); font-weight:500; box-shadow:none}
  .sheet{scroll-margin-top:30px}

  h2{
    font-weight:400; font-size:27px; color:var(--sea-deep); line-height:1.35;
    margin:6px 0 6px; text-align:center;
  }
  .h-orn{text-align:center; color:var(--gold); letter-spacing:.5em; font-size:14px; margin-bottom:28px}
  h3{font-weight:400; font-size:21.5px; color:var(--sea-deep); margin:34px 0 14px}
  .sheet ul, .sheet ol{margin:0 0 24px; padding-left:26px}
  .sheet li{margin-bottom:10px}

  /* Определение */
  .define{
    margin:34px 0; padding:30px 36px; text-align:center;
    border-top:2px solid var(--gold); border-bottom:2px solid var(--gold);
    background:linear-gradient(180deg, rgba(200,169,107,.07), transparent 60%);
  }
  .define .label{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:12px}
  .define p{font-size:21.5px; font-style:italic; line-height:1.65; margin:0; color:var(--sea-deep)}

  /* Лесенка */
  .ladder{display:flex; flex-direction:column; gap:0; margin:30px 0; border:1px solid var(--line); border-radius:14px; overflow:hidden}
  .step{padding:22px 28px; display:grid; grid-template-columns:130px 1fr; gap:18px; align-items:baseline}
  .step + .step{border-top:1px solid var(--line)}
  .step:nth-child(2){background:var(--page-edge)}
  .step:nth-child(3){background:var(--sea-deep); color:var(--cream)}
  .step b{font-weight:400; font-size:20px; letter-spacing:.02em}
  .step span{font-family:-apple-system,'Segoe UI',sans-serif; font-size:15.5px; line-height:1.65; color:var(--ink-soft)}
  .step:nth-child(3) span{color:rgba(240,232,213,.85)}

  /* История-пример */
  .story{margin:36px 0; padding:26px 30px; border-radius:12px; background:var(--page-edge); font-style:italic; color:#5A5642}
  .story .who{font-family:-apple-system,'Segoe UI',sans-serif; font-style:normal; font-size:11px; letter-spacing:.25em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:10px}
  .story p{margin:0 0 14px}
  .story p:last-child{margin:0}

  /* Как не надо / как надо */
  .pair{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:32px 0; font-family:-apple-system,'Segoe UI',sans-serif; font-size:16px; line-height:1.65}
  .pair>div{border-radius:12px; padding:22px 24px}
  .pair .no{background:var(--page-edge); color:#8B8271}
  .pair .yes{background:var(--sea-deep); color:var(--cream)}
  .pair .tag{font-size:11px; letter-spacing:.22em; text-transform:uppercase; font-weight:700; display:block; margin-bottom:10px}
  .pair .no .tag{color:#A79E8D}
  .pair .yes .tag{color:var(--gold)}

  .chips{display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; justify-content:center; font-family:-apple-system,'Segoe UI',sans-serif}
  .chips i{font-style:normal; border:1px solid var(--gold); color:var(--sea-deep); border-radius:999px; padding:6px 18px; font-size:15px}

  .example{border:1px solid var(--line); border-radius:12px; padding:22px 28px; margin-bottom:14px; background:#fff}
  .example:last-child{margin-bottom:0}
  .example .field{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:8px}
  .example p{margin:0; font-size:17px}

  /* Практика — небесный лист */
  .sheet.sky-sheet{
    color:var(--cream);
    background-color:var(--sea);
    background-image:
      radial-gradient(ellipse 60% 50% at 18% 15%, rgba(240,233,214,.28), transparent 70%),
      radial-gradient(ellipse 50% 45% at 88% 85%, rgba(43,69,75,.5), transparent 75%),
      linear-gradient(155deg,#527D89,#3C636D);
    border:1px solid rgba(240,232,213,.35);
  }
  .sky-sheet .tab{background:var(--cream); color:var(--sea-deep); border:none}
  .sky-sheet .tab b{color:#96742F}
  .sky-sheet .label{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:14px; text-align:center}
  .sky-sheet h3{font-weight:400; font-size:25px; margin:0 0 20px; color:#fff; text-align:center}
  .sky-sheet ol, .sky-sheet ul{margin:0 0 26px; padding-left:22px}
  .sky-sheet li{margin-bottom:12px; font-size:17.5px}
  .sky-sheet .calm{border-top:1px solid rgba(240,232,213,.3); padding-top:22px; font-style:italic; color:rgba(240,232,213,.9); font-size:17.5px}

  /* Задание с полем для ответа — светлая карточка на «небе» */
  .task{background:var(--page); border-radius:12px; padding:20px 24px 18px; margin:0 0 14px; color:var(--ink)}
  .task .q{font-size:17px; line-height:1.65; margin-bottom:12px}
  .task .q b{font-weight:700; color:var(--gold); margin-right:6px}
  .task textarea{
    width:100%; box-sizing:border-box; display:block;
    border:1px solid var(--line); border-radius:8px; padding:10px 14px;
    font-family:Georgia,'Times New Roman',serif; font-size:16px; line-height:1.6;
    color:var(--ink); background:#fff; resize:vertical; min-height:60px;
  }
  .task textarea:focus{outline:2px solid var(--gold); outline-offset:1px}
  .task textarea::placeholder{color:#A9A18D; font-style:italic}
  .practice-actions{text-align:center; margin:24px 0 8px}
  .copy-btn{
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; font-weight:600;
    letter-spacing:.12em; text-transform:uppercase; color:var(--sea-deep);
    background:var(--cream); border:none; border-radius:999px; padding:13px 30px; cursor:pointer;
    box-shadow:0 4px 14px rgba(20,40,45,.25);
  }
  .copy-btn:hover{background:#fff}
  .copy-btn:focus-visible{outline:2px solid var(--gold); outline-offset:2px}
  .practice-hint{font-family:-apple-system,'Segoe UI',sans-serif; text-align:center; font-size:13px; color:rgba(240,232,213,.75); margin-top:10px}
  .sky-sheet em{box-shadow:none; color:var(--sea-deep); font-weight:600}

  /* Пронумерованный пункт структурного перечня */
  .n-item{margin:24px 0; padding:24px 28px; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:12px; background:#fff}
  .n-item .n-tag{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:6px}
  .n-item .n-title{font-size:20.5px; color:var(--sea-deep); margin:0 0 12px; font-weight:400; line-height:1.4}
  .n-item p{font-size:17px; margin-bottom:14px}
  .n-item p:last-child{margin-bottom:0}
  .n-item .pair{margin:18px 0 0}
  .n-item ul,.n-item ol{margin-bottom:0}

  /* Показ по одной главе */
  section.chapter{display:none}
  section.chapter.active{display:flex; flex-direction:column; gap:34px}

  /* Отметка «пройдено» в меню */
  .nav-group .check{color:#9FCDAB; margin-left:8px; display:none; letter-spacing:0}
  .nav-group.read .check{display:inline}

  /* Тост «глава пройдена» */
  .toast{
    position:fixed; bottom:26px; left:50%; z-index:80;
    transform:translateX(-50%) translateY(90px); opacity:0;
    background:var(--sea-deep); color:var(--cream);
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:14px; letter-spacing:.06em;
    padding:12px 28px; border-radius:999px; border:1px solid rgba(240,232,213,.4);
    box-shadow:0 10px 30px rgba(20,40,45,.4);
    transition:transform .35s ease, opacity .35s ease; pointer-events:none;
  }
  .toast.show{transform:translateX(-50%) translateY(0); opacity:1}

  /* Кликабельный переход к следующей главе */
  a.next-link{display:block; text-align:center; text-decoration:none; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease}
  a.next-link:hover{transform:translateY(-4px); box-shadow:0 30px 70px rgba(20,40,45,.4), 0 5px 16px rgba(20,40,45,.22)}
  .next-link .orn{color:var(--gold); letter-spacing:.6em; font-size:16px; margin-bottom:16px}
  .next-link .to{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:var(--ink-soft)}
  .next-link .title{font-size:23px; color:var(--sea-deep); margin-top:10px; line-height:1.4}
  .next-link .go{display:inline-block; margin-top:18px; font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--cream); background:var(--sea-deep); border-radius:999px; padding:10px 26px}
  .next-link:hover .go{background:var(--sea)}
  .next-soon{text-align:center}
  .next-soon .orn{color:var(--gold); letter-spacing:.6em; font-size:16px; margin-bottom:16px}
  .next-soon .to{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:var(--ink-soft)}
  .next-soon .title{font-size:23px; color:var(--sea-deep); margin-top:10px}
  .next-soon .note{font-style:italic; color:var(--ink-soft); margin-top:14px; font-size:17px}


  /* ── Слот под схему ─────────────────────────────────────────────
     Заглушка, пока иллюстрация не нарисована. Когда схема готова —
     заменить содержимое .fig-slot на <img src="data:image/…"> или <svg>.
     Спрятать все слоты разом: .figure{display:none}
     ──────────────────────────────────────────────────────────────── */
  .figure{margin:34px 0}
  .fig-slot{
    border:1.5px dashed var(--gold); border-radius:14px;
    background:linear-gradient(180deg, rgba(200,169,107,.07), rgba(200,169,107,.02));
    padding:26px 28px;
  }
  .fig-mark{
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; font-weight:700;
    letter-spacing:.28em; text-transform:uppercase; color:var(--gold); text-align:center;
  }
  .fig-name{
    font-size:21px; color:var(--sea-deep); text-align:center;
    margin:10px 0 16px; line-height:1.3;
  }
  .fig-todo{
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:15px; line-height:1.6;
    color:var(--ink-soft); border-top:1px solid var(--line); padding-top:14px;
  }
  .fig-todo b{
    display:block; font-size:11px; letter-spacing:.2em; text-transform:uppercase;
    color:var(--gold); margin-bottom:6px; font-weight:700;
  }
  .fig-todo ul{margin:8px 0 0; padding-left:20px}
  .fig-todo li{margin-bottom:5px}
  .fig-size{
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.14em;
    text-transform:uppercase; color:#A9A18D; text-align:center; margin-top:14px;
  }
  @media (max-width:840px){ .fig-slot{padding:20px 18px} .fig-name{font-size:19px} }

  /* Письмо от автора */
  .letter .sig{font-style:italic; color:var(--ink-soft); text-align:right; margin-top:34px}
  .letter .sig b{display:block; font-style:normal; font-weight:400; font-size:21px; color:var(--sea-deep); margin-top:6px}

  footer{text-align:center; padding:0 0 48px; font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; letter-spacing:.15em; color:rgba(240,232,213,.6)}

  @media (max-width:840px){
    body{font-size:17.5px}
    .sheets{gap:26px}
    .sheet{padding:42px 24px 46px}
    .sheet .tab{font-size:10px; padding:6px 14px; max-width:82%; overflow:hidden; text-overflow:ellipsis}
    .chapter-head h1{font-size:28px}
    .sky-head .brand{font-size:24px}
    h2{font-size:24px}
    .pair{grid-template-columns:1fr}
    .step{grid-template-columns:1fr; gap:6px}
    .menu-btn{top:12px; left:12px; width:44px; height:44px}
  }
  @media (prefers-reduced-motion: reduce){
    .drawer,.overlay{transition:none}
    html{scroll-behavior:auto}
  }

  /* ═══ Обложка и части ═══ */
  .cover-wrap{max-width:820px;margin:0 auto;padding:0 16px 70px}
  .cover-sheet{background:var(--page);border-radius:14px;padding:52px 60px 46px;text-align:center;
    box-shadow:0 22px 60px rgba(20,40,45,.32),0 3px 12px rgba(20,40,45,.18)}
  .cover-sheet .over{font-family:-apple-system,'Segoe UI',sans-serif;font-size:11px;font-weight:700;
    letter-spacing:.34em;text-transform:uppercase;color:var(--gold)}
  .cover-sheet h1{font-weight:400;font-size:clamp(28px,5.4vw,46px);line-height:1.12;margin:18px 0 0;
    color:var(--sea-deep);letter-spacing:.04em;text-wrap:balance}
  .cover-sheet .rule{width:52px;height:1px;background:var(--gold);margin:24px auto 0;opacity:.85}
  .cover-sheet .sub{color:var(--ink-soft);max-width:440px;margin:20px auto 0;text-wrap:balance}
  .cover-sheet .author{font-family:-apple-system,'Segoe UI',sans-serif;font-size:12px;font-weight:600;
    letter-spacing:.3em;text-transform:uppercase;color:var(--sea-deep);margin-top:26px}
  .cover-intro{border-top:1px solid var(--line);margin-top:34px;padding-top:28px;text-align:left}
  .cover-intro p{margin:0 0 14px}
  .cover-intro p:last-child{margin:0}

  .parts-label{font-family:-apple-system,'Segoe UI',sans-serif;font-size:11px;font-weight:700;
    letter-spacing:.32em;text-transform:uppercase;color:rgba(240,232,213,.8);text-align:center;margin:44px 0 18px}
  .parts{display:flex;flex-direction:column;gap:14px}
  .part-card{display:block;text-decoration:none;background:var(--page);border-radius:14px;padding:26px 30px;
    box-shadow:0 18px 46px rgba(20,40,45,.28);position:relative;transition:transform .2s,box-shadow .2s}
  a.part-card:hover{transform:translateY(-3px);box-shadow:0 26px 60px rgba(20,40,45,.36)}
  .part-card .pn{font-family:-apple-system,'Segoe UI',sans-serif;font-size:11px;font-weight:700;
    letter-spacing:.24em;text-transform:uppercase;color:var(--gold)}
  .part-card h2{font-weight:400;font-size:24px;line-height:1.28;margin:8px 0 8px;color:var(--sea-deep)}
  .part-card p{margin:0;color:var(--ink-soft);font-size:16px;line-height:1.55}
  .part-card .go{display:inline-block;margin-top:16px;font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);
    background:var(--sea-deep);border-radius:999px;padding:10px 24px}
  a.part-card:hover .go{background:var(--sea)}
  .part-card.locked{background:rgba(251,248,241,.55);box-shadow:0 10px 28px rgba(20,40,45,.18)}
  .part-card.locked h2{color:var(--ink-soft)}
  .part-card.locked p{color:#8E9DA1}
  .part-card .soon{display:inline-flex;align-items:center;gap:7px;margin-top:14px;
    font-family:-apple-system,'Segoe UI',sans-serif;font-size:11px;font-weight:700;letter-spacing:.16em;
    text-transform:uppercase;color:#8E9DA1;border:1px solid var(--line);border-radius:999px;padding:8px 16px}
  .part-card .done{display:inline-block;margin-left:10px;font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:11px;font-weight:700;letter-spacing:.1em;color:#5E8A6C}

  /* ═══ Оглавление части ═══ */
  .toc-wrap{max-width:820px;margin:0 auto;padding:0 16px 70px}
  .toc-sheet{background:var(--page);border-radius:14px;padding:44px 54px 40px;
    box-shadow:0 22px 60px rgba(20,40,45,.3)}
  .toc-sheet h1{font-weight:400;font-size:clamp(25px,4.4vw,34px);line-height:1.2;margin:8px 0 0;
    color:var(--sea-deep);text-align:center}
  .toc-sheet .over{font-family:-apple-system,'Segoe UI',sans-serif;font-size:11px;font-weight:700;
    letter-spacing:.3em;text-transform:uppercase;color:var(--gold);text-align:center}
  .toc-progress{text-align:center;font-family:-apple-system,'Segoe UI',sans-serif;font-size:13px;
    color:var(--ink-soft);margin-top:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}
  .sec-group{margin-top:26px}
  .sec-name{display:flex;align-items:baseline;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(200,169,107,.4)}
  .sec-name .sn{font-family:-apple-system,'Segoe UI',sans-serif;font-size:10.5px;font-weight:700;
    letter-spacing:.2em;text-transform:uppercase;color:var(--gold);white-space:nowrap}
  .sec-name b{font-weight:400;font-size:19px;color:var(--ink);line-height:1.3}
  a.toc-ch{display:flex;gap:14px;align-items:baseline;padding:11px 4px;text-decoration:none;border-bottom:1px solid var(--line)}
  a.toc-ch:last-child{border-bottom:none}
  a.toc-ch:hover{background:rgba(200,169,107,.07)}
  a.toc-ch .no{flex:none;width:22px;text-align:right;color:var(--gold);font-size:15px}
  a.toc-ch .tt{color:var(--ink);font-size:16.5px;line-height:1.4}
  a.toc-ch.read .tt{color:var(--ink-soft)}
  a.toc-ch .ck{margin-left:auto;color:#5E8A6C;font-size:13px;display:none;flex:none}
  a.toc-ch.read .ck{display:inline}
  .toc-start{text-align:center;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
  .toc-start a{display:inline-block;font-family:-apple-system,'Segoe UI',sans-serif;font-size:12px;
    font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);
    background:var(--sea-deep);border-radius:999px;padding:13px 30px;text-decoration:none}
  .toc-start a:hover{background:var(--sea)}

  /* ═══ Шапка и навигация раздела ═══ */
  .topbar{position:sticky;top:0;z-index:40;background:rgba(52,82,88,.94);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--cream)}
  .topbar-in{max-width:820px;margin:0 auto;padding:11px 18px;display:flex;align-items:center;gap:14px;
    font-family:-apple-system,'Segoe UI',sans-serif;font-size:12px}
  .topbar a{color:var(--cream);text-decoration:none;white-space:nowrap;opacity:.9}
  .topbar a:hover{opacity:1;color:#fff}
  .topbar .crumbs{margin-left:auto;text-align:right;color:rgba(240,232,213,.75);letter-spacing:.04em;min-width:0}
  .pbar{height:3px;background:rgba(240,232,213,.2)}
  .pbar i{display:block;height:100%;background:var(--gold)}
  .chap-line{max-width:780px;margin:0 auto;padding:26px 20px 0;text-align:center;
    font-family:-apple-system,'Segoe UI',sans-serif;font-size:11.5px;font-weight:700;
    letter-spacing:.24em;text-transform:uppercase;color:rgba(240,232,213,.72)}

  .cnav{max-width:780px;margin:0 auto;padding:0 12px 64px;display:flex;gap:12px;align-items:stretch}
  .cnav a{flex:1;text-decoration:none;background:var(--page);border-radius:12px;padding:18px 20px;
    box-shadow:0 12px 32px rgba(20,40,45,.24);display:flex;flex-direction:column;justify-content:center;min-width:0}
  .cnav a:hover{background:#fff}
  .cnav .lb{font-family:-apple-system,'Segoe UI',sans-serif;font-size:10.5px;font-weight:700;
    letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:5px}
  .cnav .tt{color:var(--sea-deep);font-size:16px;line-height:1.35}
  .cnav a.mid{flex:0 0 auto;align-items:center;text-align:center}
  .cnav a.nxt{text-align:right}

  @media (max-width:840px){
    .cover-sheet{padding:36px 22px 32px}
    .toc-sheet{padding:30px 20px 28px}
    .part-card{padding:20px 22px}
    .cnav{flex-direction:column;padding-bottom:48px}
    .cnav a.nxt{text-align:left}
    .topbar-in{font-size:11px;gap:10px}
    .topbar .crumbs{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .chap-line{font-size:10.5px;letter-spacing:.18em;padding-top:20px}
  }

  /* ═══ v2: вступление ═══ */
  .accent-block{margin:38px 0; padding:30px 34px; border:1px solid rgba(200,169,107,.5);
    border-left:4px solid var(--gold); border-radius:12px;
    background:linear-gradient(180deg, rgba(200,169,107,.08), rgba(200,169,107,.02))}
  .accent-block .label{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.3em;
    text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:16px}
  .accent-block p{font-size:18px}
  .key-line{text-align:center; padding:6px 24px; margin:30px 0 34px}
  /* Правка Андрея 07.09: без фонового маркера — цветом и кеглем */
  .key-line em{font-size:23px; line-height:1.65; color:var(--sea); box-shadow:none; font-weight:500}
  .sheet > .key-line{text-indent:0}
  sup.fn{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; color:var(--gold); font-weight:700}
  .fnotes{margin-top:40px; padding-top:18px; border-top:1px solid var(--line)}
  .fnotes p{font-family:-apple-system,'Segoe UI',sans-serif; font-size:14px; line-height:1.6;
    color:var(--ink-soft); margin:0 0 10px}
  .fnotes p b{color:var(--gold); margin-right:8px; font-weight:700}

  /* ═══ v2: карточки частей ═══ */
  .part-card{padding:28px 34px; text-align:left}
  .part-card .pn{margin-bottom:12px}
  .part-card h2{margin:0 0 10px; text-align:left; font-size:25px}
  .part-card .meta{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12.5px;
    color:var(--ink-soft); margin-top:12px; letter-spacing:.02em}

  /* ═══ v2: закладка на обложке ═══ */
  .bookmark-box{margin:26px auto 0; max-width:820px; padding:0 16px}
  .bookmark-in{background:rgba(251,248,241,.12); border:1px solid rgba(240,232,213,.35);
    border-radius:12px; padding:18px 22px; color:var(--cream);
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:14px; line-height:1.6; text-align:center}
  .bookmark-in b{font-weight:700}
  .bookmark-in .warn{display:block; margin-top:8px; font-size:12.5px; color:rgba(240,232,213,.75)}
  .bookmark-actions{margin-top:12px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap}
  .bookmark-actions a,.bookmark-actions button{font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; cursor:pointer;
    border-radius:999px; padding:10px 22px; border:1px solid rgba(240,232,213,.5);
    background:transparent; color:var(--cream); text-decoration:none}
  .bookmark-actions a.primary{background:var(--cream); color:var(--sea-deep); border-color:var(--cream)}
  .bookmark-actions a:hover,.bookmark-actions button:hover{background:rgba(240,232,213,.18)}
  .bookmark-actions a.primary:hover{background:#fff}

  /* ═══ v2.4: раздел внутри титульного листа главы ═══ */
  .sec-band{margin:-10px 0 34px; padding-bottom:26px; border-bottom:1px solid rgba(200,169,107,.45)}
  .sec-band-part{font-family:-apple-system,'Segoe UI',sans-serif; font-size:10.5px; font-weight:700;
    letter-spacing:.3em; text-transform:uppercase; color:var(--gold)}
  .sec-band-t{font-size:32px; line-height:1.25; color:var(--sea-deep); margin-top:14px; text-wrap:balance}
  .sec-band-d{font-family:-apple-system,'Segoe UI',sans-serif; font-size:14.5px; line-height:1.6;
    color:var(--ink-soft); max-width:52ch; margin:10px auto 0; text-wrap:balance}
  .sec-tiles{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:34px auto 0; max-width:600px;
    text-align:left; border-top:1px solid var(--line); padding-top:28px}
  .sec-tiles .tile{display:block; text-decoration:none; border:1px solid var(--line);
    border-radius:12px; padding:12px 16px; background:#fff; transition:box-shadow .15s}
  .sec-tiles .tile:hover{box-shadow:0 6px 18px rgba(20,40,45,.12)}
  .sec-tiles .tn{display:block; font-family:-apple-system,'Segoe UI',sans-serif; font-size:10.5px;
    font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:3px}
  .sec-tiles .tt{display:block; font-family:-apple-system,'Segoe UI',sans-serif; font-size:14.5px;
    line-height:1.4; color:var(--ink)}
  .sec-tiles .tile.cur{background:var(--sea-deep); border-color:var(--sea-deep)}
  .sec-tiles .tile.cur .tn{color:#E8CF9E}
  .sec-tiles .tile.cur .tt{color:var(--cream); font-weight:600}
  .sec-tiles .tile.read:not(.cur) .tn::after{content:" ✓"; color:#5E8A6C; letter-spacing:0}

  /* ═══ v2: меню-дерево ═══ */
  .nav-sec{margin:18px 0 4px}
  .nav-sec-row{display:flex; align-items:center; gap:6px}
  .nav-sec-row>a{flex:1; font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.18em;
    text-transform:uppercase; color:var(--gold); padding:6px 0; font-weight:700; text-decoration:none; line-height:1.5}
  .nav-sec-row>a:hover{color:#E8CF9E}
  .nav-sec-row>button{flex:none; width:32px; height:32px; background:none; border:none; cursor:pointer;
    color:var(--gold); display:flex; align-items:center; justify-content:center}
  .nav-sec-row>button .arr{transition:transform .2s; font-size:15px}
  .nav-sec.open .nav-sec-row>button .arr{transform:rotate(90deg)}
  .nav-sec .items{display:none}
  .nav-sec.open .items{display:block}
  .nav-item .num{color:var(--gold); margin-right:8px}
  .nav-item.cur{color:#fff; border-left-color:var(--gold); font-weight:600}
  .nav-item.read::after{content:" ✓"; color:#9FCDAB; font-size:12px}
  .drawer .foot{margin-top:26px; padding-top:16px; border-top:1px solid rgba(240,232,213,.25);
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; color:rgba(240,232,213,.65); line-height:1.6}

  /* ═══ v2: практика — кнопка тетради ═══ */
  .wb-note{background:rgba(251,248,241,.12); border:1px solid rgba(240,232,213,.3); border-radius:10px;
    padding:14px 18px; font-family:-apple-system,'Segoe UI',sans-serif; font-size:14.5px; line-height:1.6;
    color:rgba(240,232,213,.95); margin-bottom:18px}
  .practice-actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
  .wb-btn{display:inline-block; font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; font-weight:600;
    letter-spacing:.12em; text-transform:uppercase; color:var(--sea-deep); text-decoration:none;
    background:var(--gold); border-radius:999px; padding:13px 30px; box-shadow:0 4px 14px rgba(20,40,45,.25)}
  .wb-btn:hover{background:#CBA96B}

  /* ═══ v2: рабочая тетрадь ═══ */
  .wb-wrap{max-width:860px; margin:0 auto 72px; padding:0 12px; display:flex; flex-direction:column; gap:30px}
  .wb-page{background:var(--page); border-radius:14px; padding:46px 58px 50px; position:relative;
    box-shadow:0 22px 60px rgba(20,40,45,.32), 0 3px 12px rgba(20,40,45,.18)}
  .wb-page .wb-kicker{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.26em;
    text-transform:uppercase; color:var(--gold); font-weight:700}
  .wb-page h2{text-align:left; font-size:25px; margin:8px 0 4px}
  .wb-page .wb-src{font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; color:var(--ink-soft); margin-bottom:20px}
  .wb-q{margin:22px 0 10px; font-size:17.5px; line-height:1.65}
  .wb-q b{color:var(--gold); margin-right:6px}
  .wb-ans{border:1px solid var(--line); border-radius:8px; background:#fff; min-height:96px;
    padding:12px 16px; font-family:Georgia,'Times New Roman',serif; font-size:16px; line-height:28px;
    color:var(--ink); background-image:repeating-linear-gradient(transparent, transparent 27px, var(--line) 27px, var(--line) 28px);
    background-origin:content-box}
  .wb-ans:focus{outline:2px solid var(--gold); outline-offset:1px}
  .wb-ans:empty::before{content:attr(data-ph); color:#A9A18D; font-style:italic}
  .wb-head{color:var(--cream); text-align:center; padding:48px 24px 8px}
  .wb-head .over{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; letter-spacing:.35em;
    text-transform:lowercase; color:rgba(240,232,213,.75)}
  .wb-head h1{font-weight:400; font-size:clamp(26px,4.6vw,38px); margin:10px 0 0; letter-spacing:.06em; text-transform:uppercase}
  .wb-toolbar{position:sticky; top:0; z-index:40; background:rgba(52,82,88,.94);
    -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px)}
  .wb-toolbar-in{max-width:860px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; gap:12px;
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; color:var(--cream)}
  .wb-toolbar a{color:var(--cream); text-decoration:none; opacity:.9; white-space:nowrap}
  .wb-toolbar a:hover{opacity:1}
  .wb-toolbar .sp{margin-left:auto}
  .wb-toolbar button{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11.5px; font-weight:700;
    letter-spacing:.1em; text-transform:uppercase; cursor:pointer; border-radius:999px; padding:9px 20px;
    border:none; background:var(--cream); color:var(--sea-deep)}
  .wb-toolbar button:hover{background:#fff}
  .wb-saved{font-size:11.5px; color:rgba(240,232,213,.7)}
  .wb-intro p{margin-bottom:16px}

  /* ═══ v2: печать ═══ */
  .print-stub{display:none}
  @media print{
    html{background:#fff !important}
    body.wb{background:#fff !important; background-image:none !important; background-attachment:scroll !important}
    @page{size:A4; margin:0}
    body.wb .wb-toolbar, body.wb .menu-btn, body.wb .drawer, body.wb .overlay, body.wb .wb-head{display:none !important}
    body.wb .wb-wrap{max-width:none; margin:0; padding:0; gap:0; display:block}
    body.wb .wb-page{box-shadow:none; border-radius:0; padding:18mm 16mm; margin:0;
      page-break-after:always; break-after:page; background:#fff}
    body.wb .wb-page:last-child{page-break-after:auto; break-after:auto}
    body.wb .wb-ans{background-color:#fff; border-color:#bbb}
    body.wb .wb-ans:empty{min-height:34mm}
  }
  @media (max-width:840px){
    .wb-page{padding:32px 22px 36px}
    .accent-block{padding:22px 20px}
    .bookmark-actions{flex-direction:column; align-items:center}
  }

  /* ═══ v2.2: готовые схемы ═══ */
  .fig-img{display:block; width:100%; max-width:560px; margin:0 auto;
    border:1px solid var(--line); border-radius:12px; background:var(--page-edge)}
  .fig-tall .fig-img{max-width:420px}
  .fig-cap{text-align:center; font-family:-apple-system,'Segoe UI',sans-serif; font-size:13.5px;
    color:var(--ink-soft); margin-top:12px}
  .fig-cap b{color:var(--gold); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:11.5px; margin-right:6px}

  /* ═══ v2.3: обложка-титул ═══ */
  .cover-hero{min-height:86vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center; color:var(--cream); padding:80px 24px 48px}
  .cover-hero .over{font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; font-weight:700;
    letter-spacing:.4em; text-transform:uppercase; color:#E8CF9E}
  .cover-title{font-weight:400; font-size:clamp(36px,7.5vw,78px); line-height:1.16; letter-spacing:.1em;
    text-transform:uppercase; margin:26px 0 0; text-wrap:balance}
  .cover-rule{width:64px; height:1px; background:var(--gold); margin:30px auto 0; opacity:.9}
  .cover-sub{font-size:19px; line-height:1.6; color:rgba(240,232,213,.85); max-width:460px; margin:24px auto 0; text-wrap:balance}
  .cover-cta{display:inline-block; margin-top:40px; font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:14px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; text-decoration:none;
    color:var(--sea-deep); background:var(--cream); border-radius:999px; padding:17px 44px;
    box-shadow:0 10px 30px rgba(20,40,45,.35); transition:transform .2s, box-shadow .2s}
  .cover-cta:hover{transform:translateY(-2px); box-shadow:0 16px 40px rgba(20,40,45,.45); background:#fff}
  .cover-more{display:inline-block; margin-top:22px; font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:13px; letter-spacing:.06em; color:rgba(240,232,213,.75); text-decoration:none}
  .cover-more:hover{color:#fff}

  /* ═══ v2.3: заставка раздела ═══ */
  .sec-art{display:block; width:100%; max-width:520px; margin:0 auto 24px;
    border:1px solid var(--line); border-radius:12px}
  .sec-thumb{width:46px; height:46px; object-fit:cover; border-radius:50%;
    border:1px solid rgba(200,169,107,.6); flex:none; align-self:center}

  /* ═══ v2.3: мини-карта пути в меню ═══ */
  .nav-map-label{font-family:-apple-system,'Segoe UI',sans-serif; font-size:10px; letter-spacing:.24em;
    text-transform:uppercase; color:rgba(240,232,213,.6); margin:26px 0 8px}
  .nav-map{display:flex; align-items:flex-end; gap:7px}
  .nav-map .step{flex:1; position:relative; border:1px solid rgba(240,232,213,.35); border-radius:6px 6px 3px 3px;
    overflow:hidden; background:rgba(251,248,241,.06)}
  .nav-map .step i{position:absolute; left:0; right:0; bottom:0; background:rgba(200,169,107,.55); transition:height .4s}
  .nav-map .step.done i{background:var(--gold)}
  .nav-map .step.cur{border-color:var(--gold)}
  .nav-map .step b{position:absolute; left:0; right:0; bottom:3px; text-align:center;
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:10px; font-weight:700; color:var(--cream)}
  @media (max-width:840px){
    .cover-hero{min-height:78vh; padding-top:96px}
    .cover-sub{font-size:17px}
  }

  /* ═══ v2.4: замочки ═══ */
  .nav-sec.locked .lk{display:flex; align-items:center; gap:8px; font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:11px; letter-spacing:.18em; text-transform:uppercase; font-weight:700;
    color:rgba(240,232,213,.4); padding:6px 0; line-height:1.5; flex:1}
  .nav-sec.locked .lock{margin-left:auto; font-size:12px; opacity:.8}
  span.toc-ch.locked{display:flex; gap:14px; align-items:baseline; padding:11px 4px;
    border-bottom:1px solid var(--line); opacity:.5; cursor:default}
  span.toc-ch.locked .no{flex:none; width:22px; text-align:right; color:#A9A18D; font-size:15px}
  span.toc-ch.locked .tt{color:var(--ink-soft); font-size:16.5px; line-height:1.4}
  span.toc-ch.locked .lk{margin-left:auto; font-size:12px; flex:none}
  .nav-map .step.locked{opacity:.45}
  .nav-map .step.locked b{bottom:auto; top:50%; transform:translateY(-50%); font-size:9px}
  .toc-note{text-align:center; font-family:-apple-system,'Segoe UI',sans-serif; font-size:14px;
    color:var(--ink-soft); max-width:52ch; margin:14px auto 0; text-wrap:balance}
  @media (max-width:600px){.sec-tiles{grid-template-columns:1fr}}

  /* ═══ v2.5: иллюстрации в тексте, обтекание ═══ */
  .ill{float:right; width:32%; max-width:250px; margin:6px 0 14px 22px;
    border:1px solid var(--line); border-radius:10px; background:var(--page-edge)}
  .ill-wide{width:38%; max-width:310px}
  .sheet::after, .story::after{content:""; display:block; clear:both}
  @media (max-width:600px){
    .ill{width:45%; margin:4px 0 10px 14px}
    .ill-wide{width:52%}
  }

  /* ═══ v3.1: книжная иерархия титула ═══ */
  .sec-page .sheets{padding-top:72px}
  .chapter-head h1{font-size:22px; color:var(--ink)}
  .chapter-head .kicker{font-size:10px; letter-spacing:.26em}
  .chapter-head .orn{font-size:13px; letter-spacing:.5em; margin-top:12px}
  @media (max-width:840px){
    .sec-band-t{font-size:24px}
    .chapter-head h1{font-size:19px}
    .sec-page .sheets{padding-top:64px}
  }

  /* ═══ v3.2: структура/содержание рядом ═══ */
  .example-pair{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:24px 0}
  .example-pair .example{margin-bottom:0}
  @media (max-width:600px){.example-pair{grid-template-columns:1fr}}

  /* ═══ v3.2: иллюстрации «в фоне листа» ═══ */
  .ill{border:none; border-radius:0; background:none; mix-blend-mode:multiply}
  .ill-lg{width:46%; max-width:340px; margin:6px 0 16px 24px}
  @media (max-width:600px){.ill-lg{width:56%; margin:4px 0 12px 14px}}

  /* ═══ v3.2: всплывающие сноски ═══ */
  sup.fn{cursor:pointer; padding:0 3px}
  sup.fn:hover{text-decoration:underline}
  .fn-pop{position:fixed; z-index:95; background:var(--page); border:1px solid var(--gold);
    border-radius:10px; padding:13px 16px; font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:13.5px; line-height:1.6; color:var(--ink); box-shadow:0 14px 36px rgba(20,40,45,.28)}
  .fn-pop b{color:var(--gold); margin-right:6px}

  /* ═══ v3.2: поп-ап «разобрать подробно» ═══ */
  .dd-list{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:22px 0 0}
  .dd-item{display:flex; gap:10px; align-items:baseline; border:1px solid var(--line); border-radius:10px;
    padding:12px 15px; background:#fff; text-decoration:none; color:var(--ink);
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:14.5px; line-height:1.4; transition:box-shadow .15s}
  .dd-item:hover{box-shadow:0 6px 18px rgba(20,40,45,.12)}
  .dd-item .n{color:var(--gold); font-weight:700; flex:none}
  @media (max-width:600px){.dd-list{grid-template-columns:1fr}}
  .dd-overlay{position:fixed; inset:0; z-index:120; background:rgba(20,35,40,.55);
    display:flex; align-items:center; justify-content:center; padding:22px}
  .dd-modal{background:var(--page); border-radius:14px; width:100%; max-width:960px; max-height:92vh;
    display:flex; flex-direction:column; box-shadow:0 30px 80px rgba(10,20,25,.5)}
  .dd-head{display:flex; align-items:center; gap:14px; padding:16px 26px; border-bottom:1px solid var(--line)}
  .dd-step{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; letter-spacing:.2em;
    text-transform:uppercase; color:var(--gold); font-weight:700; white-space:nowrap}
  .dd-title{font-family:-apple-system,'Segoe UI',sans-serif; font-size:13px; color:var(--ink-soft);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .dd-close{margin-left:auto; flex:none; width:34px; height:34px; border:none; border-radius:50%;
    background:var(--page-edge); color:var(--ink); font-size:19px; line-height:1; cursor:pointer}
  .dd-close:hover{background:var(--line)}
  .dd-body{overflow-y:auto; padding:20px 30px 26px}
  .dd-body .n-item{border:none; border-radius:0; padding:0; margin:0; background:transparent}
  .dd-nav{display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:14px 26px calc(14px + env(safe-area-inset-bottom,0px)); border-top:1px solid var(--line)}
  .dd-nav button{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; font-weight:700;
    letter-spacing:.1em; text-transform:uppercase; cursor:pointer; border-radius:999px; padding:11px 24px;
    border:1px solid var(--line); background:#fff; color:var(--sea-deep)}
  .dd-nav button:hover{background:var(--page-edge)}
  .dd-nav .dd-next{background:var(--sea-deep); color:var(--cream); border-color:var(--sea-deep)}
  .dd-nav .dd-next:hover{background:var(--sea)}
  .dd-nav button:disabled{opacity:.4; cursor:default}
  .dd-dots{display:flex; gap:7px}
  .dd-dots i{width:8px; height:8px; border-radius:50%; background:var(--line)}
  .dd-dots i.cur{background:var(--gold)}
  @media (max-width:700px){
    .dd-overlay{padding:0}
    .dd-modal{max-height:100dvh; height:100%; border-radius:0}
    .dd-body{padding:16px 18px 20px}
    .dd-head{padding:12px 16px}
    .dd-nav{padding-left:16px; padding-right:16px}
    .dd-title{display:none}
  }

  /* ═══ v3.3: оглавление книги ═══ */
  .toc-warn{text-align:center; font-family:-apple-system,'Segoe UI',sans-serif; font-size:12.5px;
    color:var(--ink-soft); max-width:52ch; margin:14px auto 0; text-wrap:balance}
  .toc-start{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
  .toc-start button{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; font-weight:700;
    letter-spacing:.1em; text-transform:uppercase; cursor:pointer; border-radius:999px; padding:13px 26px;
    border:1px solid var(--line); background:#fff; color:var(--sea-deep)}
  .toc-start button:hover{background:var(--page-edge)}

  /* ═══ v3.3: кликабельные главы в оглавлении ═══ */
  a.sec-name{text-decoration:none; cursor:pointer}
  a.sec-name:hover{background:rgba(200,169,107,.07)}
  a.sec-name .go-arr{margin-left:auto; color:var(--gold); font-size:16px; opacity:0; transition:opacity .15s}
  a.sec-name:hover .go-arr{opacity:1}

  /* ═══ v4.1: печать тетради как на экране ═══ */
  .wb-ch-t{font-size:28px !important; margin-top:10px !important}
  .wb-chapter{text-align:center; display:flex; flex-direction:column; justify-content:center; min-height:300px}
  .wb-chapter .wb-src{max-width:52ch; margin:10px auto 0}
  .dl-ch{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11.5px; font-weight:700;
    letter-spacing:.1em; text-transform:uppercase; cursor:pointer; border-radius:999px; padding:10px 22px;
    border:1px solid var(--line); background:#fff; color:var(--sea-deep)}
  .dl-ch:hover{background:var(--page-edge)}
  @media print{
    body.wb, body.wb *{-webkit-print-color-adjust:exact !important; print-color-adjust:exact !important}
    body.wb .noprint{display:none !important}
    body.wb .wb-chapter{min-height:auto; padding-top:34mm}
    body.wb[data-print-sec="1"] .wb-page:not([data-sec="1"]):not(#letter),
    body.wb[data-print-sec="2"] .wb-page:not([data-sec="2"]),
    body.wb[data-print-sec="3"] .wb-page:not([data-sec="3"]),
    body.wb[data-print-sec="4"] .wb-page:not([data-sec="4"]){display:none !important}
    body.wb[data-print-sec="2"] #letter, body.wb[data-print-sec="3"] #letter,
    body.wb[data-print-sec="4"] #letter{display:none !important}
    body.wb .wb-ans{border:1px solid #b9b2a0}
    body.wb .wb-ans:empty{min-height:34mm}
  }

  /* ═══ v4.1: светлая печать страниц глав ═══ */
  @media print{
    body.book-page{background:#fff !important; background-image:none !important; background-attachment:scroll !important}
    body.book-page .menu-btn, body.book-page .drawer, body.book-page .overlay,
    body.book-page .cnav, body.book-page .sec-tiles, body.book-page .practice-actions{display:none !important}
    body.book-page .sheet{box-shadow:none; border:none; padding:6mm 0; page-break-inside:auto}
    body.book-page .sheet .tab{position:static; transform:none; margin:0 auto 6mm}
    body.book-page .sky-sheet{background:#fff !important; border:1pt solid #999 !important; color:#1c1c1c}
    body.book-page .sky-sheet h3{color:#1c1c1c}
    body.book-page .sky-sheet .calm{color:#444}
    body.book-page .wb-note{color:#333; border-color:#bbb; background:#fff}
  }

  /* ═══ v4.2: кнопки практик с подписями ═══ */
  .pa2{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; text-align:center}
  .pa-item{display:flex; flex-direction:column; gap:8px; align-items:center}
  .pa-item .wb-btn, .pa-item .copy-btn{width:100%; max-width:280px}
  .pa-cap{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12px; line-height:1.5;
    color:rgba(240,232,213,.75); max-width:250px}
  @media (max-width:600px){.pa2{grid-template-columns:1fr}}
  .ill-ex{display:block; width:100%; max-width:330px; margin:12px auto 0; mix-blend-mode:multiply}

  /* ═══ v4.2: наверх и ляссе ═══ */
  .fabs{position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px));
    display:flex; flex-direction:column; gap:10px; z-index:58}
  .fab{width:46px; height:46px; border-radius:50%; border:1px solid rgba(240,232,213,.5);
    background:rgba(52,82,88,.92); color:var(--cream); cursor:pointer; font-size:18px;
    display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(20,40,45,.35)}
  .fab:hover{background:var(--sea-deep)}
  .fab-top{opacity:0; pointer-events:none; transition:opacity .25s}
  .fab-top.show{opacity:1; pointer-events:auto}
  .fab-bm.did{background:var(--gold); border-color:var(--gold)}
  .ribbon{position:absolute; left:50%; margin-left:368px; width:22px; height:66px; z-index:45; cursor:pointer;
    background:linear-gradient(180deg,#D8B96C,#B8965A);
    clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);
    filter:drop-shadow(0 4px 8px rgba(20,40,45,.35))}
  .rb-tip{position:absolute; right:140%; top:4px; white-space:nowrap;
    background:var(--sea-deep); color:var(--cream); font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:12px; padding:8px 14px; border-radius:8px; border:1px solid rgba(240,232,213,.4);
    opacity:0; pointer-events:none; transition:opacity .2s}
  .ribbon:hover .rb-tip, .ribbon.tip .rb-tip{opacity:1}
  @media (max-width:840px){
    .ribbon{left:auto; right:6px; margin-left:0; width:18px; height:56px}
    .rb-tip{right:130%}
  }

  /* ═══ v4.3: подпись над плитками принципов ═══ */
  .dd-note{font-family:-apple-system,'Segoe UI',sans-serif; font-size:14.5px; line-height:1.6;
    color:var(--sea-deep); text-align:center; max-width:48ch; margin:26px auto 0;
    padding-top:20px; border-top:1px solid var(--line); text-wrap:balance}

  /* ═══ v4.4: финал главы и кнопки-действия ═══ */
  .chapter-final{text-align:center}
  .chapter-final p{font-size:19px; line-height:1.8; max-width:56ch; margin:0 auto; text-align:left}
  .cnav2{justify-content:center; gap:14px; flex-wrap:wrap}
  .cnav2 .act{flex:0 0 auto; font-family:-apple-system,'Segoe UI',sans-serif; font-size:12.5px;
    font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--sea-deep);
    background:var(--page); border-radius:999px; padding:15px 30px; display:block;
    box-shadow:0 10px 26px rgba(20,40,45,.25)}
  .cnav2 .act:hover{background:#fff}
  .cnav2 .act.gold{background:var(--gold); color:#fff}
  .cnav2 .act.gold:hover{background:#CBA96B}
  .q strong, .wb-q strong{font-weight:700; color:inherit}
  .task .q br{content:""; display:block; margin-top:4px}

  /* ═══ v4.5: канон практики — одна кнопка печати листа ═══ */
  .pa1{text-align:center; margin:22px 0 10px}
  .practice-note{font-family:-apple-system,'Segoe UI',sans-serif; font-size:12.5px; line-height:1.6;
    color:rgba(240,232,213,.8); text-align:center; max-width:52ch; margin:0 auto}
  .practice-note a{color:#E8CF9E}

  /* ═══ v4.5: тултип и мерцание закладки ═══ */
  .fab{position:relative}
  .fab-tip{position:absolute; right:120%; top:50%; transform:translateY(-50%); white-space:nowrap;
    background:var(--sea-deep); color:var(--cream); font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:12px; padding:8px 14px; border-radius:8px; border:1px solid rgba(240,232,213,.4);
    opacity:0; pointer-events:none; transition:opacity .12s}
  .fab-bm:hover .fab-tip{opacity:1}
  @keyframes bmPulse{
    0%,100%{box-shadow:0 6px 20px rgba(20,40,45,.35), 0 0 0 0 rgba(216,185,108,.55)}
    55%{box-shadow:0 6px 20px rgba(20,40,45,.35), 0 0 0 11px rgba(216,185,108,0)}
  }
  .fab-bm{animation:bmPulse 2.4s ease-out infinite}
  .fab-bm.quiet{animation:none}
  @media (prefers-reduced-motion: reduce){.fab-bm{animation:none}}

  /* ═══ v4.6: карточки примеров концепта ═══ */
  .concept-cards{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:24px 0}
  .concept-card{border:1px solid var(--line); border-radius:12px; background:#fff; padding:18px 20px}
  .concept-card .cc-t{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; font-weight:700;
    letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:10px;
    padding-bottom:8px; border-bottom:1px solid var(--line)}
  .concept-card p{font-size:15px; line-height:1.6; margin:0 0 8px}
  .concept-card p:last-child{margin-bottom:0}
  @media (max-width:700px){.concept-cards{grid-template-columns:1fr}}

  /* ═══ v4.6: формула TOTE одной строкой ═══ */
  .tote-strip{display:flex; align-items:center; justify-content:center; gap:8px;
    flex-wrap:nowrap; margin:28px 0; padding:18px 10px;
    border-top:2px solid var(--gold); border-bottom:2px solid var(--gold);
    background:linear-gradient(180deg, rgba(200,169,107,.06), transparent 70%)}
  .tote-strip .tb{display:flex; flex-direction:column; align-items:center; gap:2px;
    border:1.5px solid var(--sea-deep); border-radius:8px; background:#fff;
    padding:9px 14px; min-width:76px}
  .tote-strip .tb i{font-style:normal; font-size:15.5px; color:var(--sea-deep); letter-spacing:.02em}
  .tote-strip .tb em{font-style:normal; box-shadow:none; font-family:-apple-system,'Segoe UI',sans-serif;
    font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft)}
  .tote-strip .ta{color:var(--gold); font-size:18px; flex:none}
  .tote-strip .tstar{color:var(--gold); font-size:17px; margin-left:2px}
  @media (max-width:620px){
    .tote-strip{gap:4px; padding:14px 4px}
    .tote-strip .tb{min-width:0; padding:7px 7px}
    .tote-strip .tb i{font-size:12.5px}
    .tote-strip .tb em{font-size:8.5px; letter-spacing:.04em}
    .tote-strip .ta{font-size:13px}
  }

  /* ═══ v4.7: центрированная иллюстрация в листе ═══ */
  .ill-center{display:block; width:100%; max-width:540px; margin:8px auto 24px; mix-blend-mode:multiply}

  /* ═══ v4.8: определения парой ═══ */
  .define-pair{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:34px 0; align-items:stretch}
  .define-pair .define{margin:0; padding:24px 22px; text-align:left}
  .define-pair .define .label{text-align:center; margin-bottom:14px}
  .define-pair .define p{font-size:17.5px; line-height:1.65; text-align:left}
  @media (max-width:700px){.define-pair{grid-template-columns:1fr}}

  /* ═══ v4.9: подписи TOTE на лестнице ═══ */
  .lst-wrap{display:block; position:relative; border:none; background:none}
  .lst-wrap img{display:block; width:100%; mix-blend-mode:multiply}
  .lst-l{position:absolute; transform:translate(-50%,-100%); font-style:normal;
    font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; font-weight:700;
    letter-spacing:.08em; color:var(--sea-deep); white-space:nowrap}
  @media (max-width:600px){.lst-l{font-size:8.5px; letter-spacing:.04em}}
  .ill-big{max-width:440px}

  /* ═══ v5.0: притча, промпт-рамка ═══ */
  .ill-story{max-width:560px}
  .prompt-box{margin:20px 0 24px; padding:20px 24px; border:1.5px dashed var(--gold); border-radius:12px;
    background:linear-gradient(180deg, rgba(200,169,107,.07), rgba(200,169,107,.02))}
  .prompt-box .pr-label{font-family:-apple-system,'Segoe UI',sans-serif; font-size:10.5px; font-weight:700;
    letter-spacing:.26em; text-transform:uppercase; color:var(--gold); margin-bottom:10px}
  .prompt-box .pr-text{font-family:ui-monospace,'SF Mono',Menlo,monospace; font-size:14.5px; line-height:1.7;
    color:var(--ink); margin:0 0 16px}
  .copy-prompt{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11.5px; font-weight:700;
    letter-spacing:.1em; text-transform:uppercase; cursor:pointer; border-radius:999px; padding:10px 22px;
    border:none; background:var(--sea-deep); color:var(--cream)}
  .copy-prompt:hover{background:var(--sea)}

  /* ═══ v5.1: отступы вставок после кнопок практики ═══ */
  .practice-note{margin-bottom:6px}
  .sky-sheet .calm{margin-top:28px}
  .cnav2 .act.soon{background:rgba(251,248,241,.5); color:#8E9DA1; cursor:default;
    box-shadow:0 6px 18px rgba(20,40,45,.15); pointer-events:none}

  /* ═══ v5.2: меню в новом порядке ═══ */
  .brand-link{text-decoration:none; color:inherit; display:block}
  .nav-part{font-family:-apple-system,'Segoe UI',sans-serif; font-size:10px; letter-spacing:.22em;
    text-transform:uppercase; color:rgba(240,232,213,.55); margin:22px 0 2px; font-weight:700;
    display:flex; align-items:baseline; gap:10px}
  .nav-part.locked{margin:14px 0 0}
  .np-soon{margin-left:auto; font-size:9px; letter-spacing:.14em; color:var(--gold);
    border:1px solid rgba(200,169,107,.5); border-radius:999px; padding:2px 9px}
  .menu-continue{display:block; margin-top:12px; background:var(--gold); color:#fff;
    text-align:center; text-decoration:none; border-radius:999px; padding:11px 14px;
    font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase}
  .menu-continue:hover{background:#CBA96B}

  /* ═══ v5.3: защита текста книги от копирования (практики и поля — можно) ═══ */
  body.book-page{-webkit-user-select:none; -moz-user-select:none; user-select:none}
  body.book-page .sky-sheet, body.book-page .sky-sheet *,
  body.book-page .prompt-box, body.book-page .prompt-box *,
  body.book-page textarea, body.book-page input, body.book-page .fn-pop{
    -webkit-user-select:text; -moz-user-select:text; user-select:text}
  body.book-page img{-webkit-user-drag:none; user-drag:none}

  /* ═══ v5.4: оговорка об авторском праве ═══ */
  .cright{font-family:-apple-system,'Segoe UI',sans-serif; font-size:11px; line-height:1.6;
    color:rgba(240,232,213,.55); text-align:center}
  .drawer .cright{margin-top:16px; padding-top:14px; border-top:1px solid rgba(240,232,213,.2); text-align:left}

  /* Правка Андрея 07.09: промт в тексте — обычным абзацем, без рамки и кнопки */
  .pr-plain{color:var(--ink-soft)}
  .sheet > p.pr-plain{text-indent:1.6em}

  /* Решение Светланы 07.09: лестница ТОТЕ — одна схема, крупно, с подписями */
  .lst-big{max-width:560px; margin:0 auto}
  .lst-big img{border-radius:12px}
