/* Общие стили раздела «Решения по отделам» (hub + страницы отделов) */
:root {
    --sol-accent: #e2e8f0;
    --sol-accent-hover: #f8fafc;
    --sol-accent-muted: #a1a1aa;
    --sol-accent-rgb: 226, 232, 240;
    --sol-ink: #09090b;
    --sol-text: #e8ecf1;
    --sol-muted: #94a3b8;
    --sol-bg: #030303;
    --sol-bg-soft: #09090b;
    --sol-bg-elevated: #141414;
    --sol-radius: 12px;
    --sol-line: rgba(255, 255, 255, 0.1);
    --sol-toc-row: rgba(255, 255, 255, 0.035);
    --sol-toc-row-border: rgba(255, 255, 255, 0.09);
}

.sol-page {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--sol-text);
    background: var(--sol-bg);
    line-height: 1.6;
}

/* Не трогать .container шапки — иначе отличается от главной (max-width/padding) */
.sol-page .container:not(.b24-header-inner) {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hub: первый блок как hero на главной */
.sol-page .b24-hero .container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.sol-page .b24-hero .b24-hero-lead {
    margin-bottom: 48px;
}

.sol-page .b24-hero {
    position: relative;
    padding: 88px 0 72px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    --hero-bg: #030303;
    --hero-blue-rgb: 82, 82, 91;
    --hero-accent: #e2e8f0;
    --hero-accent-hover: #f8fafc;
    --hero-accent-2: #a1a1aa;
    --hero-accent-rgb: 226, 232, 240;
    --hero-floor-rgb: 113, 113, 122;
    --hero-primary-ink: #09090b;
    background-color: var(--hero-bg);
    background-image:
        radial-gradient(ellipse 68% 56% at 12% 58%, rgba(var(--hero-blue-rgb), 0.34) 0%, transparent 58%),
        radial-gradient(ellipse 52% 48% at 88% 14%, rgba(var(--hero-accent-rgb), 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 130% 42% at 50% 108%, rgba(var(--hero-floor-rgb), 0.09) 0%, transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, 0.35) 100%);
}

.sol-page .b24-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 35% at 50% -8%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.sol-page .b24-hero .container {
    position: relative;
    z-index: 1;
}

.sol-page .b24-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 100%);
}

