/* Laboratorio de control de velocidad neumático (prefijo vc) */
.vc { --vc-bg: var(--card, #ffffff); --vc-ink: var(--navy, #0b1f33); --vc-muted: var(--muted, #4a5d70); --vc-line: var(--line, #cfdae6); --vc-acc: var(--accent, #e0731a); --vc-soft: #f1f5f9;
  background: var(--vc-bg); color: var(--vc-ink); border: 1px solid var(--vc-line); border-radius: 8px; padding: 18px; margin: 26px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; font-size: 16px; line-height: 1.45; }
.vc *, .vc *::before, .vc *::after { box-sizing: border-box; }
.vc-head { display: flex; flex-direction: column; gap: 2px; }
.vc-head strong { font-size: 1.15rem; color: var(--vc-ink); }
.vc-head span { color: var(--vc-muted); font-size: .92rem; line-height: 1.5; }
.vc-presets, .vc-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vc-lbl { font-size: .8rem; font-weight: 700; color: var(--vc-muted); text-transform: uppercase; letter-spacing: .04em; margin-right: 2px; }
.vc button { font: inherit; cursor: pointer; }
.vc-pre, .vc-tab, .vc-el { font-size: .86rem; font-weight: 600; padding: 7px 11px; min-height: 38px; border-radius: 4px; border: 1px solid var(--vc-line); background: #f3f6f9; color: var(--vc-ink); }
.vc-tab { border-color: #0b1f33; background: #fff; }
.vc-tab[aria-pressed="true"] { background: #0b1f33; color: #fff; }
.vc-pre[aria-pressed="true"] { background: #fff1e4; border-color: var(--vc-acc); }
.vc-el { min-height: 34px; font-size: .8rem; padding: 5px 9px; }
.vc-el[aria-pressed="true"] { background: var(--vc-acc); border-color: var(--vc-acc); color: #fff; }
.vc-desc { margin: 0; padding: 10px 12px; border-left: 4px solid var(--vc-acc); background: #fff7ef; border-radius: 4px; font-size: .92rem; line-height: 1.55; color: #0b1f33; min-height: 3.2em; }
.vc-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 16px; align-items: start; }
.vc-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 860px) {
  .vc-body { display: flex; flex-direction: column; align-items: stretch; }
  .vc-colL, .vc-colR { display: contents; }
  .vc-o1 { order: 1; } .vc-o2 { order: 2; } .vc-o3 { order: 3; } .vc-o4 { order: 4; } .vc-o5 { order: 5; } .vc-o6 { order: 6; } .vc-o7 { order: 7; }
}
.vc-card { border: 1px solid var(--vc-line); border-radius: 6px; padding: 10px 12px 12px; background: #fff; color: #0b1f33; min-width: 0; }
.vc-card h4 { margin: 0 0 8px; font-size: .95rem; color: #0b1f33; }
.vc-svg { display: block; width: 100%; height: auto; max-width: 100%; background: #f8fafc; border: 1px solid #e1e8ef; border-radius: 4px; }
.vc-chartsvg { background: #fff; }
.vc-hl { filter: drop-shadow(0 0 3px #e0731a); }
.vc-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vc-b { font-weight: 600; font-size: .9rem; padding: 9px 14px; min-height: 40px; border-radius: 4px; border: 1px solid #0b1f33; background: #0b1f33; color: #fff; }
.vc-b.ghost { background: #fff; color: #0b1f33; }
.vc-sel select, .vc select { font: inherit; font-size: .9rem; padding: 7px 8px; border: 1px solid var(--vc-line); border-radius: 4px; background: #fff; color: #0b1f33; max-width: 100%; min-width: 0; }
.vc button:focus-visible, .vc select:focus-visible, .vc input:focus-visible, .vc summary:focus-visible { outline: 3px solid var(--vc-acc); outline-offset: 2px; }
.vc-elbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.vc-cutinfo { margin: 8px 0 0; font-size: .86rem; line-height: 1.5; color: #0b1f33; }
.vc-cutinfo span { color: #334a5e; }
.vc-chartwrap { width: 100%; min-width: 0; overflow: hidden; }
.vc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: #4a5d70; margin-top: 6px; }
.vc-legend i { display: inline-block; width: 18px; height: 4px; margin-right: 5px; vertical-align: middle; border-radius: 2px; }
.vc-legend i.dash { background: repeating-linear-gradient(90deg, #0b1f33 0 5px, transparent 5px 8px); height: 2px; }
.vc-legend i.ghostl { background: repeating-linear-gradient(90deg, #94a3b8 0 4px, transparent 4px 7px); height: 2px; }
.vc-read { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.vc-cell { border: 1px solid var(--vc-line); border-radius: 6px; padding: 7px 9px; background: var(--vc-soft); color: #0b1f33; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vc-cell span { font-size: .74rem; color: #4a5d70; }
.vc-cell b { font-size: 1.05rem; font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.vc-cell i { font-style: normal; font-size: .72rem; color: #4a5d70; overflow-wrap: anywhere; }
.vc-cell.warn { background: #fff6e0; border-color: #e3c36a; }
.vc-cell.bad { background: #fdecec; border-color: #e1a1a1; }
.vc fieldset { border: 1px solid var(--vc-line); border-radius: 6px; margin: 0 0 10px; padding: 6px 10px 8px; min-width: 0; }
.vc legend { font-size: .85rem; font-weight: 700; color: #0b1f33; padding: 0 6px; }
.vc-row { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; min-width: 0; }
.vc-row label { font-size: .86rem; font-weight: 600; color: #0b1f33; }
.vc-row.off { opacity: .45; }
.vc-in { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vc-in input[type=range] { flex: 1 1 auto; min-width: 0; height: 30px; accent-color: var(--vc-acc); }
.vc-in output { flex: 0 0 auto; min-width: 7.5em; max-width: 14em; text-align: right; font-variant-numeric: tabular-nums; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; font-weight: 600; color: #0b1f33; }
.vc-note { display: block; font-size: .78rem; color: #4a5d70; line-height: 1.45; margin: 4px 0 0; }
.vc details { margin-top: 6px; border: 1px solid var(--vc-line); border-radius: 6px; padding: 4px 10px; }
.vc summary { cursor: pointer; font-weight: 600; font-size: .86rem; padding: 6px 0; color: #0b1f33; }
.vc-msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vc-msgs li { padding: 8px 10px; border-radius: 4px; font-size: .86rem; line-height: 1.5; background: #f1f5f9; color: #0b1f33; border-left: 4px solid #7a8fa3; }
.vc-msgs li.vc-err { background: #fdecec; color: #721c24; border-left-color: #b42318; }
.vc-msgs li.vc-warn { background: #fff6e0; color: #6b4b00; border-left-color: #b7791f; }
.vc-msgs li.vc-ok { background: #e7f6ec; color: #155724; border-left-color: #1a7f4b; }
@media (max-width: 480px) { .vc { padding: 12px; } .vc-in output { min-width: 6em; } }
@media (prefers-reduced-motion: reduce) { .vc * { transition: none !important; animation: none !important; } }

.vc-gauges { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.vc-g { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 5.2em; gap: 8px; align-items: center; font-size: .84rem; color: #0b1f33; }
.vc-gl { font-weight: 600; }
.vc-g b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .84rem; text-align: right; }
.vc-gbar { position: relative; height: 14px; border-radius: 4px; background: #fff; border: 1px solid #94a3b8; overflow: visible; }
.vc-gfill { display: block; height: 100%; width: 0; border-radius: 3px; background: #1d4ed8; }
.vc-gsup { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed #0b1f33; text-decoration: none; }
@media (max-width: 480px) { .vc-g { grid-template-columns: minmax(0, 1fr) 5em; } .vc-gbar { grid-column: 1 / -1; order: 3; } }
