.dashboard-shell{display:grid;grid-template-columns:258px 1fr;min-height:calc(100vh - 72px)}.provider-side{border-right:1px solid var(--line);padding:20px 12px;background:#0e1016}.provider-side h4{color:var(--accent);font-size:11px;margin:4px 8px 3px;letter-spacing:.65px}.provider-side .side-sub{color:var(--muted);font-size:10px;margin:0 8px 16px}.provider-search{margin:0 4px 14px}
.provider-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;margin-bottom:4px;color:var(--muted);border:1px solid transparent}.provider-item:hover,.provider-item.active{background:#24171f;border-color:#5a3442;color:var(--text)}
.provider-logo{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#75304a);font-weight:900;color:white;flex:0 0 auto}.provider-item strong{display:block;font-size:12px}.provider-item small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.online-dot{margin-left:auto;width:7px;height:7px;border-radius:99px;background:var(--green)}
.dash-main{padding:24px;min-width:0}.dash-head{display:flex;align-items:flex-end;gap:14px;margin-bottom:16px}.dash-head .filters{margin-left:auto;display:flex;gap:7px}.filter{padding:8px 10px;border:1px solid var(--line);background:var(--panel2);border-radius:8px;color:var(--muted);font-size:11px;font-weight:850}.filter.active{background:#31151f;border-color:#6a3346;color:var(--text)}
.chart-card{padding:16px}.chart-wrap{height:330px;position:relative}.chart-wrap svg{width:100%;height:100%;display:block}.chart-tooltip{display:none;position:absolute;min-width:190px;padding:12px;background:#211820;border:1px solid #84425b;border-radius:10px;pointer-events:none;z-index:3;box-shadow:0 14px 35px rgba(0,0,0,.34)}.chart-tooltip strong{display:block;margin-bottom:7px}.chart-tooltip .row{display:flex;justify-content:space-between;gap:18px;font-size:11px;margin:4px 0}
.legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}.legend-main{display:flex;gap:9px 14px;flex-wrap:wrap;flex:1}.legend-item{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.legend-item input{accent-color:var(--accent)}.legend-link{cursor:pointer}.legend-link:hover{color:var(--text);text-decoration:underline}.dot{width:8px;height:8px;border-radius:50%}
.live-panel{padding:14px 16px;margin-top:16px}.live-head{display:flex;align-items:center;justify-content:space-between}.live-rows{margin-top:8px}.live-row{display:grid;grid-template-columns:190px 1fr 130px;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--soft)}.live-row:first-child{border-top:0}.live-row code{font-size:11px}.live-row small{text-align:right;color:var(--muted)}
.endpoint-card{padding:14px 16px;margin-top:16px}
.provider-detail-head{display:grid;grid-template-columns:250px 1fr 1fr;gap:14px}.provider-ident{padding:18px}.provider-big-logo{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#74314b);display:grid;place-items:center;font-size:22px;font-weight:900;margin-bottom:12px}
.console-grid{display:grid;grid-template-columns:330px 1fr;gap:16px;margin-top:16px}.endpoint-list{padding:12px}.endpoint-item{padding:11px;border-radius:9px;margin:5px 0;border:1px solid transparent}.endpoint-item.active,.endpoint-item:hover{background:#24171f;border-color:#5a3442}.endpoint-item small{display:block;color:var(--muted);margin-top:4px}.method{font-size:9px;color:var(--green);font-weight:900}.console{padding:16px}.code{background:#090b10;border:1px solid var(--line);border-radius:10px;padding:14px;overflow:auto;color:#bfe7ca;font-family:Consolas,monospace;font-size:12px;line-height:1.65}.provider-tag{display:inline-block;padding:7px 9px;border-radius:8px;background:#131620;border:1px solid var(--line);font-size:11px;margin:0 7px 7px 0}
@media(max-width:1000px){.dashboard-shell{grid-template-columns:220px 1fr}.provider-detail-head,.console-grid{grid-template-columns:1fr}}


/* Provider-specific live chart */
.provider-detail-head{grid-template-columns:250px minmax(430px,1.35fr) minmax(350px,1fr)}
.provider-live-card{overflow:hidden}
.provider-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.provider-live-legend{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:9px}
.provider-live-legend span{display:inline-flex;align-items:center;gap:6px}
.provider-live-legend i{display:block;width:8px;height:8px;border-radius:50%;box-shadow:0 0 10px currentColor}
.provider-live-chart{height:166px;position:relative;margin-top:7px;border-radius:10px;overflow:hidden;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.015))}
.provider-live-svg{width:100%;height:100%;display:block}
.provider-live-grid{stroke:rgba(255,255,255,.075);stroke-width:1;vector-effect:non-scaling-stroke}
.provider-live-area{opacity:0;animation:providerAreaIn .9s .32s ease forwards}
.provider-live-line{
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  stroke-dashoffset:1;
  animation:providerLineLoad 1.15s cubic-bezier(.2,.75,.25,1) forwards;
}
.provider-live-line-titles{animation-delay:.09s}
.provider-live-line-episodes{animation-delay:.18s}
.provider-live-pulse{opacity:0;transform-box:fill-box;transform-origin:center;animation:providerPointIn .28s 1.08s ease forwards,providerPointPulse 1.8s 1.36s ease-in-out infinite}
.provider-hover-guide{stroke:rgba(255,255,255,.28);stroke-width:1;stroke-dasharray:3 4;opacity:0;pointer-events:none;vector-effect:non-scaling-stroke}
.provider-chart-tooltip{
  display:none;
  position:absolute;
  z-index:6;
  min-width:176px;
  padding:10px 11px;
  border-radius:10px;
  background:rgba(11,14,22,.68);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 16px 44px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  pointer-events:none;
}
.provider-chart-tooltip strong{display:block;margin-bottom:7px;font-size:10px}
.provider-chart-tooltip .row{display:flex;justify-content:space-between;gap:18px;margin:4px 0;font-size:9px;color:var(--muted)}
.provider-chart-tooltip .row b{color:var(--text)}
.provider-live-stamp{text-align:right;color:var(--muted);font-size:9px;margin-top:5px}
@keyframes providerLineLoad{to{stroke-dashoffset:0}}
@keyframes providerAreaIn{to{opacity:1}}
@keyframes providerPointIn{to{opacity:1}}
@keyframes providerPointPulse{0%,100%{transform:scale(1);opacity:.88}50%{transform:scale(1.8);opacity:.35}}