.sol-page .b24-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.14;
    max-width: 900px;
    margin: 0 auto 22px;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.sol-page .b24-hero-title span {
    background: linear-gradient(118deg, var(--hero-accent-hover) 0%, var(--hero-accent) 38%, var(--hero-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--hero-accent);
    filter: drop-shadow(0 0 28px rgba(var(--hero-accent-rgb), 0.35));
}

@supports not (background-clip: text) {
    .sol-page .b24-hero-title span {
        -webkit-text-fill-color: var(--hero-accent);
        filter: none;
    }
}

.sol-page .b24-hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

html[data-color-scheme="light"] .sol-page .b24-hero {
    --hero-bg: #f0f5ff;
    --hero-blue-rgb: 59, 130, 246;
    --hero-accent: #1d4ed8;
    --hero-accent-hover: #2563eb;
    --hero-accent-2: #64748b;
    --hero-accent-rgb: 29, 78, 216;
    --hero-floor-rgb: 96, 165, 250;
    --hero-primary-ink: #ffffff;
    border-bottom-color: rgba(30, 64, 175, 0.12);
    background-image:
        radial-gradient(ellipse 72% 58% at 12% 52%, rgba(var(--hero-blue-rgb), 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 50% 46% at 88% 14%, rgba(var(--hero-accent-rgb), 0.12) 0%, transparent 52%),
        radial-gradient(ellipse 130% 48% at 50% 108%, rgba(147, 197, 253, 0.35) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, transparent 30%, transparent 68%, #e8efff 100%);
}

html[data-color-scheme="light"] .sol-page .b24-hero::before {
    background: radial-gradient(ellipse 60% 40% at 50% -5%, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
}

html[data-color-scheme="light"] .sol-page .b24-hero-grid {
    background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
}

html[data-color-scheme="light"] .sol-page .b24-hero-title {
    color: #0f172a;
    text-shadow: none;
}

html[data-color-scheme="light"] .sol-page .b24-hero-title span {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
    filter: none;
}

html[data-color-scheme="light"] .sol-page .b24-hero-lead {
    color: #64748b;
}

/* Единый экран: слева оглавление отделов, справа контент (как на странице «Примеры») */
.sol-split-main {
    padding: 28px 0 80px;
}

.sol-split-container {
    max-width: 1180px;
}

.sol-split-layout {
    display: grid;
    grid-template-columns: min(280px, 32vw) 1fr;
    gap: 28px 36px;
    align-items: start;
}

.sol-toc {
    position: sticky;
    top: 88px;
    align-self: start;
}

.sol-toc-group--top {
    padding-bottom: 4px;
    margin-bottom: 0;
    border-bottom: none;
}

.sol-toc-nav {
    margin: 0;
}

.sol-toc-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sol-toc-entry:not(:last-child) {
    padding-bottom: 6px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--sol-line);
}

.sol-toc-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.35;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sol-toc-item:hover {
    color: var(--sol-text);
    background: var(--sol-toc-row);
    border-color: var(--sol-toc-row-border);
}

.sol-toc-item.is-active {
    color: var(--sol-text);
    background: var(--sol-toc-row);
    border-color: rgba(var(--sol-accent-rgb), 0.35);
    box-shadow: 0 0 0 1px rgba(var(--sol-accent-rgb), 0.12);
}

.sol-toc-item-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1.35;
}

.sol-toc-item-label {
    min-width: 0;
    font-weight: 500;
}

.sol-panel {
    min-height: min(280px, calc(100vh - 260px));
}

.sol-split-root--active .sol-panel {
    min-height: 0;
}

.sol-empty-state {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: min(320px, calc(100vh - 280px));
    padding: 24px 22px 28px;
    margin-bottom: 6px;
    border-radius: 14px;
    border: 1px solid var(--sol-line);
    background: var(--sol-toc-row);
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.sol-split-root--active .sol-empty-state {
    display: none;
}

.sol-empty-state__kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sol-accent-muted);
    margin: 0 0 10px;
}

.sol-empty-state__title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--sol-text);
    margin: 0 0 16px;
    line-height: 1.3;
}

.sol-empty-state__body {
    font-size: 0.9375rem;
    color: var(--sol-muted);
    line-height: 1.65;
}

.sol-empty-state__body p {
    margin: 0 0 14px;
}

.sol-empty-state__body p:last-child {
    margin-bottom: 0;
}

.sol-empty-state__body strong {
    color: var(--sol-text);
    font-weight: 600;
}

.sol-empty-state__body code {
    font-size: 0.84rem;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-empty-state__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--sol-line);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sol-accent-muted);
}

.sol-empty-state__cta::before {
    content: '←';
    font-size: 1.1rem;
    opacity: 0.85;
}

.sol-panel-list {
    position: relative;
}

.sol-dept-panel {
    display: none;
    background: var(--sol-toc-row);
    border: 1px solid var(--sol-toc-row-border);
    border-radius: 14px;
    padding: 24px 26px 28px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.sol-dept-panel.is-active {
    display: block;
}

.sol-dept-panel-head {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sol-line);
}

.sol-dept-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--sol-text);
    margin: 0 0 12px;
    line-height: 1.3;
}

.sol-dept-panel-icon {
    margin-right: 4px;
}

