/* ==========================================================================
   market-lab console · 页面级组件（v2 补充：项目 / 看板 / 素材）
   ========================================================================== */

/* 口径条：所有评分类页面顶部必须有 */
.scope-bar{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r);
  padding:10px 14px;font-size:12px;color:var(--sub);margin-bottom:12px;
}
.scope-bar b{color:var(--ink);font-weight:650}
.scope-bar .sep{width:1px;height:14px;background:var(--line)}
.scope-bar .warn{margin-left:auto;color:var(--pend);font-weight:600}

/* 卡片网格 */
.cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cards2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

.proj{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r);
  padding:14px 16px;cursor:pointer;display:flex;flex-direction:column;gap:9px;
}
.proj:hover{border-color:#d3d9df}
.proj.is-on{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);background:#fcfefd}
.proj .top{display:flex;align-items:flex-start;gap:8px}
.proj .name{font-size:13.5px;font-weight:650;line-height:1.45}
.proj .client{font-size:11.5px;color:var(--sub)}
.proj .meta{display:flex;flex-wrap:wrap;gap:10px;font-size:11.5px;color:var(--sub)}
.proj .meta b{color:var(--ink-2);font-weight:600}
.proj .bar{height:5px;border-radius:3px;background:var(--line-2);overflow:hidden;margin-top:2px}
.proj .bar > i{display:block;height:100%;background:var(--brand)}

/* 时间线 */
.tl{display:flex;flex-direction:column;gap:0;padding:4px 0}
.tl-item{display:grid;grid-template-columns:14px 1fr;gap:12px;position:relative;padding-bottom:16px}
.tl-item::before{content:"";position:absolute;left:6px;top:14px;bottom:0;width:1px;background:var(--line)}
.tl-item:last-child::before{display:none}
.tl-item .pt{width:13px;height:13px;border-radius:50%;border:2px solid var(--line);background:var(--panel);margin-top:2px;z-index:1}
.tl-item.done .pt{background:var(--ok);border-color:var(--ok)}
.tl-item.now .pt{background:var(--panel);border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-bg)}
.tl-item .t{font-size:12.5px;font-weight:600;color:var(--ink-2)}
.tl-item .d{font-size:11.5px;color:var(--mute);margin-top:1px}

/* 进度条（上传队列） */
.pg{display:block;height:6px;border-radius:4px;background:var(--line-2);overflow:hidden;min-width:80px;width:100%}
.pg > i{display:block;height:100%;border-radius:4px;background:var(--brand)}
.pg > i.pend{background:var(--pend)}
.pg > i.mute{background:#c2cad3}

.up-row{display:grid;grid-template-columns:250px 1fr 132px 96px 84px;gap:14px;align-items:center;
  padding:11px 14px;border-bottom:1px solid var(--line-2);font-size:12px}
.up-row:last-child{border-bottom:0}
.up-row .f{font-family:var(--mono);font-size:11.5px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.up-row .s{font-size:11.5px;color:var(--sub);text-align:right;white-space:nowrap}

/* 趋势折线 */
.spark{width:100%;height:auto;display:block}

/* 宽值列的条形列表（看板用） */
.bars-lg .bar-row{grid-template-columns:104px 1fr 118px}

/* 表格内条形 */
.tbl .bar{display:block;width:100%}

/* 排名表窄体 */
.rank td:first-child{width:26px;color:var(--mute);font-variant-numeric:tabular-nums}

/* 标签页 */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:12px}
.tabs button{padding:8px 12px;font-size:12.5px;color:var(--sub);border-bottom:2px solid transparent;margin-bottom:-2px}
.tabs button[aria-selected="true"]{color:var(--ink);font-weight:600;border-bottom-color:var(--brand)}

/* 空态 */
.empty{padding:26px 14px;text-align:center;font-size:12.5px;color:var(--mute);line-height:1.9}

/* 小图例 */
.lg{display:flex;gap:14px;font-size:11px;color:var(--mute);flex-wrap:wrap}
.lg span{display:inline-flex;align-items:center;gap:5px}
.lg i{width:10px;height:4px;border-radius:2px;display:inline-block}
