/* ===== TOKENS ===== */
:root {
    --green:        #5C9D7F;
    --green-dark:   #4a8a6e;
    --green-light:  #7AB69A;
    --green-faint:  #edf5f0;
    --black:        #1a1a1a;
    --ink:          #222;
    --gray:         #666;
    --gray-light:   #999;
    --border:       #e2e2dc;
    --bg:           #f5f5f0;
    --surface:      #fefefe;
    --white:        #ffffff;
    --gold:         #C9A962;
    --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
    --shadow-md:    0 4px 20px rgba(0,0,0,.09);
    --ease-out:     cubic-bezier(0.19, 1, 0.22, 1);
    --ease-std:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Manrope', sans-serif;
    --font-body:    'Inter', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--font-body); background:var(--bg); color:var(--ink); line-height:1.75; -webkit-font-smoothing:antialiased; }

/* ===== READING PROGRESS ===== */
.reading-progress-bar { position:fixed; top:0; left:0; height:2px; width:0%; background:var(--green); z-index:9999; transition:width .1s linear; }

/* ===== MAIN HEADER ===== */
.main-header { background:var(--white); border-bottom:1px solid var(--border); padding:0; position:sticky; top:0; z-index:200; }
.main-header-inner { max-width:1200px; margin:0 auto; padding:0 28px; height:60px; display:flex; justify-content:space-between; align-items:center; }
.logo-link { font-family:var(--font-display); font-size:15px; font-weight:800; letter-spacing:2.5px; color:var(--black); text-decoration:none; text-transform:uppercase; }
.header-nav { display:flex; align-items:center; gap:10px; }
.nav-btn { padding:9px 20px; border-radius:999px; font-family:var(--font-display); font-size:13px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:7px; transition:all .3s var(--ease-std); text-decoration:none; white-space:nowrap; border:1.5px solid transparent; }
.nav-btn-primary { background:var(--black); color:var(--white); }
.nav-btn-primary:hover { background:var(--green); box-shadow:3px 3px 0 var(--black); transform:translate(-1px,-1px); }
.nav-btn-secondary { background:transparent; color:var(--ink); border-color:var(--border); }
.nav-btn-secondary:hover { border-color:var(--ink); }

/* ===== STRATEGY HEADER ===== */
.strategy-header { background:var(--black); color:var(--white); padding:48px 28px 40px; }
.header-content { max-width:1200px; margin:0 auto; }
.breadcrumb { font-family:var(--font-mono); font-size:11px; letter-spacing:.5px; color:rgba(255,255,255,.35); margin-bottom:20px; }
.breadcrumb a { color:rgba(255,255,255,.5); text-decoration:none; }
.breadcrumb a:hover { color:var(--white); }
.strategy-title { font-family:var(--font-display); font-size:36px; font-weight:800; color:var(--white); letter-spacing:-1px; line-height:1.15; margin-bottom:16px; }
.strategy-meta { display:flex; gap:0; flex-wrap:wrap; }
.strategy-meta span { font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.4); padding-right:16px; margin-right:16px; border-right:1px solid rgba(255,255,255,.12); letter-spacing:.3px; }
.strategy-meta span:last-child { border-right:none; }

/* ===== NAV TABS ===== */
.nav-container { background:var(--white); border-bottom:1px solid var(--border); position:sticky; top:60px; z-index:100; }
.nav-wrapper { max-width:1200px; margin:0 auto; position:relative; display:flex; align-items:center; }
.nav-tabs-container { flex:1; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; padding:0 48px; }
.nav-tabs-container::-webkit-scrollbar { display:none; }
.nav-tabs { display:flex; gap:0; min-width:min-content; }
.nav-tab { padding:14px 18px; font-family:var(--font-display); font-size:13px; font-weight:500; color:var(--gray); background:transparent; border:none; border-bottom:2px solid transparent; cursor:pointer; white-space:nowrap; transition:all .25s var(--ease-std); text-decoration:none; display:inline-block; }
.nav-tab:hover { color:var(--green); }
.nav-tab.active { color:var(--green); border-bottom-color:var(--green); font-weight:600; }
.nav-scroll-btn { position:absolute; top:50%; transform:translateY(-50%); width:28px; height:28px; border-radius:50%; background:var(--white); border:1px solid var(--border); cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:10; font-size:12px; color:var(--gray); box-shadow:0 1px 4px rgba(0,0,0,.08); }
.nav-scroll-btn:hover { border-color:var(--ink); color:var(--ink); }
.nav-scroll-btn.left { left:6px; }
.nav-scroll-btn.right { right:6px; }
.nav-scroll-btn.hidden { opacity:0; pointer-events:none; }

/* ===== ACTIONS BAR ===== */
.actions-bar { background:var(--white); border-bottom:1px solid var(--border); padding:12px 28px; }
.actions-inner { max-width:1200px; margin:0 auto; display:flex; gap:8px; flex-wrap:wrap; }
.btn { padding:9px 18px; border-radius:8px; font-family:var(--font-display); font-size:12px; font-weight:600; letter-spacing:.2px; cursor:pointer; border:1.5px solid var(--border); display:inline-flex; align-items:center; gap:7px; transition:all .25s var(--ease-std); background:var(--white); color:var(--ink); }
.btn:hover { border-color:var(--ink); }
.btn svg { width:14px; height:14px; flex-shrink:0; }
.btn-share { background:var(--black); color:var(--white); border-color:transparent; }
.btn-share:hover { background:var(--green); box-shadow:3px 3px 0 var(--black); transform:translate(-1px,-1px); }

/* ===== CONTENT ===== */
.strategy-content { max-width:1200px; margin:36px auto; padding:0 28px 100px; }
.content-card { background:var(--white); padding:40px; border:1px solid var(--border); border-radius:12px; }
.content-card:has(.section-card) { background:transparent; border:none; padding:0; border-radius:0; }

/* Loading / Error states */
.loading-state, .error-state { text-align:center; padding:80px 20px; }
.loading-spinner { width:40px; height:40px; border:3px solid var(--border); border-top-color:var(--green); border-radius:50%; animation:spin .8s linear infinite; margin:0 auto 20px; }
@keyframes spin { to { transform:rotate(360deg); } }
.error-state h2 { font-family:var(--font-display); font-size:24px; font-weight:700; margin-bottom:12px; }

/* ===== BASE MARKDOWN ===== */
#strategyContent { font-size:16px; line-height:1.78; color:var(--ink); }
#strategyContent h2 { font-family:var(--font-display); font-size:26px; font-weight:800; color:var(--black); margin:40px 0 18px; letter-spacing:-.5px; }
#strategyContent h3 { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--black); margin:28px 0 12px; }
#strategyContent p { margin:14px 0; color:var(--ink); }
#strategyContent ul, #strategyContent ol { margin:18px 0; padding-left:0; }
#strategyContent li { margin:9px 0; padding-left:22px; position:relative; list-style:none; }
#strategyContent ul li::before { content:'—'; position:absolute; left:0; color:var(--green); font-weight:700; }
#strategyContent strong { color:var(--black); font-weight:700; }
#strategyContent blockquote { margin:22px 0; padding:18px 22px; border-left:3px solid var(--green); background:var(--green-faint); color:var(--black); font-style:normal; }
#strategyContent blockquote p { margin:0; }
#strategyContent table { width:100%; border-collapse:collapse; margin:24px 0; }
#strategyContent table thead { background:var(--black); color:var(--white); }
#strategyContent table th { padding:13px 16px; text-align:left; font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }
#strategyContent table td { padding:12px 16px; border-bottom:1px solid var(--border); font-size:14px; }
#strategyContent table tbody tr:hover { background:var(--green-faint); }
#strategyContent hr { border:none; height:1px; background:var(--border); margin:32px 0; }
#strategyContent ol { counter-reset:item; }
#strategyContent ol li { counter-increment:item; padding-left:36px; }
#strategyContent ol li::before { content:counter(item,'decimal-leading-zero'); font-family:var(--font-mono); font-size:11px; font-weight:700; color:var(--green); position:absolute; left:0; top:2px; }

