/* Laboratorio de lubricación centralizada (prefijo lc). Paleta de la serie: ámbar + azul + azul marino. */
.lc { --lc-oil: #d98a0b; --lc-oil-soft: #fff4de; --lc-blue: #1f5fa8; --lc-muted: var(--muted, #4a5d70); --lc-line: var(--line, #cfdae6);
  background: var(--card, #ffffff); color: #0b1f33; border: 1px solid var(--lc-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; }
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc-head { display: flex; flex-direction: column; gap: 2px; }
.lc-head strong { font-size: 1.15rem; }
.lc-head span { color: var(--lc-muted); font-size: .92rem; line-height: 1.5; }
.lc button { font: inherit; cursor: pointer; }
.lc-tabs, .lc-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-tab, .lc-pre { font-size: .88rem; font-weight: 600; padding: 7px 12px; min-height: 40px; border-radius: 4px; border: 1px solid var(--lc-line); background: #f3f6f9; color: #0b1f33; }
.lc-tab[aria-pressed="true"] { background: #0b1f33; border-color: #0b1f33; color: #fff; }
.lc-pre[aria-pressed="true"] { background: var(--lc-oil-soft); border-color: var(--lc-oil); }
.lc button:focus-visible, .lc select:focus-visible, .lc input:focus-visible { outline: 3px solid var(--lc-oil); outline-offset: 2px; }
.lc-panel[hidden] { display: none; }
.lc-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lc-svg { display: block; width: 100%; height: auto; max-width: 100%; background: #f8fafc; border: 1px solid #e1e8ef; border-radius: 4px; }
.lc-svg text { font-family: Helvetica, Arial, sans-serif; fill: #0b1f33; font-size: 14px; }
.lc-svg text.s { font-size: 13px; fill: #4a5d70; }
.lc-svg text.b { font-weight: 700; }
.lc-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lc fieldset { border: 1px solid var(--lc-line); border-radius: 6px; margin: 0; padding: 6px 10px 8px; min-width: 0; }
.lc legend { font-size: .85rem; font-weight: 700; padding: 0 6px; }
.lc-row { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; min-width: 0; }
.lc-row label { font-size: .86rem; font-weight: 600; }
.lc-in { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lc-in input[type=range] { flex: 1 1 auto; min-width: 0; height: 30px; accent-color: var(--lc-oil); }
.lc-in output { flex: 0 0 auto; min-width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 600; }
.lc select { font: inherit; font-size: .9rem; padding: 7px 8px; border: 1px solid var(--lc-line); border-radius: 4px; background: #fff; color: #0b1f33; max-width: 100%; min-width: 0; width: 100%; }
.lc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lc-card { border: 1px solid var(--lc-line); border-left: 4px solid var(--lc-blue); border-radius: 4px; padding: 8px 10px; background: #fff; min-width: 0; }
.lc-card small { display: block; font-size: .74rem; color: var(--lc-muted); line-height: 1.3; }
.lc-card b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lc-card.ok { border-left-color: #1a7f4b; }
.lc-card.warn { border-left-color: var(--lc-oil); }
.lc-card.bad { border-left-color: #b42318; }
.lc-msg { margin: 0; padding: 10px 12px; border-left: 4px solid var(--lc-oil); background: var(--lc-oil-soft); border-radius: 4px; font-size: .92rem; line-height: 1.55; min-height: 5.6em; }
.lc-msg.bad { border-left-color: #b42318; background: #fdecec; }
.lc-msg.ok { border-left-color: #1a7f4b; background: #e8f6ee; }
.lc-note { font-size: .8rem; color: var(--lc-muted); margin: 0; line-height: 1.5; }
.lc-btn { font-size: .86rem; font-weight: 600; padding: 7px 12px; min-height: 40px; border-radius: 4px; border: 1px solid #0b1f33; background: #0b1f33; color: #fff; align-self: flex-start; }
.lc-btn[aria-pressed="true"] { background: var(--lc-oil); border-color: var(--lc-oil); color: #0b1f33; }
.lc-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (min-width: 760px) { .lc-body { flex-direction: row; align-items: flex-start; } .lc-col { flex: 1 1 0; } .lc-col.res { flex: 1.1 1 0; } }
@media (prefers-color-scheme: dark) { .lc { color-scheme: light; } }
@media (prefers-reduced-motion: reduce) { .lc * { transition: none !important; animation: none !important; } }
.lc-steps { display: flex; flex-direction: column; gap: 6px; }
.lc-step { font-size: .88rem; font-weight: 600; text-align: left; padding: 8px 12px; min-height: 44px; border-radius: 4px; border: 1px solid var(--lc-line); background: #f3f6f9; color: #0b1f33; }
.lc-step[aria-pressed="true"] { background: #e8f6ee; border-color: #1a7f4b; }
.lc-btn.alt { background: #fff; color: #0b1f33; }
.lc-btn.alt[aria-pressed="true"] { background: var(--lc-oil); }
.lc-svg text.w { fill: #fff; }
.lc-svg text.dk { fill: #0b1f33; }
.lc-svg text.s { font-size: 16px; }
.lc-svg text { font-size: 17px; }
@media (min-width: 760px) { .lc-steps { flex-direction: row; flex-wrap: wrap; } .lc-step { flex: 1 1 150px; } }
.lc-chk { flex-direction: row; align-items: center; gap: 8px; }
.lc-chk input { width: 22px; height: 22px; accent-color: var(--lc-oil); flex: 0 0 auto; }
.lc-chk label { font-size: .86rem; font-weight: 600; }
.lc-pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lc-pt { font-size: .84rem; font-weight: 600; text-align: left; padding: 6px 8px; min-height: 44px; border-radius: 4px; border: 1px solid var(--lc-line); background: #f3f6f9; color: #0b1f33; display: flex; align-items: center; gap: 6px; min-width: 0; }
.lc-pt .n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #0b1f33; color: #fff; font-size: .8rem; }
.lc-pt[aria-pressed="true"] { background: #e8f6ee; border-color: #1a7f4b; }
.lc-log { display: flex; flex-direction: column; gap: 4px; }
.lc-logrow { font-size: .84rem; padding: 4px 8px; border-left: 4px solid #1a7f4b; background: #f3f6f9; border-radius: 3px; }
.lc-logrow.bad { border-left-color: #b42318; background: #fdecec; font-weight: 600; }
