/* source_agent=codex / machine=mac-mini; scoped local LP motion. */
/* The reference arrows remain visible; only the highlight moves. */
.agents-visual [data-data-environment] :is(.team-data-connector,.team-data-branches i){width:18px;height:24px;overflow:visible}
.agents-visual [data-data-environment] :is(.team-data-connector,.team-data-branches i)::before{left:2px;top:6px;border-top:10px solid #8862b4;border-inline:7px solid transparent;animation:none!important;opacity:1!important;transform:none!important;filter:drop-shadow(0 2px 3px #8862b433)}
.agents-visual [data-data-environment] :is(.team-data-connector,.team-data-branches i)::after{content:"";position:absolute;left:2px;top:6px;width:14px;height:10px;clip-path:polygon(0 0,100% 0,50% 100%);background:linear-gradient(180deg,transparent 30%,#e8ceff 45%,#fff 50%,#e8ceff 55%,transparent 70%);background-size:100% 350%;background-position:0 160%;pointer-events:none}
.agents-visual [data-data-environment][data-motion="running"] :is(.team-data-connector,.team-data-branches i)::after{animation:agent-reference-shine 2.2s linear infinite}
.agents-visual [data-data-environment][data-motion="running"] .team-data-branches i::after{animation-delay:.55s}
@keyframes agent-reference-shine{from{background-position:0 160%}to{background-position:0 -60%}}
/* Workload is a target example. Numeric labels remain stable throughout motion. */
.agents-visual .secretary-case-time{display:grid;grid-template-columns:1fr auto;gap:22px 30px;border:0;padding:25px;margin-bottom:26px;border-radius:16px;background:linear-gradient(135deg,#fff 0%,#eee5fa 100%);box-shadow:inset 0 0 0 1px #ded0ed}
.agents-visual .secretary-case-time-values i{width:0;height:0;border:0;border-left:10px solid #9e7ec0;border-block:7px solid transparent;transform:none}
.agents-visual .secretary-workload{grid-column:1/-1;min-width:0}
.secretary-workload-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;margin:10px 0;font-size:12px;color:#68557b}
.secretary-workload-row>strong{text-align:right;color:#64418c;font-size:13px}
.secretary-workload-track{position:relative;height:25px;overflow:hidden;border-radius:7px;background:repeating-linear-gradient(90deg,#dccced66 0 1px,transparent 1px 10%);box-shadow:inset 0 0 0 1px #d9cae8}
.secretary-workload-track>i{display:block;position:absolute;inset:0;transform-origin:left;border-radius:7px;background:linear-gradient(100deg,#6f459c,#aa80d6)}
.secretary-workload-before>i{background:linear-gradient(100deg,#b09bc4,#d7c8e4)}
.secretary-workload-after>i{transform:scaleX(.25);z-index:1;box-shadow:2px 0 8px #6e419a33}
.secretary-workload-after>b{position:absolute;inset:0 0 0 25%;background:repeating-linear-gradient(120deg,#e8ddf7 0 6px,#f6f0fd 6px 12px)}
.secretary-workload-after::after{content:"";position:absolute;inset:0 auto 0 0;width:25%;z-index:2;background:linear-gradient(105deg,transparent 25%,#ffffff66 50%,transparent 75%);background-size:250% 100%;pointer-events:none}
.secretary-workload-caption{display:flex;justify-content:space-between;gap:12px;margin:12px 0 0;font-size:11px;line-height:1.65;color:#6b577e}
.secretary-workload-caption>strong{font-weight:600;text-align:right;color:#684398}
.agents-visual .secretary-time-bars{gap:9px;margin-top:15px}
.agents-visual .secretary-time-before{height:12px;background:linear-gradient(100deg,#b09bc4,#d7c8e4);border-radius:5px}
.agents-visual .secretary-time-after{height:20px;border-radius:5px;position:relative;background:#eee5f8}
.agents-visual .secretary-time-after i{position:relative;z-index:1;transform-origin:left;background:linear-gradient(100deg,#70459d,#a476d0);box-shadow:2px 0 8px #6e419a33}
.agents-visual .secretary-time-after b{background:repeating-linear-gradient(120deg,#e8ddf7 0 6px,#f6f0fd 6px 12px)}
.agents-visual .secretary-time-after::after{content:"";position:absolute;inset:0 auto 0 0;width:25%;z-index:2;background:linear-gradient(105deg,transparent 25%,#ffffff66 50%,transparent 75%);background-size:250% 100%}
[data-secretary-meter][data-meter-motion="running"] :is(.secretary-workload-after,.secretary-time-after)::after{animation:secretary-workload-shine 3s ease-in-out infinite}
@keyframes secretary-workload-shine{0%,15%{background-position:140% 0}75%,100%{background-position:-60% 0}}
@media(max-width:600px){.agents-visual .secretary-case-time{padding:20px 15px;gap:18px;grid-template-columns:1fr}.secretary-workload-row{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}.secretary-workload-track{height:22px}.secretary-workload-caption{flex-direction:column;gap:4px}.secretary-workload-caption>strong{text-align:left}.agents-visual .secretary-case-time-target{flex-direction:row;align-items:baseline;gap:10px}}
[data-secretary-meter][data-meter-motion="reduced"] :is(i,b)::after,[data-secretary-meter][data-meter-motion="reduced"] :is(i,b),[data-secretary-meter][data-meter-motion="reduced"] :is(.secretary-workload-after,.secretary-time-after)::after{animation:none!important}
@media(prefers-reduced-motion:reduce){.agents-visual [data-data-environment] :is(.team-data-connector,.team-data-branches i)::after,[data-secretary-meter] *{animation:none!important}}
