/* Antes iba incrustado en templates/_listas_panel_css.html. */
  /* Panel de listas (izquierda) */
  .lpanel{background:#fff;border:1px solid #f1f5f9;border-radius:1rem;box-shadow:0 2px 12px -4px rgba(15,23,42,.06);overflow:hidden}
  .lsearch{display:flex;align-items:center;gap:.5rem;padding:0 .75rem;min-height:2.5rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;transition:border-color .15s,box-shadow .15s}
  .lsearch:focus-within{border-color:#37a9fb;box-shadow:0 0 0 3px rgba(55,169,251,.15)}
  .lsearch input{flex:1;min-width:0;border:0;background:transparent;font-size:.85rem;font-weight:500;color:#0f172a;outline:none;padding:.5rem 0}
  .lsearch input::placeholder{color:#64748b}
  .lsearch input::-webkit-search-cancel-button{cursor:pointer}
  .lsearch .cnt{font-size:.7rem;font-weight:700;color:#64748b;white-space:nowrap;font-variant-numeric:tabular-nums}
  .lnew{flex-shrink:0;width:2.5rem;height:2.5rem;border-radius:.75rem;display:inline-flex;align-items:center;justify-content:center;background:#0072cb;color:#fff;box-shadow:0 2px 6px -2px rgba(15,23,42,.22);transition:background-color .15s,transform .1s}
  .lnew:hover{background:#005baa}
  .lnew:active{transform:scale(.95)}
  .lnew:disabled{background:#f1f5f9;color:#cbd5e1;box-shadow:none;cursor:not-allowed}
  .lsort{display:inline-flex;background:#f1f5f9;border-radius:.6rem;padding:2px;gap:2px}
  .lsort button{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:.45rem;font-size:.7rem;font-weight:700;color:#475569;transition:background-color .15s,color .15s}
  .lsort button:hover{color:#334155}
  .lsort button[aria-pressed=true]{background:#fff;color:#0f172a;box-shadow:0 1px 3px rgba(15,23,42,.1)}
  #lists-tabs, .lists-tabs{max-height:calc(100dvh - 300px);min-height:6rem;overflow-y:auto;overscroll-behavior:contain;padding:.4rem}
  .litem{width:100%;display:flex;align-items:center;gap:.6rem;padding:.55rem .6rem;border-radius:.7rem;text-align:left;font-size:.85rem;font-weight:600;color:#475569;transition:background-color .12s,color .12s}
  .litem:hover{background:#f8fafc;color:#0f172a}
  .litem.on{color:#0f172a}
  .litem .dot{width:.65rem;height:.65rem;border-radius:999px;flex-shrink:0}
  .litem .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .litem .n{font-size:.7rem;font-weight:700;color:#475569;font-variant-numeric:tabular-nums}
  .litem .gr{color:#cbd5e1;opacity:0;cursor:grab;flex-shrink:0;transition:opacity .15s}
  .litem:hover .gr{opacity:1}
  #lists-tabs.no-drag .litem .gr, .lists-tabs.no-drag .litem .gr{display:none}
  #lists-tabs .litem[hidden], .lists-tabs .litem[hidden]{display:none}
  .tab-ghost{opacity:.35;outline:2px dashed #0072cb;outline-offset:-2px}
  .tab-drag{box-shadow:0 12px 28px -8px rgba(15,23,42,.32);background:#fff}
  @media (max-width:1023px){ #lists-tabs, .lists-tabs{max-height:40vh} }
  html.dark .lpanel{background:#171d29;border-color:#2c3340}
  html.dark .lsearch{background:#131925;border-color:#2c3340}
  html.dark .lsearch input{color:#c4cbd6}
  html.dark .lnew:disabled{background:#1e2533;color:#4b5567}
  html.dark .lnew{box-shadow:none}
  html.dark .lsort{background:#131925}
  /* Texto terciario en oscuro (≥ 4,5:1; STYLEGUIDE §3 bis) */
  html.dark .lsort button, html.dark .litem .n, html.dark .lsearch .cnt{color:#8590a1}
  html.dark .lsort button[aria-pressed=true]{background:#232b3a;color:#c4cbd6}
  html.dark .litem{color:#b2bac8}
  html.dark .litem:hover{background:#1c2331;color:#c4cbd6}
  html.dark .litem.on{color:#c4cbd6}
  /* Lista compartida con la empresa: icono de equipo junto al nombre */
  .lshared-ico{display:inline-flex;align-items:center;justify-content:center;width:1.15rem;height:1.15rem;border-radius:.35rem;background:#fef3c7;color:#b45309;flex-shrink:0}
  .lshared-ico svg{width:.75rem;height:.75rem}
  html.dark .lshared-ico{background:rgba(245,158,11,.16);color:#fbbf24}

/* ── oscuro: botones azules (generado) ── */
html.dark .lnew { background:#006bc0; color:#eef2f7; }
/* ── fin oscuro: botones azules ── */
