.ch03 { --pv-ink: #1b333c; --pv-muted: #506669; --pv-line: #dbe4df; }
.chapter-content.ch03 .ch03-technical-title { margin: var(--chapter-control-gap) 0 0; font-size: var(--chapter-subheading-size); }
.ch03-panel h3 { margin: 0 0 8px; color: var(--pv-ink); }
.ch03-panel p { margin: 0 0 12px; }
.ch03-kicker { color: #58788b; }
.ch03-muted { color: var(--pv-muted); }
.pv-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.pv-figure figure { margin: 0; }
.pv-figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 8px 2px; color: var(--pv-muted); font-size: 12px; line-height: 1.6; }
.pv-figure figcaption strong { color: var(--pv-ink); }
.pv-photo { display: block; overflow: hidden; border: 1px solid var(--pv-line); border-radius: 8px; background: #f8faf9; }
.pv-photo img { display: block; width: 100%; height: auto; rotate: var(--pv-photo-level, 0deg); }
.pv-readout { padding: 14px; background: #f0f4ef; border-radius: 8px; }
.pv-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; }
.pv-drawing { margin: 0; }
.pv-drawing figcaption { display: flex; flex-wrap: wrap; gap: 5px 16px; padding: 8px 2px; color: var(--pv-muted); font-size: 11px; }
.pv-figure[hidden], .pv-drawing[hidden] { display: none; }
.pv-key { display: inline-flex; align-items: center; gap: 5px; }
.pv-key::before { width: 11px; height: 3px; border-radius: 2px; background: currentColor; content: ""; }
.pv-key-feed { color: #a94720; }
.pv-key-return { color: #1b6a98; }
.pv-key-signal { color: #816019; }
.pv-key-pilot { color: #63508b; }
.pv-cutaway { overflow-x: auto; border: 1px solid #d8e5df; border-radius: 12px; }
.pv-diagram { display: block; width: 100%; max-height: min(70vh, 740px); background-color: #edf3ee; background-image: linear-gradient(#68898b12 1px, transparent 1px), linear-gradient(90deg, #68898b12 1px, transparent 1px); background-size: 18px 18px; }
.pv-drawing-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 8px; font-size: 12px; }
.pv-drawing-tools label { display: flex; align-items: center; gap: 6px; }
.pv-drawing-tools select { width: auto; }
.pv-diagram .pv-photo-label { fill: #f8faf2; paint-order: stroke; stroke: #203138; stroke-width: 6px; font: 700 49px 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
.pv-diagram .pv-photo-feed { fill: #ffad7d; }
.pv-diagram .pv-photo-return { fill: #98dcff; }
.pv-diagram .pv-photo-ls { fill: #ffe4a3; }
.pv-diagram .pv-scale-text { fill: #3d5c66; stroke: none; font-size: 27px; }
.pv-diagram text { fill: #25454e; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
.pv-svg-eyebrow { font-size: 13px; letter-spacing: .17em; font-weight: 700; }
.pv-svg-note { font-size: 12px; letter-spacing: .05em; }
.pv-diagram .pv-port { font-size: 25px; font-weight: 700; text-anchor: middle; }
.pv-diagram .pv-port-p { fill: #a94720; }
.pv-diagram .pv-port-ls { fill: #7d5b19; font-size: 17px; }
.pv-diagram .pv-t-port { fill: #d2e6ed; text-anchor: middle; font-size: 15px; font-weight: 700; }
.pv-diagram .pv-part { font-size: 43px; font-weight: 650; text-anchor: middle; }
.pv-diagram .pv-part-sub { font-size: 36px; text-anchor: middle; }
.pv-diagram .pv-component-caption { font-size: 27px; font-weight: 650; }
.pv-diagram .pv-ls-caption { fill: #765818; font-size: 25px; text-anchor: middle; }
.pv-diagram[data-view="detail"] .pv-assembly-labels { display: none; }
.pv-section-cavity { fill: url(#pv-bore-metal); stroke: #2a4851; stroke-width: 4; }
.pv-section-thread { fill: none; stroke: #8faeaf; stroke-width: 5; opacity: .8; }
.pv-section-bore { fill: #263e47; stroke: #829c9e; stroke-width: 4; }
.pv-spool-rings { fill: none; stroke: #2c4b57; stroke-width: 5; opacity: .87; }
#pv-lever { cursor: grab; touch-action: none; outline: none; }
#pv-lever:active { cursor: grabbing; }
#pv-lever:hover #pv-lever-grip, #pv-lever:focus-visible #pv-lever-grip { fill: #476e7e; stroke: #c47844; stroke-width: 1.2; }
.pv-fastener { fill: #64828a; stroke: #d7e2dd; stroke-width: 1.5; }
.pv-cavity { fill: #2f464e; stroke: #647f87; stroke-width: 1.5; }
.pv-gallery, .pv-gallery-rim { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pv-gallery { stroke: #314850; stroke-width: 22; }
.pv-gallery-rim { stroke: #627c83; stroke-width: 26; }
.pv-coil-led { fill: #344e59; stroke: #a0b9bd; }
.pv-coil.energized path { stroke: #8966c4; stroke-width: 1.5; }
.pv-coil.energized path:last-child { fill: #8966c4; }
.pv-diagram[data-drive="electric"] #pv-electric-cap,
.pv-diagram[data-drive="manual"] #pv-manual-cap { stroke: #6b5696; stroke-width: 1.1; }
.pv-diagram[data-drive="electric"] #pv-electric-cap > path:first-child,
.pv-diagram[data-drive="manual"] #pv-manual-cap > path:first-child { stroke: #6b5696; stroke-width: 3; }
.pv-oil, .pv-signal, .pv-pilot-path { fill: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.pv-oil { stroke-dasharray: 19 13; opacity: 0; }
.pv-oil.pv-flowing { opacity: 1; animation: ls-move-pv 1s linear infinite; }
.pv-feed { stroke: #ffab78; }
.pv-return { stroke: #70c9f5; }
.pv-signal { stroke: #c29b40; stroke-width: 2; stroke-dasharray: 4 5; }
.pv-annular { stroke: #ffab78; stroke-width: 6; stroke-dasharray: 7 10; }
.pv-pilot-path { stroke: #9c7bcc; stroke-width: 2.5; stroke-dasharray: 3 5; }
.pv-edge { opacity: .65; pointer-events: none; }
.pv-edge-feed { fill: #ffab78; }
.pv-edge-return { fill: #70c9f5; }
#pv-drag-zone { cursor: ew-resize; touch-action: none; }
@keyframes ls-move-pv { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .pv-oil.pv-flowing { animation: none; } }
.pv-console { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.pv-range-label, .pv-settings label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; color: var(--pv-ink); font-size: 12px; }
.pv-range-label output { color: #325d76; font: 700 16px var(--mono); }
#pv-spool { margin: 12px 0; }
.pv-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.pv-settings input { width: 100%; }
.pv-route { color: var(--pv-ink); font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.pv-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.pv-metrics div { padding: 7px; border-radius: 6px; background: #fff; }
.pv-metrics span { display: block; color: var(--pv-muted); font-size: 10px; }
.pv-metrics strong { display: block; margin-top: 4px; color: #294754; font: 700 clamp(11px, 1.4vw, 16px) var(--mono); }
.pv-characteristic-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pv-characteristic-figure { margin: 0; }
.pv-characteristic-figure figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 6px 2px; font-size: 12px; }
.pv-characteristic-plot { display: block; width: 100%; max-height: 290px; border: 1px solid var(--pv-line); border-radius: 8px; background: #fff; }
.pv-characteristic-plot text { fill: #36515d; font: 13px 'Segoe UI', 'Microsoft YaHei', sans-serif; }
.pv-characteristic-plot path { fill: none; }
.pv-plot-grid { stroke: #e0e9e5; }
.pv-plot-axis { stroke: #6d8288; stroke-width: 1.2; }
.pv-plot-cursor { stroke: #6d8288; stroke-dasharray: 4 4; }
.pv-plot-area { fill: #225d7a; stroke: #225d7a; stroke-width: 3.5; }
.pv-plot-flow { fill: #a34b23; stroke: #a34b23; stroke-width: 2.5; }
path.pv-plot-flow { stroke-dasharray: 5 5; }
.pv-plot-key-area { color: #225d7a; }
.pv-plot-key-flow { color: #a34b23; }
.pv-catalogue img { display: block; max-width: 100%; height: auto; border: 1px solid var(--pv-line); border-radius: 6px; }
.ch03-panel p.pv-boundary { margin: 10px 0 0; font-size: 11px; }
.ch03-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ch03-choices button, #ls-shortage { min-height: 34px; padding: 7px 10px; font-size: 12px; }
.ch03-choices button[aria-pressed="true"] { background: #e1edf2; border-color: #6887a0; color: #143646; }
.ls-grid { display: grid; grid-template-columns: minmax(200px, .75fr) minmax(0, 2fr); gap: clamp(14px, 3vw, 27px); }
.ls-controls { padding: 14px; border: 1px solid var(--pv-line); border-radius: 8px; background: #f7f9f5; }
.ls-controls label { display: flex; justify-content: space-between; gap: 6px; color: var(--pv-ink); font-size: 12px; line-height: 1.5; }
.ls-controls output { text-align: right; font-family: var(--mono); }
.ls-controls input, .ls-controls select { margin: 6px 0 13px; }
.ls-controls fieldset { min-width: 0; margin: 0 0 10px; padding: 9px 8px 0; border: 1px solid var(--pv-line); border-radius: 6px; }
.ls-controls legend { padding: 0 4px; color: var(--pv-ink); font-size: 11px; font-weight: 600; }
.ls-schematic { display: block; width: 100%; border-radius: 8px; background: #122b33; }
.ls-schematic rect { fill: #1f414c; stroke: #6b939e; }
.ls-schematic text { fill: #edf4ed; font: 12px 'Segoe UI', 'Microsoft YaHei', sans-serif; text-anchor: middle; }
.ls-schematic path { fill: none; stroke-linejoin: round; }
.ls-gauge-tap { stroke: #aac3c4; stroke-width: 1.6; }
.ls-gauge-tap--signal { stroke: #e3c479; stroke-dasharray: 4 4; }
.ls-schematic .ls-gauge-label { text-anchor: start; }
.ls-schematic .gincon-dial text { fill: #385565; font-size: 9px; }
.ls-pipe { stroke: #6b8991; stroke-width: 2.5; }
.ls-signal { stroke: #e3c479; stroke-width: 1.5; stroke-dasharray: 4 5; }
.ls-stream { stroke: #f4a574; stroke-width: 4; stroke-dasharray: 5 8; opacity: 0; }
.ls-stream.ls-return { stroke: #69cbbd; }
.ls-stream.moving { opacity: 1; animation: ls-move 1s linear infinite; }
.ls-schematic .ls-supplied rect { stroke: #f4a574; }
.ls-inactive { opacity: .45; }
@keyframes ls-move { to { stroke-dashoffset: -13; } }
@media (prefers-reduced-motion: reduce) { .ls-stream.moving { animation: none; } }
.ls-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.ls-metrics div { min-width: 0; padding: 8px; border: 1px solid var(--pv-line); border-radius: 6px; }
.ls-metrics span { display: block; color: var(--pv-muted); font-size: 10px; }
.ls-metrics strong { color: var(--pv-ink); font: 600 15px var(--mono); }
.ls-table-wrap { overflow-x: auto; }
.ls-table { width: 100%; min-width: 360px; text-align: left; border-collapse: collapse; font-size: 11px; }
.ls-table th, .ls-table td { padding: 6px; border-bottom: 1px solid var(--pv-line); }
.ls-table td { white-space: nowrap; }
#ls-result-note { margin-top: 10px; }
#ls-signal-note { margin: 8px 0 0; }
#ls-result-note[data-saturated="true"] { color: #8b4c26; }
.ch03-theory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.ch03-theory article { padding: 15px; border: 1px solid var(--pv-line); border-radius: 8px; }
.ch03-theory article p:last-child { margin-bottom: 0; }
.ch03-pending { padding: 6px 8px; border-left: 3px solid #6887a0; background: #eef3f4; }
.ls-formula { font-family: var(--mono); }
.ch03-details { margin-top: 16px; padding: 12px; background: #f0f4ef; border-radius: 6px; }
.ch03-details summary { cursor: pointer; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.ch03-references a { color: #285975; text-decoration: underline; }
.crane-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.crane-toolbar label { display: grid; grid-template-columns: auto auto; align-items: center; gap: 5px 12px; font-size: 12px; }
.crane-toolbar label input, .crane-toolbar label select { grid-column: 1 / -1; }
.crane-toolbar button { min-height: 35px; padding: 6px 10px; }
.crane-metrics, .crane-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crane-diagram { display: block; width: min(100%, 800px); margin: 10px auto; border-radius: 8px; background: #e9f0ed; }
.crane-diagram text { fill: #466471; font: 650 12px 'Segoe UI', 'Microsoft YaHei', sans-serif; letter-spacing: .04em; }
.crane-sections { display: grid; gap: 10px; margin: 12px 0; }
.crane-card { padding: 12px; border: 1px solid #bfcfd1; border-radius: 8px; background: #f5f8f5; }
.crane-card[data-cut-off="true"] { border-color: #aa6a42; background: #fcf5ed; }
.crane-card label { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.crane-card meter { width: 100%; }
.crane-card .crane-flow { margin: 4px 0 0; color: #2e5768; font: 650 11px var(--mono); }
@media (max-width: 850px) { .crane-metrics, .crane-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pv-photo-grid, .pv-console, .pv-characteristic-grid, .ls-grid, .ch03-theory { grid-template-columns: minmax(0, 1fr); } }
