
/* INJ Node Insights Pro — non-invasive extension of the existing admin experience */
.insights-pro{--pro-bg:#0b1721;--pro-border:#253c45;--pro-mint:#68e6bd;--pro-cyan:#77bce5;color:#e6f2ef;max-width:100%}
.insights-pro [hidden]{display:none!important}
.insights-pro button,.insights-pro select{font:inherit}
.insights-pro button{cursor:pointer}
.insights-pro button:disabled{opacity:.5;cursor:not-allowed}
.insights-pro button:focus-visible,.insights-pro select:focus-visible{outline:2px solid #79e8cf;outline-offset:2px}
.pro-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 19px}
.pro-head h2{font-size:clamp(23px,3vw,38px);letter-spacing:-.045em}
.pro-head h2 em{font-style:normal;color:var(--pro-mint)}
.pro-head p{margin:4px 0 0;color:#93aeb8;font-size:11px}
.pro-eyebrow{font-weight:700;color:#6ee5ca!important;letter-spacing:.14em}
.pro-live{display:flex;align-items:center;gap:9px;color:#b8d8d1;font-size:10px;letter-spacing:.07em}
.pro-signal{width:8px;height:8px;border-radius:50%;background:var(--pro-mint);box-shadow:0 0 10px #4fffd6aa}
.pro-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;border:1px solid var(--pro-border);background:#101e28c9;border-radius:13px;padding:12px}
.pro-controls label{display:flex;flex-direction:column;gap:4px;color:#829ea7;font-size:9px;letter-spacing:.07em;flex:1 1 145px;max-width:245px}
.pro-controls select{width:100%;height:35px;border:1px solid #39515c;background:#0b1821;color:#e6f4f0;border-radius:8px;padding:6px 10px;font-size:11px;min-width:0}
.pro-controls button,.pro-tiny,.pro-report-actions button{border:1px solid #34555b;border-radius:8px;background:#172d35;color:#bfe9db;padding:9px 12px;min-height:35px;font-size:10px;font-weight:750;letter-spacing:.03em}
.pro-controls button:hover,.pro-report-actions button:hover{border-color:#62cbb1;background:#213e42}
.pro-footnote{color:#77969b;font-size:10px;margin:11px 0 16px}
.pro-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #2a4149;padding:0 0 11px;margin:5px 0 16px}
.pro-tabs button{white-space:nowrap;background:transparent;border:1px solid transparent;border-radius:8px;padding:10px 13px;color:#94aab0;font-weight:700;letter-spacing:.06em;font-size:10px}
.pro-tabs button.active{background:#17332f;color:#7df3ce;border-color:#37675e}
.pro-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}
.pro-kpis article{background:linear-gradient(140deg,#152a30,#0b1923);border:1px solid var(--pro-border);border-radius:13px;padding:16px 14px;min-width:0;min-height:121px;display:flex;flex-direction:column}
.pro-kpis span{color:#aac2bf;font-size:9px;letter-spacing:.09em}
.pro-kpis strong{font-size:clamp(24px,2.9vw,40px);line-height:1.2;margin:8px 0;color:#e4f6f0;letter-spacing:-.04em}
.pro-kpis article:nth-child(2) strong{color:#6ce7c1}
.pro-kpis small{font-size:9px;color:#819ea4;margin-top:auto}
.pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:13px}
.pro-span-2{grid-column:span 2}.pro-span-3{grid-column:span 3}
.pro-panel{border:1px solid var(--pro-border);border-radius:14px;background:linear-gradient(145deg,#15232d,#0d1822);min-width:0;overflow:hidden}
.pro-panel header{padding:17px 18px;display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #233a43}
.pro-panel h3{font-size:13px;font-weight:800;letter-spacing:.06em;margin:2px 0 0}
.pro-panel header>span{font-size:9px;color:#88a9ad;margin-top:4px;white-space:nowrap}
.pro-panel header p{font-size:10px;color:#829ea5;margin:5px 0 0}
.pro-kicker{color:#6bd9bc;font-weight:700;font-size:9px;letter-spacing:.17em}
.pro-content{padding:18px;min-height:135px;font-size:12px}
.pro-content p{margin:0 0 13px;color:#9bb4b9;line-height:1.75}
.pro-list{max-height:435px;overflow:auto}
.pro-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #2b40467d;padding:10px 0;min-width:0}
.pro-row-main{flex:1;min-width:0}
.pro-row-title{display:block;font-size:11px;color:#e4f2ed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pro-row-sub{display:block;margin-top:4px;color:#8ba5aa;font-size:9px;line-height:1.5}
.pro-row-value{color:#d5ede5;font-weight:800;font-size:13px;white-space:nowrap}
.pro-row button,.pro-click{cursor:pointer}
button.pro-row{width:100%;background:transparent;border:0;border-bottom:1px solid #2b40467d;text-align:left;color:inherit}
button.pro-row:hover{background:#24413d45}
.pro-bar{height:4px;background:#274047;border-radius:4px;overflow:hidden;margin:6px 0 0}
.pro-bar-fill{display:block;background:linear-gradient(90deg,#3b9c9e,#70e9bb);height:100%;border-radius:4px}
.pro-empty{color:#839ba4;font-size:11px;padding:14px 0}
.pro-chart{padding:14px 17px 10px}
#proTrend{width:100%;display:block;max-height:275px}
.pro-tooltip{color:#a3c4c0;font-size:10px;padding:7px 0 4px}
.pro-map{height:clamp(335px,40vw,510px);background:#0d1b22}
.pro-map .leaflet-container{background:#0d1b22}
.pro-legend{padding:12px 16px;color:#91a7ac;font-size:9px}
.pro-ongoing{color:#72dcb8!important}
.pro-journey .pro-row-value{color:#70e0bd}
.pro-journey .pro-row-title{white-space:normal}
.pro-heatmap{overflow-x:auto}
.pro-heatmap-grid{display:grid;grid-template-columns:35px repeat(24,minmax(12px,1fr));gap:3px;min-width:505px}
.pro-cell{aspect-ratio:1.15;border-radius:3px;background:#1d333d;border:1px solid #34525c40;cursor:help}
.pro-hour-label{font-size:8px;color:#8ba4a7;text-align:center;padding-top:4px}
.pro-day-label{font-size:9px;color:#a5bbc0;padding:5px 2px}
.pro-heatmap-footer{margin:12px 0 0;font-size:10px;color:#8aa8aa}
.pro-report{line-height:1.75;min-height:220px}
.pro-report h4{font-size:13px;color:#8de5c6;margin:14px 0 7px}
.pro-report ul{padding-left:22px;color:#d2e4e0;margin-top:8px}
.pro-report li{padding:5px 0}
.pro-report-actions{display:flex;gap:9px;flex-wrap:wrap;padding:5px 18px 18px}
.pro-disclaimer{padding:12px 3px 20px;color:#779398;font-size:9px;letter-spacing:.02em}
body.insights-pro-ready .shell>.kpis,body.insights-pro-ready .shell>.main-grid,body.insights-pro-ready .shell>.analytics-grid,body.insights-pro-ready .shell>.toolbar{display:none!important}
body.insights-pro-ready #adminDashboard .shell>.kpis,body.insights-pro-ready #adminDashboard .shell>.main-grid,body.insights-pro-ready #adminDashboard .shell>.analytics-grid,body.insights-pro-ready #adminDashboard .shell>.toolbar{display:none!important}
@media(max-width:1100px){.pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-span-3{grid-column:span 2}.pro-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.pro-head{align-items:start}.pro-live{max-width:115px;text-align:right}.pro-controls{gap:7px}.pro-controls label{flex-basis:44%;max-width:none}.pro-controls button{flex:1 1 30%;padding:8px;font-size:9px}.pro-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-kpis article:first-child{grid-column:span 2}.pro-grid{grid-template-columns:minmax(0,1fr)}.pro-span-2,.pro-span-3{grid-column:span 1}.pro-panel header{padding:14px}.pro-content{padding:14px}.pro-map{height:350px}}
@media print{.admin-topnav,.pro-controls,.pro-tabs,.pro-report-actions,.pro-live,#proMapReset,.footer{display:none!important}body{background:white!important;color:#111!important}.insights-pro{color:#111!important}.pro-panel,.pro-kpis article{border:1px solid #999!important;background:white!important;color:#111!important}.pro-panel h3,.pro-row-title,.pro-kpis strong,.pro-report li{color:#111!important}.pro-page{display:none!important}.pro-page[data-pro-page="reports"]{display:block!important}.pro-kpis{display:grid!important}.pro-report{color:#111!important}#adminDashboard .shell{padding:0}}