/* ===== SECTION CARDS ===== */
#strategyContent .section-card {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:12px;
    margin-bottom:10px;
    overflow:hidden;
    position:relative;
    transition:box-shadow .35s var(--ease-std), transform .35s var(--ease-std);
}
#strategyContent .section-card:last-of-type { margin-bottom:32px; }
#strategyContent .section-card:hover {
    box-shadow:4px 4px 0 var(--black);
    transform:translate(-2px,-2px);
    z-index:1; position:relative;
}

#strategyContent .section-card-header {
    display:grid;
    grid-template-columns:72px 1fr;
    align-items:center;
    padding:0;
    background:var(--white);
    border-bottom:1px solid var(--border);
    cursor:pointer;
}

.section-num-col {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:6px;
    height:100%; min-height:80px;
    border-right:1px solid var(--border);
    background:var(--bg);
}

.section-icon-svg {
    color:var(--green);
    opacity:.5;
    line-height:0;
    flex-shrink:0;
}
.section-executive .section-icon-svg,
.section-final .section-icon-svg { color:rgba(255,255,255,.7); opacity:1; }
.section-truths .section-icon-svg { color:#e05252; opacity:.8; }

#strategyContent .section-badge {
    font-family:var(--font-mono);
    font-size:18px; font-weight:700;
    color:var(--green);
    letter-spacing:-1px;
}

#strategyContent .section-icon { display:none; }

.section-title-col {
    padding:18px 28px;
    display:flex; flex-direction:column; gap:3px;
}

#strategyContent .section-card-h2 {
    font-family:var(--font-display);
    font-size:17px; font-weight:700;
    color:var(--black);
    line-height:1.3;
    letter-spacing:-.2px;
}

.section-card-label {
    font-family:var(--font-mono);
    font-size:10px; font-weight:500;
    color:var(--gray-light);
    letter-spacing:.8px;
    text-transform:uppercase;
}

#strategyContent .section-card-body {
    padding:32px 36px;
    font-size:15px;
    line-height:1.78;
    color:var(--ink);
}
#strategyContent .section-card-body > h2:first-child { display:none; }

#strategyContent .section-card-body h3 {
    font-family:var(--font-display);
    font-size:16px; font-weight:700;
    color:var(--black);
    margin:28px 0 12px;
    padding-bottom:8px;
    border-bottom:1.5px solid var(--green-faint);
}
#strategyContent .section-card-body h4 {
    font-family:var(--font-display);
    font-size:14px; font-weight:700;
    color:var(--gray);
    text-transform:uppercase; letter-spacing:.8px;
    margin:22px 0 8px;
}
#strategyContent .section-card-body p { margin:12px 0; }
#strategyContent .section-card-body strong { color:var(--black); font-weight:700; }
#strategyContent .section-card-body em { color:var(--gray); }

#strategyContent .section-card-body ul { padding:0; margin:14px 0; }
#strategyContent .section-card-body ul li { padding-left:20px; margin:8px 0; list-style:none; position:relative; }
#strategyContent .section-card-body ul li::before { content:'›'; position:absolute; left:0; top:0; color:var(--green); font-size:17px; font-weight:700; line-height:1.55; }
.task-item::before { display:none !important; }

#strategyContent .section-card-body ol { padding:0; margin:14px 0; counter-reset:card-item; list-style:none; }
#strategyContent .section-card-body ol li { counter-increment:card-item; padding-left:38px; margin:10px 0; position:relative; }
#strategyContent .section-card-body ol li::before {
    content:counter(card-item,'decimal-leading-zero');
    font-family:var(--font-mono); font-size:11px; font-weight:700;
    color:var(--green); position:absolute; left:0; top:2px;
}

#strategyContent .section-card-body blockquote {
    margin:20px 0; padding:16px 22px;
    border-left:3px solid var(--green);
    background:var(--green-faint);
    font-style:normal; font-size:14px; color:var(--black);
}
#strategyContent .section-card-body blockquote p { margin:0; }
#strategyContent .section-card-body blockquote p::before { display:none; }

#strategyContent .section-card-body table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; }
#strategyContent .section-card-body table thead { background:var(--black); color:var(--white); }
#strategyContent .section-card-body table th { padding:11px 14px; font-family:var(--font-display); font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; text-align:left; }
#strategyContent .section-card-body table td { padding:11px 14px; border-bottom:1px solid var(--border); }
#strategyContent .section-card-body table tbody tr:hover { background:var(--green-faint); }
#strategyContent .section-card-body hr { border:none; height:1px; background:var(--border); margin:24px 0; }

/* EXECUTIVE section — full dark card */
#strategyContent .section-executive { background:linear-gradient(160deg,#131313 0%,#181818 55%,#141414 100%); border-color:rgba(92,157,127,.18); overflow:hidden; }
#strategyContent .section-executive::after { content:''; position:absolute; top:-120px; right:-120px; width:400px; height:400px; background:radial-gradient(circle,rgba(92,157,127,.05) 0%,transparent 65%); pointer-events:none; }
#strategyContent .section-executive .section-card-header { background:rgba(255,255,255,.04); border-bottom:1px solid rgba(92,157,127,.15); }
#strategyContent .section-executive .section-num-col { background:rgba(92,157,127,.1); border-right-color:rgba(92,157,127,.18); }
#strategyContent .section-executive .section-badge { color:var(--green-light); }
#strategyContent .section-executive .section-card-h2 { color:var(--white); }
#strategyContent .section-executive .section-card-label { color:rgba(255,255,255,.4); }
#strategyContent .section-executive .section-icon-svg { color:rgba(255,255,255,.4); opacity:1; }
#strategyContent .section-executive .section-card-body { background:transparent; color:rgba(255,255,255,.78); }
#strategyContent .section-executive .section-card-body p,
#strategyContent .section-executive .section-card-body li,
#strategyContent .section-executive .section-card-body td,
#strategyContent .section-executive .section-card-body th { color:rgba(255,255,255,.78); }
#strategyContent .section-executive .section-card-body strong,
#strategyContent .section-executive .section-card-body b { color:var(--green-light); }

/* Заголовки внутри Executive Summary — белые (было чёрное на чёрном) */
#strategyContent .section-executive .section-card-body h1,
#strategyContent .section-executive .section-card-body h2,
#strategyContent .section-executive .section-card-body h3,
#strategyContent .section-executive .section-card-body h4,
#strategyContent .section-executive .section-card-body h5,
#strategyContent .section-executive .section-card-body h6 {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}
#strategyContent .section-executive .section-card-body table td { border-bottom-color:rgba(255,255,255,.1); }
#strategyContent .section-executive .section-card-body table thead { background:rgba(0,0,0,.35); }
#strategyContent .section-executive .section-card-body table tbody tr:hover { background:rgba(92,157,127,.12); }

/* TRUTHS section */
#strategyContent .section-truths .section-card-header { background:#1a1a1a; border-bottom-color:#2a2a2a; }
#strategyContent .section-truths .section-num-col { background:#111; border-right-color:#2a2a2a; }
#strategyContent .section-truths .section-badge { color:#e05252; }
#strategyContent .section-truths .section-card-h2 { color:var(--white); }
#strategyContent .section-truths .section-card-label { color:rgba(255,255,255,.3); }

/* FINAL section */
#strategyContent .section-final .section-card-header { background:var(--green); border-bottom-color:var(--green-dark); }
#strategyContent .section-final .section-num-col { background:var(--green-dark); border-right-color:rgba(255,255,255,.2); }
#strategyContent .section-final .section-badge { color:var(--white); }
#strategyContent .section-final .section-card-h2 { color:var(--white); }
#strategyContent .section-final .section-card-label { color:rgba(255,255,255,.6); }

