.ops-section { scroll-margin-top: 90px; border-top: 1px solid var(--line); }
.ops-section h3 { font-family: Futura, Bahnschrift, "Avenir Next", system-ui, sans-serif; font-size: 1.35rem; line-height: 1.3; margin: 0 0 14px; }
.ops-section p { margin-top: 0; }
.ops-section button, .ops-section input { font: inherit; }
.ops-section button { cursor: pointer; }
.ops-section button:focus-visible, .ops-section summary:focus-visible, .ops-section input:focus-visible, .ops-section a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.ops-kicker { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ops-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ops-map, .ops-detail, .ops-lab { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 30px); }
.ops-route { list-style: none; padding: 0; margin: 0; }
.ops-route li { position: relative; padding-bottom: 20px; }
.ops-route li::after { content: "↓"; position: absolute; bottom: -3px; left: 50%; color: var(--muted); }
.ops-route button, .ops-branches button { width: 100%; text-align: left; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; line-height: 1.4; }
.ops-route button span { color: var(--muted); font: 12px ui-monospace, monospace; margin-right: 10px; }
.ops-route small, .ops-branches small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ops-route button[aria-pressed="true"], .ops-branches button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.ops-route button:hover, .ops-branches button:hover { border-color: var(--accent); }
.ops-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ops-branches button { padding: 12px 10px; }
.ops-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.ops-dot.oil, .ops-fluid-bar .oil { background: #84633b; }
.ops-dot.gas { background: #c3a347; }
.ops-dot.water, .ops-fluid-bar .water { background: #327e9a; }
.ops-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 18px 0 0; }
.ops-detail { border-top: 3px solid var(--accent); }
.ops-detail dl { margin: 24px 0; }
.ops-detail dt { font-family: system-ui, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-top: 18px; }
.ops-detail dd { margin: 4px 0 0; }
.ops-safety { border-left: 3px solid var(--accent); padding: 8px 0 8px 16px; }
.ops-safety strong { font-family: system-ui, sans-serif; font-size: 13px; }
.ops-safety p { margin: 6px 0 0; font-size: 15px; }
.ops-band { background: var(--card); }
.ops-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0; }
.ops-levels article { border-top: 2px solid var(--line); padding-top: 18px; }
.ops-levels p:last-child { font-size: 15px; color: var(--muted); }
.ops-lab { background: var(--bg); }
.ops-lab-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ops-badge { font: 11px ui-monospace, monospace; border: 1px solid var(--line); padding: 8px 12px; border-radius: 20px; white-space: nowrap; }
.ops-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.ops-metrics > div { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.ops-metrics span, .ops-metrics small { display: block; color: var(--muted); font: 12px/1.6 system-ui, sans-serif; }
.ops-metrics strong { display: block; font: 500 clamp(28px, 4vw, 44px)/1.4 ui-monospace, monospace; }
.ops-experiment { max-width: 720px; margin: 30px auto; }
.ops-experiment label { display: flex; justify-content: space-between; gap: 15px; font-family: system-ui, sans-serif; }
.ops-experiment output { font-weight: 700; }
.ops-experiment input { width: 100%; min-height: 44px; accent-color: var(--accent); cursor: pointer; }
#water-cut-help { font-size: 13px; color: var(--muted); }
.ops-fluid-bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; }
.ops-fluid-bar span { width: 50%; }
.ops-bar-labels { display: flex; justify-content: space-between; font: 12px system-ui, sans-serif; margin-top: 8px; }
.ops-formula { font: 13px/1.7 ui-monospace, monospace; margin-top: 20px !important; }
.ops-question { border: 0; border-top: 1px solid var(--line); padding: 24px 0 0; margin: 30px 0 0; min-width: 0; }
.ops-question legend { padding: 0 10px 0 0; font-family: system-ui, sans-serif; font-weight: 600; }
.ops-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ops-answers button { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: var(--card); color: var(--ink); text-align: left; font-size: 15px; }
.ops-answers button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 3px var(--accent); }
.ops-feedback { margin: 18px 0 0; padding: 16px; border-left: 3px solid var(--accent); background: var(--card); }
.ops-investigation { margin-top: 24px; }
.ops-investigation summary { cursor: pointer; font-family: system-ui, sans-serif; padding: 10px 0; }
.ops-investigation li { padding: 0 0 12px 6px; }
.ops-library { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 16px; }
.ops-library details { border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.ops-library summary { padding: 22px; cursor: pointer; font: 600 17px/1.5 system-ui, sans-serif; }
.ops-library summary span { display: block; font: 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 9px; }
.ops-library details[open] { border-color: var(--accent); }
.ops-library details > div { padding: 0 22px 12px; font-size: 15px; }
.ops-reading { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; }
.ops-reading a { color: var(--ink); text-underline-offset: 3px; }
.ops-reading li { margin-bottom: 8px; }
@media (max-width: 760px) {
  .ops-layout { grid-template-columns: 1fr; }
  .ops-levels, .ops-library { grid-template-columns: 1fr; gap: 14px; }
  .ops-answers { grid-template-columns: 1fr; }
  .ops-lab-head { flex-direction: column; margin-bottom: 18px; }
  .ops-metrics { gap: 6px; }
  .ops-metrics > div { padding: 12px 8px; }
  .ops-metrics strong { font-size: 24px; }
  .ops-metrics small { font-size: 11px; }
  nav.site .wrap { flex-wrap: wrap; gap: 6px 12px; font-size: 10.5px; letter-spacing: .08em; }
  nav.site .brand { flex-basis: 100%; }
  .ops-section { scroll-margin-top: 110px; }
}
