/* Panel compartido QI: valores del panel de Pedidos (installation-orders.html).
 * Prefijo qcols para aislarlo del resto de tableros. El shell conserva su navegación. */
.qcols-section { margin-top:16px; padding-top:12px; border-top:1px solid #555a73; margin-bottom:24px; color:#cbd5e1; }
.qcols-section[hidden] { display:none !important; }
@media (min-width:901px) {
  html[data-snv-collapsed="1"] .qcols-section { display:none !important; }
}
@media (min-width:901px) and (max-width:1200px) {
  .snv-aside:not(:hover):not(:focus-within):not(.qcols-opening) .qcols-section { display:none !important; }
}
.qcols-section .qcols-title {
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.8px;
  color:#e2e8f0; margin-bottom:12px; padding:0 8px;
}
.qcols-section .qcols-views {
  display:block; width:100%; text-align:left; border:0; border-radius:0;
  background:transparent; line-height:normal; cursor:pointer;
}
.qcols-section summary { display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; }
.qcols-section summary::-webkit-details-marker { display:none; }
.qcols-collapse { font-size:10px; transition:transform 120ms ease; }
.qcols-section details:not([open]) .qcols-collapse { transform:rotate(-90deg); }
.qcols-toolbar {
  display:flex; flex-direction:column; gap:6px; padding:4px 2px 8px;
  margin-bottom:4px; border-bottom:1px solid rgba(255,255,255,.06);
}
.qcols-toolbar-row { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.qcols-counter {
  font-size:10px; font-weight:600; color:#c5c7d0; background:rgba(255,255,255,.06);
  padding:2px 6px; border-radius:10px; font-variant-numeric:tabular-nums; letter-spacing:.02em;
}
.qcols-toolbar-btns { display:inline-flex; gap:4px; flex-wrap:wrap; }
.qcols-btn {
  font-size:10px; font-weight:600; padding:3px 8px; border-radius:4px;
  border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.04);
  color:#cbd5e1; cursor:pointer; line-height:1.2;
  transition:background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.qcols-btn:hover { background:rgba(96,165,250,.18); border-color:rgba(96,165,250,.45); color:#fff; }
.qcols-btn:active { transform:translateY(1px); }
.qcols-btn-icon { padding:3px 6px; font-size:12px; line-height:1; }
/* Pedidos recibe el fondo blanco de lightning.css. Aquí se fija el aspecto pedido
 * con especificidad suficiente en ambos temas, y texto oscuro sobre ese blanco. */
html .qcols-section .qcols-search {
  box-sizing:border-box; width:100%; min-width:0; font-size:11px; padding:4px 8px;
  border-radius:4px; border:1px solid rgba(255,255,255,.10) !important;
  background:#fff !important; color:rgb(30,45,75) !important;
}
.qcols-section .qcols-search::placeholder { color:#64748b; opacity:1; }
html .qcols-section .qcols-search:focus { border-color:rgba(96,165,250,.55) !important; }
.qcols-list { max-height:50vh; overflow-y:auto; padding-right:4px; }
.qcols-list::-webkit-scrollbar { width:5px; }
.qcols-list::-webkit-scrollbar-track { background:transparent; }
.qcols-list::-webkit-scrollbar-thumb { background:#475569; border-radius:4px; }
.qcols-list::-webkit-scrollbar-thumb:hover { background:#64748b; }
.qcols-row {
  display:flex; align-items:center; gap:10px; padding:6px 12px;
  color:#fff; font-size:13px; font-weight:500; border-radius:6px; letter-spacing:.2px;
  transition:background 100ms ease, outline 100ms ease;
}
.qcols-row:hover { background:#292f4c; }
.qcols-row label {
  display:flex; align-items:center; gap:10px; flex:1; min-width:0;
  color:#fff !important; font-size:13px; font-weight:500; margin:0; cursor:pointer;
}
.qcols-row input[type="checkbox"] { width:16px; height:16px; accent-color:#0073ea; cursor:pointer; flex-shrink:0; }
.qcols-section .qcols-handle {
  display:inline-block; width:12px; margin-right:4px; padding:0; border:0; background:transparent;
  color:#c5c7d0; font-size:12px; line-height:1; cursor:grab; user-select:none; opacity:.75;
  flex-shrink:0; transition:opacity 120ms ease, color 120ms ease;
}
.qcols-row:hover .qcols-handle { opacity:1; color:#fff; }
.qcols-section .qcols-lock { cursor:default; }
.qcols-handle:active { cursor:grabbing; }
/* Flechas de Pedidos: .tsv-move / .tsv-mv en tablero-standard.global.js. */
.qcols-move { display:inline-flex; flex-direction:column; gap:0; margin-left:auto; flex-shrink:0; }
.qcols-arrow { border:none; background:transparent; cursor:pointer; font-size:8px; line-height:8px; padding:1px 3px; color:inherit; opacity:.45; border-radius:3px; font-family:inherit; }
.qcols-arrow:hover { opacity:1; background:rgba(127,127,127,.22); }
.qcols-arrow[disabled] { opacity:.12; cursor:default; background:transparent; }
.qcols-section :focus-visible { outline:2px solid #ffd166; outline-offset:2px; }
