/* ── 10. INSTRUCCIONES — ACORDEONES ─────────────────────────────────────── */
.instr-accordion {
  border: 1px solid var(--dec-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: var(--dec-panel-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.instr-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
  transition: background .15s;
}
.instr-summary::-webkit-details-marker { display: none; }
.instr-summary:hover { background: var(--dec-dark-bg); }
.instr-accordion[open] > .instr-summary { border-bottom: 1px solid var(--dec-border); }
.instr-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--dec-blue-primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.instr-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--dec-text-muted);
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.instr-chevron {
  flex-shrink: 0;
  color: var(--dec-text-muted);
  transition: transform .2s;
}
.instr-accordion[open] .instr-chevron { transform: rotate(180deg); }
.instr-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.instr-body p { font-size: 0.88rem; line-height: 1.7; color: var(--dec-text-main); }
.instr-directed {
  font-size: 0.78rem !important;
  color: var(--dec-text-muted) !important;
  font-style: italic;
  margin-bottom: 0.25rem;
}
.instr-h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dec-blue-primary);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}
.instr-ol {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.instr-ol li { font-size: 0.88rem; line-height: 1.6; }
.instr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  border: 1px solid var(--dec-border);
  border-radius: 8px;
  overflow: hidden;
}
.instr-table th {
  background: var(--dec-dark-bg);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dec-text-muted);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.instr-table td {
  padding: 0.45rem 0.75rem;
  border-top: 1px solid var(--dec-border);
  vertical-align: top;
  line-height: 1.5;
}
.instr-table tr:first-child td { border-top: none; }
.instr-table td:first-child { font-weight: 600; color: var(--dec-text-muted); white-space: nowrap; }
.instr-warn { color: var(--dec-orange-safety); font-weight: 600; }
.instr-note {
  background: var(--dec-blue-glow);
  border-left: 3px solid var(--dec-blue-primary);
  border-radius: 0 6px 6px 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dec-text-main);
}
kbd {
  display: inline-block;
  background: var(--dec-dark-bg);
  border: 1px solid var(--dec-border);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--dec-dark-bg);
  border: 1px solid var(--dec-border);
  border-radius: 4px;
  padding: 1px 5px;
  word-break: break-all;
}
.instr-pinout {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--dec-border);
  display: block;
  cursor: zoom-in;
}
.instr-ul {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.instr-ul li { font-size: 0.88rem; line-height: 1.6; }
.instr-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--dec-dark-bg);
  border: 1px solid var(--dec-border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--dec-text-main);
}
