/* Тема «earth» (2026-11-17): земляная пастель. Действует только при html.theme-earth,
   поэтому без переключателя сайт выглядит как раньше. Идея: мягкие размытые пятна шалфея,
   глины, песка и воды за первым экраном; белые «парящие» карточки со скруглением и мягкой тенью;
   пастельные метки категорий с тёмным текстом того же тона. */

html.theme-earth {
    --ink: #1f2d27;
    --ink-soft: #33413a;
    --muted: #5b665f;
    --line: #e6e2d8;
    --bg: #f8f6f0;
    --cream: #f8f6f0;
    --cream-line: #e6e2d8;
    --paper-2: #f3f0e7;
    --tint: #f1efe6;
    --teal: #2f4a3a;          /* мох: кнопки, ссылки */
    --teal-soft: #7c9a6b;
    --teal-tint: #e7eedf;
    --signal: #c2643f;        /* терракота: ранги, акцент */
    --signal-tint: #f8e7dd;
    --fg: var(--ink);
    --accent: var(--teal);

    /* Земляная пастель: заливка / тёмный текст того же тона. */
    --sage: #dbe6d1;      --sage-ink: #3f5a36;
    --clay: #f3d6c6;      --clay-ink: #8a4026;
    --sand: #f2e6c8;      --sand-ink: #7a5e1c;
    --water: #d4e5ea;     --water-ink: #2f5866;
    --heather: #e6d9e6;   --heather-ink: #6a4867;
    --lichen: #e3e9cf;    --lichen-ink: #4f5e27;
    --stone: #e5e3dd;     --stone-ink: #4f514c;
    --dusk: #dad9ec;      --dusk-ink: #444779;

    --card-radius: 14px;
    --card-shadow: 0 1px 2px rgba(40, 45, 35, .05), 0 10px 28px rgba(40, 45, 35, .08);
}

html.theme-earth body { background: var(--bg); }

/* Шапка: полупрозрачная белая с размытием фона под ней. */
html.theme-earth .topbar { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(31, 45, 39, .08); box-shadow: none; }

