/* Team-pulse overlay. Isolated from the 3D canvas and existing inspector. */
.team-pulse-toggle{border-color:rgba(191,237,171,.7)!important;white-space:nowrap}
.team-pulse-panel[hidden]{display:none!important}
.team-pulse-panel{
 position:absolute;z-index:18;top:158px;right:clamp(20px,3.5vw,65px);
 width:min(365px,calc(100vw - 28px));max-height:calc(100dvh - 190px);
 overflow:auto;overscroll-behavior:contain;
 color:#f0f7ed;background:linear-gradient(155deg,rgba(13,37,40,.97),rgba(18,53,51,.97));
 border:1px solid rgba(206,237,192,.32);border-radius:17px;
 box-shadow:0 22px 65px rgba(0,9,12,.55);backdrop-filter:blur(18px);
 padding:18px 18px 14px;font-family:Inter,Manrope,"Segoe UI",Arial,sans-serif
}
.team-pulse-header{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.team-pulse-kicker{color:#b9e9a9;font-size:10px;font-weight:850;letter-spacing:1.3px;text-transform:uppercase}
.team-pulse-header h2{font-size:19px;line-height:1.3;margin:6px 0 10px;letter-spacing:-.5px}
.team-pulse-close{background:#ffffff11;border:1px solid #ffffff35;border-radius:9px;color:#fff;width:33px;height:33px;font-size:23px}
.team-pulse-outcomes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 12px}
.team-pulse-kpi{padding:10px;border:1px solid #c6ebbd35;border-radius:11px;background:#d5f3c20d;display:flex;flex-direction:column;gap:5px;min-width:0}
.team-pulse-kpi-value{font-size:23px;line-height:1.2;color:#d4f4bd;font-weight:900;font-variant-numeric:tabular-nums}
.team-pulse-kpi-label{font-size:10px;line-height:1.3;color:#bed5c3;font-weight:700}
.team-pulse-supervisor{margin:0 0 12px;padding:12px;border:1px solid rgba(197,239,182,.27);border-radius:11px;background:rgba(190,233,182,.08)}
.team-pulse-supervisor-heading{display:flex;gap:8px;align-items:center;font-size:12px;letter-spacing:.2px;color:#e5f9d9}
.team-pulse-supervisor-heading span{font-size:16px;color:#c4e9a6}
.team-pulse-supervisor-status{font-size:11px;line-height:1.55;color:#d0e3d1;margin:8px 0 0}
.team-pulse-supervisor-next{font-size:10px;line-height:1.45;color:#c4e9ad;margin:7px 0 0}
.team-pulse-feedback{margin:0 0 12px;font-size:12px;color:#d5e6da;line-height:1.45}
.team-pulse-members{padding:0;margin:0;display:grid;gap:8px;list-style:none}
.team-pulse-person{display:grid;grid-template-columns:9px minmax(0,1fr);gap:10px;align-items:start;padding:11px 12px;background:#ffffff0c;border:1px solid #ffffff20;border-radius:11px}
.team-pulse-signal{display:block;width:8px;height:8px;border-radius:50%;background:#a7b6ad;margin-top:6px}
.team-pulse-signal[data-state="working"]{background:#b9f59b;box-shadow:0 0 0 4px #b9f59b17;animation:team-pulse-live 1.65s ease-in-out infinite}
.team-pulse-signal[data-state="correction"],.team-pulse-signal[data-state="retry"],.team-pulse-signal[data-state="quality"]{background:#e9bb83}
.team-pulse-signal[data-state="review"]{background:#d7d7aa}
.team-pulse-signal[data-state="reviewed"]{background:#a9d6ba}
.team-pulse-name{font-size:13px;font-weight:850;color:#f6f9f3;line-height:1.3}
.team-pulse-service{font-size:10px;font-weight:500;color:#b9cfc4}
.team-pulse-state{font-size:12px;line-height:1.45;color:#e9f3e9;margin-top:5px}
.team-pulse-numbers{font-size:10px;color:#afc5b9;margin-top:4px}
.team-pulse-next{font-size:11px;color:#c0e9ae;margin-top:5px;line-height:1.4}
.team-pulse-results{display:flex;flex-wrap:wrap;gap:5px;list-style:none;margin:7px 0 0;padding:0}
.team-pulse-results li{border:1px solid #c1dcb84d;border-radius:7px;padding:5px 6px;color:#dcefd3;font-size:10px;line-height:1.3;background:#c1efb00d}
.team-pulse-go{margin:8px 0 0;padding:6px 9px;border:1px solid #c6ecc278;background:#c0eab51c;color:#e2f6d2;border-radius:7px;font-size:10px;font-weight:800}
.team-pulse-go:focus-visible,.team-pulse-close:focus-visible{outline:2px solid #caeeb6;outline-offset:2px}
.team-pulse-actions{display:flex;gap:9px;margin-top:13px}
.team-pulse-actions button{flex:1;min-height:37px;border:1px solid rgba(202,237,187,.45);border-radius:9px;background:rgba(205,238,187,.12);color:#f2fbea;font-size:11px;font-weight:800}
.team-pulse-actions button:hover{background:rgba(205,238,187,.21)}
.team-pulse-actions button:disabled{opacity:.55;cursor:progress}
.team-pulse-legal{font-size:10px;color:#bfd1c6;line-height:1.45;margin:12px 2px 0}
@keyframes team-pulse-live{50%{box-shadow:0 0 0 8px #b9f59b10;opacity:.65}}
@media(prefers-reduced-motion:reduce){.team-pulse-signal[data-state="working"]{animation:none}}
@media(max-width:740px){
 .team-pulse-panel{top:145px;right:12px;max-height:calc(100dvh - 170px);padding:14px}
 .team-pulse-toggle{font-size:10px}
}