/* ===== MONEY HIGHLIGHT — flat, no nested card ===== */
.money-highlight-block { margin:0 0 8px; padding:4px 0 0; border-top:1px solid rgba(201,169,98,.2); }
.money-highlight-label { font-family:var(--font-mono); font-size:10px; font-weight:700; color:var(--gold); letter-spacing:2px; text-transform:uppercase; margin-bottom:18px; opacity:.55; padding-top:20px; }
.money-highlight-block h3 { display:none !important; }
.money-highlight-block p, .money-highlight-block li { color:rgba(255,255,255,.72) !important; }
.money-highlight-block strong, .money-highlight-block b { color:var(--gold) !important; }
.money-highlight-block blockquote { background:rgba(255,255,255,.04) !important; border:none !important; border-left:2px solid rgba(201,169,98,.45) !important; border-radius:0 !important; padding:14px 20px !important; margin:18px 0 !important; }
.money-highlight-block blockquote p { color:rgba(255,255,255,.82) !important; margin:0 !important; }
.money-highlight-block blockquote strong { color:var(--gold) !important; }

/* Insight rows — left accent bar, no nested box */
.money-insight-row {
    padding:14px 0 14px 20px !important;
    margin:2px 0 !important;
    border-left:2px solid rgba(201,169,98,.35);
    border-bottom:1px solid rgba(255,255,255,.04);
    background:transparent;
}
.money-insight-row:last-of-type { border-bottom:none; }
.money-insight-row strong, .money-insight-row b {
    display:block !important;
    font-family:var(--font-mono) !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.5px !important;
    text-transform:uppercase !important;
    margin-bottom:5px !important;
    color:var(--gold) !important;
    opacity:.75;
}

/* Goal row */
.money-goal-row {
    margin:20px 0 8px !important;
    padding:18px 20px !important;
    background:rgba(201,169,98,.06);
    border-left:2px solid rgba(201,169,98,.5) !important;
    border-top:1px solid rgba(201,169,98,.12);
    border-bottom:1px solid rgba(201,169,98,.12);
}
.money-goal-row strong, .money-goal-row b {
    display:block !important;
    font-family:var(--font-mono) !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:1.2px !important;
    text-transform:uppercase !important;
    margin-bottom:8px !important;
    color:rgba(201,169,98,.5) !important;
}
.money-goal-row .stat-pill { font-size:1.1em !important; }

/* Pillars */
.money-pillar-label { display:none !important; }
.money-pillars-list { columns:2; column-gap:24px; margin:6px 0 12px !important; padding:0 !important; }
.money-pillars-list li { font-size:13px !important; color:rgba(255,255,255,.45) !important; padding-left:14px !important; list-style:none !important; position:relative; break-inside:avoid; margin-bottom:4px !important; }
.money-pillars-list li::before { content:'—'; color:rgba(201,169,98,.35) !important; position:absolute; left:0; }
@media (max-width:640px) { .money-pillars-list { columns:1; } }

