@charset "utf-8";
/* ============================================================
   米优·客户使用界面 三档皮肤之【全自动版 full】
   基调：冷静蓝 · 科技感靠"细与准"，不靠渐变/扫光。
   新形态：#tierZone 是工作区头部的一条"行动条"槽位（默认约 140px 高）——
   默认单行 = 状态句(14px) + 蓝实底主按钮(44px) + 8 个细 progress 节点；
   点跑才向下展开浅灰流水账（最高 200px 内部滚动），跑完可收起。
   规则全部限定在 body[data-tier="full"] 之下，绝不影响其它档位。
   绝不隐藏/破坏 .frame-wrap / .assets-dock / .topbar；类名不改、DOM 不动。
   ============================================================ */

/* ---- 变量覆写：近白冷底 + 单一冷静蓝（新旧两套变量都覆写，兼容主文件改版前后） ---- */
body[data-tier="full"] {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --ink: #1c2430;
  --soft-ink: #4a5568;
  --muted: #818a9b;
  --line: #e5e8ef;
  --line-strong: #d3d9e4;
  --accent: #2b5fd9;          /* 唯一强调色：冷静蓝 */
  --accent-soft: #edf2fc;
  --ok: #1f7a55;
  --warn: #b45309;
  --danger: #b42318;
  /* 旧变量名映射：收敛饱和度 */
  --green: #1f7a55;
  --green-soft: #e9f4ef;
  --purple: #2b5fd9;
  --purple-soft: #edf2fc;
  --amber: #b45309;
  --amber-soft: #fbf2e7;
  --amber-line: #ead3b3;
  --gray: #6c7688;
  --gray-soft: #f1f3f7;
  --shadow: 0 1px 2px rgba(28, 36, 48, .04), 0 6px 18px rgba(28, 36, 48, .05);

  background: var(--bg);      /* 去掉旧版顶部径向蓝光 */
}

/* 顶栏：细线即可，不发光 */
body[data-tier="full"] .topbar {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(28, 36, 48, .04);
}

/* 货号块跟着蓝 */
body[data-tier="full"] .sku-current { border-color: #d9e2f4; }
body[data-tier="full"] .sku-block input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 95, 217, .12);
}

/* ---- 步骤条：激活 = 1 圈细描边 + 浅晕，不再呼吸闪烁 ---- */
body[data-tier="full"] .step {
  background: #fbfcfe;
  border-color: var(--line);
}
body[data-tier="full"] .step:hover:not(.active) { background: #f1f4fa; }
body[data-tier="full"] .step.active,
body[data-tier="full"] .step.active:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(43, 95, 217, .12);
  animation: none;
}
body[data-tier="full"] .step-arrow {
  color: var(--line-strong);
  text-shadow: none;
}

/* ============================================================
   #tierZone 里的行动条：白卡 + 左侧 4px 蓝细条，默认一行起步
   ============================================================ */
/* 0818 BOSS 指认：hero 外面这张带边框+左粗边+阴影的白卡，定稿里没有 ——
   货号那一排是直接摆在页面上的。去掉外框只留内容，顺带把上下留白收紧，
   让货号紧跟在副标题下面（原来 margin 8px + padding 8px 撑出一条空横条）。 */
body[data-tier="full"] .miyou-full-console {
  position: relative;
  margin: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
body[data-tier="full"] .miyou-full-console [hidden] { display: none !important; }

/* 行动条展开流水账时，给头部槽位松绑（槽位默认 max-height 约 140px） */
body[data-tier="full"] #tierZone:has(.miyou-full-console.expanded) {
  max-height: 360px;
}

