/* NPM Lockfile Explorer studio. Only npm_lockfile_explorer.html links this file. */
[data-tool=npm_lockfile_explorer]{--line:#3d3358;--gold:#f6cd63;--text:#eadcf7;--mute:#b8abd2;--bad:#ff7d86;--good:#5fd896;max-width:1440px;margin-inline:auto;color:var(--text);text-align:left}
[data-tool=npm_lockfile_explorer] *{box-sizing:border-box}
[data-tool=npm_lockfile_explorer] code{font-family:ui-monospace,Consolas,monospace;color:#f3dca0}
[data-tool=npm_lockfile_explorer] button,[data-tool=npm_lockfile_explorer] .nl-filebtn{font:inherit;font-size:14px;padding:8px 14px;border-radius:10px;border:1px solid #6f5686;background:#2d2640;color:#fff;cursor:pointer;transition:background .2s,border-color .2s,transform .15s;display:inline-flex;align-items:center;gap:6px;position:relative}
[data-tool=npm_lockfile_explorer] button:hover:not(:disabled),[data-tool=npm_lockfile_explorer] .nl-filebtn:hover{background:#3b3154;border-color:#9b7fc0}
[data-tool=npm_lockfile_explorer] button:active:not(:disabled){transform:scale(.97)}
[data-tool=npm_lockfile_explorer] button:disabled{opacity:.45;cursor:not-allowed}
[data-tool=npm_lockfile_explorer] .nl-primary{background:var(--gold)!important;color:#241b05!important;border-color:var(--gold)!important;font-weight:700}
[data-tool=npm_lockfile_explorer] .nl-filebtn input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
[data-tool=npm_lockfile_explorer] .nl-mute{color:var(--mute);font-weight:400;font-size:.85em}
[data-tool=npm_lockfile_explorer] .nl-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* hero */
[data-tool=npm_lockfile_explorer] .nl-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:center;padding:28px 32px;border:1px solid #6f5686;border-radius:20px;background:radial-gradient(ellipse at 92% 0%,#9b6fe040,transparent 55%),radial-gradient(ellipse at 0% 100%,#5fb8ff14,transparent 50%),linear-gradient(160deg,#2d2640,#242032);margin:0 0 14px;box-shadow:0 14px 40px #0006}
[data-tool=npm_lockfile_explorer] .nl-eyebrow{display:block;font-size:12px;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:8px}
[data-tool=npm_lockfile_explorer] .nl-top h1{margin:0;font-size:2.1rem;line-height:1.15;color:#fff;text-align:left}
[data-tool=npm_lockfile_explorer] .nl-top p{margin:10px 0 0;color:#e1cfea;max-width:72ch;line-height:1.6}
[data-tool=npm_lockfile_explorer] .nl-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:16px 0 0}
[data-tool=npm_lockfile_explorer] .nl-chips li{padding:6px 12px;border:1px solid #756087;border-radius:999px;font-size:13px;background:#1c1729aa}
[data-tool=npm_lockfile_explorer] .nl-chips li:first-child{border-color:var(--gold);color:var(--gold)}
[data-tool=npm_lockfile_explorer] .nl-live{display:flex;flex-direction:column;gap:10px;padding:18px 20px;border-radius:16px;border:1px solid var(--line);background:#1a1527cc;transition:border-color .3s}
[data-tool=npm_lockfile_explorer] .nl-live[data-state=review]{border-color:#f6cd6388}
[data-tool=npm_lockfile_explorer] .nl-live[data-state=clean]{border-color:#5fd89688}
[data-tool=npm_lockfile_explorer] .nl-live-label{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--mute);font-weight:700}
[data-tool=npm_lockfile_explorer] .nl-live-label b{color:var(--gold)}
[data-tool=npm_lockfile_explorer] .nl-live-row{display:flex;align-items:center;gap:14px}
[data-tool=npm_lockfile_explorer] .nl-live-row b{font-size:3rem;color:#fff;line-height:1}
[data-tool=npm_lockfile_explorer] .nl-live-row span{color:var(--mute);line-height:1.2}
[data-tool=npm_lockfile_explorer] .nl-live strong{color:#fff;font-size:15px;line-height:1.4}
[data-tool=npm_lockfile_explorer] .nl-scopebar{display:flex;height:12px;border-radius:99px;overflow:hidden;background:#2d2640;gap:2px}
[data-tool=npm_lockfile_explorer] .nl-scopebar.big{height:22px;border-radius:8px;margin-bottom:10px}
[data-tool=npm_lockfile_explorer] .nl-scopebar span{display:block;min-width:4px;animation:nlGrow .8s ease both;transform-origin:left}
[data-tool=npm_lockfile_explorer] .nl-legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12.5px;color:var(--mute)}
[data-tool=npm_lockfile_explorer] .nl-legend i,[data-tool=npm_lockfile_explorer] .nl-depthkey i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;vertical-align:-1px}
[data-tool=npm_lockfile_explorer] .nl-legend b{color:#fff;margin-right:3px}
/* stats */
[data-tool=npm_lockfile_explorer] .nl-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0 0 14px}
[data-tool=npm_lockfile_explorer] .nl-stats li{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#221d30;display:flex;flex-direction:column;gap:4px}
[data-tool=npm_lockfile_explorer] .nl-stats span{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--mute);font-weight:700}
[data-tool=npm_lockfile_explorer] .nl-stats b{font-size:1.6rem;color:#fff}
/* command */
[data-tool=npm_lockfile_explorer] .nl-command{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
[data-tool=npm_lockfile_explorer] .nl-seg{display:inline-flex;border:1px solid #6f5686;border-radius:10px;overflow:hidden}
[data-tool=npm_lockfile_explorer] .nl-seg button{border:0;border-radius:0;background:#221d30;padding:8px 12px}
[data-tool=npm_lockfile_explorer] .nl-seg button.on{background:#6f5686;color:#fff;font-weight:700}
[data-tool=npm_lockfile_explorer] .nl-status{margin:10px 0 14px;padding:9px 14px;border-radius:10px;background:#221d30;border-left:4px solid #6f5686;color:#e1cfea;font-size:14px}
[data-tool=npm_lockfile_explorer] .nl-status[data-error=true]{border-left-color:var(--bad);color:#ffd0d4}
/* studio */
[data-tool=npm_lockfile_explorer] .nl-studio{display:grid;grid-template-columns:380px minmax(0,1fr);gap:14px;align-items:stretch;margin-bottom:14px}
[data-tool=npm_lockfile_explorer] .nl-col{display:flex;flex-direction:column;gap:14px;min-width:0}
[data-tool=npm_lockfile_explorer] .nl-card{border:1px solid var(--line);border-radius:16px;background:#221d30;padding:16px 18px;min-width:0}
[data-tool=npm_lockfile_explorer] .nl-grow{flex:1}
[data-tool=npm_lockfile_explorer] .nl-card h2{margin:0 0 12px;font-size:12px;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold);font-weight:800}
[data-tool=npm_lockfile_explorer] .nl-card h3{margin:14px 0 8px;font-size:11px;letter-spacing:1.1px;text-transform:uppercase;color:var(--mute)}
[data-tool=npm_lockfile_explorer] .nl-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:10px}
[data-tool=npm_lockfile_explorer] .nl-head h2{margin:0;margin-right:auto}
[data-tool=npm_lockfile_explorer] .nl-lbl{display:block;font-size:13px;color:var(--mute);margin-bottom:6px}
[data-tool=npm_lockfile_explorer] textarea{width:100%;font:12.5px/1.5 ui-monospace,Consolas,monospace;background:#17131f;color:#eadcf7;border:1px solid #4a3d64;border-radius:10px;padding:10px;resize:vertical}
[data-tool=npm_lockfile_explorer] input[type=search],[data-tool=npm_lockfile_explorer] input:not([type]),[data-tool=npm_lockfile_explorer] select{font:inherit;font-size:14px;background:#17131f;color:#fff;border:1px solid #4a3d64;border-radius:10px;padding:8px 10px;min-width:0;max-width:100%}
[data-tool=npm_lockfile_explorer] .nl-search{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--mute);min-width:0;max-width:100%}
[data-tool=npm_lockfile_explorer] .nl-scope{margin-top:10px;font-size:13px;color:var(--mute)}
[data-tool=npm_lockfile_explorer] .nl-scope summary{cursor:pointer;color:#e1cfea}
[data-tool=npm_lockfile_explorer] .nl-scope p{line-height:1.5}
/* bars */
[data-tool=npm_lockfile_explorer] .nl-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
[data-tool=npm_lockfile_explorer] .nl-bars li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;font-size:13.5px}
[data-tool=npm_lockfile_explorer] .nl-bk{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-tool=npm_lockfile_explorer] .nl-bars b{color:#fff}
[data-tool=npm_lockfile_explorer] .nl-bars i{grid-column:1/-1;height:6px;border-radius:9px;width:var(--w);animation:nlGrow .9s cubic-bezier(.2,.8,.2,1) both;transform-origin:left}
[data-tool=npm_lockfile_explorer] .nl-bars .nl-more{color:var(--mute);font-size:12px}
@keyframes nlGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* map */
[data-tool=npm_lockfile_explorer] .nl-depthkey{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--mute);margin-bottom:10px}
[data-tool=npm_lockfile_explorer] .nl-dash i{border-radius:4px!important;width:18px!important;border:1.5px dashed #5fb8ff;background:none!important}
[data-tool=npm_lockfile_explorer] .nl-graph{overflow:auto;max-height:560px;border:1px solid #33294a;border-radius:12px;background:radial-gradient(circle at 1px 1px,#ffffff0d 1px,transparent 0) 0 0/22px 22px,#1a1527;padding:6px}
[data-tool=npm_lockfile_explorer] .nl-graph svg{display:block}
[data-tool=npm_lockfile_explorer] .nl-n{cursor:pointer;transition:opacity .3s}
[data-tool=npm_lockfile_explorer] .nl-n:hover rect{fill:#3b3154}
[data-tool=npm_lockfile_explorer] .nl-n.sel:hover rect{fill:var(--gold)}
[data-tool=npm_lockfile_explorer] .nl-n.dim{opacity:.3}
[data-tool=npm_lockfile_explorer] .nl-graph.play .nl-n{animation:nlIn .5s ease both;animation-delay:calc(var(--c) * .28s)}
[data-tool=npm_lockfile_explorer] .nl-graph.play .nl-e{stroke-dasharray:400;animation:nlDraw .7s ease both;animation-delay:calc(var(--c) * .28s - .15s)}
@keyframes nlIn{from{opacity:0;translate:-16px 0}to{opacity:1;translate:0 0}}
@keyframes nlDraw{from{stroke-dashoffset:400}to{stroke-dashoffset:0}}
[data-tool=npm_lockfile_explorer] .nl-empty{padding:40px;text-align:center;color:var(--mute)}
/* tree */
[data-tool=npm_lockfile_explorer] .nl-tree{max-height:560px;overflow:auto;border:1px solid #33294a;border-radius:12px;background:#1a1527;padding:8px}
[data-tool=npm_lockfile_explorer] .nl-tree ul{list-style:none;margin:0;padding:0 0 0 18px;border-left:1px dashed #3d3358}
[data-tool=npm_lockfile_explorer] .nl-tree .nl-troot{padding:0;border:0}
[data-tool=npm_lockfile_explorer] .nl-trow{display:flex;align-items:center;gap:6px;padding:2px 4px;border-radius:8px;border-left:3px solid var(--d);margin:2px 0;flex-wrap:wrap;animation:nlIn .3s ease both}
[data-tool=npm_lockfile_explorer] .nl-trow.sel{background:#f6cd6326}
[data-tool=npm_lockfile_explorer] .nl-trow button{padding:2px 6px;border:0;background:none;font-size:13.5px}
[data-tool=npm_lockfile_explorer] .nl-trow .nl-tog{width:22px;justify-content:center;color:var(--mute)}
[data-tool=npm_lockfile_explorer] .nl-tver{color:var(--mute);font-size:12.5px;font-family:ui-monospace,Consolas,monospace}
[data-tool=npm_lockfile_explorer] .nl-tag{font-size:11px;padding:1px 7px;border-radius:99px;border:1px solid #6f5686;color:#d8c9ea}
[data-tool=npm_lockfile_explorer] .k-dev{border-color:#5fb8ff;color:#a9d8ff}
[data-tool=npm_lockfile_explorer] .k-optional,[data-tool=npm_lockfile_explorer] .k-dev-optional{border-color:#4fd6c2;color:#9fefe2}
[data-tool=npm_lockfile_explorer] .k-peer{border-color:#e58fd0;color:#f5c3ea}
[data-tool=npm_lockfile_explorer] .k-dup{border-color:#ff9f6e;color:#ffc9ad}
[data-tool=npm_lockfile_explorer] .k-script{border-color:var(--gold);color:var(--gold)}
/* why */
[data-tool=npm_lockfile_explorer] .nl-whyhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:10px}
[data-tool=npm_lockfile_explorer] .nl-whyhead b{font-size:1.3rem;word-break:break-all}
[data-tool=npm_lockfile_explorer] .nl-chains{display:flex;flex-direction:column;gap:8px}
[data-tool=npm_lockfile_explorer] .nl-chain{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border-radius:12px;background:#1a1527;border:1px solid #33294a}
[data-tool=npm_lockfile_explorer] .nl-chain.first{border-color:#f6cd6366}
[data-tool=npm_lockfile_explorer] .nl-pill{padding:4px 10px!important;border-radius:99px!important;border:1.5px solid var(--c)!important;background:#241f33!important;font-size:13px!important;animation:nlIn .4s ease both;word-break:break-all}
[data-tool=npm_lockfile_explorer] .nl-arrow{color:var(--gold)}
[data-tool=npm_lockfile_explorer] .nl-whygrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
[data-tool=npm_lockfile_explorer] .nl-mini{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px;max-height:180px;overflow:auto}
[data-tool=npm_lockfile_explorer] .nl-mini li{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px}
[data-tool=npm_lockfile_explorer] .nl-mini button{padding:2px 8px;font-size:13px;background:none;border-color:#4a3d64;word-break:break-all}
[data-tool=npm_lockfile_explorer] .nl-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:12px 0 0;font-size:13px}
[data-tool=npm_lockfile_explorer] .nl-details dt{color:var(--mute)}
[data-tool=npm_lockfile_explorer] .nl-details dd{margin:0;word-break:break-all;font-family:ui-monospace,Consolas,monospace}
[data-tool=npm_lockfile_explorer] .nl-bad{color:#ffb3b9}
[data-tool=npm_lockfile_explorer] .nl-good{color:#a5efc4}
[data-tool=npm_lockfile_explorer] .nl-warnline{color:#ffd99a}
/* duplicates */
[data-tool=npm_lockfile_explorer] .nl-dups{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
[data-tool=npm_lockfile_explorer] .nl-dup{padding:10px 12px;border-radius:12px;background:#1a1527;border:1px solid #ff9f6e55}
[data-tool=npm_lockfile_explorer] .nl-dup>b{display:block;margin-bottom:8px;color:#ffc9ad;word-break:break-all}
[data-tool=npm_lockfile_explorer] .nl-vers{display:flex;flex-wrap:wrap;gap:6px}
[data-tool=npm_lockfile_explorer] .nl-ver{flex-direction:column;align-items:flex-start!important;gap:0!important;border-color:var(--c)!important;padding:5px 10px!important;max-width:100%}
[data-tool=npm_lockfile_explorer] .nl-ver small{color:var(--mute);font-size:11.5px;word-break:break-all}
/* results */
[data-tool=npm_lockfile_explorer] .nl-results{margin-bottom:14px}
[data-tool=npm_lockfile_explorer] .nl-results .nl-head p{margin:0}
[data-tool=npm_lockfile_explorer] .nl-warn{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
[data-tool=npm_lockfile_explorer] .nl-warning{margin:0;padding:7px 12px;border-radius:9px;background:#f6cd6314;border-left:3px solid var(--gold);font-size:13.5px;word-break:break-word}
[data-tool=npm_lockfile_explorer] .nl-table{overflow:auto;max-height:520px;margin-top:10px;border:1px solid #33294a;border-radius:12px}
[data-tool=npm_lockfile_explorer] .nl-table table{border-collapse:collapse;width:100%;font-size:13px}
[data-tool=npm_lockfile_explorer] .nl-table th{position:sticky;top:0;background:#2d2640;text-align:left;padding:8px 10px;font-size:11.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--mute);white-space:nowrap}
[data-tool=npm_lockfile_explorer] .nl-table td{padding:6px 10px;border-top:1px solid #2e2642;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-tool=npm_lockfile_explorer] .nl-table tr{cursor:pointer}
[data-tool=npm_lockfile_explorer] .nl-table tbody tr:hover,[data-tool=npm_lockfile_explorer] .nl-table tr.sel{background:#6f568633}
[data-tool=npm_lockfile_explorer] .nl-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px;font-size:13.5px;color:var(--mute);flex-wrap:wrap}
[data-tool=npm_lockfile_explorer] #uxOutputPanel{margin-top:12px}
[data-tool=npm_lockfile_explorer] #uxOutputPanel summary{cursor:pointer;color:#e1cfea;margin-bottom:8px}
[data-tool=npm_lockfile_explorer] #uxOutputPanel textarea{margin-top:8px}
/* exports */
[data-tool=npm_lockfile_explorer] .nl-exgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
[data-tool=npm_lockfile_explorer] .nl-exgrid>div{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start;padding:12px;border-radius:12px;background:#1a1527;border:1px solid #33294a}
[data-tool=npm_lockfile_explorer] .nl-exgrid h3{width:100%;margin:0 0 2px}
[data-tool=npm_lockfile_explorer] .nl-exports>p{margin:10px 0 0}
@media (max-width:1100px){
 [data-tool=npm_lockfile_explorer] .nl-studio{grid-template-columns:minmax(0,1fr)}
 [data-tool=npm_lockfile_explorer] .nl-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
 [data-tool=npm_lockfile_explorer] .nl-exgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
 [data-tool=npm_lockfile_explorer] .nl-top{grid-template-columns:minmax(0,1fr);padding:20px 18px}
 [data-tool=npm_lockfile_explorer] .nl-top h1{font-size:1.7rem}
 [data-tool=npm_lockfile_explorer] .nl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-tool=npm_lockfile_explorer] .nl-whygrid,[data-tool=npm_lockfile_explorer] .nl-exgrid{grid-template-columns:minmax(0,1fr)}
 [data-tool=npm_lockfile_explorer] .nl-card{padding:14px}
 [data-tool=npm_lockfile_explorer] .nl-graph,[data-tool=npm_lockfile_explorer] .nl-tree{max-height:440px}
 [data-tool=npm_lockfile_explorer] .nl-search input{width:100%}
 [data-tool=npm_lockfile_explorer] .nl-dups{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){[data-tool=npm_lockfile_explorer] *{animation:none!important;transition:none!important}}
