/* Ronda de inspeccion (prefijo ins). Colores fijos legibles. */
.ins { --ins-acc: #d98a0b; --ins-line: var(--line, #cfdae6); --ins-muted: #4a5d70; background: var(--card, #fff); color: #0b1f33; border: 1px solid var(--ins-line); border-radius: 8px; padding: 18px; margin: 26px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ins *, .ins *::before, .ins *::after { box-sizing: border-box; }
.ins-head { display: flex; flex-direction: column; gap: 2px; }
.ins-head strong { font-size: 1.15rem; }
.ins-head span, .ins-note { color: var(--ins-muted); font-size: .9rem; line-height: 1.5; margin: 0; }
.ins-live { font-size: .92rem; line-height: 1.5; background: #fff4de; border-left: 4px solid var(--ins-acc); padding: 8px 12px; border-radius: 4px; min-height: 2.6em; color: #0b1f33; }
.ins h4, .ins h5 { margin: 6px 0 2px; color: #0b1f33; }
.ins button { font: inherit; cursor: pointer; }
.ins-btns, .ins-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.ins-btn, .ins-tool { font-size: .9rem; font-weight: 600; padding: 8px 12px; min-height: 42px; border-radius: 4px; border: 1px solid #0b1f33; background: #0b1f33; color: #fff; }
.ins-btn[aria-pressed="true"] { background: #d98a0b; border-color: #d98a0b; color: #0b1f33; }
.ins-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ins-tool { background: #f3f6f9; color: #0b1f33; border-color: var(--ins-line); }
.ins-tool[aria-pressed="true"] { background: #0b1f33; color: #fff; border-color: #0b1f33; }
.ins button:focus-visible, .ins select:focus-visible, .ins input:focus-visible, .ins textarea:focus-visible, .ins-hs:focus-visible { outline: 3px solid var(--ins-acc); outline-offset: 2px; }
.ins-brief { background: #eef2f6; border-radius: 6px; padding: 10px 14px; color: #0b1f33; font-size: .93rem; line-height: 1.55; }
.ins-brief:empty { display: none; }
.ins-brief p { margin: 4px 0; }
.ins-chk { display: flex; flex-direction: column; gap: 4px; }
.ins-cl { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; line-height: 1.45; color: #0b1f33; }
.ins-cl input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.ins-setup[hidden], .ins-run[hidden], .ins-end[hidden] { display: none; }
.ins-setup, .ins-run, .ins-end { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ins-setup[hidden], .ins-run[hidden], .ins-end[hidden] { display: none; }
.ins-irset { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #f3f6f9; border: 1px solid var(--ins-line); border-radius: 6px; padding: 8px 12px; font-size: .88rem; color: #0b1f33; }
.ins-irset input[type=range] { width: 160px; max-width: 100%; }
.ins-irset output { font-weight: 700; min-width: 3em; }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
@media (max-width: 860px) { .ins-grid { grid-template-columns: minmax(0, 1fr); } }
.ins-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ins-svgbox { min-width: 0; }
.ins-svg { display: block; width: 100%; height: auto; border: 1px solid #e1e8ef; border-radius: 4px; background: #f4f7fa; }
.ins-lb { font-family: Helvetica, Arial, sans-serif; font-size: 13px; fill: #4a5d70; }
.ins-hs { cursor: pointer; }
.ins-hs circle { fill: #fff; stroke: #0b1f33; stroke-width: 2.5; }
.ins-hn { font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; fill: #0b1f33; pointer-events: none; }
.ins-hs.seen circle { fill: #cfe3f7; }
.ins-hs.rec-alto circle { fill: #f4b8b1; stroke: #b42318; }
.ins-hs.rec-medio circle { fill: #ffd98a; stroke: #b7791f; }
.ins-hs.rec-bajo circle { fill: #b9e4cb; stroke: #1a7f4b; }
.ins-hs.rec-ok circle { fill: #dfe6ee; stroke: #4a5d70; }
.ins-hs.sel circle { stroke-width: 5; stroke: #d98a0b; }
.ins-prog { margin: 0; font-size: .88rem; font-weight: 600; color: #0b1f33; }
.ins-info { border: 1px solid var(--ins-line); border-radius: 6px; padding: 10px 12px; min-width: 0; color: #0b1f33; }
.ins-log { margin: 6px 0; padding-left: 18px; font-size: .9rem; line-height: 1.5; }
.ins-log li.warn { color: #b42318; font-weight: 600; }
.ins-form { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--ins-line); padding-top: 6px; }
.ins-fl { display: flex; flex-direction: column; gap: 2px; font-size: .86rem; font-weight: 600; color: #0b1f33; }
.ins select, .ins textarea { width: 100%; min-width: 0; font: inherit; font-size: .9rem; padding: 7px 8px; border: 1px solid var(--ins-line); border-radius: 4px; background: #fff; color: #0b1f33; min-height: 40px; }
.ins-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.ins-kpi { background: #eef2f6; border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; color: #0b1f33; }
.ins-kpi span { font-size: .8rem; color: var(--ins-muted); }
.ins-kpi strong { font-size: 1.2rem; }
.ins-card { border: 1px solid var(--ins-line); border-left: 5px solid #4a5d70; border-radius: 4px; padding: 8px 12px; color: #0b1f33; background: #fff; }
.ins-card p { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; }
.ins-card.ok { border-left-color: #1a7f4b; }
.ins-card.warn { border-left-color: #b7791f; }
.ins-card.bad { border-left-color: #b42318; }
.ins-twrap { overflow-x: auto; max-width: 100%; }
.ins-tb { border-collapse: collapse; font-size: .85rem; min-width: 640px; color: #0b1f33; }
.ins-tb th, .ins-tb td { border: 1px solid var(--ins-line); padding: 5px 8px; text-align: left; vertical-align: top; }
.ins-tb th { background: #eef2f6; }
@media (prefers-reduced-motion: reduce) { .ins * { transition: none !important; animation: none !important; } }
