.aic-shell .aic-flow-track { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.aic-flow-column { min-width: 0; border: 1px solid #dbe6f1; border-radius: 9px; background: #f8fbff; overflow: hidden; }
.aic-flow-heading { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; background: #e9f0fa; color: #26446a; }
.aic-flow-heading b, .aic-flow-heading strong { display: block; }
.aic-flow-heading b { font-size: 12px; }
.aic-flow-heading strong { margin-top: 3px; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.aic-flow-heading small { font-size: 10px; font-weight: 400; }
.aic-flow-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff; color: #315da0; flex: 0 0 auto; }
.aic-flow-column.done .aic-flow-heading { background: #e2f4ed; color: #17654f; }
.aic-flow-column.warn .aic-flow-heading { background: #fff3df; color: #805306; }
.aic-flow-column.error .aic-flow-heading { background: #fbe9e9; color: #99423f; }
.aic-flow-items { padding: 5px 8px; min-height: 96px; }
.aic-flow-item { display: flex; width: 100%; align-items: center; gap: 8px; text-align: left; padding: 8px 2px; border: 0; border-bottom: 1px solid #e7edf4; background: transparent; color: #263c56; cursor: pointer; }
.aic-flow-item:last-child { border-bottom: 0; }
.aic-flow-item:hover { background: #edf4fc; }
.aic-flow-item:focus-visible { outline: 2px solid #315da0; outline-offset: 1px; }
.aic-flow-thumb { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #eaf1f8; color: #315da0; }
.aic-flow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.aic-flow-item-text { min-width: 0; display: grid; gap: 2px; }
.aic-flow-item-text b, .aic-flow-item-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aic-flow-item-text b { font-size: 11px; }
.aic-flow-item-text small { color: #61758b; font-size: 10px; }
.aic-flow-empty { padding: 22px 4px; color: #73869a; font-size: 11px; text-align: center; }

.aic-shell .aic-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.aic-shell .aic-left { display: contents; }
.aic-shell .aic-left > .aic-panel:first-child { grid-column: 1; grid-row: 1; min-width: 0; }
.aic-shell .aic-right { grid-column: 2; grid-row: 1 / span 2; }
.aic-shell .aic-table-panel { grid-column: 1; grid-row: 2; min-width: 0; }
.aic-flow-items { max-height: 360px; overflow-y: auto; }
@media (max-width: 1000px) {
  .aic-shell .aic-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aic-shell .aic-left > .aic-panel:first-child, .aic-shell .aic-right, .aic-shell .aic-table-panel { grid-column: 1; grid-row: auto; }
  .aic-shell .aic-right { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .aic-shell .aic-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
