/* Pestañas del gráfico (pestanas.js): vidrio oscuro, acento azul NLT. */
.pt-bar { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 12px 0; min-height: 40px; background: linear-gradient(180deg, rgba(13, 16, 22, .7), rgba(8, 10, 15, .35)); border-bottom: 1px solid var(--nlt-hair, rgba(255, 255, 255, .06)); flex: none; }
.pt-cinta { display: flex; align-items: flex-end; gap: 4px; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-top: 2px; }
.pt-cinta::-webkit-scrollbar { display: none; }
.pt-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 33px; padding: 0 10px 0 11px; border-radius: 10px 10px 0 0; color: #9ca3af; font-size: 12.5px; cursor: pointer; white-space: nowrap; border: 1px solid transparent; border-bottom: 0; user-select: none; transition: background .15s, color .15s; flex: none; }
.pt-tab i.ph { font-size: 14px; opacity: .8; }
.pt-tab b { color: #e5e7eb; font-weight: 600; letter-spacing: .01em; }
.pt-tab em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #aab2c0; }
.pt-tab:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.pt-tab.on { background: rgba(var(--ch-accent, 67, 120, 255), .13); border-color: rgba(var(--ch-accent, 67, 120, 255), .35); color: #fff; box-shadow: 0 -8px 22px -12px rgba(var(--ch-accent, 67, 120, 255), .65) inset; }
.pt-tab.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #4378ff, #8fb1ff); box-shadow: 0 0 10px rgba(67, 120, 255, .8); }
.pt-tab.on i.ph { color: #8fb1ff; opacity: 1; }
.pt-tab.arr { opacity: .45; }
.pt-x { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; color: #7b8494; font-size: 11px; margin-left: 1px; cursor: pointer; opacity: 0; transition: opacity .12s; }
.pt-tab:hover .pt-x, .pt-tab.on .pt-x { opacity: 1; }
.pt-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pt-mas { width: 30px; height: 30px; margin-bottom: 3px; border-radius: 9px; display: grid; place-items: center; color: #b6bfce; cursor: pointer; flex: none; transition: background .15s, color .15s; }
.pt-mas:hover:not(:disabled) { background: rgba(67, 120, 255, .18); color: #fff; }
.pt-mas:disabled { opacity: .35; cursor: not-allowed; }
.pt-pop { position: absolute; z-index: 30; top: 40px; left: 12px; width: min(320px, calc(100vw - 24px)); background: rgba(15, 18, 26, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); padding: 8px; opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .14s; }
.pt-pop.on { opacity: 1; transform: none; }
.pt-pop[hidden] { display: none; }
.pt-dup { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; color: #dbe6ff; background: rgba(67, 120, 255, .12); font-size: 12.5px; font-weight: 600; cursor: pointer; margin-bottom: 8px; }
.pt-dup:hover { background: rgba(67, 120, 255, .22); }
.pt-pop input { width: 100%; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; padding: 9px 11px; color: #fff; font-size: 16px; margin-bottom: 6px; }
.pt-pop input:focus { outline: none; border-color: #4378ff; }
.pt-lista { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.pt-lista button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; color: #cbd2de; font-size: 12.5px; cursor: pointer; text-align: left; }
.pt-lista button b { color: #fff; font-weight: 600; }
.pt-lista button em { margin-left: auto; font-style: normal; font-size: 10.5px; color: #6b7280; }
.pt-lista button:hover, .pt-lista button.sel { background: rgba(255, 255, 255, .07); }
.pt-lista p { padding: 12px; color: #6b7280; font-size: 12px; text-align: center; }
@media (max-width: 700px) {
    .pt-bar { padding: 4px 8px 0; min-height: 36px; }
    .pt-tab { height: 30px; padding: 0 8px; gap: 5px; font-size: 12px; }
    .pt-tab em { display: none; }
    .pt-tab.on em { display: inline; }
    .pt-x { opacity: 1; }
    .pt-pop { left: 8px; top: 38px; }
}
@media (max-width: 767px) { .pt-bar { padding-left: 68px; } }   /* el botón del menú lateral flota arriba a la izquierda */
@media (prefers-reduced-motion: reduce) { .pt-pop, .pt-tab { transition: none; } }
body.ch-full .pt-bar { padding-left: 12px; }
