/* ── 09 GPU slots and tiles — height = VRAM; hatch = unknown; empty outline = no process ── */
.slots{display:flex;gap:4px;align-items:flex-end;margin-top:16px}
.slot{width:20px;height:34px;border-radius:2px;border:1px solid var(--ink-4);position:relative;overflow:hidden;flex:none}
.slot i{position:absolute;left:0;right:0;bottom:0;background:var(--ink-3)}
.slot.mine{border-color:var(--ink)}
.slot.mine i{background:var(--ink)}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:var(--fs-small);color:var(--ink-2)}
.legend span{display:inline-flex;gap:8px;align-items:center}
.legend .slot{width:10px;height:14px}
.gpu{position:relative;overflow:hidden;isolation:isolate;border:1px solid var(--line-2);border-radius:8px;padding:12px;min-height:168px;display:flex;flex-direction:column;background:var(--bg-1)}
.gpu > *{position:relative}
/* the level is a tone plus two 6px gauge ticks in the 12px gutters — no stroke ever
   crosses the header, the numbers or the owner text */
.gpu.mine{border-color:var(--ink-3)}
.gpu.free{background:transparent}
.me{display:inline-block;font-size:var(--fs-micro);font-weight:600;letter-spacing:.04em;color:var(--on-primary);background:var(--ink);border-radius:3px;padding:1px 4px;margin-left:6px;vertical-align:1px;line-height:1.3}
/* unknown always wins over surface fills */

/* ── 10 status grammar — shape + word + colour ─────────────────────────────────────── */
.st{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-meta);font-weight:600;white-space:nowrap;line-height:1.2}
.st .g{width:8px;height:8px;border-radius:50%;flex:none;display:inline-block;position:relative}
.st-run{color:var(--run)}.st-run .g{background:var(--run)}
               /* fresh telemetry only */
.st-start{color:var(--run)}.st-start .g{border:1.5px dashed var(--run)}
.st-queue{color:var(--queue)}.st-queue .g{border:1.5px solid var(--queue)}
.st-prep{color:var(--prep)}.st-prep .g{border:1.5px solid var(--prep);background:linear-gradient(90deg,var(--prep) 50%,transparent 50%)}
.st-err{color:var(--err)}.st-err .g{width:7px;height:7px;border-radius:1px;transform:rotate(45deg);background:var(--err)}
.st-unk{color:var(--ink-2)}.st-unk .g{width:9px;height:9px;border-radius:2px;border:1px solid var(--ink-3);background-image:repeating-linear-gradient(135deg,var(--ink-3) 0 1px,transparent 1px 3px)}
.st-done{color:var(--ink-2)}.st-done .g{background:var(--ink-2)}
.st-stop{color:var(--ink-3)}.st-stop .g{width:8px;height:8px;border-radius:1px;border:1.5px solid var(--ink-3)}            /* 提交中 · 正在连接 · 正在生成 */
.st-cancel,.st-stop.pending{color:var(--ink-2)}
.st-cancel .g,.st-stop.pending .g{width:8px;height:8px;border-radius:1px;border:1.5px dashed var(--ink-2)} /* 取消中 */
.st small{font-weight:400;color:var(--ink-3);font-size:var(--fs-small)}
.st.quiet{font-weight:500}
/* collaboration feedback status — neutral chips, never job colours or glyphs */
        /* 待处理 */
            /* 处理中 */
   /* 已解决 */
  /* 已关闭 */

/* ── 11 trajectory timeline — real times only, no fake progress ─────────────────────── */
.tl{display:flex;margin-top:20px}
.tl li{flex:1 1 0;position:relative;padding-top:18px;min-width:0;padding-right:10px}
.tl li:last-child{flex:0 0 96px;padding-right:0}
.tl li::before{content:"";position:absolute;top:4px;left:13px;right:4px;height:1px;background:var(--line-3);transform-origin:left center}
.tl li:last-child::before{display:none}
.tl .d{position:absolute;top:0;left:0;width:9px;height:9px;border-radius:50%;border:1px solid var(--ink-4);background:var(--bg)}
.tl .fill{position:absolute;top:4px;left:13px;height:1px;max-width:calc(100% - 17px);background:var(--ink-2)}
.tl .done::before{background:var(--ink-3)}
.tl .done .d{background:var(--ink-3);border-color:var(--ink-3)}
.tl .k{display:block;font-size:var(--fs-small);color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.tl .v{display:block;font-family:var(--mono);font-size:var(--fs-micro);color:var(--ink-3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
/* vertical variant (phone) */
/* compact trajectory (phone) */
.tl.compact{margin-top:16px}
.tl.compact li{padding-right:6px}
.tl.compact li:last-child{flex:0 0 34px}
.tl.compact .k{font-size:var(--fs-small)}
.tl.compact .v{display:none}

/* ── 12 jobs, chips, progress and transfer route ───────────────────────────────────── */
.jobs{border-top:1px solid var(--line)}
.job{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 40px;padding:24px 0;border-bottom:1px solid var(--line)}
.job-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.job-name{font-size:var(--fs-row);font-weight:600;letter-spacing:-.005em;line-height:1.35}
.job-id{font-family:var(--mono);font-size:var(--fs-micro);color:var(--ink-3);letter-spacing:0}
.job-desc{font-size:var(--fs-body);color:var(--ink-2);margin-top:6px}
.job-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:16px;min-width:220px}
.job-acts{display:flex;gap:6px}
.job-note{font-size:var(--fs-meta);color:var(--ink-2);margin-top:12px;display:flex;gap:10px;align-items:baseline}
/* live transfer route: source ── fill ··· > destination. Dots flow (under .motion) only
   while bytes grew between the last two checks; the arrowhead keeps direction static. */
