.vacuum-chapter-links { overflow-x: auto; scrollbar-width: thin; }
.vc-section { background: #f7f8f8; }
.vc-section [hidden] { display: none !important; }
.vc-intro { max-width: 54rem; margin: 0 auto clamp(30px,4vw,58px); text-align: center; }
.vc-intro > span { color: #006965; font-weight: 650; }
.vc-intro h2 { margin: 12px 0 18px; font-size: clamp(34px,4.6vw,72px); text-wrap: balance; }
.vc-intro p { max-width: 55ch; margin-inline: auto; font-size: clamp(16px,1.4vw,20px); }
.vc-console {
    --signal: #8fe5cd;
    max-width: 1160px; margin-inline: auto; padding: clamp(18px,3.8vw,52px);
    border-radius: 20px; color: #eff6f5; background: linear-gradient(135deg,#182d36,#0e1c25 76%);
}
.vc-top, .vc-select, .vc-player, .vc-key { display: flex; align-items: center; flex-wrap: wrap; }
.vc-top { justify-content: space-between; gap: 6px 20px; }
.vc-top strong { font-size: clamp(20px,2.2vw,32px); }
.vc-top span { color: var(--signal); font-size: 14px; }
.vc-top span::before { content: ''; display: inline-block; width: 7px; height: 7px; background: currentColor; border-radius: 50%; margin-inline-end: 8px; }
.vc-select { gap: 6px; margin-top: 22px; }
.vc-console button {
    font: inherit; font-size: 15px; line-height: 1.3; min-height: 44px; padding: 8px 16px;
    cursor: pointer; color: #d5e4e7; border: 1px solid #60777e; border-radius: 24px; background: transparent;
}
.vc-console button:hover { border-color: var(--signal); }
.vc-console button:focus-visible { outline: 3px solid #b2f4de; outline-offset: 3px; }
.vc-select button[aria-pressed="true"] { color: #102c2c; background: #c1f1e1; border-color: #c1f1e1; }
.vc-workspace { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); gap: clamp(20px,4vw,70px); align-items: center; margin: 28px 0; }
.vc-plant { min-width: 0; background-image: radial-gradient(#475b644d 1px,transparent 1px); background-size: 16px 16px; }
.vc-plant svg { display: block; width: 100%; height: auto; }
.vc-pipes, .vc-flow { fill: none; stroke: #586f78; stroke-width: 7; stroke-linecap: round; }
.vc-flow { stroke: var(--signal); stroke-width: 4; stroke-dasharray: 9 9; }
.vc-flow use { opacity: 0; }
.vc-console[data-mode="pit1"] .vc-pit1, .vc-console[data-mode="pit2"] .vc-pit2,
.vc-console[data-mode="vacuum"] .vc-vacuum, .vc-console[data-mode="discharge"] .vc-discharge { opacity: 1; }
.vc-console[data-mode="pit1"] .vc-valve1, .vc-console[data-mode="pit2"] .vc-valve2 { fill: var(--signal); }
.vc-console[data-mode="leak"] .vc-pipes .vc-inlet { stroke: #caa564; }
.vc-console[data-mode="alarm"] .vc-pipes .vc-inlet { stroke: #ed9788; }
.vc-console[data-playing="true"] .vc-flow { animation: vc-travel 1s linear infinite; }
@keyframes vc-travel { to { stroke-dashoffset: -36; } }
.vc-tags, .vc-key b { fill: #c4d5d9; font: 600 17px/1.3 monospace; }
.vc-key { gap: 4px 16px; justify-content: center; padding: 10px; color: #bfced3; font-size: 13px; }
.vc-key b { font-size: 13px; color: var(--signal); }
.vc-readings { display: grid; gap: 22px; }
.vc-readings dt { font-size: 15px; line-height: 1.4; color: #bfd1d6; }
.vc-readings dd { margin: 2px 0; color: #f3faf8; line-height: 1.1; }
.vc-readings b { font-size: clamp(34px,4vw,62px); font-variant-numeric: tabular-nums; font-weight: 500; }
.vc-readings small { color: var(--signal); font-size: 16px; }
.vc-meter { height: 3px; max-width: 130px; margin-top: 10px; background: #3a5159; }
.vc-meter i { display: block; height: 100%; width: var(--level,28%); background: var(--signal); }
.vc-caption { display: flex; gap: 20px; align-items: baseline; padding-top: 22px; border-top: 1px solid #435b62; }
.vc-caption > span { white-space: nowrap; color: var(--signal); font-family: monospace; }
.vc-caption h3 { font-size: clamp(20px,2vw,30px); }
.vc-caption p { color: #c2d1d6; margin: 8px 0 0; max-width: 80ch; }
.vc-player { gap: 8px; margin-top: 18px; }
.vc-features { max-width: 1050px; margin: clamp(32px,5vw,75px) auto 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,6vw,96px); }
.vc-features dt { font-size: clamp(23px,2.5vw,36px); text-wrap: balance; }
.vc-features dd { margin-top: 12px; }
@media (max-width: 700px) {
    .vc-console { border-radius: 14px; }
    .vc-workspace, .vc-features { grid-template-columns: minmax(0,1fr); }
    .vc-readings { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
    .vc-select button { padding-inline: 11px; font-size: 14px; }
    .vc-key { justify-content: flex-start; }
    .vc-tags { font-size: 23px; }
    .vc-caption { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .vc-console[data-playing="true"] .vc-flow { animation: none; }
}