/* ---- 默认一行：状态句 + 主按钮 + 节点 ---- */
body[data-tier="full"] .miyou-full-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
body[data-tier="full"] .miyou-full-status {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 0818 定稿 hero：当前货号大字 + 已生成徽章 + 右端按钮 ── */
body[data-tier="full"] .miyou-full-code {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
body[data-tier="full"] .miyou-full-code small {
  font-size: 13px;
  color: var(--ink-3, var(--muted));
  font-weight: 400;
}
body[data-tier="full"] .miyou-full-code b {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
body[data-tier="full"] .miyou-full-chip {
  flex: none;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok, #3D7A50);
  background: var(--ok-soft, #EBF3EE);
  padding: 2px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
body[data-tier="full"] .miyou-full-spacer { flex: 1 1 auto; }

/* 主按钮：蓝实底、44 高、圆角 10、不用渐变 */
body[data-tier="full"] .miyou-full-btn {
  flex: none;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(43, 95, 217, .22);
  transition: background .18s ease-out, box-shadow .18s ease-out, transform .12s ease-out;
}
body[data-tier="full"] .miyou-full-btn:hover {
  background: #2450bc;
  transform: none;
  box-shadow: 0 1px 3px rgba(43, 95, 217, .28);
}
body[data-tier="full"] .miyou-full-btn:active { transform: translateY(1px); }
body[data-tier="full"] .miyou-full-btn:disabled {
  opacity: .5;
  cursor: default;
  transform: none;
}
/* 定稿：一键起跑是全页唯一实色主按钮，给它 44 高 */
body[data-tier="full"] .miyou-full-btn.lg {
  height: 44px;
  min-height: 44px;
  padding: 0 26px;
  font-size: 15px;
}
/* 定稿：批量/推广降为安静的文字钮（无底无边，hover 才浮浅底） */
body[data-tier="full"] .miyou-full-btn.ghost {
  background: transparent;
  border: 0;
  color: var(--ink-3, var(--muted));
  font-weight: 500;
  box-shadow: none;
}
body[data-tier="full"] .miyou-full-btn.ghost:hover {
  background: var(--panel-soft, var(--gray-soft));
  color: var(--ink);
  box-shadow: none;
}

/* 0818 BOSS 指认：8 个进度点那一行在定稿里没有，没起跑时就是一条灰横线占着地方。
   平时收起来，只在真的跑起来（行动条展开流水账 = .expanded）时才露出来报进度。 */
body[data-tier="full"] .miyou-full-dots { display: none; }
body[data-tier="full"] .miyou-full-console.expanded .miyou-full-dots { display: flex; }

/* ---- 8 站节点：一行小点 + 细连线，不带文字（title 留悬停提示） ---- */
body[data-tier="full"] .miyou-full-dots {
  flex: 1 1 auto;
  min-width: 136px;
  display: flex;
  align-items: center;
  margin: 0;
}
body[data-tier="full"] .miyou-full-dot {
  position: relative;
  z-index: 0;
  flex: 1 1 0;
  min-width: 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 节点圆 */
body[data-tier="full"] .miyou-full-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line-strong);
  z-index: 1;
  transition: background .18s ease-out, border-color .18s ease-out;
}
/* 节点间细线（每个节点画自己左边那段，跑到哪蓝到哪） */
body[data-tier="full"] .miyou-full-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1px;
  height: 2px;
  left: calc(-50% + 8px);
  right: calc(50% + 8px);
  background: var(--line);
  z-index: 0;
  transition: background .18s ease-out;
}
body[data-tier="full"] .miyou-full-dot:first-child::after { display: none; }
/* 已跑到的节点：蓝，且只脉冲一圈 */
body[data-tier="full"] .miyou-full-dot.lit::before {
  background: var(--accent);
  border-color: var(--accent);
  animation: miyouFullNodePulse .9s ease-out 1;
}
body[data-tier="full"] .miyou-full-dot.lit::after { background: var(--accent); }
@keyframes miyouFullNodePulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 95, 217, .35); }
  100% { box-shadow: 0 0 0 8px rgba(43, 95, 217, 0); }
}

/* ---- 展开块：点跑才出现 ---- */
body[data-tier="full"] .miyou-full-panel { display: none; }
body[data-tier="full"] .miyou-full-console.expanded .miyou-full-panel {
  display: block;
  margin-top: 10px;
}

/* 流水账：浅灰底、等宽感行距、行首 6px 状态点、最高 200px 内部滚动 */
body[data-tier="full"] .miyou-full-log {
  background: #f5f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.8;
  color: var(--soft-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
body[data-tier="full"] .miyou-full-line {
  animation: miyouFullLine .18s ease-out both;
}
@keyframes miyouFullLine {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 行首状态点：跑到=蓝、红线=警示色、完成=绿 */
body[data-tier="full"] .miyou-full-line::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: 2px;
}
body[data-tier="full"] .miyou-full-line.warn { color: var(--soft-ink); }
body[data-tier="full"] .miyou-full-line.warn::before { background: var(--warn); }
/* 🔴 PUB-S2: 缺尺码表红字专报(备料检查·上架硬必填)。 */
body[data-tier="full"] .miyou-full-line.danger { color: var(--danger); font-weight: 700; }
body[data-tier="full"] .miyou-full-line.danger::before { background: var(--danger); }
body[data-tier="full"] .miyou-full-line.done {
  color: var(--ink);
  font-weight: 700;
}
body[data-tier="full"] .miyou-full-line.done::before { background: var(--ok); }

/* 展开块底行：红线小字 + 收起按钮 */
body[data-tier="full"] .miyou-full-panelfoot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
body[data-tier="full"] .miyou-full-foot {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
body[data-tier="full"] .miyou-full-collapse {
  flex: none;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gray-soft);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease-out;
}
body[data-tier="full"] .miyou-full-collapse:hover { background: #e8ebf2; }

/* 窄屏：节点掉到第二行，按钮不缩 */
@media (max-width: 720px) {
  body[data-tier="full"] .miyou-full-console { margin: 8px 10px; }
  body[data-tier="full"] .miyou-full-bar { flex-wrap: wrap; gap: 10px 12px; }
  body[data-tier="full"] .miyou-full-dots { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-tier="full"] .miyou-full-dot.lit::before,
  body[data-tier="full"] .miyou-full-line { animation: none; }
}
