.ao-loading{height:100%;display:grid;place-items:center;color:#7b8ba3;font:14px "Microsoft YaHei",sans-serif}
.ao-root .ao-kpi-spinner{display:inline-block;width:22px;height:22px;margin:6px 0;border:2.5px solid #e4e8f2;border-top-color:#7772e6;border-radius:50%;animation:ao-kpi-spin .7s linear infinite;vertical-align:middle}
.ao-root .ao-overview-kpi-value .ao-kpi-spinner{width:20px;height:20px}
@keyframes ao-kpi-spin{to{transform:rotate(360deg)}}
/* 渐进渲染骨架：doc 组未落地时占位（图表/分布/列表），落地由 remount 换成真实组件。 */
.ao-root .ao-chart-skeleton{height:220px;border-radius:8px;background:linear-gradient(100deg,#eef1f7 30%,#f7f9fc 50%,#eef1f7 70%);background-size:200% 100%;animation:ao-skeleton-shine 1.25s ease-in-out infinite}
@keyframes ao-skeleton-shine{from{background-position:200% 0}to{background-position:-200% 0}}
.ao-loading.ao-loading-inline{height:auto;min-height:220px;margin:0 0 18px;padding:60px 24px;border:1px dashed #e0e5ee;border-radius:9px;background:#fafbfd}
.ao-root .ao-collection-banner{margin:0 0 18px;padding:10px 14px;background:#fff8eb;border:1px solid #f1dfb8;border-radius:7px;color:#96733c;font-size:12px;line-height:1.8}
.ao-root .ao-live-empty{padding:70px 24px;border:1px dashed #e0e5ee;border-radius:9px;background:#fafbfd;text-align:center;color:#8996aa;font-size:13px;line-height:2}
.ao-root .ao-live-empty strong{display:block;color:#596d88;font-size:15px;font-weight:500}
.ao-root .ao-grid:empty,.ao-root .ao-kpis:empty,.ao-root .ao-overview-kpis:empty{display:none}
.ao-root .ao-grid>.ao-panel:only-child{grid-column:1/-1}
.ao-root .ao-footer{gap:6px;flex-wrap:wrap}
.ao-root .ao-source-time{color:#98a4b3;font-size:10px}
.ao-root .ao-code{white-space:pre-wrap;overflow-wrap:anywhere}
.ao-root .ao-context-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.ao-root .ao-captured-context{margin:14px 0;border:1px solid #e6ebf3;border-radius:6px;padding:12px;min-width:0}
.ao-root .ao-captured-context summary{cursor:pointer;color:#536782;overflow-wrap:anywhere}
.ao-root .ao-captured-context summary small{display:block;margin-top:5px;color:#99a4b6}
.ao-root .ao-content-loss{color:#946c29;background:#fff8e9}
.ao-root .ao-message p{white-space:pre-wrap;overflow-wrap:anywhere}
.ao-root .ao-trace-stats{flex-wrap:wrap}
.ao-root .ao-trace-stats>div{min-width:100px}

/* 未声明身份的环形图分组：只展示占比，不可点击下钻。
   图例项位于 charts.js 生成的 .ao-donut>div 匿名容器内，需后代选择器命中。 */
.ao-donut-segment.ao-donut-muted{cursor:default}
.ao-root .ao-donut div>.ao-donut-muted{display:flex;align-items:center;gap:8px;padding:5px 6px;border-radius:6px;color:#8a93a3;font-size:12px}
.ao-root .ao-donut div>.ao-donut-muted i{width:9px;height:9px;border-radius:50%;flex:none}
.ao-root .ao-donut div>.ao-donut-muted strong{margin-left:auto;font-weight:500;color:#5d6b80}
.ao-root .ao-donut div>.ao-donut-muted b{color:#98a4b3;font-weight:400;width:52px;text-align:right}