/* Footer — спокойная финальная подпись, чтобы длинный список не обрывался строкой таблицы. */
html.theme-earth .site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 64px;
    border-top: 0;
    background: #2f4a3a;
    color: #fff;
}
/* 2026-11-18: на лендинге подвал идёт сразу за тёмным блоком заявки — без светлой полоски между ними. */
html.theme-earth .marketing-main + .site-footer { margin-top: 0; }
html.theme-earth .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(38% 150% at 90% 50%, rgba(240, 212, 140, .26), transparent 74%), radial-gradient(30% 130% at 4% 100%, rgba(168, 206, 220, .20), transparent 72%);
}
html.theme-earth .site-footer-inner { position: relative; }
html.theme-earth .site-footer-brand { color: #fff; }
html.theme-earth .site-footer-brand span, html.theme-earth .site-footer-note { color: #dce8d8; }

/* Кнопки и ссылки. */
html.theme-earth .button { border-radius: 10px; }
html.theme-earth .button-primary { background: var(--teal); border-color: var(--teal); box-shadow: 0 6px 16px rgba(47, 74, 58, .22); }
html.theme-earth .button-primary:hover { background: #24392d; border-color: #24392d; }
html.theme-earth .button-light { background: #fff; border-color: #fff; color: var(--ink); }
html.theme-earth button { border-radius: 8px; }
html.theme-earth .text-link:hover { color: var(--signal); }

/* Первый экран: размытые земляные пятна, как у Asana, но в шалфее, глине, песке и воде. */
/* 2026-11-17: свечение лежит на всей странице, а не внутри .hero — поэтому не обрывается
   по краю первого экрана, а заходит под плитки Signals / Patterns / Implications и растворяется ниже. */
html.theme-earth .marketing { position: relative; isolation: isolate; overflow-x: clip; }
html.theme-earth .marketing::before {
    content: ""; position: absolute; top: -80px; left: -5%; right: -5%; height: calc(100vh + 760px); z-index: -1; pointer-events: none;
    background:
        radial-gradient(42% 29% at 76% 16%, rgba(176, 210, 152, .95), transparent 72%),
        radial-gradient(34% 25% at 95% 35%, rgba(238, 170, 136, .9), transparent 72%),
        radial-gradient(38% 25% at 56% 42%, rgba(240, 212, 140, .9), transparent 72%),
        radial-gradient(32% 22% at 70% 2%, rgba(168, 206, 220, .9), transparent 72%),
        radial-gradient(26% 19% at 4% 48%, rgba(214, 190, 214, .6), transparent 72%),
        radial-gradient(34% 18% at 18% 66%, rgba(176, 210, 152, .55), transparent 72%),
        radial-gradient(30% 18% at 84% 68%, rgba(168, 206, 220, .6), transparent 72%),
        radial-gradient(26% 14% at 52% 76%, rgba(238, 170, 136, .35), transparent 72%);
    filter: blur(48px);
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 94%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 94%);
}
html.theme-earth .hero { background: transparent; overflow: visible; }
html.theme-earth .product-window { border: 1px solid rgba(31, 45, 39, .06); border-radius: var(--card-radius); box-shadow: 0 2px 4px rgba(40, 45, 35, .05), 0 24px 60px rgba(40, 45, 35, .14); }
html.theme-earth .product-window-bar { background: #fff; }
html.theme-earth .product-window-columns p { border-left: 0; border-radius: 10px; background: var(--sage); color: var(--sage-ink); }
html.theme-earth .product-window-columns p:last-child { background: var(--sand); color: var(--sand-ink); }
html.theme-earth .product-window-columns strong { color: inherit; }
html.theme-earth .signal-table-preview i { background: var(--signal); }

/* Полоса Signals / Patterns / Implications: три пастельные плитки. */
html.theme-earth .proof-strip { gap: 14px; padding: 0 clamp(24px, 7vw, 120px) 8px; background: transparent; border: 0; }
html.theme-earth .proof-strip p { border-radius: var(--card-radius); min-height: 140px; }
html.theme-earth .proof-strip p:nth-child(1) { background: var(--sage); }
html.theme-earth .proof-strip p:nth-child(2) { background: var(--water); }
html.theme-earth .proof-strip p:nth-child(3) { background: var(--sand); }
html.theme-earth .proof-strip strong { color: var(--ink); }

/* Разделы лендинга: прозрачные поверх тёплого фона body, чтобы свечение сверху просвечивало. */
html.theme-earth .section, html.theme-earth .flow-section, html.theme-earth .standards-section, html.theme-earth .product-proof-section { background: transparent; }
html.theme-earth .coverage-section { background: linear-gradient(180deg, var(--bg), #eef3ea); }
html.theme-earth .flow-figure, html.theme-earth .standards-grid, html.theme-earth .finding-compare, html.theme-earth .coverage-matrix table, html.theme-earth .comparison-table table {
    border: 1px solid rgba(31, 45, 39, .06); border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--card-shadow); background: #fff;
}
html.theme-earth .flow-figure, html.theme-earth .standards-grid { gap: 1px; background: var(--line); }
html.theme-earth .flow-stream li, html.theme-earth .flow-sift li, html.theme-earth .flow-brief li { border-radius: 8px; }
html.theme-earth .flow-sift .is-kept { background: var(--sage); color: var(--sage-ink); border-left-color: transparent; }
html.theme-earth .flow-brief li { background: var(--paper-2); }
html.theme-earth .flow-brief b { color: var(--signal); }
html.theme-earth .flow-pattern { border-radius: 10px; background: var(--water); color: var(--water-ink); }
html.theme-earth .finding-source { border-left: 0; background: var(--clay); }
html.theme-earth .finding-card { background: #fff; }
html.theme-earth .comparison-table thead th { background: var(--teal); }
html.theme-earth .comparison-table .signalflow-row > * { background: var(--sage); }
html.theme-earth .method-note { border-radius: var(--card-radius); background: var(--sand); border-color: transparent; }
html.theme-earth .marketing-qa details { border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); border-color: transparent; }

/* Блок призыва: тёмный мох вместо тёмно-зелёного, с тёплым свечением. */
html.theme-earth .cta-section { position: relative; isolation: isolate; overflow: hidden; background: #2f4a3a; }
html.theme-earth .cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 85% 20%, rgba(224, 160, 120, .45), transparent 70%), radial-gradient(40% 60% at 10% 90%, rgba(170, 200, 150, .35), transparent 70%); filter: blur(30px); }

/* Портал: белые карточки со скруглением и мягкой тенью. */
html.theme-earth .filters, html.theme-earth .filters-panel { border-radius: var(--card-radius); }
html.theme-earth main:not(.marketing-main) .filters { padding: 16px 18px; border: 1px solid rgba(31, 45, 39, .06); background: #fff; box-shadow: var(--card-shadow); }
html.theme-earth .filters select, html.theme-earth .filters input[type="search"] { border-radius: 8px; background: var(--paper-2); border-color: var(--line); }
html.theme-earth .feed-table-scroll { border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow); }
html.theme-earth table.feed th { background: #fff; }
html.theme-earth table.feed tbody tr:hover { background: #f6f4ec; }
html.theme-earth .detail, html.theme-earth .pattern, html.theme-earth .presentation-card, html.theme-earth .coverage-edition, html.theme-earth .leadership-brief, html.theme-earth .card {
    border: 1px solid rgba(31, 45, 39, .06); border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow);
}
html.theme-earth .presentation-card { border-top: 0; }
html.theme-earth .leadership-brief { background: linear-gradient(135deg, #fff 55%, #eef3e8); }
html.theme-earth .brief-grid section, html.theme-earth .pattern-reading section { border-radius: 12px; background: var(--paper-2); border-left: 0; border-top: 0; }
html.theme-earth .pattern-questions, html.theme-earth .question-list .question-idea { border-radius: 10px; }
html.theme-earth .question-list .question-idea { border-left: 0; background: var(--sand); }
html.theme-earth .question-idea span { color: var(--sand-ink); }

/* Методология. */
html.theme-earth .mp-flow, html.theme-earth .mp-compare, html.theme-earth .mp-anatomy, html.theme-earth .mp-limits { border-radius: var(--card-radius); overflow: hidden; border-color: rgba(31, 45, 39, .06); box-shadow: var(--card-shadow); background: #fff; }
html.theme-earth .mp-flow > li:last-child { background: var(--sage); }
html.theme-earth .mp-in { background: var(--sage); }
html.theme-earth .mp-prompt { background: var(--sand); border-left-color: #d9b860; }
html.theme-earth .mp-chain li { border-radius: 12px; border-top: 0; box-shadow: var(--card-shadow); }
html.theme-earth .mp-chain li:nth-child(1) { background: var(--clay); }
html.theme-earth .mp-chain li:nth-child(2) { background: var(--sage); }
html.theme-earth .mp-chain li:nth-child(3) { background: var(--water); }
html.theme-earth .mp-step { background: var(--signal); }

/* Метки категорий: пастельная заливка, тёмный текст того же тона — как цветные теги Asana. */
html.theme-earth .category-badge { border: 0; border-radius: 6px; padding: 2px 8px; font-weight: 600; }
html.theme-earth .category-badge::before { display: none; }
html.theme-earth .category-badge.category-product      { background: var(--water);   color: var(--water-ink); }
html.theme-earth .category-badge.category-customer     { background: var(--sage);    color: var(--sage-ink); }
html.theme-earth .category-badge.category-partnerships { background: var(--heather); color: var(--heather-ink); }
html.theme-earth .category-badge.category-market       { background: var(--clay);    color: var(--clay-ink); }
html.theme-earth .category-badge.category-strategy     { background: #ecc9bd;        color: #7c2f22; }
html.theme-earth .category-badge.category-leadership   { background: var(--dusk);    color: var(--dusk-ink); }
html.theme-earth .category-badge.category-narrative    { background: var(--sand);    color: var(--sand-ink); }
html.theme-earth .category-badge.category-trust        { background: var(--lichen);  color: var(--lichen-ink); }
html.theme-earth .category-badge.category-regulatory   { background: #d9e2e4;        color: #3d5560; }
html.theme-earth .category-badge.category-other        { background: var(--stone);   color: var(--stone-ink); }

/* Приоритет: мягкие пастельные пилюли от терракоты к камню. */
html.theme-earth .badge { border: 0; padding: 2px 9px; }
html.theme-earth .badge-critical    { background: var(--signal); color: #fff; }
html.theme-earth .badge-very-high   { background: #f0c4ad; color: #7c3519; }
html.theme-earth .badge-high        { background: var(--clay); color: var(--clay-ink); }
html.theme-earth .badge-medium-high { background: var(--sand); color: var(--sand-ink); }
html.theme-earth .badge-medium      { background: var(--sage); color: var(--sage-ink); }
html.theme-earth .badge-low         { background: var(--stone); color: var(--stone-ink); }
html.theme-earth .badge-very-low    { background: transparent; border: 1px dashed var(--stone-ink); padding: 1px 8px; color: var(--stone-ink); }
html.theme-earth .badge-confirmed   { background: var(--teal); color: #fff; }
html.theme-earth .badge-emerging    { background: var(--sage); color: var(--sage-ink); }

@media (prefers-reduced-transparency: reduce) {
    html.theme-earth .topbar { background: #fff; backdrop-filter: none; }
}

/* Портал: то же мягкое свечение, но тише — полосой под шапкой, чтобы не мешать чтению. */
html.theme-earth main:not(.marketing-main) {
    position: relative;
    isolation: isolate;
}
/* 2026-11-18: свечение шире окна давало горизонтальную прокрутку на узком экране — обрезаем по краю окна.
   clip, а не hidden: не создаёт контейнер прокрутки, липкая шапка продолжает работать. */
html.theme-earth, html.theme-earth body { overflow-x: clip; }
html.theme-earth main:not(.marketing-main)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-color: var(--bg);
    /* Цветовой ритм продолжается на длинных рабочих экранах: мягкие пятна
       остаются по краям, а белые панели и таблицы сохраняют рабочий фокус. */
    background-image:
        radial-gradient(22rem 18rem at -6rem 10rem, rgba(168, 206, 220, .30), transparent 72%),
        radial-gradient(24rem 20rem at calc(100% + 8rem) 27rem, rgba(176, 210, 152, .38), transparent 74%),
        radial-gradient(20rem 17rem at -7rem 43rem, rgba(240, 212, 140, .26), transparent 72%),
        radial-gradient(22rem 18rem at calc(100% + 7rem) 54rem, rgba(238, 170, 136, .30), transparent 74%);
    background-repeat: repeat-y;
    background-size: 100% 760px;
}
html.theme-earth main:not(.marketing-main)::before {
    content: ""; position: absolute; left: -10vw; right: -10vw; top: -48px; height: 500px; z-index: -1; pointer-events: none;
    background:
        radial-gradient(34% 68% at 86% 16%, rgba(176, 210, 152, .62), transparent 72%),
        radial-gradient(30% 62% at 62% 0%, rgba(240, 212, 140, .52), transparent 72%),
        radial-gradient(28% 58% at 100% 46%, rgba(238, 170, 136, .44), transparent 72%),
        radial-gradient(24% 52% at 7% 7%, rgba(168, 206, 220, .22), transparent 72%);
    filter: blur(44px);
}

/* ===== 2026-11-17 (2): правки по просмотру ===== */

/* Названия категорий без капса; подсказка «?» у столбца Score открывается влево и не обрезается. */
html.theme-earth .category-label, html.theme-earth .category-kicker, html.theme-earth .presentation-card .workflow-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
html.theme-earth th .hint-text { left: auto; right: -6px; }
html.theme-earth .feed-table-scroll { overflow-y: visible; }

/* Brief: заголовок раздела — метка категории и число сигналов; карточка — превью с «Read more». */
html.theme-earth .category-view { margin: 40px 0 48px; background: transparent; }
html.theme-earth .category-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 16px; }
html.theme-earth .category-heading .category-badge { padding: 4px 12px; font-size: 15px; }
html.theme-earth .category-heading small { color: var(--muted); font: 500 13px var(--sans); }
html.theme-earth .presentation-rail { gap: 16px; align-items: flex-start; padding: 4px 4px 18px; }
html.theme-earth .presentation-group { gap: 16px; align-items: flex-start; }
html.theme-earth .presentation-group.is-product-workflow-group { border: 0; padding: 0; background: transparent; }
html.theme-earth .presentation-card, html.theme-earth .presentation-group.is-product-workflow-group .presentation-card { flex-basis: min(360px, calc(100vw - 66px)); min-height: 0; padding: 20px 22px 16px; }
html.theme-earth .presentation-card h4 { margin: 0 0 10px; font-size: 16px; line-height: 1.35; }
html.theme-earth .card-teaser { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 10px !important; color: var(--ink-soft); }
html.theme-earth .presentation-card:has(.card-more[open]) .card-teaser { display: none; }
html.theme-earth .card-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 13px; font-weight: 650; }
html.theme-earth .card-more > summary::-webkit-details-marker { display: none; }
html.theme-earth .card-more > summary::after { content: "⌄"; font-size: 13px; transition: transform .15s; }
html.theme-earth .card-more[open] > summary::after { transform: rotate(180deg); }
html.theme-earth .card-more .when-open, html.theme-earth .card-more[open] .when-closed { display: none; }
html.theme-earth .card-more[open] .when-open { display: inline; }
html.theme-earth .card-more[open] > summary { margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { html.theme-earth .card-more > summary::after { transition: none; } }

/* Превью на первом экране: строки с компанией, содержанием, категорией и приоритетом. */
html.theme-earth .signal-preview { margin: 0; padding: 6px 14px 12px; list-style: none; }
html.theme-earth .signal-preview li { display: grid; grid-template-columns: 74px minmax(0, 1fr) max-content; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.35; }
html.theme-earth .signal-preview li:last-child { border-bottom: 0; }
html.theme-earth .signal-preview b { color: var(--ink); }
html.theme-earth .signal-preview li > span { color: var(--ink-soft); }
html.theme-earth .signal-preview em { margin-top: 4px; font-style: normal; }
html.theme-earth .signal-preview .signal-preview-category { grid-column: 2; }
html.theme-earth .signal-preview .signal-preview-priority { grid-column: 3; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
html.theme-earth .signal-preview .category-badge, html.theme-earth .signal-preview .badge { font-size: 11px; padding: 1px 7px; }
/* Карточки остаются слегка наложенными. Дополнительная высота панели оставляет
   название нижней карточки целиком видимым под передним краем верхней. */
html.theme-earth .product-window-secondary { width: min(86%, 420px); margin-top: -10px; }
html.theme-earth .product-window-secondary .product-window-bar { min-height: 30px; padding-top: 12px; }

/* Схема «How it works»: ровные отступы, пункты отделены друг от друга, номера внутри плашек. */
html.theme-earth .flow-stage { padding: 26px 24px 24px; }
html.theme-earth .flow-stage h3 { margin: 0 0 8px; }
html.theme-earth .flow-stage > p { min-height: 64px; margin: 0 0 4px; }
html.theme-earth .flow-stream, html.theme-earth .flow-sift, html.theme-earth .flow-brief { display: grid; gap: 6px; margin-top: 16px; }
html.theme-earth .flow-stream li { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--paper-2); }
html.theme-earth .flow-sift li { padding: 7px 10px; border: 0; border-radius: 8px; }
html.theme-earth .flow-sift .is-kept { background: var(--sage); color: var(--sage-ink); }
html.theme-earth .flow-sift .is-out { background: transparent; border: 1px dashed var(--line); }
html.theme-earth .flow-brief li { grid-template-columns: 18px 1fr auto; align-items: center; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--paper-2); font-weight: 600; }
html.theme-earth .flow-pattern { margin-top: 12px !important; padding: 12px 14px; border-left: 0; }
html.theme-earth .flow-stage + .flow-stage::before { border-color: var(--line); background: #fff; color: var(--teal); }

/* Стандарты: четыре пастельные карточки со значком. */
html.theme-earth .standards-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
html.theme-earth .standards-cards article { padding: 24px 22px; border-radius: var(--card-radius); }
html.theme-earth .standards-cards svg { width: 34px; height: 34px; padding: 7px; margin-bottom: 14px; border-radius: 10px; background: rgba(255, 255, 255, .7); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.theme-earth .standards-cards h3 { margin: 0 0 6px; font: 600 18px/1.25 var(--serif); color: var(--ink); }
html.theme-earth .standards-cards p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
html.theme-earth .tone-sage { background: var(--sage); color: var(--sage-ink); }
html.theme-earth .tone-water { background: var(--water); color: var(--water-ink); }
html.theme-earth .tone-sand { background: var(--sand); color: var(--sand-ink); }
html.theme-earth .tone-clay { background: var(--clay); color: var(--clay-ink); }

/* Команды: у каждой свой цвет, свой вопрос и пример из выпуска. */
html.theme-earth .team-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
html.theme-earth .team-cards article { display: flex; flex-direction: column; padding: 24px; border-radius: var(--card-radius); }
html.theme-earth .team-role { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; }
html.theme-earth .team-cards h3 { margin: 0 0 8px; font: 600 21px/1.25 var(--serif); color: var(--ink); }
html.theme-earth .team-cards article > p:not(.team-role):not(.team-example) { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
html.theme-earth .team-example { margin-top: auto !important; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .72); color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
html.theme-earth .team-example span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }

/* Ограничения. */
html.theme-earth .method-note { padding: 26px; }
html.theme-earth .method-note > p:nth-child(2) { margin: 10px 0 18px; }

/* Форма заявки. */
html.theme-earth .contact-section { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; min-height: 0; }
html.theme-earth .contact-section > div { grid-column: auto; }
html.theme-earth .contact-intro p:not(.eyebrow) { max-width: 460px; color: #e3ebe2; font-size: 18px; }
html.theme-earth .contact-card { padding: 26px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
html.theme-earth .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
html.theme-earth .contact-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
html.theme-earth .contact-form label small { margin-left: 4px; color: var(--muted); font-weight: 400; }
html.theme-earth .contact-form .wide { grid-column: 1 / -1; }
html.theme-earth .contact-form input, html.theme-earth .contact-form select, html.theme-earth .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; }
html.theme-earth .contact-form input:focus, html.theme-earth .contact-form select:focus, html.theme-earth .contact-form textarea:focus { outline: 2px solid var(--teal-soft); outline-offset: 1px; background: #fff; }
html.theme-earth .contact-form .field-error { color: #9b1c1c; font-size: 12px; font-weight: 500; }
html.theme-earth .contact-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html.theme-earth .contact-note { margin: 0 !important; color: var(--muted); font-size: 12px; }
html.theme-earth .contact-form button { justify-self: start; }
html.theme-earth .contact-thanks h3 { margin: 0 0 8px; font: 600 22px/1.25 var(--serif); }
html.theme-earth .contact-thanks a { color: var(--teal); }
html.theme-earth .requests-table td p { margin: 0 0 6px; }
html.theme-earth .requests-table tr.is-handled { opacity: .6; }

/* Общий ритм разделов лендинга: чуть меньше пустоты между блоками. */
html.theme-earth .section { padding-top: 88px; padding-bottom: 88px; }
html.theme-earth .section-heading > p:last-child { margin-top: 4px; }

@media (max-width: 1000px) {
    html.theme-earth .standards-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html.theme-earth .standards-cards, html.theme-earth .team-cards, html.theme-earth .contact-section, html.theme-earth .contact-form { grid-template-columns: 1fr; }
    html.theme-earth .section { padding-top: 64px; padding-bottom: 64px; }
    html.theme-earth .product-window-secondary { width: 100%; margin-top: 0; }
}

/* Coverage: как шёл отбор — воронка и причины (2026-11-17). */
html.theme-earth .screening { max-width: 900px; margin: 0 0 32px; padding: 26px 28px; border: 1px solid rgba(31, 45, 39, .06); border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow); }
html.theme-earth .screening h2 { margin: 0 0 6px; font: 600 22px/1.25 var(--serif); }
html.theme-earth .screening h3 { margin: 22px 0 10px; font-size: 14px; color: var(--ink); }
html.theme-earth .screening-sources, html.theme-earth .screening-note { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
html.theme-earth .screening-funnel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 10px; padding: 0; list-style: none; }
html.theme-earth .screening-funnel li { padding: 14px 16px; border-radius: 12px; background: var(--paper-2); }
html.theme-earth .screening-funnel li.is-out { background: var(--clay); color: var(--clay-ink); }
html.theme-earth .screening-funnel li.is-final { background: var(--sage); color: var(--sage-ink); }
html.theme-earth .screening-funnel b { display: block; font: 600 26px/1.1 var(--serif); color: var(--ink); }
html.theme-earth .screening-funnel span { font-size: 13px; }
html.theme-earth .screening-reasons { margin: 0; padding: 0; list-style: none; }
html.theme-earth .screening-reasons li { display: grid; grid-template-columns: minmax(180px, 1.2fr) 2fr 34px; align-items: center; gap: 4px 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
html.theme-earth .screening-reasons li:last-child { border-bottom: 0; }
html.theme-earth .reason-bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
html.theme-earth .reason-bar i { display: block; height: 100%; border-radius: 999px; background: var(--signal); opacity: .75; }
html.theme-earth .screening-reasons b { text-align: right; font-variant-numeric: tabular-nums; }
html.theme-earth .screening-reasons small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
html.theme-earth .screening-request { margin-top: 18px; padding: 12px 16px; border-radius: 10px; background: var(--sand); color: var(--sand-ink); font-size: 14px; }
html.theme-earth .screening-request p { margin: 0; }

/* Кнопка «Request source screenshots» в карточке сигнала. */
html.theme-earth .evidence-request { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
html.theme-earth .evidence-request button.secondary, html.theme-earth .note-actions .secondary, html.theme-earth .requests-table button.secondary { background: #fff; color: var(--teal); border: 1px solid var(--teal); }
html.theme-earth .evidence-request .muted { font-size: 12px; }
html.theme-earth .evidence-requested { margin-top: 12px !important; padding: 10px 12px; border-radius: 10px; background: var(--sage); color: var(--sage-ink); font-size: 13px; }

@media (max-width: 760px) {
    html.theme-earth .screening-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.theme-earth .screening-reasons li { grid-template-columns: 1fr 34px; }
    html.theme-earth .reason-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* 2026-11-18: текущий раздел портала в шапке — заметная «таблетка». */
html.theme-earth .topbar nav { gap: 2px; }
html.theme-earth .topbar nav a { padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: background-color .15s ease; }
html.theme-earth .topbar nav a:hover { background: rgba(47, 74, 58, .07); text-decoration: none; }
html.theme-earth .topbar nav a.is-active { background: var(--sage); color: var(--sage-ink); font-weight: 650; }

/* 2026-11-18: зачёркнутые пункты на лендинге — линия толще и темнее, текст приглушён. */
html.theme-earth .flow-sift .is-out { color: #7d8783; text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
/* Причина справа («duplicate») не зачёркивается: inline-block обрывает наследование линии. */
html.theme-earth .flow-sift .is-out small { display: inline-block; text-decoration: none; color: var(--muted); font-style: italic; }

/* 2026-11-18: заголовки сигналов — обычным шрифтом, жирным только названия компаний (<b>). */
table.feed .signal > a, table.feed .signal > span:first-child { font-weight: 400; }
html.theme-earth .presentation-card h4, html.theme-earth .presentation-card h4 a { font-weight: 400; }
html.theme-earth .detail > h2 { font-weight: 400; }
table.feed .signal b, html.theme-earth .presentation-card h4 b, html.theme-earth .detail > h2 b { font-weight: 700; }

/* 2026-11-18: My research на странице сигнала — заметки видны, выделения подсвечены в тексте. */
html.theme-earth .my-research-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
html.theme-earth .my-research-head h3 { margin: 0; }
html.theme-earth .my-research-hint { margin: 6px 0 14px; font-size: 13px; }
html.theme-earth .save-signal-form button.secondary { background: var(--sage); color: var(--sage-ink); border: 1px solid transparent; }
html.theme-earth .note-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
html.theme-earth .note-list li { padding: 12px 14px; border-radius: 12px; background: var(--paper-2); }
html.theme-earth .note-list p { margin: 6px 0 0; }
html.theme-earth .note-quote, html.theme-earth mark.user-highlight { padding: 1px 3px; border-radius: 3px; background: #f6e3a6; color: inherit; }
html.theme-earth .note-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; }
html.theme-earth .link-button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; box-shadow: none; }
html.theme-earth .link-button:hover { color: var(--signal); background: none; }
html.theme-earth .highlight-pop { position: absolute; z-index: 50; transform: translateX(-50%); padding: 6px 12px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 650; box-shadow: 0 6px 18px rgba(40, 45, 35, .25); cursor: pointer; }
html.theme-earth .highlight-pop[hidden] { display: none; }

/* 2026-11-18: бриф — синтез выпуска. */
html.theme-earth .brief-summary { margin: 24px 0 18px; padding: 28px 32px; border-radius: var(--card-radius); background: linear-gradient(135deg, #fff 55%, #eef3e8); box-shadow: 0 2px 4px rgba(40, 45, 35, .04), 0 18px 40px rgba(40, 45, 35, .08); }
html.theme-earth .brief-summary h2 { margin: 4px 0 0; font: 600 34px/1.1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
html.theme-earth .brief-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
html.theme-earth .brief-stats div { padding: 14px 16px; border-radius: 12px; background: var(--paper-2); }
html.theme-earth .brief-stats div:nth-child(1) { background: var(--sage); }
html.theme-earth .brief-stats div:nth-child(2) { background: var(--sand); }
html.theme-earth .brief-stats div:nth-child(3) { background: var(--water); }
html.theme-earth .brief-stats div:nth-child(4) { background: var(--clay); }
html.theme-earth .brief-stats dt { color: var(--ink-soft); font-size: 13px; }
html.theme-earth .brief-stats dd { margin: 4px 0 0; font: 600 32px/1 var(--serif); color: var(--ink); }
html.theme-earth .brief-block { margin: 18px 0; padding: 26px 32px; border-radius: var(--card-radius); background: #fff; box-shadow: 0 2px 4px rgba(40, 45, 35, .04), 0 12px 30px rgba(40, 45, 35, .06); }
html.theme-earth .brief-block-title { margin: 0 0 6px; font: 600 24px/1.2 var(--serif); color: var(--ink); }
html.theme-earth .brief-block-lead { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
html.theme-earth .takeaways { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: takeaway; }
html.theme-earth .takeaways > li { position: relative; padding: 16px 18px 16px 62px; border-radius: 14px; background: var(--paper-2); counter-increment: takeaway; }
html.theme-earth .takeaways > li::before { content: counter(takeaway); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: #fff; font-weight: 700; }
html.theme-earth .takeaway-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
html.theme-earth .takeaway-head h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.35; }
html.theme-earth .takeaway-seen { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
html.theme-earth .takeaway-sowhat { margin: 10px 0 0; color: var(--ink-soft); line-height: 1.55; }
html.theme-earth .takeaway-sowhat span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--sand); color: var(--sand-ink); font-size: 12px; font-weight: 650; }

/* Карта активности: конкуренты × категории. */
html.theme-earth .activity-map-scroll { overflow-x: auto; }
html.theme-earth .activity-map { border-collapse: separate; border-spacing: 4px; min-width: 100%; font-size: 13px; }
html.theme-earth .activity-map thead th { vertical-align: bottom; padding: 0 2px 6px; font-weight: 500; }
html.theme-earth .activity-map thead .category-badge { display: inline-block; max-width: 120px; white-space: normal; line-height: 1.25; font-size: 11px; }
html.theme-earth .activity-map tbody th { padding-right: 12px; text-align: left; white-space: nowrap; font-weight: 650; color: var(--ink); }
html.theme-earth .map-cell { width: 64px; height: 34px; border-radius: 8px; text-align: center; font-weight: 650; color: var(--ink); background: #f3f2ec; }
html.theme-earth .map-cell.level-1 { background: #e3ecd9; }
html.theme-earth .map-cell.level-2 { background: #c6dab4; }
html.theme-earth .map-cell.level-3 { background: #9fc08a; }
html.theme-earth .map-cell.level-4 { background: #6f9a5c; color: #fff; }
html.theme-earth .map-cell { position: relative; }
html.theme-earth .map-cell.has-notable::after, html.theme-earth .map-dot { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
html.theme-earth .map-cell.has-notable::after { position: absolute; top: 4px; right: 4px; }
html.theme-earth .map-total { color: var(--muted); font-weight: 650; }

/* Что читать первым. */
html.theme-earth .read-first { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
html.theme-earth .read-first li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
html.theme-earth .read-first li:last-child { border-bottom: 0; }
html.theme-earth .read-first-rank { font: 600 20px/1.2 var(--serif); color: var(--signal); }
html.theme-earth .read-first a { color: var(--ink); text-decoration: none; line-height: 1.45; }
html.theme-earth .read-first a:hover { text-decoration: underline; }
html.theme-earth .read-first-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
html.theme-earth .brief-question-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
html.theme-earth .brief-question-grid > div { padding: 16px 18px; border-radius: 14px; background: var(--water); }
html.theme-earth .question-context { margin: 0 0 8px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
html.theme-earth .brief-quiet { background: var(--paper-2); box-shadow: none; }
html.theme-earth .brief-quiet p { margin: 0; }

/* Карточки по категориям: важность, скор, порядок чтения; скрытые сигналы низкой важности. */
html.theme-earth .card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
html.theme-earth .card-meta .company { margin: 0; }
html.theme-earth .card-importance { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; }
html.theme-earth .card-score { font-weight: 700; color: var(--ink); }
html.theme-earth .card-rank { color: var(--muted); }
html.theme-earth .presentation-card.is-low { opacity: .82; }
html.theme-earth .show-low-card { flex: 0 0 200px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px; border: 1.5px dashed var(--line); border-radius: var(--card-radius); color: var(--teal); text-decoration: none; }
html.theme-earth .show-low-card b { font: 600 28px/1 var(--serif); }
html.theme-earth .show-low-card i { font-style: normal; font-size: 20px; }
html.theme-earth .show-low-card:hover { background: #fff; border-color: var(--teal); }
html.theme-earth .rail-empty { align-self: center; margin: 0 12px; }
html.theme-earth .by-category-note { margin: 0 0 8px; font-size: 13px; }
html.theme-earth .screening-request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

@media (max-width: 760px) {
    html.theme-earth .brief-stats, html.theme-earth .brief-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.theme-earth .brief-summary, html.theme-earth .brief-block { padding: 20px; }
    html.theme-earth .takeaways > li { padding-left: 54px; }
}

/* 2026-11-18: переключатель вида сигналов (таблица / по категориям). */
html.theme-earth .view-switch { display: inline-flex; gap: 2px; margin-top: 10px; padding: 3px; border-radius: 999px; background: var(--paper-2); font-size: 13px; }
html.theme-earth .view-switch a, html.theme-earth .view-switch span { padding: 5px 14px; border-radius: 999px; text-decoration: none; color: var(--teal); }
html.theme-earth .view-switch .is-active { background: #fff; color: var(--ink); font-weight: 650; box-shadow: 0 1px 3px rgba(40, 45, 35, .12); }

/* 2026-11-18: трёхшаговая схема выбора конкурентов в методологии. */
.mp-flow.mp-flow-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .mp-flow.mp-flow-three { grid-template-columns: 1fr; } }

/* 2026-11-18 (v2): бриф как слайд — во всю ширину, плотная сетка, умеренные размеры шрифта. */
main.brief-main { max-width: 1680px; margin-inline: auto; padding-top: 22px; }
html.theme-earth .brief-slide { display: grid; gap: 14px; font-size: 14px; }
html.theme-earth .brief-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
html.theme-earth .brief-kicker { margin: 0; color: var(--signal); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.theme-earth main.brief-main .brief-top h1 { margin: 2px 0 0; font-size: clamp(24px, 2.2vw, 32px); }
html.theme-earth .brief-top .brief-intro { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
html.theme-earth .brief-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0; }
html.theme-earth .brief-filters label { display: grid; gap: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
html.theme-earth .brief-filters select { min-height: 34px; padding: 4px 8px; font-size: 13px; text-transform: none; letter-spacing: 0; }
html.theme-earth .brief-filters button { min-height: 34px; padding: 4px 14px; font-size: 13px; }
html.theme-earth .brief-slide .brief-stats { margin: 0; gap: 10px; }
html.theme-earth .brief-slide .brief-stats div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
html.theme-earth .brief-slide .brief-stats dd { margin: 0; font-size: 28px; }
html.theme-earth .brief-slide .brief-stats dt { font-size: 13px; line-height: 1.3; }
html.theme-earth .brief-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
html.theme-earth .brief-row-b { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
html.theme-earth .brief-side { display: grid; gap: 14px; }
html.theme-earth .brief-slide .brief-block { margin: 0; padding: 18px 20px; }
html.theme-earth .brief-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
html.theme-earth .brief-block-head h2 { margin: 0; font: 600 19px/1.2 var(--serif); color: var(--ink); }
html.theme-earth .brief-block-head a { font-size: 12px; white-space: nowrap; }
html.theme-earth .brief-slide .brief-block-lead { margin: -4px 0 10px; font-size: 12px; }
html.theme-earth .brief-slide .takeaways { gap: 8px; margin: 0; }
html.theme-earth .brief-slide .takeaways > li { padding: 10px 12px 10px 46px; border-radius: 12px; }
html.theme-earth .brief-slide .takeaways > li::before { left: 12px; top: 10px; width: 24px; height: 24px; font-size: 12px; }
html.theme-earth .brief-slide .takeaways h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.35; }
html.theme-earth .brief-slide .takeaway-seen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 5px 0 0; }
html.theme-earth .brief-slide .takeaway-seen .badge { font-size: 10px; padding: 0 6px; }
html.theme-earth .brief-slide .takeaway-sowhat { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
html.theme-earth .brief-slide .read-first li { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px 0; }
html.theme-earth .brief-slide .read-first-rank { font-size: 16px; }
html.theme-earth .brief-slide .read-first a { font-size: 13px; line-height: 1.4; }
html.theme-earth .brief-slide .read-first-meta { margin-top: 4px; }
html.theme-earth .brief-slide .read-first-meta .badge, html.theme-earth .brief-slide .read-first-meta .category-badge { font-size: 11px; padding: 0 7px; }
html.theme-earth .brief-slide .activity-map { border-spacing: 3px; font-size: 12px; }
html.theme-earth .brief-slide .activity-map thead .category-badge { max-width: 92px; font-size: 10.5px; padding: 1px 6px; }
html.theme-earth .brief-slide .map-cell { width: auto; min-width: 40px; height: 26px; border-radius: 6px; }
html.theme-earth .brief-slide .map-cell.has-notable::after { top: 3px; right: 3px; width: 6px; height: 6px; }
html.theme-earth .brief-slide .question-set { padding: 10px 12px; border-radius: 12px; background: var(--water); }
html.theme-earth .brief-slide .question-set + .question-set { margin-top: 8px; }
html.theme-earth .brief-slide .question-context { margin: 0 0 4px; }
html.theme-earth .brief-slide .brief-quiet p { font-size: 13px; }
html.theme-earth .brief-also { margin: 0; padding-left: 18px; font-size: 13px; }
html.theme-earth .brief-also li { margin-bottom: 4px; }
@media (max-width: 1000px) {
    html.theme-earth .brief-row, html.theme-earth .brief-row-b { grid-template-columns: 1fr; }
    html.theme-earth .brief-slide .brief-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2026-11-18: переключатели на странице по категориям и в матрице брифа. */
html.theme-earth .category-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
html.theme-earth .category-switch { margin-top: 0; font-size: 14px; }
html.theme-earth .compact-filters { margin-top: 0 !important; padding: 10px 14px !important; }
html.theme-earth .map-switch { margin-top: 0; font-size: 12px; }
html.theme-earth .map-switch a, html.theme-earth .map-switch span { padding: 3px 10px; }

/* «Цветок» аспектов бизнеса (All categories). */
html.theme-earth .flower-panel { display: grid; grid-template-columns: minmax(300px, 560px) minmax(0, 1fr); align-items: center; gap: 12px 32px; margin: 14px 0 22px; padding: 18px 24px; border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow); }
html.theme-earth .category-flower { margin: 0; }
html.theme-earth .category-flower svg { display: block; width: 100%; height: auto; }
html.theme-earth .category-flower figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; }
html.theme-earth .petal { stroke: rgba(31, 45, 39, .18); stroke-width: 1; transition: transform .15s ease, opacity .15s ease; }
html.theme-earth .petal.category-product { fill: var(--water); }
html.theme-earth .petal.category-customer { fill: var(--sage); }
html.theme-earth .petal.category-partnerships { fill: var(--heather); }
html.theme-earth .petal.category-market { fill: var(--clay); }
html.theme-earth .petal.category-strategy { fill: #ecc9bd; }
html.theme-earth .petal.category-leadership { fill: var(--dusk); }
html.theme-earth .petal.category-narrative { fill: var(--sand); }
html.theme-earth .petal.category-trust { fill: var(--lichen); }
html.theme-earth .petal.category-regulatory { fill: #d9e2e4; }
html.theme-earth .petal-link.is-empty .petal { opacity: .35; stroke-dasharray: 3 3; }
html.theme-earth .petal-link:hover .petal { stroke: var(--ink); stroke-width: 1.5; }
html.theme-earth .petal-dot { fill: var(--signal); }
html.theme-earth .petal-label { fill: var(--ink); font: 650 13px var(--sans); }
html.theme-earth .petal-count { fill: var(--muted); font: 600 12px var(--sans); }
html.theme-earth .petal-link.is-empty .petal-label, html.theme-earth .petal-link.is-empty .petal-count { fill: #9aa29d; }
html.theme-earth .flower-center { fill: #fff; stroke: var(--line); }
html.theme-earth .flower-total { fill: var(--ink); font: 600 20px var(--serif); }
html.theme-earth .flower-total-label { fill: var(--muted); font: 11px var(--sans); }
html.theme-earth .flower-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
html.theme-earth .flower-legend li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
html.theme-earth .flower-legend li.is-empty { opacity: .55; }
html.theme-earth .flower-legend a { text-decoration: none; }
html.theme-earth .flower-legend b { margin-left: auto; color: var(--ink); }
html.theme-earth .flower-legend small { color: var(--signal); font-size: 11px; white-space: nowrap; }

/* Product по стадиям: spine слева (кружок на текущей стадии), карточки справа. */
html.theme-earth .workflow-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; margin: 16px 0; padding: 16px; border-radius: var(--card-radius); background: rgba(255, 255, 255, .55); }
html.theme-earth .workflow-spine { padding: 12px 10px 10px; border-radius: 12px; background: #f6f8f9; border: 1px solid #e3e9ec; }
html.theme-earth .workflow-spine-title { margin: 0 0 6px; color: #7d8ea0; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.theme-earth .workflow-spine-body { position: relative; }
html.theme-earth .workflow-spine-line { position: absolute; left: 0; top: 0; overflow: visible; }
html.theme-earth .workflow-spine-line path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
html.theme-earth .workflow-spine-line circle { fill: #fff; stroke: #d5dde2; stroke-width: 2; }
html.theme-earth .workflow-spine-line circle.is-current { fill: var(--signal); stroke: #fff; stroke-width: 3; }
html.theme-earth .workflow-spine-labels { margin: 0; padding: 0; list-style: none; }
html.theme-earth .workflow-spine-labels li { position: absolute; left: 80px; right: 0; transform: translateY(-50%); color: #6b7680; font-size: 11.5px; line-height: 1.3; }
html.theme-earth .workflow-spine-labels li.is-current { padding: 6px 8px; border: 1px solid #f0d3a8; border-radius: 8px; background: #fff5e6; color: var(--ink); font-size: 13px; font-weight: 700; }
html.theme-earth .workflow-row-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 10px; font: 600 20px/1.25 var(--serif); color: var(--ink); }
html.theme-earth .workflow-row-title span { color: var(--signal); font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
html.theme-earth .workflow-row-title small { color: var(--muted); font: 13px var(--sans); }

@media (max-width: 900px) {
    html.theme-earth .flower-panel, html.theme-earth .workflow-row { grid-template-columns: 1fr; }
}

/* 2026-11-18: подкатегория — сигналы столбиком под одним названием (Signal 1, Signal 2). */
html.theme-earth .subcat-stack { flex: 0 0 min(360px, calc(100vw - 66px)); display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: calc(var(--card-radius) + 4px); background: rgba(212, 229, 234, .45); border-top: 4px solid var(--water-ink); scroll-snap-align: start; }
html.theme-earth .subcat-stack .presentation-card { flex: none; width: auto; box-shadow: none; }
html.theme-earth .subcat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 2px 4px; color: var(--ink); font: 650 14px/1.3 var(--sans); }
html.theme-earth .subcat-title small { color: var(--muted); font-weight: 500; font-size: 12px; white-space: nowrap; }
html.theme-earth .subcat-index { margin: 4px 2px 0; color: var(--signal); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* 2026-11-18: панель фильтров скромнее — одна строка, низкие поля, Apply маленькой контурной кнопкой
   (в таблице фильтры и так применяются сами при выборе). */
html.theme-earth main:not(.marketing-main) .filters { flex-wrap: nowrap; align-items: flex-end; gap: 10px; padding: 10px 14px; margin: 12px 0 10px; box-shadow: 0 1px 2px rgba(40, 45, 35, .04); }
html.theme-earth main:not(.marketing-main) .filters label { flex: 1 1 0; min-width: 0; gap: 3px; font-size: 10.5px; }
html.theme-earth main:not(.marketing-main) .filters label.search, html.theme-earth main:not(.marketing-main) .filters .search { flex: 1.4 1 0; }
html.theme-earth main:not(.marketing-main) .filters select, html.theme-earth main:not(.marketing-main) .filters input[type="search"] { width: 100%; min-height: 32px; padding: 4px 8px; font-size: 13px; }
html.theme-earth main:not(.marketing-main) .filters button[type="submit"] { flex: none; min-height: 32px; padding: 4px 14px; border: 1px solid var(--line); background: #fff; color: var(--teal); font-size: 13px; font-weight: 600; box-shadow: none; }
html.theme-earth main:not(.marketing-main) .filters button[type="submit"]:hover { border-color: var(--teal); background: var(--teal-tint); color: var(--ink); }
@media (max-width: 900px) {
    html.theme-earth main:not(.marketing-main) .filters { flex-wrap: wrap; }
    html.theme-earth main:not(.marketing-main) .filters label { flex: 1 1 40%; }
}

/* 2026-11-18: ссылки в тёмном подвале — светлые, а не браузерный синий. */
html.theme-earth .site-footer a { color: #eef4ea; text-decoration-color: rgba(238, 244, 234, .45); text-underline-offset: 3px; }
html.theme-earth .site-footer a:hover { color: #fff; text-decoration-color: #fff; }
html.theme-earth .site-footer a:visited { color: #eef4ea; }

/* 2026-11-18 (v2): один закреплённый spine слева, стадии справа; маркер едет при прокрутке. */
html.theme-earth .workflow-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 14px; }
html.theme-earth .workflow-spine-sticky { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
html.theme-earth .workflow-stages { min-width: 0; }
html.theme-earth .workflow-stages .workflow-row { display: block; margin: 0 0 16px; scroll-margin-top: 90px; }
html.theme-earth .workflow-spine { padding: 14px 12px 12px; }
html.theme-earth .workflow-spine-line path { stroke-width: 3.5; stroke-linejoin: round; }
html.theme-earth .workflow-spine-line .spine-node { fill: #fff; stroke: #d5dde2; stroke-width: 2; }
html.theme-earth .spine-marker { transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
html.theme-earth .spine-marker circle { fill: var(--signal); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 2px 4px rgba(194, 100, 63, .35)); }
html.theme-earth .workflow-spine-labels li { left: 100px; transition: color .2s ease; }
html.theme-earth .workflow-spine-labels li a { color: inherit; text-decoration: none; }
html.theme-earth .workflow-spine-labels li a:hover { color: var(--ink); text-decoration: underline; }
html.theme-earth .workflow-spine-labels li.is-current { transition: background-color .2s ease; }
@media (prefers-reduced-motion: reduce) { html.theme-earth .spine-marker { transition: none; } }
@media (max-width: 900px) {
    html.theme-earth .workflow-layout { grid-template-columns: 1fr; }
    html.theme-earth .workflow-spine-sticky { position: static; max-height: none; }
}

/* 2026-11-18 (v3): панель spine — во всю высоту экрана, как неподвижная направляющая; двигается только шарик.
   Линия уходит за первый и последний узел и мягко растворяется на концах. */
html.theme-earth .workflow-spine-sticky { overflow: visible; max-height: none; }
html.theme-earth .workflow-spine-sticky .workflow-spine { box-sizing: border-box; min-height: calc(100vh - 104px); display: flex; flex-direction: column; }
html.theme-earth .workflow-spine-sticky .workflow-spine-body { flex: 1 0 auto; }
html.theme-earth .workflow-spine-line { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 46px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 46px), transparent 100%); }

/* 2026-11-18: вопросы и ответы — простой компактный список без карточек. Вопрос обычным шрифтом,
   ответ мелким текстом раскрывается под ним; тонкие линии вместо блоков. */
html.theme-earth .marketing-qa .marketing-qa-grid { display: block; max-width: 820px; margin-top: 22px; border: 0; border-top: 1px solid var(--line); background: transparent; }
html.theme-earth .marketing-qa .marketing-qa-grid details { min-height: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
html.theme-earth .marketing-qa .marketing-qa-grid summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 2px; list-style: none; color: var(--ink); font: 500 15px/1.4 var(--sans); }
html.theme-earth .marketing-qa .marketing-qa-grid summary::-webkit-details-marker { display: none; }
html.theme-earth .marketing-qa .marketing-qa-grid summary::after { content: "+"; flex: none; color: var(--muted); font-size: 16px; line-height: 1; transition: transform .2s ease; }
html.theme-earth .marketing-qa .marketing-qa-grid details[open] summary::after { transform: rotate(45deg); }
html.theme-earth .marketing-qa .marketing-qa-grid summary:hover { color: var(--teal); }
html.theme-earth .marketing-qa .marketing-qa-grid p { margin: 0 2px 14px; max-width: 700px; color: var(--muted); font-size: 13px; line-height: 1.55; }
html.theme-earth .marketing-qa { padding-top: 56px; padding-bottom: 56px; }

/* 2026-11-18: скрытые атрибутом hidden элементы не должны показываться из-за своего display. */
html.theme-earth .brief-filters[hidden], html.theme-earth .view-switch[hidden] { display: none; }

/* Пример брифа (/sample-brief) и его PDF: без меню и подвала, A4 альбомный, фоны печатаются. */
html.theme-earth .sample-brief-footer { margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
@media print {
    @page { size: A4 landscape; margin: 10mm; }
    html.theme-earth, html.theme-earth body { background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    html.theme-earth .topbar, html.theme-earth .site-footer, html.theme-earth main:not(.marketing-main)::before, html.theme-earth main:not(.marketing-main)::after { display: none !important; }
    html.theme-earth main.brief-main { max-width: none; padding: 0; }
    html.theme-earth .brief-slide .brief-block, html.theme-earth .brief-summary { box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
    html.theme-earth .brief-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important; }
    html.theme-earth .brief-row-b { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important; }
    html.theme-earth .brief-slide .brief-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    html.theme-earth .brief-slide a { color: inherit; text-decoration: none; }
}