.sol-dept-panel-tagline {
    background: linear-gradient(135deg, #f8fafc 0%, var(--sol-accent) 55%, var(--sol-accent-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sol-dept-panel-lead {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--sol-muted);
    line-height: 1.6;
    max-width: 65ch;
}

.sol-dept-panel-body .sol-block {
    margin-bottom: 28px;
}

.sol-dept-panel-body .sol-block:last-child {
    margin-bottom: 0;
}

.sol-block--case {
    padding: 20px 20px 22px;
    border-radius: var(--sol-radius);
    background: rgba(var(--sol-accent-rgb), 0.06);
    border: 1px solid rgba(var(--sol-accent-rgb), 0.18);
}

.sol-case-savings-hero {
    margin: -6px -8px 20px;
    padding: 18px 16px 16px;
    text-align: center;
    border-radius: calc(var(--sol-radius) + 2px);
    background: linear-gradient(
        145deg,
        rgba(var(--sol-accent-rgb), 0.22) 0%,
        rgba(15, 23, 42, 0.55) 48%,
        rgba(0, 0, 0, 0.35) 100%
    );
    border: 1px solid rgba(var(--sol-accent-rgb), 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.sol-case-savings-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(248, 250, 252, 0.72);
    margin-bottom: 8px;
}

.sol-case-savings-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.06em 0.15em;
    line-height: 1;
}

.sol-case-savings-prefix {
    font-size: clamp(1.15rem, 3.2vw, 1.65rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1;
}

.sol-case-savings-num {
    font-size: clamp(2.1rem, 6.5vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 10%, rgba(var(--sol-accent-rgb), 1) 55%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.sol-case-savings-unit {
    font-size: clamp(1rem, 2.8vw, 1.45rem);
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: -0.02em;
    line-height: 1;
}

.sol-case-savings-submetrics {
    margin: 14px auto 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 38rem;
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.sol-case-savings-submetrics li {
    position: relative;
    margin: 0 0 7px;
    padding-left: 1.05em;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.9);
}

.sol-case-savings-submetrics li:last-child {
    margin-bottom: 0;
}

.sol-case-savings-submetrics li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: rgba(var(--sol-accent-rgb), 0.85);
}

.sol-case-savings-submetric-num {
    font-weight: 800;
    font-size: 0.95em;
    color: #f8fafc;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.sol-case-metrics {
    margin: 16px 0 18px;
    padding-left: 1.25rem;
    line-height: 1.55;
}

.sol-case-metrics li {
    margin-bottom: 8px;
}

.sol-case-metrics li:last-child {
    margin-bottom: 0;
}

.sol-case-ai-look-card {
    border-radius: var(--sol-radius);
    border: 1px solid rgba(var(--sol-accent-rgb), 0.22);
    background: rgba(var(--sol-accent-rgb), 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sol-case-ai-look-card--ctas {
    margin: 14px 0 0;
    padding: 14px 16px 16px;
}

.sol-case-ai-look-card--ctas .sol-case-ai-look-card__title {
    margin-bottom: 10px;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}

.sol-case-ai-look-card--ctas .sol-case-outline-cta-wrap {
    margin-top: 0;
}

.sol-case-ai-look-card__title {
    margin: 0 0 14px;
    font-size: clamp(1.02rem, 2.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.sol-case-ai-look-card__body {
    margin: 0;
}

.sol-case-narrative .sol-case-outline-item {
    margin-bottom: 22px;
}

.sol-case-narrative .sol-case-outline-item:last-child {
    margin-bottom: 0;
}

html[data-color-scheme="light"] .sol-case-ai-look-card {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

html[data-color-scheme="light"] .sol-case-ai-look-card__title {
    color: #0f172a;
}

.sol-case-outline-headline {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.sol-case-outline-headline .sol-case-outline-num {
    font-weight: 800;
    color: #f8fafc;
    margin-right: 0.2em;
}

.sol-case-outline-lead {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--sol-text);
}

.sol-case-outline-lead--body {
    color: var(--sol-muted);
    font-size: 0.875rem;
}

.sol-case-outline-num {
    font-weight: 800;
    color: rgba(var(--sol-accent-rgb), 1);
    margin-right: 0.15em;
}

.sol-case-outline-list {
    margin: 0 0 0 0.25rem;
    padding-left: 1.2rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--sol-muted);
}

.sol-case-outline-list li {
    margin-bottom: 6px;
}

.sol-case-outline-list li:last-child {
    margin-bottom: 0;
}

.sol-case-replacements {
    margin: 12px 0 14px;
    padding: 12px 14px 12px 16px;
    list-style: none;
    border-radius: calc(var(--sol-radius) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
}

.sol-case-replacements li {
    margin-bottom: 10px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--sol-muted);
}

.sol-case-replacements li:last-child {
    margin-bottom: 0;
}

.sol-case-replacements__role {
    font-weight: 700;
    color: #e2e8f0;
}

.sol-case-replacements__detail {
    font-weight: 400;
}

html[data-color-scheme="light"] .sol-case-replacements {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(248, 250, 252, 0.9);
}

html[data-color-scheme="light"] .sol-case-replacements li {
    color: #475569;
}

html[data-color-scheme="light"] .sol-case-replacements__role {
    color: #0f172a;
}

.sol-case-outline-cta-wrap {
    margin: 16px 0 0;
    padding-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: baseline;
}

.sol-case-outline-link {
    display: inline;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(var(--sol-accent-rgb), 1);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.sol-case-outline-link:hover {
    color: var(--sol-accent-hover);
    text-decoration-style: solid;
}

html[data-color-scheme="light"] .sol-case-outline-link {
    color: #2563eb;
}

html[data-color-scheme="light"] .sol-case-outline-link:hover {
    color: #1d4ed8;
}

html[data-color-scheme="light"] .sol-case-outline-headline,
html[data-color-scheme="light"] .sol-case-outline-headline .sol-case-outline-num {
    color: #0f172a;
}

html[data-color-scheme="light"] .sol-case-outline-lead {
    color: #0f172a;
}

html[data-color-scheme="light"] .sol-case-outline-lead--body {
    color: #475569;
}

html[data-color-scheme="light"] .sol-case-outline-list {
    color: #475569;
}

.sol-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: calc(var(--sol-radius) - 2px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
}

.sol-video-frame--embed {
    margin-bottom: 22px;
}

.sol-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sol-video-frame--file {
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 22px;
}

.sol-video-frame--file video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a0a0a;
}

.sol-video-frame--has-text-preview video {
    position: relative;
    z-index: 0;
}

.sol-video-text-preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 20px;
    margin: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
    cursor: pointer;
    font-family: inherit;
    color: #f1f5f9;
    background: linear-gradient(
        165deg,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(30, 41, 59, 0.9) 55%,
        rgba(15, 23, 42, 0.93) 100%
    );
    transition: opacity 0.22s ease, visibility 0.22s ease, background 0.2s ease;
}

.sol-video-text-preview:hover {
    background: linear-gradient(
        165deg,
        rgba(30, 41, 59, 0.96) 0%,
        rgba(51, 65, 85, 0.92) 50%,
        rgba(30, 41, 59, 0.95) 100%
    );
}

.sol-video-text-preview:focus-visible {
    outline: 2px solid rgba(var(--sol-accent-rgb), 0.9);
    outline-offset: 3px;
}

.sol-video-text-preview--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sol-video-text-preview__play {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.sol-video-text-preview__play-icon {
    width: clamp(3.25rem, 11vw, 4.5rem);
    height: clamp(3.25rem, 11vw, 4.5rem);
    display: block;
}

.sol-video-text-preview__play-ring {
    fill: rgba(255, 255, 255, 0.12);
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 2;
}

.sol-video-text-preview__play-triangle {
    fill: rgba(255, 255, 255, 0.96);
}

html[data-color-scheme="light"] .sol-video-text-preview__play-ring {
    fill: rgba(15, 23, 42, 0.06);
    stroke: rgba(15, 23, 42, 0.88);
}

html[data-color-scheme="light"] .sol-video-text-preview__play-triangle {
    fill: rgba(15, 23, 42, 0.9);
}

.sol-video-text-preview__title {
    font-size: clamp(1.05rem, 3.2vw, 1.4rem);
    font-weight: 700;
    text-align: center;
    max-width: 30ch;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.sol-video-text-preview__hint {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: rgba(241, 245, 249, 0.68);
    max-width: 36ch;
    line-height: 1.45;
}

html[data-color-scheme="light"] .sol-video-text-preview {
    color: #0f172a;
    background: linear-gradient(
        165deg,
        rgba(248, 250, 252, 0.97) 0%,
        rgba(226, 232, 240, 0.95) 50%,
        rgba(241, 245, 249, 0.97) 100%
    );
}

html[data-color-scheme="light"] .sol-video-text-preview:hover {
    background: linear-gradient(
        165deg,
        #f8fafc 0%,
        #e2e8f0 50%,
        #f1f5f9 100%
    );
}

html[data-color-scheme="light"] .sol-video-text-preview__hint {
    color: #64748b;
}

.sol-video-placeholder {
    margin-top: 4px;
    padding: 16px 18px;
    border-radius: calc(var(--sol-radius) - 2px);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    color: var(--sol-muted);
    line-height: 1.55;
}

.sol-video-placeholder p {
    margin: 0;
}

.sol-video-placeholder code {
    font-size: 0.8125rem;
}

html[data-color-scheme="light"] .sol-block--case {
    background: rgba(var(--sol-accent-rgb), 0.08);
    border-color: rgba(var(--sol-accent-rgb), 0.22);
}

html[data-color-scheme="light"] .sol-video-frame {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f1f5f9;
}

html[data-color-scheme="light"] .sol-video-placeholder {
    border-color: rgba(15, 23, 42, 0.18);
    background: #f8fafc;
}

html[data-color-scheme="light"] .sol-case-savings-hero {
    background: linear-gradient(
        145deg,
        rgba(var(--sol-accent-rgb), 0.2) 0%,
        #f8fafc 50%,
        #e2e8f0 100%
    );
    border-color: rgba(var(--sol-accent-rgb), 0.35);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

html[data-color-scheme="light"] .sol-case-savings-label {
    color: #64748b;
}

html[data-color-scheme="light"] .sol-case-savings-prefix {
    color: #0f172a;
}

html[data-color-scheme="light"] .sol-case-savings-num {
    filter: drop-shadow(0 2px 12px rgba(37, 99, 235, 0.2));
}

html[data-color-scheme="light"] .sol-case-savings-unit {
    color: #334155;
}

html[data-color-scheme="light"] .sol-case-savings-submetrics {
    border-top-color: rgba(15, 23, 42, 0.1);
}

html[data-color-scheme="light"] .sol-case-savings-submetrics li {
    color: #475569;
}

html[data-color-scheme="light"] .sol-case-savings-submetric-num {
    color: #0f172a;
}

@media (max-width: 960px) {
    .sol-split-layout {
        grid-template-columns: 1fr;
    }

    .sol-toc {
        position: relative;
        top: 0;
        max-height: none;
        padding: 0 0 12px;
    }

    .sol-toc-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sol-toc-entry:not(:last-child) {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .sol-toc-item {
        flex: 1 1 auto;
        min-width: min(200px, 100%);
        padding: 7px 10px;
    }

    .sol-toc-item-icon {
        font-size: 1rem;
    }

    .sol-panel {
        min-height: 0;
    }

    .sol-empty-state {
        min-height: 0;
    }
}

.sol-hub-grid {
    padding: 40px 0 64px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.sol-card {
    display: block;
    padding: 22px 20px;
    border-radius: var(--sol-radius);
    background: var(--sol-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sol-card:hover {
    border-color: rgba(var(--sol-accent-rgb), 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.sol-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 12px;
}
.sol-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}
.sol-card p {
    font-size: 0.875rem;
    color: var(--sol-muted);
    line-height: 1.55;
    margin: 0;
}

/* Страница отдела */
.sol-dept-hero {
    padding: 48px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, #0a0a0a 0%, var(--sol-bg) 100%);
}
.sol-dept-hero .sol-back {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sol-accent);
    text-decoration: none;
    margin-bottom: 18px;
}
.sol-dept-hero .sol-back:hover {
    text-decoration: underline;
}
.sol-dept-hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.sol-dept-hero h1 span {
    background: linear-gradient(135deg, #f8fafc 0%, var(--sol-accent) 55%, var(--sol-accent-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sol-dept-lead {
    color: var(--sol-muted);
    font-size: 1.05rem;
    max-width: 60ch;
}

.sol-dept-main {
    padding: 40px 0 64px;
}
.sol-block {
    margin-bottom: 40px;
}
.sol-block:last-child {
    margin-bottom: 0;
}
.sol-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sol-block p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.sol-block p:last-child {
    margin-bottom: 0;
}
.sol-block ul {
    color: #cbd5e1;
    margin: 0 0 0 1.15rem;
    font-size: 0.95rem;
}
.sol-block li {
    margin-bottom: 8px;
}
.sol-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--sol-radius);
    background: rgba(var(--sol-accent-rgb), 0.06);
    border-left: 3px solid rgba(var(--sol-accent-rgb), 0.45);
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* Светлая тема */
html[data-color-scheme="light"] .sol-page {
    --sol-accent: #2563eb;
    --sol-accent-hover: #1d4ed8;
    --sol-accent-muted: #64748b;
    --sol-accent-rgb: 37, 99, 235;
    --sol-ink: #ffffff;
    --sol-text: #0f172a;
    --sol-muted: #475569;
    --sol-bg: #f0f5ff;
    --sol-bg-soft: #e8efff;
    --sol-bg-elevated: #ffffff;
    --sol-line: rgba(15, 23, 42, 0.08);
    --sol-toc-row: #fff;
    --sol-toc-row-border: #e2e8f0;
}

html[data-color-scheme="light"] .sol-dept-hero {
    background: linear-gradient(180deg, #fff 0%, #f0f5ff 100%);
    border-bottom-color: #e2e8f0;
}
html[data-color-scheme="light"] .sol-dept-hero h1 {
    color: #0f172a;
}
html[data-color-scheme="light"] .sol-dept-hero h1 span {
    background: none;
    -webkit-text-fill-color: #1d4ed8;
    color: #1d4ed8;
}
html[data-color-scheme="light"] .sol-card {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
html[data-color-scheme="light"] .sol-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
html[data-color-scheme="light"] .sol-card h2 {
    color: #0f172a;
}
html[data-color-scheme="light"] .sol-block h2 {
    color: #0f172a;
    border-bottom-color: #e2e8f0;
}
html[data-color-scheme="light"] .sol-block p,
html[data-color-scheme="light"] .sol-block ul {
    color: #334155;
}
html[data-color-scheme="light"] .sol-note {
    background: rgba(37, 99, 235, 0.06);
    border-left-color: rgba(37, 99, 235, 0.45);
    color: #1e293b;
}
html[data-color-scheme="light"] .sol-toc-item {
    color: #475569;
}

html[data-color-scheme="light"] .sol-toc-item:hover {
    color: var(--sol-text);
}

html[data-color-scheme="light"] .sol-toc-item.is-active {
    border-color: rgba(var(--sol-accent-rgb), 0.4);
}

html[data-color-scheme="light"] .sol-empty-state {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-color-scheme="light"] .sol-empty-state__body code {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #334155;
}

html[data-color-scheme="light"] .sol-dept-panel {
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-color-scheme="light"] .sol-dept-panel-tagline {
    background: none;
    -webkit-text-fill-color: #1d4ed8;
    color: #1d4ed8;
}