/* ===== STAT PILLS ===== */
.stat-pill { color:var(--green); font-family:inherit; font-weight:700; }
.money-highlight-block .stat-pill, .section-truths .stat-pill { color:#e8c97a; }
.ue-calculator .stat-pill { font-family:inherit; font-weight:inherit; color:inherit; }

/* ===== CHECKBOXES ===== */
.task-item { display:flex; align-items:flex-start; gap:12px; padding:10px 14px; border-radius:8px; transition:background .15s; margin:4px 0; list-style:none; border-left:2px solid transparent; }
.task-item .task-label { cursor:pointer; flex:1; }
.task-item:hover { background:var(--green-faint); border-left-color:var(--green); }
.task-item input[type="checkbox"] { width:17px; height:17px; cursor:pointer; flex-shrink:0; margin-top:2px; accent-color:var(--green); }
.task-label { flex:1; line-height:1.55; font-size:14px; }
.task-item.completed .task-label { text-decoration:line-through; color:var(--gray-light); }

/* ===== UE CALCULATOR ===== */
.ue-calculator { background:var(--black); border-left:4px solid var(--green); border-radius:12px; padding:32px; margin-bottom:28px; }
.ue-calculator-title { font-family:var(--font-display); font-size:14px; font-weight:800; color:var(--white); letter-spacing:1px; text-transform:uppercase; margin-bottom:24px; display:flex; align-items:center; }
.ue-inputs { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin-bottom:24px; }
.ue-field label { display:block; font-family:var(--font-mono); font-size:10px; font-weight:500; color:rgba(255,255,255,.4); margin-bottom:8px; text-transform:uppercase; letter-spacing:.8px; }
.ue-field input { width:100%; padding:11px 14px; border:1.5px solid #333; border-radius:8px; font-family:var(--font-mono); font-size:16px; font-weight:700; color:var(--white); background:#111; outline:none; transition:border-color .2s; }
.ue-field input:focus { border-color:var(--green); }
.ue-field input::placeholder { color:#444; }
.ue-results { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:8px; }
.ue-result-card { background:#111; padding:16px; text-align:center; border:1px solid #222; border-radius:8px; }
.ue-result-label { font-family:var(--font-mono); font-size:9px; font-weight:500; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.8px; margin-bottom:8px; }
.ue-result-value { font-family:var(--font-mono); font-size:22px; font-weight:700; color:var(--green); margin-bottom:4px; transition:color .2s; }
.ue-result-value.warning { color:var(--gold); }
.ue-result-value.danger { color:#e05252; }
.ue-result-desc { font-size:10px; color:rgba(255,255,255,.25); line-height:1.3; }
.ue-divider { height:1px; background:#222; margin:24px 0 18px; }
.ue-scenarios-label { font-family:var(--font-mono); font-size:10px; font-weight:500; color:rgba(255,255,255,.35); text-transform:uppercase; letter-spacing:.8px; margin-bottom:12px; }
.ue-scenarios { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.ue-scenario { background:#111; padding:16px; border:1px solid #222; border-radius:8px; }
.ue-scenario.realistic { border-color:var(--green); }
.ue-scenario-title { font-family:var(--font-mono); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.8px; margin-bottom:10px; color:rgba(255,255,255,.5); }
.ue-scenario.pessimistic .ue-scenario-title { color:#e05252; }
.ue-scenario.realistic .ue-scenario-title { color:var(--green); }
.ue-scenario.optimistic .ue-scenario-title { color:#7ab5ff; }
.ue-scenario-row { display:flex; justify-content:space-between; font-size:12px; color:rgba(255,255,255,.4); margin:5px 0; }
.ue-scenario-row strong { font-family:var(--font-mono); font-weight:700; color:var(--white); }

/* ===== GLOSSARY TOOLTIPS ===== */
.mkt-abbr { border-bottom:1.5px dashed rgba(92,157,127,.55); cursor:help; text-decoration:none; display:inline; font-style:normal; }
.money-highlight-block .mkt-abbr, .section-truths .mkt-abbr, .ue-calculator .mkt-abbr { border-bottom-color:rgba(201,169,98,.45); }
.section-executive .mkt-abbr, .section-final .mkt-abbr { border-bottom-color:rgba(255,255,255,.3); }
.mkt-tip { position:fixed; z-index:9999; background:#111; color:rgba(255,255,255,.88); font-family:var(--font-body); font-size:12px; font-style:normal; font-weight:400; line-height:1.6; padding:10px 14px; border-radius:8px; width:260px; white-space:normal; text-align:left; pointer-events:none; box-shadow:0 6px 24px rgba(0,0,0,.3); border-top:1.5px solid rgba(92,157,127,.3); opacity:0; transition:opacity .15s ease; }
.mkt-tip.visible { opacity:1; }
.mkt-tip-arrow { position:fixed; z-index:10000; width:0; height:0; border:5px solid transparent; border-top-color:#111; pointer-events:none; opacity:0; transition:opacity .15s ease; }
.mkt-tip-arrow.visible { opacity:1; }

/* ===== EXECUTIVE DASHBOARD ===== */
.exec-dashboard { background:linear-gradient(160deg, #0e1a12 0%, #1a1a1a 50%, #141e16 100%); padding:36px 40px; margin-bottom:10px; position:relative; overflow:hidden; border:1px solid rgba(92,157,127,.15); border-radius:12px; }
.exec-dashboard::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--green),var(--green-light),transparent); }
.exec-dashboard::before { content:''; position:absolute; top:-80px; right:-80px; width:280px; height:280px; background:radial-gradient(circle, rgba(92,157,127,.08) 0%, transparent 65%); pointer-events:none; }
.exec-dashboard-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:12px; }
.exec-dashboard-title { font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.3); }
.exec-dashboard-badge { display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(92,157,127,.5); color:var(--green-light); font-family:var(--font-mono); font-size:10px; font-weight:500; padding:5px 14px; letter-spacing:1px; text-transform:uppercase; }
.exec-metrics { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:8px; margin-bottom:8px; }
.exec-metric-card { background:#111; padding:22px 20px; border-radius:8px; border:1px solid #222; transition:background .2s; }
.exec-metric-card:hover { background:#181818; }
.exec-metric-icon { display:none; }
.exec-metric-value { font-family:var(--font-mono); font-size:24px; font-weight:700; color:var(--white); line-height:1.1; margin-bottom:6px; letter-spacing:-.5px; }
.exec-metric-label { font-family:var(--font-mono); font-size:9px; color:rgba(255,255,255,.3); font-weight:500; letter-spacing:1px; text-transform:uppercase; }
.exec-metric-card.highlight .exec-metric-value { color:var(--green); }
.exec-metric-card.alert .exec-metric-value { color:#e05252; }
.exec-divider { height:1px; background:#222; margin:0 0 1px; }
.exec-quick-wins { background:#111; padding:22px 24px; border-radius:8px; border:1px solid #222; }
.exec-quick-wins-title { font-family:var(--font-mono); font-size:9px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:16px; }
.exec-quick-wins-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.exec-quick-wins-list li { display:flex; align-items:flex-start; gap:14px; font-size:14px; color:rgba(255,255,255,.75); line-height:1.55; }
.exec-quick-wins-list li .win-num { flex-shrink:0; font-family:var(--font-mono); font-size:11px; font-weight:700; color:var(--green); min-width:20px; margin-top:2px; }

/* ===== CTA BLOCK ===== */
.strategy-cta { background:var(--black); padding:48px 40px; margin-top:10px; border-top:3px solid var(--green); border-radius:12px; }
.strategy-cta-label { font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:2px; text-transform:uppercase; color:var(--green); margin-bottom:16px; }
.strategy-cta-title { font-family:var(--font-display); font-size:32px; font-weight:800; color:var(--white); letter-spacing:-1px; line-height:1.2; margin-bottom:10px; }
.strategy-cta-sub { font-size:15px; color:rgba(255,255,255,.5); margin-bottom:32px; line-height:1.6; max-width:480px; }
.strategy-cta-actions { display:flex; gap:12px; flex-wrap:wrap; }
.cta-btn-primary { display:inline-flex; align-items:center; gap:10px; padding:14px 28px; border-radius:10px; background:var(--green); color:var(--white); font-family:var(--font-display); font-size:14px; font-weight:700; border:none; cursor:pointer; transition:all .3s var(--ease-std); letter-spacing:.2px; text-decoration:none; }
.cta-btn-primary:hover { background:var(--green-light); box-shadow:4px 4px 0 rgba(255,255,255,.2); transform:translate(-2px,-2px); }
.cta-btn-secondary { display:inline-flex; align-items:center; gap:10px; padding:14px 28px; border-radius:10px; background:transparent; color:var(--white); font-family:var(--font-display); font-size:14px; font-weight:600; border:1.5px solid rgba(255,255,255,.2); cursor:pointer; transition:all .3s var(--ease-std); text-decoration:none; }
.cta-btn-secondary:hover { border-color:var(--white); }
.strategy-cta-promise { margin-top:20px; font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.25); }

/* ===== PAYWALL BLOCK ===== */
.section-locked { position:relative; }
.section-locked .section-card-body {
    max-height:120px;
    overflow:hidden;
    -webkit-mask-image:linear-gradient(180deg,#000 40%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 40%,transparent 100%);
    pointer-events:none;
    user-select:none;
}

/* Section 15 — partial: show first ~30-day block, fade out the rest */
.section-partial { position:relative; }
.section-partial .section-card-body {
    max-height:340px;
    overflow:hidden;
    -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 55%,transparent 100%);
}
.section-partial::after {
    content:'↓ Полная дорожная карта на 60 и 90 дней — в платной версии';
    display:block;
    font-family:var(--font-mono);
    font-size:11px;
    color:var(--green);
    text-align:center;
    padding:10px 0 4px;
    opacity:.7;
}

.paywall-block {
    background:var(--black);
    border:1px solid rgba(92,157,127,.2);
    border-top:3px solid var(--green);
    border-radius:12px;
    margin:10px 0;
    overflow:hidden;
}
.paywall-inner { padding:44px 48px; }
.paywall-badge { display:inline-block; font-family:var(--font-mono); font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--green); border:1px solid rgba(92,157,127,.4); padding:5px 14px; border-radius:20px; margin-bottom:20px; }
.paywall-title { font-family:var(--font-display); font-size:34px; font-weight:800; color:var(--white); letter-spacing:-1px; line-height:1.15; margin-bottom:12px; }
.paywall-desc { font-size:15px; color:rgba(255,255,255,.5); line-height:1.65; max-width:520px; margin-bottom:28px; }
.paywall-sections { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:36px; }
.paywall-section-tag { font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.4); background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); padding:5px 12px; border-radius:4px; }
.paywall-section-more { color:rgba(92,157,127,.7); border-color:rgba(92,157,127,.2); background:rgba(92,157,127,.06); }
.paywall-actions { display:flex; align-items:center; gap:28px; flex-wrap:wrap; margin-bottom:20px; }
.paywall-price-block {}
.paywall-launch-badge { display:inline-block; background:rgba(255,160,50,.15); color:#f0a050; border:1px solid rgba(255,160,50,.3); border-radius:20px; font-family:var(--font-mono); font-size:11px; font-weight:700; padding:3px 10px; margin-bottom:6px; }
.paywall-price-row { display:flex; align-items:baseline; gap:12px; }
.paywall-price { font-family:var(--font-display); font-size:40px; font-weight:800; color:var(--white); letter-spacing:-1.5px; line-height:1; }
.paywall-price-future { font-family:var(--font-mono); font-size:12px; color:rgba(255,255,255,.3); }
.paywall-price-future s { text-decoration-color:rgba(255,255,255,.25); }
.paywall-price-sub { font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.3); margin-top:4px; }
.paywall-btn { display:inline-flex; align-items:center; padding:16px 32px; background:var(--green); color:var(--white); font-family:var(--font-display); font-size:15px; font-weight:700; border:none; border-radius:10px; cursor:pointer; transition:all .25s var(--ease-std); letter-spacing:.2px; text-decoration:none; }
.paywall-btn:hover { background:var(--green-light); box-shadow:4px 4px 0 rgba(255,255,255,.15); transform:translate(-2px,-2px); }
.paywall-cis-badge { display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-size:13px; font-weight:500; color:rgba(122,182,154,.9); background:rgba(92,157,127,.08); border:1px solid rgba(92,157,127,.2); padding:7px 14px; border-radius:8px; margin-bottom:14px; }
.paywall-promise { font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.2); }

/* ===== PAYMENT MODAL ===== */
.payment-modal-overlay {
    position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:9999;
    display:flex; align-items:center; justify-content:center;
    padding:20px; backdrop-filter:blur(4px);
}
.payment-modal {
    background:var(--black); border:1px solid rgba(255,255,255,.1); border-top:3px solid var(--green);
    border-radius:16px; padding:40px; max-width:440px; width:100%; position:relative;
}
.payment-modal-close { position:absolute; top:16px; right:20px; background:none; border:none; color:rgba(255,255,255,.3); font-size:24px; cursor:pointer; line-height:1; padding:4px; }
.payment-modal-close:hover { color:var(--white); }
.payment-modal-eyebrow { font-family:var(--font-mono); font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--green); margin-bottom:10px; opacity:.7; }
.payment-modal-launch-row { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.payment-modal-launch-badge { background:rgba(255,160,50,.15); color:#f0a050; border:1px solid rgba(255,160,50,.3); border-radius:20px; font-family:var(--font-mono); font-size:11px; font-weight:700; padding:3px 10px; }
.payment-modal-price-future { font-family:var(--font-mono); font-size:12px; color:rgba(255,255,255,.35); }
.payment-modal-price-future s { text-decoration-color:rgba(255,255,255,.25); }
.payment-modal-price { font-family:var(--font-display); font-size:44px; font-weight:800; color:var(--white); letter-spacing:-2px; line-height:1; margin-bottom:24px; }
.payment-modal-features { list-style:none; padding:0; margin:0 0 28px; }
.payment-modal-features li { font-size:14px; color:rgba(255,255,255,.6); padding:6px 0; padding-left:22px; position:relative; }
.payment-modal-features li::before { content:'✓'; position:absolute; left:0; color:var(--green); font-weight:700; }
.payment-field { margin-bottom:14px; }
.payment-label { display:block; font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:.8px; text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:7px; }
.payment-input { width:100%; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:8px; padding:12px 14px; font-family:var(--font-body); font-size:14px; color:var(--white); outline:none; transition:border-color .2s; box-sizing:border-box; }
.payment-input::placeholder { color:rgba(255,255,255,.25); }
.payment-input:focus { border-color:var(--green); }
.payment-input.payment-input-error { border-color:#e05c5c; }
.payment-submit { width:100%; margin-top:8px; padding:15px; background:var(--green); color:var(--white); font-family:var(--font-display); font-size:15px; font-weight:700; border:none; border-radius:8px; cursor:pointer; transition:all .25s; }
.payment-submit:hover:not(:disabled) { background:var(--green-light); }
.payment-submit:disabled { opacity:.5; cursor:not-allowed; }
.payment-modal-note { margin-top:14px; font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.2); text-align:center; line-height:1.5; }
@media (max-width:600px) {
    .paywall-inner { padding:28px 20px; }
    .paywall-title { font-size:26px; }
    .paywall-price { font-size:32px; }
    .paywall-actions { flex-direction:column; align-items:flex-start; gap:16px; }
    .payment-modal { padding:28px 20px; }
    .payment-modal-price { font-size:36px; }
}

/* ===== PROMO CODE FIELD (in payment modal) ===== */
.payment-promo-row { margin:4px 0 8px; }
.payment-promo-block { margin:4px 0 8px; }
.payment-promo-label { font-family:var(--font-display); font-size:14px; font-weight:600; color:rgba(255,255,255,.85); margin-bottom:8px; }
.payment-promo-inner { display:flex; align-items:flex-start; gap:10px; flex-wrap:wrap; }
.payment-input-mono { font-family:var(--font-mono); letter-spacing:2px; font-size:14px; }
.payment-promo-btn { padding:11px 16px; background:rgba(92,157,127,.15); border:1px solid rgba(92,157,127,.4); color:var(--green); font-family:var(--font-display); font-size:13px; font-weight:600; border-radius:8px; cursor:pointer; white-space:nowrap; transition:all .2s; }
.payment-promo-btn:hover { background:rgba(92,157,127,.25); }
.payment-promo-msg { width:100%; font-family:var(--font-mono); font-size:12px; padding:6px 0 2px; }
.payment-promo-msg.success { color:var(--green); }
.payment-promo-msg.error { color:#e08080; }

/* ===== PROMO CODES BLOCK (after payment) ===== */
.promo-codes-block { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:32px 36px; margin-top:16px; }
.promo-codes-header { margin-bottom:20px; }
.promo-codes-title { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--black); margin-bottom:8px; }
.promo-codes-desc { font-size:14px; color:var(--gray); line-height:1.65; }
.promo-codes-list { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.promo-code-item { display:flex; align-items:center; gap:14px; padding:14px 18px; background:var(--bg); border:1px solid var(--border); border-radius:8px; flex-wrap:wrap; }
.promo-code-item--used { opacity:.5; }
.promo-code-value { font-family:var(--font-mono); font-size:16px; font-weight:700; color:var(--black); letter-spacing:2px; flex:1; }
.promo-code-status { font-family:var(--font-mono); font-size:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; padding:3px 10px; border-radius:4px; }
.promo-code-status.active { background:rgba(92,157,127,.1); color:var(--green); border:1px solid rgba(92,157,127,.3); }
.promo-code-status.used { background:rgba(0,0,0,.04); color:var(--gray-light); border:1px solid var(--border); }
.promo-code-copy { padding:7px 14px; background:var(--white); border:1px solid var(--border); border-radius:6px; font-family:var(--font-display); font-size:12px; font-weight:600; cursor:pointer; transition:all .2s; }
.promo-code-copy:hover:not(:disabled) { border-color:var(--green); color:var(--green); }
.promo-code-copy:disabled { opacity:.4; cursor:not-allowed; }
.promo-code-copy.copied { background:var(--green); color:var(--white); border-color:var(--green); }
.promo-codes-hint { font-family:var(--font-mono); font-size:11px; color:var(--gray-light); line-height:1.6; padding:12px 0 0; border-top:1px solid var(--border); }

/* ===== CONSULTATION FORM ===== */
.consult-form { margin-top:28px; }
.consult-form-inner { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:10px; padding:24px; }
.consult-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:16px; }
.consult-field { display:flex; flex-direction:column; gap:6px; }
.consult-label { font-family:var(--font-mono); font-size:10px; font-weight:500; letter-spacing:.8px; text-transform:uppercase; color:rgba(255,255,255,.35); }
.consult-input { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:8px; padding:11px 14px; font-family:var(--font-body); font-size:14px; color:var(--white); outline:none; transition:border-color .2s; }
.consult-input::placeholder { color:rgba(255,255,255,.25); }
.consult-input:focus { border-color:var(--green); }
.consult-input.consult-input-error { border-color:#e05c5c; }
.consult-submit { display:inline-flex; align-items:center; justify-content:center; padding:13px 28px; border-radius:8px; background:var(--green); color:var(--white); font-family:var(--font-display); font-size:14px; font-weight:700; border:none; cursor:pointer; transition:all .25s var(--ease-std); letter-spacing:.2px; }
.consult-submit:hover:not(:disabled) { background:var(--green-light); box-shadow:3px 3px 0 rgba(255,255,255,.15); transform:translate(-1px,-1px); }
.consult-submit:disabled { opacity:.5; cursor:not-allowed; }
.consult-result { margin-top:14px; padding:12px 16px; border-radius:8px; font-family:var(--font-body); font-size:14px; }
.consult-result-ok { background:rgba(92,157,127,.15); border:1px solid rgba(92,157,127,.4); color:var(--green-light); }
.consult-result-err { background:rgba(224,92,92,.1); border:1px solid rgba(224,92,92,.3); color:#e08080; }
@media (max-width:600px) { .consult-form-row { grid-template-columns:1fr; } }

/* ===== SCROLL ANIMATIONS ===== */
.section-card { opacity:0; transform:translateY(28px); transition:opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.section-card.visible { opacity:1; transform:translateY(0); }
.exec-dashboard { opacity:0; transform:translateY(20px); transition:opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.exec-dashboard.visible { opacity:1; transform:translateY(0); }

/* ===== NOTIFICATIONS ===== */
@keyframes slideIn { from { transform:translateX(400px); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes slideOut { from { transform:translateX(0); opacity:1; } to { transform:translateX(400px); opacity:0; } }

/* ===== PRINT ===== */
@media print {
    /* Скрываем всю интерактивную обвязку — остаётся только контент стратегии */
    .main-header,
    .nav-container,
    .actions-bar,
    .reading-progress-bar,
    .ue-calculator,
    .strategy-cta,
    .stils-transition-block,
    .consult-modal-overlay,
    .promo-codes-bar,
    #onboardingOverlay { display: none !important; }

    body { background: #fff; color: #111; }
    .strategy-header { padding: 20px 0; background: #fff !important; color: #111 !important; }
    .strategy-header .strategy-title,
    .strategy-header .strategy-meta,
    .strategy-header .breadcrumb { color: #111 !important; }

    /* Убираем анимации и transform — иначе браузер режет края блоков */
    .section-card,
    .exec-dashboard { opacity: 1 !important; transform: none !important; page-break-inside: avoid; }

    /* Декоративные круги-градиенты: при печати overflow:hidden не обрезает их
       на разрыве страниц, и они растекаются зелёными пятнами поверх текста —
       поэтому в печати их полностью убираем */
    .exec-dashboard::before,
    .exec-dashboard::after,
    #strategyContent .section-executive::after,
    #strategyContent .section-executive::before { display: none !important; }

    /* Исполнительный раздел на всякий случай не разрываем между страницами */
    #strategyContent .section-executive { page-break-inside: avoid; }

    /* Разделы стараемся не разрывать между страницами */
    #strategyContent h2,
    #strategyContent h3 { page-break-after: avoid; }

    /* Таблицы уменьшаем чтобы влезали по ширине */
    #strategyContent table {
        font-size: 11px !important;
        page-break-inside: auto;
    }
    #strategyContent table th,
    #strategyContent table td {
        padding: 6px 8px !important;
    }
    /* Строки таблицы не разрываем */
    #strategyContent tr { page-break-inside: avoid; }

    /* CJM — широкий блок, уменьшаем шрифт */
    .cjm-block { font-size: 10px !important; page-break-inside: avoid; }

    /* Воронка тоже уменьшается */
    .ifunnel { font-size: 12px !important; page-break-inside: avoid; }
    .ifunnel-input { display: none !important; }

    /* Скрываем интерактивные элементы внутри контента */
    input[type="checkbox"] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

    /* Ссылки — оставляем видимыми но без подчёркивания */
    a { color: #111 !important; text-decoration: none !important; }

    /* Задачи с чекбоксами адаптируем под печать */
    .task-item.completed { opacity: 0.6; }
    .task-item.completed .task-label { text-decoration: line-through; }
}

/* Задаём размер страницы и поля */
@page {
    size: A4;
    margin: 15mm 12mm 15mm 12mm;
}

/* ═══════════════════════════════════════════════════════════════
   UX: ПРОГРЕСС-БАР ЗАДАЧ (виден вверху стратегии)
═══════════════════════════════════════════════════════════════ */
.task-progress-bar {
    position: sticky;
    top: 60px;
    z-index: 50;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border: 1px solid rgba(92, 157, 127, 0.2);
    border-radius: 14px;
    padding: 14px 20px;
    margin: 0 0 24px;
    box-shadow: 0 2px 12px rgba(92, 157, 127, 0.08);
    transition: all 0.3s ease;
}

.task-progress-bar.milestone-half {
    border-color: rgba(92, 157, 127, 0.4);
    background: linear-gradient(135deg, #f8faf9 0%, #edf5f0 100%);
}

.task-progress-bar.milestone-done {
    border-color: #5C9D7F;
    background: linear-gradient(135deg, #edf5f0 0%, #d6ebde 100%);
}

.task-progress-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-progress-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.task-progress-label strong {
    font-family: 'JetBrains Mono', 'Manrope', monospace;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

.task-progress-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #5C9D7F;
    color: white;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.task-progress-percent {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #5C9D7F;
    font-size: 15px;
}

.milestone-done .task-progress-percent::after {
    content: ' 🎉';
}

.task-progress-track {
    height: 8px;
    background: rgba(92, 157, 127, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.task-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5C9D7F 0%, #7AB69A 100%);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(92, 157, 127, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   UX: ФИДБЕК И КОПИРОВАНИЕ РАЗДЕЛОВ
═══════════════════════════════════════════════════════════════ */
.section-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin: 32px -20px -20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.015);
    flex-wrap: wrap;
}

.section-actions-feedback {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-actions-question {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.section-vote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.section-vote:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.section-vote.up:hover { border-color: #5C9D7F; background: rgba(92, 157, 127, 0.05); }
.section-vote.down:hover { border-color: #d97757; background: rgba(217, 119, 87, 0.05); }

.section-vote.active.up { border-color: #5C9D7F; background: rgba(92, 157, 127, 0.15); }
.section-vote.active.down { border-color: #d97757; background: rgba(217, 119, 87, 0.15); }

.section-vote span { display: block; }

.section-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.section-copy-btn:hover {
    border-color: #5C9D7F;
    color: #5C9D7F;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.section-copy-btn.copied {
    border-color: #5C9D7F;
    background: rgba(92, 157, 127, 0.1);
    color: #5C9D7F;
}

.section-copy-btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   UX: ТОСТ УВЕДОМЛЕНИЯ
═══════════════════════════════════════════════════════════════ */
.ux-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10000;
}

.ux-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   UX: ВРЕМЯ ЧТЕНИЯ (fallback badge)
═══════════════════════════════════════════════════════════════ */
.reading-time-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin-left: 8px;
    border-radius: 6px;
    background: rgba(92, 157, 127, 0.12);
    color: #5C9D7F;
    font-size: 13px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

/* Скрываем UX-элементы при печати */
@media print {
    .task-progress-bar,
    .section-actions,
    .ux-toast { display: none !important; }
}

/* Адаптив мобильных */
@media (max-width: 640px) {
    .task-progress-bar { padding: 12px 14px; }
    .task-progress-label { font-size: 13px; flex-wrap: wrap; }
    .section-actions { padding: 12px 14px; margin: 24px -14px -14px; }
    .section-actions-question { display: none; }
    .section-copy-btn span { display: none; }
    .section-copy-btn { padding: 8px 10px; }
}

@media(max-width:768px) {
    .strategy-title { font-size:24px; }
    .main-header-inner { padding:0 16px; }
    .strategy-header { padding:32px 16px 28px; }
    .strategy-content { padding:0 16px 80px; margin-top:24px; }
    .content-card { padding:20px; }
    #strategyContent .section-card-header { grid-template-columns:52px 1fr; }
    .section-num-col { min-height:56px; }
    #strategyContent .section-badge { font-size:16px; }
    #strategyContent .section-card-body { padding:20px; }
    .section-title-col { padding:14px 18px; }
    #strategyContent .section-card-h2 { font-size:15px; }
    .exec-metrics { grid-template-columns:1fr 1fr; }
    .exec-dashboard { padding:24px 20px; }
    .ue-inputs { grid-template-columns:1fr 1fr; }
    .ue-results { grid-template-columns:1fr 1fr; }
    .ue-scenarios { grid-template-columns:1fr; }
    .strategy-cta { padding:32px 20px; }
    .strategy-cta-title { font-size:24px; }
    /* Nav tabs: reduce side padding so tabs fit */
    .nav-tabs-container { padding:0 36px; }
    /* Tables: horizontal scroll on narrow screens */
    #strategyContent table, #strategyContent .section-card-body table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

@media(max-width:480px) {
    .strategy-title { font-size:20px; }
    .strategy-header { padding:24px 16px 20px; }
    .strategy-content { padding:0 12px 60px; }
    .nav-tabs-container { padding:0 30px; }
    .nav-tab { padding:11px 12px; font-size:11px; }
    .nav-scroll-btn { width:24px; height:24px; font-size:11px; }
    #strategyContent .section-card-header { grid-template-columns:44px 1fr; }
    .section-num-col { min-height:48px; }
    #strategyContent .section-badge { font-size:14px; }
    #strategyContent .section-card-body { padding:16px; }
    .section-title-col { padding:12px 14px; }
    #strategyContent .section-card-h2 { font-size:14px; }
    .exec-metrics { grid-template-columns:1fr 1fr; gap:6px; }
    .exec-metric-value { font-size:20px; }
    .exec-dashboard { padding:20px 16px; }
    .ue-inputs { grid-template-columns:1fr; }
    .ue-results { grid-template-columns:1fr 1fr; }
}

/* ===== Executive Section Hero Enhancements ===== */
.exec-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 6px;
}
.exec-hero-chip {
    background: linear-gradient(135deg, rgba(92,157,127,.18) 0%, rgba(92,157,127,.06) 60%, rgba(30,63,110,.12) 100%);
    border: 1px solid rgba(92,157,127,.28);
    border-radius: 10px;
    padding: 13px 18px;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    transition: border-color .2s;
}
.exec-hero-chip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(92,157,127,.5), rgba(92,157,127,.1), transparent);
}
.exec-hero-chip:hover { border-color: rgba(92,157,127,.5); }
.exec-hero-chip-num {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.3px;
}
.exec-hero-chip-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(92,157,127,.7);
    margin-top: 4px;
}
.exec-stake-block {
    background: rgba(92,157,127,.07);
    border-left: 3px solid var(--green);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px 14px 20px;
    margin: 16px 0;
    color: rgba(255,255,255,.75);
    font-size: 15px;
    line-height: 1.6;
}
.exec-stake-block strong,
.exec-stake-block b { color: var(--green-light) !important; }
.exec-result-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}
.exec-result-num {
    font-family: var(--font-mono);
    font-size: 44px;
    font-weight: 700;
    color: var(--green-light);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.exec-result-text {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.55;
}
.exec-result-text strong,
.exec-result-text b { color: rgba(255,255,255,.88) !important; }
@media (max-width: 600px) {
    .exec-result-block { flex-direction: column; align-items: flex-start; gap: 8px; }
    .exec-result-num { font-size: 34px; }
    .exec-hero-chip-num { font-size: 18px; }
}

/* ==================== STILS TRANSITION BLOCK ==================== */

.stils-transition-block {
    margin-top: 48px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1f4a37 0%, #3d7a5e 55%, #2d5943 100%);
    background-size: 180% 180%;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 52px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(20,50,38,0.35);
}

.stils-tr-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 52px;
    align-items: center;
}

.stils-transition-block .stils-tr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(92,157,127,0.15);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7ab897 !important;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.stils-transition-block .stils-tr-headline {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.2;
    color: #ffffff !important;
    margin-bottom: 14px;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.stils-transition-block .stils-tr-body {
    font-size: 15px;
    line-height: 1.75;
    color: #d8ece3 !important;
    margin-bottom: 24px;
}

.stils-transition-block .stils-tr-body strong { color: #fff !important; font-weight: 600; }

.stils-transition-block .stils-tr-lead {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.4;
    margin-bottom: 14px;
}

.stils-transition-block .stils-tr-subhead {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65) !important;
    margin-bottom: 18px;
}

.stils-tr-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.stils-tr-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.stils-tr-step-num {
    flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    padding-top: 1px;
}

.stils-tr-step-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stils-tr-step-text {
    font-size: 14px;
    line-height: 1.6;
    color: #d8ece3;
}

.stils-tr-divider-line {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0 0 28px;
}

.stils-tr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.stils-tr-tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: #e8f3ee;
}

.stils-tr-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.stils-tr-cta {
    padding: 15px 34px;
    background: #fff;
    color: #2d5943;
    border: none;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stils-tr-cta:hover {
    background: #e8f3ee;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Right — author card */
.stils-tr-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.stils-tr-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5C9D7F, #3d7a5e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    margin: 0 auto 16px;
    letter-spacing: 1px;
    overflow: hidden;
    border: 3px solid rgba(92,157,127,0.4);
    box-shadow: 0 0 0 1px rgba(92,157,127,0.15);
}

.stils-tr-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.stils-tr-card-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-bottom: 4px;
}

.stils-tr-card-role {
    font-size: 13px;
    color: #5C9D7F;
    margin-bottom: 20px;
}

.stils-tr-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 20px;
}

.stils-tr-card-text {
    font-size: 13px;
    line-height: 1.7;
    color: #b8cfc8;
    margin-bottom: 20px;
    text-align: left;
}

.stils-tr-card-stats {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.stils-tr-stat {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
}

.stils-tr-stat + .stils-tr-stat {
    border-left: 1px solid rgba(255,255,255,0.08);
}

.stils-tr-stat-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #5C9D7F;
    line-height: 1;
    margin-bottom: 2px;
}

.stils-tr-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

.stils-tr-site-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5C9D7F;
    text-decoration: none;
    transition: color 0.2s;
}

.stils-tr-site-link:hover { color: #7AB69A; }

/* Ссылка на stils.online в основном тексте (левая колонка) */
.stils-tr-link {
    color: #7AB69A;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(122,182,154,0.4);
    transition: color 0.2s, border-color 0.2s;
}

.stils-tr-link:hover {
    color: #a3d4b8;
    border-bottom-color: rgba(163,212,184,0.7);
}

/* Логотип STILS в карточке (вместо аватара человека) */
.stils-tr-card-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 3px;
    color: #fff;
    background: linear-gradient(135deg, #5C9D7F, #3d7a5e);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(92,157,127,0.25), 0 8px 24px rgba(92,157,127,0.2);
}

/* Ссылка на сайт в карточке (кнопка) */
.stils-tr-card-link {
    display: inline-block;
    margin: 0 0 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5C9D7F;
    background: rgba(92,157,127,0.08);
    border: 1px solid rgba(92,157,127,0.25);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.stils-tr-card-link:hover {
    color: #fff;
    background: rgba(92,157,127,0.25);
    border-color: rgba(92,157,127,0.5);
}

/* Дисклеймер под кнопкой в левой колонке */
.stils-transition-block .stils-tr-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6) !important;
    margin: 0;
    font-style: italic;
}

/* Тонкий текст-заметка внизу карточки (вместо плашек со статистикой) */
.stils-tr-card-note {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 12px 8px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 8px;
    font-style: italic;
}

@media (max-width: 768px) {
    .stils-transition-block { padding: 32px 20px; }
    .stils-tr-inner { grid-template-columns: 1fr; gap: 32px; }
    .stils-tr-right { display: none; }
    .stils-tr-headline { font-size: 24px; }
}

/* ==================== CONSULTATION MODAL ==================== */

.consult-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9500;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.consult-modal-overlay.active { opacity: 1; }

.consult-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.consult-modal-overlay.active .consult-modal { transform: translateY(0); }

.consult-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}

.consult-modal-close:hover { background: #f5f5f0; color: #666; }

.consult-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.consult-modal-icon { font-size: 40px; margin-bottom: 12px; }

.consult-modal-header h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.consult-modal-header p {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

.consult-form-group {
    margin-bottom: 16px;
}

.consult-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.consult-form-group input,
.consult-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e8e8e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    resize: vertical;
}

.consult-form-group input:focus,
.consult-form-group textarea:focus { border-color: #5C9D7F; }

.consult-submit-btn {
    width: 100%;
    padding: 14px;
    background: #5C9D7F;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.consult-submit-btn:hover { background: #4a8c6f; }

.consult-privacy {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.consult-privacy a { color: #5C9D7F; }

.consult-success { text-align: center; padding: 12px 0; }
.consult-success-icon { font-size: 48px; margin-bottom: 16px; }
.consult-success h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.consult-success p { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 8px; }
.consult-success-contact a { color: #5C9D7F; font-weight: 600; }

/* ==================== ONBOARDING TOUR ==================== */

.ob-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9000;
    pointer-events: none;
}

.ob-highlight {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 0 0 4000px rgba(0,0,0,0.55);
    border: 2px solid rgba(92,157,127,0.7);
    z-index: 9001;
    opacity: 0;
    transition: opacity 0.3s, top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
    pointer-events: none;
}

.ob-tooltip {
    position: absolute;
    width: 280px;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    z-index: 9002;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}

.ob-step-count {
    font-size: 11px;
    font-weight: 600;
    color: #5C9D7F;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ob-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.ob-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ob-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ob-skip {
    font-size: 13px;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}

.ob-skip:hover { color: #666; }

.ob-next {
    padding: 9px 20px;
    background: #5C9D7F;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.ob-next:hover { background: #4a8c6f; }

/* ===== PAGE FOOTER ===== */
.strategy-page-footer {
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 20px 28px;
    margin-top: 48px;
}

.strategy-page-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray);
}

.strategy-page-footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.strategy-page-footer-links a {
    font-size: 13px;
    color: #999;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.strategy-page-footer-links a:hover { color: var(--green); }

@media (max-width: 600px) {
    .strategy-page-footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===== VISUAL FUNNEL (interactive ifunnel) ===== */
.ifunnel { margin: 20px 0 32px; font-family: var(--font-body); }

/* Header inputs */
.ifunnel-header {
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    padding: 16px 20px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.ifunnel-header-title {
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #888; flex-basis: 100%;
    margin-bottom: 2px;
}
.ifunnel-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 7px 12px;
}
.ifunnel-input-label {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
}
.ifunnel-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display, 'Manrope', sans-serif);
    width: 80px;
    text-align: right;
}
.ifunnel-input::-webkit-inner-spin-button,
.ifunnel-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ifunnel-revenue-line {
    font-size: 11px;
    color: #888;
    flex-basis: 100%;
    margin-top: 2px;
}
.ifunnel-revenue-val {
    color: #6fcf97;
    font-weight: 700;
}

/* Stage cards */
.ifunnel-stages { background: #141414; border-radius: 0 0 12px 12px; padding: 12px 0 4px; }

.ifunnel-conv-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    font-size: 11px;
    color: #666;
}
.ifunnel-conv-row-arrow { color: #444; font-size: 14px; }
.ifunnel-conv-bm {
    background: #232323;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    color: #888;
}

.ifunnel-card {
    margin: 4px 12px;
    border-radius: 10px;
    padding: 12px 14px 10px;
    position: relative;
    overflow: hidden;
}
.ifunnel-card-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.ifunnel-card-left { flex: 1; min-width: 0; }
.ifunnel-card-name {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
    margin-bottom: 4px;
}
.ifunnel-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 1px 7px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.ifunnel-action {
    font-size: 11px;
    color: #6fcf97;
    line-height: 1.4;
    margin-top: 2px;
}
.ifunnel-card-right {
    text-align: right;
    flex-shrink: 0;
}
.ifunnel-needed-val {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 20px;
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    line-height: 1;
    white-space: nowrap;
}
.ifunnel-needed-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

/* Progress bar */
.ifunnel-progress-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    color: rgba(255,255,255,0.5);
}
.ifunnel-progress-bar-bg {
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,0.35);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.ifunnel-progress-bar-fg {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
    background: rgba(255,255,255,0.55);
}
.ifunnel-progress-current { white-space: nowrap; }
.ifunnel-progress-multiplier {
    font-weight: 700;
    white-space: nowrap;
    color: rgba(255,255,255,0.75);
}

/* Compare row (Сейчас: X | нужно ×N ... цель Y) */
.ifunnel-compare {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 10.5px;
    color: rgba(255,255,255,0.45);
}
.ifunnel-compare-bar {
    flex: 1;
    height: 3px;
    background: rgba(0,0,0,0.35);
    border-radius: 2px;
    overflow: hidden;
}
.ifunnel-compare-fill {
    height: 100%;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    transition: width 0.4s ease;
}
.ifunnel-compare-goal {
    white-space: nowrap;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 600px) {
    .ifunnel-header { padding: 14px 14px 12px; gap: 10px 14px; }
    .ifunnel-card { margin: 4px 8px; padding: 10px 12px 8px; }
    .ifunnel-needed-val { font-size: 17px; }
    .ifunnel-input { width: 70px; }
}

/* ===== VISUAL CJM ===== */
.visual-cjm { margin: 20px 0 28px; }
.visual-cjm-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}
.visual-cjm-scroll::-webkit-scrollbar { height: 4px; }
.visual-cjm-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.cjm-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 11.5px;
    background: var(--surface);
}
.cjm-table th,
.cjm-table td {
    border: 0.5px solid #E0DED8;
    padding: 10px 12px;
    vertical-align: top;
    line-height: 1.55;
}
.cjm-corner {
    background: #111;
    width: 96px;
    min-width: 96px;
}
.cjm-th {
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2px;
    min-width: 130px;
    padding: 12px 10px;
}
.cjm-row-label {
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    color: #666;
    background: #F5F4F0 !important;
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
    border-right: 2px solid #E0DED8;
    width: 96px;
}
.cjm-td { color: var(--ink); line-height: 1.6; font-size: 11.5px; }
.cjm-emotion-td { text-align: center; }
.cjm-emotion-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 0; }
.cjm-emotion-emoji { font-size: 22px; line-height: 1; display: block; }
.cjm-emotion-label { font-size: 10.5px; color: var(--gray); }

/* CJM channel tags */
.cjm-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 500;
    margin: 2px 2px 2px 0;
    line-height: 1.6;
    white-space: nowrap;
}
.cjm-tag-d { background: #DEEEFF; color: #0D5FA8; }
.cjm-tag-o { background: #DCEFCF; color: #2E6010; }
.cjm-tag-c { background: #FDEEC8; color: #7A4A0A; }
.cjm-tag-p { background: #E9E6FE; color: #3730A3; }
.cjm-tag-g { background: #EDECEA; color: #555; border: 0.5px solid #D8D6D2; }

/* CJM missing items */
.cjm-missing {
    display: inline-block;
    background: #FFF0F0;
    color: #C0392B;
    font-size: 10.5px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    border-left: 2px solid #E74C3C;
    margin: 2px 2px 2px 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .funnel-name { font-size: 12px; }
    .cjm-th { min-width: 110px; font-size: 10px; }
}
/* ===== USER MENU (avatar + dropdown) ===== */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: box-shadow 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.user-avatar-btn:hover {
    box-shadow: 0 4px 14px rgba(92, 157, 127, 0.35);
    transform: translateY(-1px);
}

.user-avatar-letter {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: var(--white);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 300;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.user-dropdown-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-dropdown-email {
    font-size: 13px;
    color: var(--gray);
    word-break: break-all;
    line-height: 1.4;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
}

.user-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.user-dropdown-item:hover {
    background: var(--green-faint);
    color: var(--green);
}

.user-dropdown-item.logout:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

@media (max-width: 768px) {
    .header-nav {
        width: auto;
        justify-content: flex-end;
    }
    .user-dropdown {
        right: 0;
        min-width: 210px;
    }
}
/* Цитаты внутри тёмной Executive-секции */
#strategyContent .section-executive blockquote {
    background: rgba(92, 157, 127, 0.12);
    border-left: 3px solid var(--green-light);
    color: rgba(255, 255, 255, 0.9);
}
#strategyContent .section-executive blockquote p {
    color: rgba(255, 255, 255, 0.9);
}
#strategyContent .section-executive blockquote strong,
#strategyContent .section-executive blockquote b {
    color: var(--green-light);
}

/* То же для тёмной секции "Болезненные правды" */
#strategyContent .section-truths blockquote {
    background: rgba(224, 82, 82, 0.1);
    border-left: 3px solid #e05252;
    color: rgba(255, 255, 255, 0.9);
}
#strategyContent .section-truths blockquote p {
    color: rgba(255, 255, 255, 0.9);
}
#strategyContent .section-truths blockquote strong {
    color: #f0a0a0;
}

/* И для финальной зелёной секции */
#strategyContent .section-final blockquote {
    background: rgba(255, 255, 255, 0.12);
    border-left: 3px solid #fff;
    color: #fff;
}
#strategyContent .section-final blockquote p,
#strategyContent .section-final blockquote strong {
    color: #fff;
}
@media print {
    .main-header, .nav-container, .actions-bar, .strategy-page-footer {
        display: none !important;
    }
    .strategy-content {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    /* Если нужно, чтобы фон и цвета печатались */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

