mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
1644 lines
33 KiB
CSS
1644 lines
33 KiB
CSS
/*
|
|
* 步骤明细与模型汇总数据表样式表 (views-tables.css).
|
|
* 包含:
|
|
* 1. 表格专属自定义滚动容器修饰 (.table-scroll-host)
|
|
* 2. 表格滚动视口 (.table-viewport)
|
|
* 3. 粘性表头与紧凑高密度数据表 (.data-table)
|
|
*/
|
|
|
|
/* --- 1. 表格专属滚动容器与视口 (Table Scroll Host & Viewport) --- */
|
|
.table-scroll-host {
|
|
flex: 1;
|
|
min-height: 0;
|
|
gap: 4px;
|
|
padding-top: 2px;
|
|
padding-right: 0;
|
|
border: none;
|
|
border-top: 1px solid var(--border-hairline);
|
|
border-radius: 0;
|
|
background: var(--surface-panel);
|
|
}
|
|
|
|
.panel > .table-scroll-host {
|
|
margin-right: calc(-1 * var(--space-5) + 2px);
|
|
}
|
|
|
|
.panel > .table-scroll-host > .custom-scroll-content {
|
|
padding-right: calc(var(--space-5) - 2px);
|
|
}
|
|
|
|
.table-viewport {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background: var(--surface-panel);
|
|
}
|
|
|
|
.table-viewport.is-step-table {
|
|
overflow-x: auto;
|
|
overflow-anchor: none;
|
|
}
|
|
|
|
/* --- 2. 粘性表头数据表 (Sticky-Header Data Table) --- */
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: var(--fs-base-sm);
|
|
}
|
|
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: calc(5px * var(--ui-font-scale, 1)) calc(4px * var(--ui-font-scale, 1));
|
|
text-align: left;
|
|
font-size: var(--fs-base-sm);
|
|
border-bottom: 1px solid var(--border-hairline);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table th.is-right,
|
|
.data-table td.is-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.data-table th:first-child,
|
|
.data-table td:first-child {
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.data-table th:last-child,
|
|
.data-table td:last-child {
|
|
text-align: right;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.data-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background: var(--surface-panel);
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.data-table th.is-sortable {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: color var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.data-table th.is-sortable:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.data-table th.is-sorted {
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.step-th-inner {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.data-table th:last-child .step-th-inner {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.step-sort-icon {
|
|
flex-shrink: 0;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.step-sort-icon[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.data-table tbody tr:not(.step-vspacer):not(.step-vsizer):hover {
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.data-table tbody tr.step-vspacer,
|
|
.data-table tbody tr.step-vspacer:hover,
|
|
.data-table tbody tr.step-vsizer,
|
|
.data-table tbody tr.step-vsizer:hover {
|
|
background: transparent !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.data-table tbody tr.step-vsizer {
|
|
visibility: hidden;
|
|
height: 0;
|
|
}
|
|
|
|
.data-table tbody tr.step-vsizer td {
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
border: none !important;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.step-vsizer-inner {
|
|
display: block;
|
|
height: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table tbody tr.step-vspacer td.step-vspacer-cell {
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
line-height: 0;
|
|
}
|
|
|
|
.step-model-cell {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
max-width: calc(var(--step-model-max-w, 176px) * var(--ui-font-scale, 1));
|
|
min-width: 0;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.step-model-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.steps-panel-header {
|
|
flex-wrap: wrap;
|
|
row-gap: 6px;
|
|
}
|
|
|
|
.steps-header-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 6px 8px;
|
|
flex: 1 1 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.steps-header-controls .segmented {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.steps-header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.steps-header-filters {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.steps-header-filters[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-inline-scope-select,
|
|
.steps-inline-model-select {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
max-width: 148px;
|
|
}
|
|
|
|
.steps-inline-scope-select .select-trigger,
|
|
.steps-inline-model-select .select-trigger {
|
|
min-height: calc(25px * var(--ui-font-scale, 1));
|
|
height: auto;
|
|
padding: 2px 10px;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
font-size: var(--fs-md);
|
|
border: none;
|
|
border-radius: var(--radius-pill);
|
|
background: color-mix(in srgb, var(--text-primary) 7.5%, var(--surface-panel));
|
|
}
|
|
|
|
.steps-inline-scope-select .select-trigger:hover,
|
|
.steps-inline-model-select .select-trigger:hover {
|
|
background: color-mix(in srgb, var(--text-primary) 11.5%, var(--surface-panel));
|
|
}
|
|
|
|
.steps-inline-scope-select.is-open .select-trigger,
|
|
.steps-inline-model-select.is-open .select-trigger {
|
|
background: color-mix(in srgb, var(--text-primary) 14%, var(--surface-panel));
|
|
}
|
|
|
|
/* --- 2.5 极简对话轮次导轨与起点圆点 (Minimalist Turn Rail & Prompt Preview) --- */
|
|
.steps-data-table.has-turn-rail th:first-child,
|
|
.steps-data-table.has-turn-rail td:first-child {
|
|
padding-left: 17px;
|
|
}
|
|
|
|
.steps-data-table td:first-child {
|
|
position: relative;
|
|
}
|
|
|
|
.turn-rail {
|
|
--rail-line: color-mix(in srgb, var(--text-secondary) 28%, var(--border-hairline));
|
|
--rail-dot: color-mix(in srgb, var(--accent-primary) 52%, var(--text-secondary));
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: -1px;
|
|
left: 5px;
|
|
width: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.turn-rail.is-latest {
|
|
--rail-line: color-mix(in srgb, var(--accent-primary) 62%, var(--surface-panel));
|
|
--rail-dot: var(--accent-primary);
|
|
}
|
|
|
|
.steps-data-table tbody tr:hover .turn-rail {
|
|
--rail-line: color-mix(in srgb, var(--accent-primary) 78%, var(--surface-panel));
|
|
--rail-dot: var(--accent-primary);
|
|
}
|
|
|
|
.turn-rail::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 3.25px;
|
|
width: 1.5px;
|
|
background: var(--rail-line);
|
|
}
|
|
|
|
.turn-rail:not(.has-up):not(.has-down)::before {
|
|
display: none;
|
|
}
|
|
|
|
.turn-rail.has-up.has-down::before {
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.turn-rail.has-up:not(.has-down)::before {
|
|
top: 0;
|
|
bottom: 50%;
|
|
}
|
|
|
|
.turn-rail.has-down:not(.has-up)::before {
|
|
top: 50%;
|
|
bottom: 0;
|
|
}
|
|
|
|
.turn-rail.is-cap::after,
|
|
.turn-rail.is-origin::after {
|
|
content: '';
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 4px;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: var(--radius-pill);
|
|
}
|
|
|
|
.turn-rail.is-cap::after {
|
|
width: 3.5px;
|
|
height: 3.5px;
|
|
background: var(--rail-line);
|
|
}
|
|
|
|
.turn-rail.is-origin::after {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--surface-panel);
|
|
border: 1.5px solid var(--rail-dot);
|
|
box-shadow: 0 0 0 1px var(--surface-panel);
|
|
}
|
|
|
|
.turn-rail.is-latest.is-origin::after {
|
|
background: var(--rail-dot);
|
|
}
|
|
|
|
.turn-rail[hidden],
|
|
.turn-prompt-tip[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* 极简紧凑提问文本悬停预览气泡 */
|
|
.turn-prompt-tip {
|
|
position: absolute;
|
|
z-index: 45;
|
|
max-width: min(286px, calc(100% - 16px));
|
|
padding: 5px 8px;
|
|
font-size: var(--fs-sm);
|
|
line-height: 1.42;
|
|
color: var(--text-primary);
|
|
background: var(--surface-panel);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-xs);
|
|
box-shadow: var(--shadow-popover);
|
|
white-space: pre-line;
|
|
word-break: break-word;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
animation: anim-popover-in var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
/* --- 2.6 单步压缩 / 异常整行语义着色、模型汇总微标、筛选条与悬停诊断卡 --- */
|
|
.data-table tbody tr.is-compaction {
|
|
background: color-mix(in srgb, var(--accent-primary) 11%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-compaction:hover {
|
|
background: color-mix(in srgb, var(--accent-primary) 18%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-compaction td:first-child {
|
|
box-shadow: inset 2px 0 0 var(--accent-primary);
|
|
}
|
|
|
|
.data-table tbody tr.is-compaction td:first-child > span:not(.agent-badge):not(.turn-rail) {
|
|
color: var(--accent-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-warn {
|
|
background: color-mix(in srgb, var(--metric-warn) 11%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-warn:hover {
|
|
background: color-mix(in srgb, var(--metric-warn) 18%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-warn td:first-child {
|
|
box-shadow: inset 2px 0 0 var(--metric-warn);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-warn td:first-child > span:not(.agent-badge):not(.turn-rail) {
|
|
color: var(--metric-warn);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-danger {
|
|
background: color-mix(in srgb, var(--metric-danger) 13%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-danger:hover {
|
|
background: color-mix(in srgb, var(--metric-danger) 20%, transparent);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-danger td:first-child {
|
|
box-shadow: inset 2px 0 0 var(--metric-danger);
|
|
}
|
|
|
|
.data-table tbody tr.is-anomaly-danger td:first-child > span:not(.agent-badge):not(.turn-rail) {
|
|
color: var(--metric-danger);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-anomaly-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
margin-left: 4px;
|
|
padding: 0 3.5px;
|
|
font-size: var(--fs-2xs);
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
border-radius: 3px;
|
|
color: var(--metric-warn);
|
|
background: var(--metric-warn-soft);
|
|
border: 1px solid color-mix(in srgb, var(--metric-warn) 34%, transparent);
|
|
cursor: help;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-anomaly-tag.is-danger {
|
|
color: var(--metric-danger);
|
|
background: var(--metric-danger-soft);
|
|
border-color: color-mix(in srgb, var(--metric-danger) 36%, transparent);
|
|
}
|
|
|
|
.step-anomaly-tag[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.smodel-anomaly-tag {
|
|
margin-left: 0;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
transition:
|
|
background-color var(--dur-instant) var(--ease-fast),
|
|
border-color var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.smodel-anomaly-tag:hover {
|
|
background: color-mix(in srgb, var(--metric-warn) 22%, transparent);
|
|
}
|
|
|
|
.smodel-anomaly-tag.is-danger:hover {
|
|
background: color-mix(in srgb, var(--metric-danger) 22%, transparent);
|
|
}
|
|
|
|
.step-anomaly-tip {
|
|
position: absolute;
|
|
z-index: 46;
|
|
max-width: min(300px, calc(100% - 16px));
|
|
min-width: 176px;
|
|
padding: 7px 9px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
font-size: var(--fs-sm);
|
|
line-height: 1.38;
|
|
color: var(--text-primary);
|
|
background: var(--surface-panel);
|
|
border: 1px solid color-mix(in srgb, var(--metric-warn) 42%, var(--border-strong));
|
|
border-radius: var(--radius-xs);
|
|
box-shadow: var(--shadow-popover);
|
|
pointer-events: none;
|
|
animation: anim-popover-in var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.step-anomaly-tip.is-danger {
|
|
border-color: color-mix(in srgb, var(--metric-danger) 46%, var(--border-strong));
|
|
}
|
|
|
|
.step-anomaly-tip.is-compaction {
|
|
border-color: color-mix(in srgb, var(--accent-primary) 46%, var(--border-strong));
|
|
}
|
|
|
|
.step-anomaly-tip.is-timing {
|
|
border-color: var(--border-strong);
|
|
}
|
|
|
|
.step-anomaly-tip[hidden],
|
|
.step-anomaly-tip-sub[hidden],
|
|
.step-anomaly-tip-list[hidden],
|
|
.step-anomaly-tip-hint[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.step-anomaly-tip-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.step-anomaly-tip-title {
|
|
font-weight: 600;
|
|
color: var(--metric-warn);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-anomaly-tip.is-danger .step-anomaly-tip-title {
|
|
color: var(--metric-danger);
|
|
}
|
|
|
|
.step-anomaly-tip.is-compaction .step-anomaly-tip-title {
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.step-anomaly-tip.is-timing .step-anomaly-tip-title {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.step-anomaly-tip-sub {
|
|
font-size: var(--fs-xs);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-anomaly-tip-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding-top: 4px;
|
|
border-top: 1px solid var(--border-hairline);
|
|
}
|
|
|
|
.step-anomaly-tip-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.step-anomaly-tip-row {
|
|
font-size: var(--fs-xs);
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.step-anomaly-tip-row.is-kv {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.step-anomaly-tip-k {
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-anomaly-tip-v {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
}
|
|
|
|
.step-anomaly-tip-row.is-danger {
|
|
color: var(--metric-danger);
|
|
}
|
|
|
|
.step-anomaly-tip-detail {
|
|
font-size: var(--fs-2xs);
|
|
line-height: 1.35;
|
|
color: var(--text-muted);
|
|
word-break: break-word;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.step-anomaly-tip-hint {
|
|
font-size: var(--fs-2xs);
|
|
color: var(--text-muted);
|
|
padding-top: 3px;
|
|
border-top: 1px solid var(--border-hairline);
|
|
}
|
|
|
|
.steps-anomaly-filterbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 4px 8px;
|
|
border-top: 1px solid var(--border-hairline);
|
|
background: color-mix(in srgb, var(--metric-warn) 8%, var(--surface-panel));
|
|
font-size: var(--fs-xs);
|
|
}
|
|
|
|
.steps-anomaly-filterbar[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-anomaly-filter-label {
|
|
font-weight: 600;
|
|
color: var(--metric-warn);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.steps-anomaly-filter-clear {
|
|
flex-shrink: 0;
|
|
padding: 1px 7px;
|
|
font-size: var(--fs-xs);
|
|
}
|
|
|
|
.steps-anomaly-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px 6px;
|
|
padding: 4px 8px;
|
|
border: 1px solid color-mix(in srgb, var(--metric-warn) 26%, var(--border-hairline));
|
|
border-radius: var(--radius-xs);
|
|
background: color-mix(in srgb, var(--metric-warn) 7%, var(--surface-panel));
|
|
}
|
|
|
|
.steps-anomaly-strip[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-anomaly-strip-meta {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
font-size: var(--fs-xs);
|
|
font-weight: 600;
|
|
color: var(--metric-warn);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.steps-anomaly-strip-meta:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.steps-anomaly-strip-tags {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* --- 3. 按模型汇总分析视图:双趋势图与极简模型总览 (Models Analytics Pane) --- */
|
|
.models-analytics-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
padding-top: var(--space-3);
|
|
padding-bottom: 2px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.sstep-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: var(--space-3) var(--space-4);
|
|
background: var(--surface-panel);
|
|
border: 1px solid var(--border-hairline);
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
.sstep-card-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sstep-card-title-group {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sstep-card-title {
|
|
font-size: var(--fs-base);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sstep-card .seg-btn {
|
|
padding: 2px 6px;
|
|
font-size: var(--fs-sm);
|
|
}
|
|
|
|
.sstep-fit-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sstep-fit-model-select {
|
|
min-width: 96px;
|
|
max-width: 176px;
|
|
}
|
|
|
|
.sstep-fit-model-select .select-trigger {
|
|
min-height: calc(24px * var(--ui-font-scale, 1));
|
|
height: auto;
|
|
padding: 2px 10px;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
font-size: var(--fs-sm);
|
|
border: none;
|
|
border-radius: var(--radius-pill);
|
|
background: color-mix(in srgb, var(--text-primary) 7.5%, var(--surface-panel));
|
|
}
|
|
|
|
.sstep-fit-model-select .select-trigger:hover {
|
|
background: color-mix(in srgb, var(--text-primary) 11.5%, var(--surface-panel));
|
|
}
|
|
|
|
.sstep-fit-model-select.is-open .select-trigger {
|
|
background: color-mix(in srgb, var(--text-primary) 14%, var(--surface-panel));
|
|
}
|
|
|
|
.sstep-chart-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.sstep-plot-stage {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 4px;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.sstep-svg {
|
|
width: 100%;
|
|
height: 106px;
|
|
display: block;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sstep-fit-svg {
|
|
height: 136px;
|
|
}
|
|
|
|
.sstep-sci-grid line {
|
|
stroke: var(--border-hairline);
|
|
stroke-width: 0.9;
|
|
stroke-dasharray: 2 3;
|
|
}
|
|
|
|
.sstep-axis-spine {
|
|
stroke: var(--border-strong);
|
|
stroke-width: 1;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.sstep-axis-tick {
|
|
stroke: var(--border-strong);
|
|
stroke-width: 1;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.sstep-axis-label {
|
|
fill: var(--text-muted);
|
|
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
|
|
font-size: var(--fs-2xs);
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-axis-label.is-y-inline {
|
|
paint-order: stroke;
|
|
stroke: var(--surface-panel);
|
|
stroke-width: 2.5px;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.sstep-line-card .trend-line {
|
|
stroke: var(--sstep-accent, var(--ctx-cached));
|
|
stroke-width: 1.9;
|
|
}
|
|
|
|
.sstep-multi-area {
|
|
fill: var(--sstep-series-color, var(--ctx-cached));
|
|
fill-opacity: 0.08;
|
|
stroke: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-series-single-dot {
|
|
fill: var(--sstep-series-color, var(--ctx-cached));
|
|
stroke: var(--surface-panel);
|
|
stroke-width: 1.3;
|
|
}
|
|
|
|
.sstep-svg .trend-hover-dot {
|
|
stroke: var(--hover-dot-color, var(--sstep-accent, var(--accent-primary)));
|
|
}
|
|
|
|
.sstep-line-card .trend-peak-pill {
|
|
background: color-mix(in srgb, var(--sstep-accent, var(--ctx-cached)) 14%, var(--surface-panel));
|
|
border-color: color-mix(in srgb, var(--sstep-accent, var(--ctx-cached)) 30%, var(--border-hairline));
|
|
}
|
|
|
|
.sstep-node-dot {
|
|
fill: var(--surface-panel);
|
|
stroke: var(--dot-stroke, var(--sstep-accent, var(--ctx-cached)));
|
|
stroke-width: 1.45;
|
|
}
|
|
|
|
.sstep-node-dot.is-skipped {
|
|
fill: transparent;
|
|
stroke: var(--border-strong);
|
|
stroke-width: 1;
|
|
stroke-dasharray: 1.5 1.5;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.sstep-ci-band {
|
|
fill: var(--sstep-fit-accent, var(--ctx-cached));
|
|
fill-opacity: 0.14;
|
|
stroke: var(--sstep-fit-accent, var(--ctx-cached));
|
|
stroke-opacity: 0.24;
|
|
stroke-width: 0.75;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-ci-band.is-multi {
|
|
fill-opacity: 0.1;
|
|
stroke-opacity: 0.18;
|
|
}
|
|
|
|
.sstep-fit-line {
|
|
stroke: var(--sstep-fit-accent, var(--ctx-cached));
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.sstep-ols-line {
|
|
stroke: color-mix(in srgb, var(--text-secondary) 72%, var(--surface-panel));
|
|
stroke-width: 1.1;
|
|
stroke-dasharray: 3.5 3;
|
|
}
|
|
|
|
.sstep-scatter-dot {
|
|
fill: color-mix(in srgb, var(--sstep-fit-accent, var(--ctx-cached)) 48%, var(--text-secondary) 52%);
|
|
fill-opacity: 0.42;
|
|
stroke: none;
|
|
}
|
|
|
|
.sstep-scatter-dot.is-multi {
|
|
fill: var(--sstep-fit-accent, var(--ctx-cached));
|
|
fill-opacity: 0.48;
|
|
}
|
|
|
|
.sstep-fit-svg .trend-hover-dot {
|
|
stroke: var(--hover-dot-color, var(--accent-primary));
|
|
}
|
|
|
|
.sstep-hover-raw-dot {
|
|
fill: var(--surface-panel);
|
|
stroke: var(--text-primary);
|
|
stroke-width: 1.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-hover-raw-dot.is-anomaly {
|
|
stroke: var(--metric-warn);
|
|
stroke-width: 1.85;
|
|
}
|
|
|
|
.sstep-hover-raw-dot.is-danger {
|
|
stroke: var(--metric-danger);
|
|
}
|
|
|
|
.sstep-anomaly-dot {
|
|
stroke: var(--metric-warn);
|
|
stroke-width: 1.5;
|
|
stroke-opacity: 0.82;
|
|
stroke-linecap: round;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-anomaly-dot.is-danger {
|
|
stroke: var(--metric-danger);
|
|
stroke-opacity: 0.92;
|
|
}
|
|
|
|
.sstep-scatter-dot.is-anomaly {
|
|
fill: var(--metric-warn);
|
|
fill-opacity: 0.88;
|
|
stroke: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sstep-scatter-dot.is-anomaly.is-danger {
|
|
fill: var(--metric-danger);
|
|
fill-opacity: 0.92;
|
|
}
|
|
|
|
.trend-tip-anomaly {
|
|
margin-top: 0;
|
|
padding: 4px 8px;
|
|
border: none;
|
|
border-radius: var(--radius-xs);
|
|
background: color-mix(in srgb, var(--metric-warn) 11%, transparent);
|
|
font-size: var(--fs-xs);
|
|
font-weight: 600;
|
|
color: var(--metric-warn);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.trend-tip-anomaly.is-danger {
|
|
color: var(--metric-danger);
|
|
background: color-mix(in srgb, var(--metric-danger) 12%, transparent);
|
|
}
|
|
|
|
.trend-tip-anomaly[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.sstep-empty-hint {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: var(--fs-md);
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.sstep-model-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px 10px;
|
|
padding-top: 2px;
|
|
font-size: var(--fs-xs);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.sstep-legend-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sstep-legend-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--swatch-bg, var(--ctx-cached));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sstep-legend-line {
|
|
width: 11px;
|
|
height: 2px;
|
|
border-radius: 1px;
|
|
background: var(--swatch-bg, var(--ctx-cached));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sstep-fit-legend[hidden],
|
|
.sstep-model-legend[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.sstep-fit-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 4px 8px;
|
|
padding-top: 2px;
|
|
font-size: var(--fs-xs);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.sstep-fit-legend {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.sstep-fit-legend-ols {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.sstep-fit-legend-ols[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.sstep-fit-swatch {
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sstep-fit-swatch.is-scatter {
|
|
width: 5.5px;
|
|
height: 5.5px;
|
|
border-radius: var(--radius-pill);
|
|
background: color-mix(in srgb, var(--sstep-fit-accent, var(--ctx-cached)) 48%, var(--text-secondary) 52%);
|
|
opacity: 0.68;
|
|
}
|
|
|
|
.sstep-fit-swatch.is-curve {
|
|
width: 11px;
|
|
height: 2px;
|
|
border-radius: 1px;
|
|
background: var(--sstep-fit-accent, var(--ctx-cached));
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.sstep-fit-swatch.is-ci {
|
|
width: 10px;
|
|
height: 6.5px;
|
|
border-radius: 1px;
|
|
background: color-mix(in srgb, var(--sstep-fit-accent, var(--ctx-cached)) 22%, var(--surface-panel));
|
|
border: 0.75px solid color-mix(in srgb, var(--sstep-fit-accent, var(--ctx-cached)) 42%, transparent);
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.sstep-fit-swatch.is-ols {
|
|
width: 10px;
|
|
height: 0;
|
|
border-top: 1.2px dashed color-mix(in srgb, var(--text-secondary) 75%, var(--surface-panel));
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.sstep-fit-delta {
|
|
font-size: var(--fs-xs);
|
|
}
|
|
|
|
/* --- 4. 极简高密度模型总览列表 (Minimalist Session Model Summary Cards) --- */
|
|
.smodel-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.smodel-section-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 2px 1px 0;
|
|
}
|
|
|
|
.smodel-empty {
|
|
padding: var(--space-5) var(--space-3);
|
|
text-align: center;
|
|
font-size: var(--fs-md);
|
|
border: 1px dashed var(--border-hairline);
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
.smodel-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.smodel-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
padding: 7px 10px;
|
|
background: var(--surface-panel);
|
|
border: 1px solid var(--border-hairline);
|
|
border-radius: var(--radius-xs);
|
|
cursor: pointer;
|
|
transition:
|
|
background var(--dur-instant) var(--ease-fast),
|
|
border-color var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.smodel-card:hover {
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.smodel-card.is-fit-active {
|
|
border-color: var(--accent-primary-border);
|
|
background: color-mix(in srgb, var(--accent-primary) 4.5%, var(--surface-panel));
|
|
}
|
|
|
|
.smodel-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.smodel-ident {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.smodel-name {
|
|
font-size: var(--fs-base);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.smodel-calls-pill {
|
|
flex-shrink: 0;
|
|
font-size: var(--fs-xs);
|
|
font-weight: 500;
|
|
padding: 1px 5px;
|
|
color: var(--text-secondary);
|
|
background: var(--surface-track);
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
.smodel-totals {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.smodel-tok {
|
|
font-size: var(--fs-base-sm);
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.smodel-cost {
|
|
font-size: var(--fs-base);
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.smodel-seg-bar {
|
|
height: 5px;
|
|
}
|
|
|
|
.smodel-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
gap: 4px 10px;
|
|
font-size: var(--fs-md);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.smodel-split {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px 10px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.smodel-split strong {
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.smodel-perf-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: var(--fs-sm);
|
|
line-height: 1.3;
|
|
color: var(--text-muted);
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.smodel-perf {
|
|
font-size: var(--fs-sm);
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.smodel-unit-cost {
|
|
font-size: var(--fs-sm);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.smodel-unit-cost[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* --- 步骤搜索栏、快捷诊断筛选芯片及单步透视抽屉 --- */
|
|
.steps-filter-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 5px 0 6px;
|
|
}
|
|
|
|
.steps-filter-toolbar[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-search-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
flex: 1 1 160px;
|
|
min-width: 120px;
|
|
min-height: calc(28px * var(--ui-font-scale, 1));
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-xs);
|
|
border: 1px solid var(--border-hairline);
|
|
background: var(--surface-subtle);
|
|
transition:
|
|
border-color var(--dur-instant) var(--ease-fast),
|
|
background-color var(--dur-instant) var(--ease-fast),
|
|
box-shadow var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.steps-search-wrap:focus-within {
|
|
border-color: var(--accent-primary);
|
|
}
|
|
|
|
.steps-search-icon {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.steps-search-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
font-family: var(--font-sans);
|
|
font-size: var(--fs-md);
|
|
line-height: 1.3;
|
|
padding: 0;
|
|
}
|
|
|
|
.steps-search-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.steps-search-clear {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: var(--radius-pill);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
transition:
|
|
color var(--dur-instant) var(--ease-fast),
|
|
background-color var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.steps-search-clear:hover {
|
|
color: var(--text-primary);
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.steps-search-clear[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-quick-chips {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.steps-quick-chips[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-export-menu {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.steps-chip-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-hairline);
|
|
background: var(--surface-subtle);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-xs);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition:
|
|
background var(--dur-instant) var(--ease-fast),
|
|
color var(--dur-instant) var(--ease-fast),
|
|
border-color var(--dur-instant) var(--ease-fast);
|
|
}
|
|
|
|
.steps-chip-btn[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.steps-chip-btn:hover {
|
|
background: var(--surface-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.steps-chip-btn.is-active {
|
|
background: var(--accent-primary-soft);
|
|
border-color: var(--accent-primary-border);
|
|
color: var(--accent-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.steps-chip-btn.is-warn.is-active {
|
|
background: var(--metric-warn-soft);
|
|
border-color: color-mix(in srgb, var(--metric-warn) 42%, var(--border-hairline));
|
|
color: var(--metric-warn);
|
|
}
|
|
|
|
.steps-chip-btn.is-danger.is-active {
|
|
background: var(--metric-danger-soft);
|
|
border-color: color-mix(in srgb, var(--metric-danger) 42%, var(--border-hairline));
|
|
color: var(--metric-danger);
|
|
}
|
|
|
|
.steps-chip-btn.is-info.is-active {
|
|
background: var(--metric-info-soft);
|
|
border-color: color-mix(in srgb, var(--metric-info) 42%, var(--border-hairline));
|
|
color: var(--metric-info);
|
|
}
|
|
|
|
.data-table tbody tr.is-selectable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.data-table tbody tr.is-selected {
|
|
background: var(--surface-active) !important;
|
|
}
|
|
|
|
.step-inspector-drawer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 9px 10px;
|
|
margin-top: 4px;
|
|
border-top: 1px solid var(--border-strong);
|
|
background: var(--surface-subtle);
|
|
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-inspector-drawer[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.step-insp-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.step-insp-head-left {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.step-insp-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 1px 6px;
|
|
border-radius: var(--radius-xs);
|
|
background: var(--accent-primary-soft);
|
|
color: var(--accent-primary);
|
|
font-size: var(--fs-xs);
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-insp-model {
|
|
font-size: var(--fs-base-sm);
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.step-insp-time {
|
|
font-size: var(--fs-xs);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-insp-head-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-insp-icon-btn,
|
|
.step-insp-copy-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
height: 22px;
|
|
padding: 0 6px;
|
|
border-radius: var(--radius-xs);
|
|
border: 1px solid var(--border-hairline);
|
|
background: var(--surface-panel);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-sans);
|
|
font-size: var(--fs-xs);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.step-insp-icon-btn {
|
|
width: 22px;
|
|
padding: 0;
|
|
}
|
|
|
|
.step-insp-icon-btn:hover:not(:disabled),
|
|
.step-insp-copy-btn:hover {
|
|
background: var(--surface-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.step-insp-icon-btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.step-insp-copy-btn.is-copied {
|
|
color: var(--metric-ok);
|
|
border-color: color-mix(in srgb, var(--metric-ok) 40%, var(--border-hairline));
|
|
}
|
|
|
|
.step-insp-waterfall {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.step-insp-waterfall[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.step-insp-wf-track {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 5px;
|
|
border-radius: var(--radius-pill);
|
|
overflow: hidden;
|
|
background: var(--surface-track);
|
|
}
|
|
|
|
.step-insp-wf-seg {
|
|
height: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.step-insp-wf-seg.is-ttft {
|
|
background: var(--metric-warn);
|
|
}
|
|
|
|
.step-insp-wf-seg.is-stream {
|
|
background: var(--metric-ok);
|
|
}
|
|
|
|
.step-insp-wf-seg.is-other {
|
|
background: color-mix(in srgb, var(--text-muted) 48%, transparent);
|
|
}
|
|
|
|
.step-insp-wf-legend {
|
|
font-size: var(--fs-xs);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.step-insp-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.step-insp-kpi {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
padding: 5px 7px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-hairline);
|
|
background: var(--surface-panel);
|
|
min-width: 0;
|
|
}
|
|
|
|
.step-insp-kpi-lbl {
|
|
font-size: var(--fs-2xs);
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-insp-kpi-val {
|
|
font-size: var(--fs-sm);
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.step-insp-kpi-sub {
|
|
font-size: var(--fs-2xs);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.step-insp-prompt {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 5px 8px;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--surface-panel);
|
|
border: 1px solid var(--border-hairline);
|
|
}
|
|
|
|
.step-insp-prompt[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.step-insp-prompt-lbl {
|
|
font-size: var(--fs-2xs);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.step-insp-prompt-text {
|
|
font-size: var(--fs-sm);
|
|
color: var(--text-primary);
|
|
line-height: 1.4;
|
|
max-height: 54px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.step-insp-prompt-text::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.step-insp-anomalies {
|
|
font-size: var(--fs-xs);
|
|
color: var(--metric-danger);
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--metric-danger-soft);
|
|
}
|
|
|
|
.step-insp-anomalies[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
[data-modern-ui="true"] .steps-chip-btn {
|
|
border: none;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--modern-surface-subtle);
|
|
}
|
|
|
|
[data-modern-ui="true"] .step-inspector-drawer {
|
|
border-top: none;
|
|
border-radius: 10px;
|
|
background: var(--modern-surface-subtle);
|
|
}
|
|
|
|
[data-modern-ui="true"] .step-insp-kpi,
|
|
[data-modern-ui="true"] .step-insp-prompt,
|
|
[data-modern-ui="true"] .step-insp-icon-btn,
|
|
[data-modern-ui="true"] .step-insp-copy-btn {
|
|
border: none;
|
|
background: var(--modern-surface-card);
|
|
}
|
|
|
|
@media (max-width: 440px) {
|
|
.step-insp-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|