/* ============================================================
   一键出海AI · 多行业外贸出海平台
   平台自身界面样式（生成的工厂站样式在 app.js 的 siteCss() 里）
   视觉方向：克制科技感 · 毛玻璃层次 · 苹果式排版
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f5f7;
  --panel: rgba(255,255,255,.72);
  --panel-solid: #ffffff;
  --line: rgba(18,25,38,.09);
  --line-soft: rgba(18,25,38,.055);
  --text: #16181d;
  --text-2: #4b5261;
  --text-3: #868c9a;
  --accent: #0071e3;
  --accent-deep: #0059b8;
  --accent-soft: rgba(0,113,227,.09);
  --accent-line: rgba(0,113,227,.28);
  --ok: #0f8a5f;
  --ok-soft: rgba(15,138,95,.10);
  --warn: #8a5300;
  --warn-soft: rgba(255,159,10,.13);
  --danger: #c3342c;
  --danger-soft: rgba(195,52,44,.10);
  --radius: 16px;
  --ease: cubic-bezier(.32,.72,0,1);
  --shadow-sm: 0 1px 2px rgba(18,25,38,.05), 0 4px 14px -6px rgba(18,25,38,.10);
  --shadow-md: 0 0 0 1px rgba(18,25,38,.045), 0 1px 2px rgba(18,25,38,.04), 0 12px 32px -10px rgba(18,25,38,.14);
  --glass: rgba(255,255,255,.74);
  --blur: blur(22px) saturate(180%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 13px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
  height: 100vh; display: flex; flex-direction: column; overflow: hidden;
}

/* 背景光晕：给整个界面一层空间深度 */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 640px at 8% -14%, rgba(0,113,227,.15), transparent 62%),
    radial-gradient(920px 560px at 94% 2%, rgba(122,92,255,.13), transparent 60%),
    radial-gradient(780px 540px at 62% 106%, rgba(0,186,170,.11), transparent 62%);
}

/* ---------------- 顶栏（毛玻璃） ---------------- */
.topbar {
  position: relative; z-index: 3;
  height: 56px; flex: 0 0 56px;
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(160deg, #3b9dff, #0071e3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #fff;
  box-shadow: 0 2px 8px -2px rgba(0,113,227,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand .name { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.brand .sub {
  font-size: 11.5px; color: var(--text-3); font-weight: 400;
  padding-left: 10px; border-left: 1px solid var(--line); margin-left: 5px; letter-spacing: 0;
}
.top-actions { display: flex; align-items: center; gap: 9px; }

/* ---------------- 按钮 ---------------- */
.btn {
  font-size: 12.5px; padding: 6px 13px; border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f6f7f9); color: #2b3038;
  cursor: pointer; font-family: inherit; line-height: 1.5;
  box-shadow: 0 1px 2px rgba(18,25,38,.05), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease), background .18s var(--ease);
}
.btn:hover {
  transform: translateY(-1px); border-color: rgba(18,25,38,.16);
  box-shadow: 0 3px 12px -3px rgba(18,25,38,.16), inset 0 1px 0 #fff;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn.accent {
  background: linear-gradient(180deg, #eef6ff, #dbeaff);
  border-color: var(--accent-line); color: var(--accent-deep);
}
.btn.accent:hover { background: linear-gradient(180deg, #e4f1ff, #cfe3ff); }
.btn.primary {
  background: linear-gradient(180deg, #2e93ff, #0071e3);
  border-color: rgba(0,90,190,.6); color: #fff;
  box-shadow: 0 2px 10px -2px rgba(0,113,227,.5), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn.primary:hover { background: linear-gradient(180deg, #2489ff, #0068d4); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-3); box-shadow: none; }
.btn.ghost:hover { color: var(--text); background: rgba(18,25,38,.05); transform: none; box-shadow: none; }
.btn.tiny { font-size: 11.5px; padding: 4px 10px; border-radius: 8px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* 大号操作按钮：各核心功能的主行动按钮统一规格，醒目易点 */
.btn.big {
  font-size: 13px; padding: 9px 20px; border-radius: 12px; font-weight: 500;
  box-shadow: 0 1px 3px rgba(18,25,38,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.btn.big:hover { box-shadow: 0 4px 14px -4px rgba(18,25,38,.2), inset 0 1px 0 #fff; }
.btn.cta {
  font-size: 13.5px; padding: 9px 24px; border-radius: 12px; font-weight: 600;
  background: linear-gradient(180deg, #2e93ff, #0071e3);
  border-color: rgba(0,90,190,.6); color: #fff;
  box-shadow: 0 3px 14px -3px rgba(0,113,227,.55), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn.cta:hover { background: linear-gradient(180deg, #2489ff, #0068d4); color: #fff;
  box-shadow: 0 6px 18px -4px rgba(0,113,227,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.cta[disabled] { opacity: .55; }

/* ---------------- 表单原子 ---------------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field label .req { color: #d4537e; }
.field .hint { font-size: 11px; color: var(--text-3); margin-top: 5px; line-height: 1.55; }

input[type=text], input[type=number], textarea, select {
  width: 100%; font-family: inherit; font-size: 13px; color: var(--text);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(18,25,38,.13); border-radius: 10px; padding: 8px 11px; outline: none;
  box-shadow: inset 0 1px 2px rgba(18,25,38,.035);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
input::placeholder, textarea::placeholder { color: #b3b8c2; }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3.5px rgba(0,113,227,.13), inset 0 1px 2px rgba(18,25,38,.03);
}
textarea { resize: vertical; min-height: 64px; line-height: 1.65; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; min-width: 0; }

/* 参考示例一律走 placeholder 原生浅灰，表单值本身永远默认为空 */

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 11.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.85); color: var(--text-2);
  cursor: pointer; user-select: none;
  transition: all .16s var(--ease);
}
.chip:hover { border-color: rgba(18,25,38,.2); transform: translateY(-1px); }
.chip.on {
  background: linear-gradient(180deg, #e9f9f2, #d8f3e7);
  border-color: rgba(15,138,95,.3); color: var(--ok); font-weight: 500;
}

.tag { display: inline-block; font-size: 10.5px; padding: 2px 9px; border-radius: 999px;
       background: var(--warn-soft); color: var(--warn); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.mute { background: rgba(18,25,38,.055); color: var(--text-2); }
.tag.accent { background: var(--accent-soft); color: var(--accent); }

/* ---------------- 主布局 ---------------- */
.layout { flex: 1; display: flex; min-height: 0; position: relative; z-index: 1; }

/* ---------------- 左侧导航（毛玻璃） ---------------- */
.side {
  width: 224px; flex: 0 0 224px;
  background: rgba(255,255,255,.6);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-right: 1px solid var(--line);
  padding: 12px 10px 24px; overflow-y: auto;
}
.side .label {
  font-size: 10.5px; color: var(--text-3); padding: 14px 9px 8px;
  letter-spacing: .8px; font-weight: 500; text-transform: uppercase;
}
.side .label:first-child { padding-top: 4px; }

.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px;
  border-radius: 11px; cursor: pointer; color: var(--text-2); margin-bottom: 3px;
  border: 1px solid transparent;
  transition: all .18s var(--ease);
}
.nav-item:hover { background: rgba(255,255,255,.8); border-color: var(--line-soft); }
.nav-item.active {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,246,255,.9));
  border-color: rgba(0,113,227,.2); color: var(--accent-deep);
  box-shadow: 0 2px 10px -4px rgba(0,113,227,.28), inset 0 1px 0 #fff;
}
.nav-item .idx {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px;
  border: 1px solid var(--line); font-size: 10.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); background: rgba(255,255,255,.9); margin-top: 1px;
}
.nav-item.active .idx {
  background: linear-gradient(160deg, #3b9dff, #0071e3); border-color: transparent; color: #fff;
}
.nav-item .t { font-size: 14px; font-weight: 600; letter-spacing: .2px; }

.pack-item {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px;
  cursor: pointer; color: var(--text-2); margin-bottom: 3px; border: 1px solid transparent;
  transition: all .18s var(--ease);
}
.pack-item:hover { background: rgba(255,255,255,.8); border-color: var(--line-soft); }
.pack-item.active {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,246,255,.9));
  border-color: rgba(0,113,227,.2); color: var(--accent-deep);
}
.pack-item .ic {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 8px;
  background: rgba(18,25,38,.05); display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; color: var(--text-2);
}
.pack-item.active .ic {
  background: linear-gradient(160deg, #3b9dff, #0071e3); color: #fff;
}
.pack-item .t { font-size: 12.5px; flex: 1; }
.pack-item .cnt { font-size: 10px; color: var(--text-3); letter-spacing: .2px; }
.pack-item.active .cnt { color: rgba(0,89,184,.7); }
.pack-item.add { border: 1px dashed var(--line); color: var(--text-3); margin-top: 7px; }
.pack-item.add:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.pack-item.add .ic { background: transparent; border: 1px dashed var(--line); }

/* ---------------- 工作区 ---------------- */
.work { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.work-head {
  padding: 16px 24px 14px;
  background: rgba(255,255,255,.55);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.work-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.work-head p { font-size: 12px; color: var(--text-3); margin-top: 4px; line-height: 1.6; max-width: 900px; }
.work-head .pack-line { color: var(--text-2); font-size: 12px; }
.work-head .pack-line b { font-weight: 600; color: var(--text); }
.work-head .pack-line i { font-style: normal; color: var(--text-3); }
.work-head .pack-outflow { display: block; margin-top: 5px; color: var(--text-3); font-size: 11.5px; line-height: 1.65; }
.work-body { flex: 1; overflow-y: auto; padding: 20px 24px 48px; }

.cols { display: flex; gap: 20px; align-items: flex-start; }
.col-l { width: 392px; flex: 0 0 392px; }
.col-r { flex: 1; min-width: 0; }

/* ---------------- 卡片：毛玻璃 + 立体层次 ---------------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78));
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.95);
}
.card + .card { margin-top: 16px; }
.card h3 { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.01em; }
.card .cd { font-size: 11.5px; color: var(--text-3); margin-bottom: 13px; line-height: 1.6; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.card-head h3 { margin-bottom: 0; }

.sec-note {
  background: linear-gradient(180deg, rgba(238,246,255,.95), rgba(230,241,255,.8));
  border: 1px solid rgba(0,113,227,.16); border-radius: 12px;
  padding: 11px 13px; font-size: 12px; color: var(--accent-deep); margin-bottom: 16px; line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.sec-note.warn { background: var(--warn-soft); border-color: rgba(255,159,10,.3); color: var(--warn); }
.sec-note b { font-weight: 600; }
.sec-note .demo-tip { display: inline-block; margin-top: 4px; color: #5b7fa6; font-size: 11.5px; }

/* ---------------- 步骤条 ---------------- */
.mini-steps { counter-reset: ms; }
.mini-step { display: flex; gap: 10px; padding: 7px 0; font-size: 12.5px; color: var(--text-3); align-items: flex-start; }
.mini-step .tick {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; border: 1px solid var(--line);
  font-size: 10.5px; display: flex; align-items: center; justify-content: center;
  color: transparent; margin-top: 1px; background: rgba(255,255,255,.8);
  transition: all .2s var(--ease);
}
.mini-step.on { color: var(--text); }
.mini-step.on .tick { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.mini-step.done { color: var(--text-2); }
.mini-step.done .tick {
  background: linear-gradient(180deg, #35bd86, #0f8a5f); border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px -2px rgba(15,138,95,.6);
}
.mini-step .sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }

/* ---------------- 图片上传 ---------------- */
.drop {
  border: 1.5px dashed rgba(18,25,38,.16); border-radius: 12px; padding: 24px 14px; text-align: center;
  color: var(--text-3); font-size: 12px; cursor: pointer; line-height: 1.75;
  background: rgba(255,255,255,.6);
  transition: all .2s var(--ease);
}
.drop:hover, .drop.over {
  border-color: var(--accent); color: var(--accent-deep);
  background: var(--accent-soft);
}
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.shot {
  position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  aspect-ratio: 1 / 1; background: rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .kill {
  position: absolute; top: 5px; right: 5px; width: 19px; height: 19px; border-radius: 50%;
  border: none; background: rgba(18,25,38,.58); color: #fff; font-size: 12px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.shot.empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 11px; border-style: dashed;
}

.thumb-row { display: flex; gap: 11px; align-items: flex-start; }
.thumb {
  width: 84px; height: 58px; flex: 0 0 84px; border-radius: 9px; object-fit: cover;
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
}

/* ---------------- 报告 ---------------- */
.report {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md), inset 0 1px 0 #fff;
}
.report .rhead {
  padding: 26px 30px 22px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
}
.report .rhead .rk {
  font-size: 10.5px; letter-spacing: 2.2px; color: var(--accent); margin-bottom: 9px; font-weight: 500;
}
.report .rhead h1 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.report .rhead .rmeta { font-size: 11.5px; color: var(--text-3); margin-top: 9px; }
.report .rhead .rmeta .warnmark { color: #b26a00; }
.rbody { padding: 10px 30px 30px; }
.rsec { padding-top: 22px; }
.rsec > h2 {
  font-size: 14.5px; font-weight: 600; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft);
  margin-bottom: 13px; display: flex; align-items: baseline; gap: 9px; letter-spacing: -.01em;
}
.rsec > h2 .n {
  font-size: 10.5px; color: var(--accent); background: var(--accent-soft); border-radius: 5px;
  padding: 2px 7px; font-weight: 500;
}
.rsec h4 { font-size: 12.5px; font-weight: 600; margin: 15px 0 6px; }
.rsec p { font-size: 12.5px; color: #3f4a52; margin-bottom: 8px; line-height: 1.8; }
.rsec ul { margin: 4px 0 10px 18px; }
.rsec li { font-size: 12.5px; color: #3f4a52; margin-bottom: 5px; line-height: 1.75; }

.kv { display: grid; grid-template-columns: 110px 1fr; gap: 7px 14px; font-size: 12.5px; }
.kv .k { color: var(--text-3); }
.kv .v { color: #3f4a52; }

.sw { display: grid; gap: 8px; }
.sw-item {
  border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; font-size: 12.5px;
  background: rgba(255,255,255,.7);
}
.sw-item.good { border-color: rgba(15,138,95,.22); background: rgba(233,249,242,.6); }
.sw-item.bad { border-color: rgba(195,52,44,.18); background: rgba(253,240,239,.6); }
.sw-item b { display: block; font-weight: 600; margin-bottom: 3px; font-size: 12.5px; }
.sw-item.good b { color: var(--ok); }
.sw-item.bad b { color: var(--danger); }
.sw-item span { color: #4a565e; line-height: 1.75; }

table.rt { width: 100%; border-collapse: collapse; font-size: 11.5px; margin-top: 9px; }
table.rt th {
  text-align: left; font-weight: 600; color: var(--text-2); background: #f7f9fb;
  padding: 9px 10px; border: 1px solid var(--line-soft); white-space: nowrap;
}
table.rt td { padding: 9px 10px; border: 1px solid var(--line-soft); color: #3f4a52; vertical-align: top; line-height: 1.7; }
table.rt tr:nth-child(even) td { background: #fcfcfd; }

.score { display: inline-flex; align-items: center; gap: 6px; }
.score .bar { width: 52px; height: 5px; border-radius: 3px; background: rgba(18,25,38,.08); overflow: hidden; }
.score .bar i { display: block; height: 100%; border-radius: 3px; }
.score .num { font-size: 11px; color: var(--text-2); }

.verdict { display: inline-block; font-size: 10.5px; padding: 2px 8px; border-radius: 6px; white-space: nowrap; font-weight: 500; }
.verdict.r { background: var(--ok-soft); color: var(--ok); }
.verdict.c { background: var(--warn-soft); color: var(--warn); }
.verdict.n { background: rgba(18,25,38,.055); color: var(--text-2); }

.rgroup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 11px; }
.rg { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.7); }
.rg h5 { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.rg.g1 { border-color: rgba(15,138,95,.22); background: rgba(233,249,242,.55); } .rg.g1 h5 { color: var(--ok); }
.rg.g2 { border-color: rgba(255,159,10,.28); background: rgba(255,250,240,.6); } .rg.g2 h5 { color: var(--warn); }
.rg.g3 { border-color: var(--line); background: rgba(248,249,250,.7); } .rg.g3 h5 { color: var(--text-2); }
.rg ul { margin: 0 0 0 16px; }
.rg li { font-size: 12px; color: #4a565e; margin-bottom: 5px; line-height: 1.7; }

.empty-state {
  border: 1.5px dashed rgba(18,25,38,.14); border-radius: var(--radius); padding: 52px 24px;
  text-align: center; color: var(--text-3); font-size: 12.5px; line-height: 1.9;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
}

/* ---------------- 生成向导 ---------------- */
.wizard {
  display: flex; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78));
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); overflow: hidden; min-height: 480px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.95);
}
.wiz-nav { width: 178px; flex: 0 0 178px; border-right: 1px solid var(--line-soft); padding: 14px 9px; background: rgba(250,251,253,.6); }
.wiz-step {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px;
  font-size: 12.5px; color: var(--text-3); cursor: pointer; margin-bottom: 3px;
  border: 1px solid transparent; transition: all .18s var(--ease);
}
.wiz-step:hover { background: rgba(255,255,255,.85); }
.wiz-step.active {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,246,255,.9));
  border-color: rgba(0,113,227,.2); color: var(--accent-deep); font-weight: 500;
  box-shadow: 0 2px 8px -4px rgba(0,113,227,.3);
}
.wiz-step .i {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; border: 1px solid var(--line);
  font-size: 10.5px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); transition: all .2s var(--ease);
}
/* 步骤导航固定按 1–6 编号展示，不打勾 */
.wiz-step.active .i { border-color: var(--accent-line); color: var(--accent); }

/* 步骤标题 + 上一步/下一步固定在顶部：表单再长按钮位置也不动 */
.wiz-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 20px 12px; border-bottom: 1px solid var(--line-soft);
  background: rgba(250,251,253,.7); flex: 0 0 auto;
}
.wiz-top .wt-head { min-width: 0; }
.wiz-top h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.wiz-top .wd { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.6; }
.wiz-top .wiz-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.wiz-top #stepCounter { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.wiz-top .needmark { color: var(--text-3); }

.wiz-body { flex: 1; min-width: 0; padding: 16px 20px 20px; overflow-y: auto; max-height: 620px; }

.prod-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; margin-bottom: 10px;
  background: rgba(253,253,254,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.prod-card .pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.prod-card .pc-title { font-size: 11.5px; color: var(--text-2); font-weight: 500; }
.prod-card .kill { font-size: 11.5px; color: var(--text-3); cursor: pointer; border: none; background: none; font-family: inherit; }
.prod-card .kill:hover { color: var(--danger); }

/* ---------------- 弹窗 / 全屏 ---------------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(18,22,30,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  width: 460px; max-width: 100%; max-height: 90vh; overflow-y: auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 24px 70px -16px rgba(10,18,30,.35), inset 0 1px 0 #fff;
}
.modal h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; letter-spacing: -.01em; }
.modal .desc { font-size: 12px; color: var(--text-3); margin-bottom: 16px; line-height: 1.65; }
.modal .mrow { display: flex; gap: 9px; justify-content: flex-end; margin-top: 18px; }

.fullsite { position: fixed; inset: 0; background: var(--bg); z-index: 60; display: none; flex-direction: column; }
.fullsite.show { display: flex; }
.fullsite .fs-bar {
  height: 54px; flex: 0 0 54px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px; gap: 12px;
}
.fullsite .fs-bar .info { font-size: 12.5px; color: var(--text-2); }
.fullsite iframe { flex: 1; width: 100%; border: none; background: #fff; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(6px);
  background: rgba(22,24,29,.92); color: #fff; font-size: 12px; padding: 9px 18px; border-radius: 999px;
  opacity: 0; transition: opacity .24s var(--ease), transform .24s var(--ease);
  pointer-events: none; z-index: 90; max-width: 80vw; text-align: center;
  backdrop-filter: blur(12px); box-shadow: 0 8px 28px -8px rgba(10,18,30,.6);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.progress-line { height: 4px; border-radius: 2px; background: rgba(18,25,38,.08); overflow: hidden; margin-top: 10px; }
.progress-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3b9dff, #0071e3); transition: width .3s var(--ease); }

.stream-box {
  margin-top: 11px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(250,251,253,.8); padding: 10px 12px; font-size: 11px; color: var(--text-2);
  max-height: 130px; overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6; white-space: pre-wrap; word-break: break-all;
}

/* 滚动条：更轻更细 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(18,25,38,.16); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(18,25,38,.28); background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 1080px) {
  .cols { flex-direction: column; }
  .col-l { width: 100%; flex: none; }
  .side { width: 192px; flex: 0 0 192px; }
}
@media (max-width: 820px) {
  .brand .sub { display: none; }
  .rgroup { grid-template-columns: 1fr; }
}

/* ---------------- 功能三：一键上线 ---------------- */
.lcard {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 18px 20px; margin-bottom: 14px;
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.lc-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; }
.lc-num {
  width: 24px; height: 24px; border-radius: 8px; flex: none;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}
.lc-head h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.lc-head .wd { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.6; }

.dom-bar { display: flex; gap: 8px; }
.dom-bar input { flex: 1; }
.tld-chips { display: flex; gap: 6px; margin-top: 9px; align-items: center; flex-wrap: wrap; }
.tld-chip {
  font-size: 11.5px; padding: 3px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); color: var(--text-2); background: var(--panel-solid);
}
.tld-chip:hover { border-color: var(--accent-line); color: var(--accent); }
.dom-result { margin-top: 10px; display: grid; gap: 6px; }
.dom-row {
  font-size: 12.5px; color: var(--text-2); padding: 9px 13px; border-radius: 10px;
  background: rgba(18,25,38,.035); border: 1px solid var(--line-soft); line-height: 1.55;
}
.dom-row .src { display: block; font-size: 11px; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.dom-row.ok { background: var(--ok-soft); border-color: rgba(15,138,95,.25); color: var(--ok); font-weight: 500; }
.dom-row.ok .src { color: rgba(15,138,95,.75); }
.dom-row.bad { background: var(--danger-soft); border-color: rgba(195,52,44,.2); color: var(--danger); }
.dom-row.bad .src { color: rgba(195,52,44,.7); }
.dom-row.warn { background: var(--warn-soft); border-color: rgba(138,83,0,.18); color: var(--warn); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 10px; }
.plan-card {
  position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px;
  cursor: pointer; background: var(--panel-solid); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.plan-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.plan-card.sel {
  border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
  background: linear-gradient(180deg, rgba(0,113,227,.05), rgba(255,255,255,0));
}
.plan-card .pr { font-size: 13px; font-weight: 600; padding-right: 34px; }
.plan-card .ps { font-size: 11.5px; color: var(--text-2); margin-top: 2px; }
.plan-card .pp { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 6px; }
.plan-card .pn { font-size: 10.5px; color: var(--text-3); margin-top: 5px; line-height: 1.55; }
.plan-card .warn-tag {
  position: absolute; top: 9px; right: 9px; font-size: 9.5px;
  background: var(--warn-soft); color: var(--warn); border-radius: 5px; padding: 1px 5px;
}
.plan-card .sel-tag {
  position: absolute; top: 9px; right: 9px; font-size: 9.5px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border-radius: 5px; padding: 1px 5px;
}

.dep-summary {
  font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px;
  background: rgba(18,25,38,.035); border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 13px;
}
.dep-steps { display: grid; gap: 6px; margin-bottom: 13px; }
.dep-step {
  display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2);
  padding: 7px 11px; border-radius: 9px; background: rgba(18,25,38,.03); border: 1px solid transparent;
}
.dep-step .ds-i {
  width: 18px; height: 18px; border-radius: 6px; flex: none; font-size: 10.5px;
  background: var(--panel-solid); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.dep-step.run { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.dep-step.run .ds-s { color: var(--accent); }
.dep-step.done { color: var(--ok); }
.dep-step.done .ds-i { background: var(--ok); border-color: transparent; color: #fff; }
.dep-step .ds-s { margin-left: auto; font-size: 11px; color: var(--text-3); }
.dep-step .ds-s.ok { color: var(--ok); font-weight: 500; }
.dep-report {
  border: 1px solid rgba(15,138,95,.28); background: var(--ok-soft); border-radius: 12px;
  padding: 13px 15px; font-size: 12.5px; line-height: 1.8; margin-bottom: 12px;
}
.dep-report b { color: var(--ok); }
.dep-report .dr-note { display: block; font-size: 11px; color: var(--text-3); line-height: 1.65; margin-top: 5px; }

/* ---------------- 功能四：我的网站 ---------------- */
.site-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.site-chip {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 12.5px; font-weight: 500; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel-solid); color: var(--text-2);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.site-chip:hover { border-color: var(--accent-line); }
.site-select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 12.5px; font-weight: 500; color: var(--text-1);
  padding: 6px 30px 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel-solid);
  cursor: pointer; outline: none; max-width: 240px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.site-select:hover { border-color: var(--accent-line); }
.site-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.site-chip.active {
  border-color: var(--accent); color: var(--accent);
  background: linear-gradient(180deg, rgba(0,113,227,.06), rgba(255,255,255,0));
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}
.site-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.site-chip .demo-i {
  font-style: normal; font-size: 9.5px; color: var(--text-3); background: rgba(18,25,38,.06);
  border-radius: 4px; padding: 1px 5px; font-weight: 400;
}
.site-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.site-head .sh-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.site-head .sh-meta { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.ops-bar { display: flex; gap: 7px; flex-wrap: wrap; padding: 11px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.btn.tiny.danger { color: var(--danger); border-color: rgba(195,52,44,.3); background: var(--panel-solid); }
.btn.tiny.danger:hover { background: var(--danger-soft); }
.ops-panel {
  border: 1px solid var(--line-soft); background: rgba(18,25,38,.028); border-radius: 12px;
  padding: 12px 14px; margin-top: 11px;
}
.ops-panel .op-title { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.ops-panel .op-note { font-size: 10.5px; color: var(--text-3); margin-top: 8px; line-height: 1.6; }

/* AI 写 SEO 文章面板 */
.af-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pf-checks { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-check {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--text-2); cursor: pointer; user-select: none;
  background: rgba(18,25,38,.04); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 4px 11px 4px 8px; transition: all .15s ease;
}
.pf-check:hover { border-color: var(--accent-line); color: var(--accent); }
.pf-check:has(input:checked) { background: rgba(0,113,227,.09); border-color: var(--accent-line); color: var(--accent); font-weight: 500; }
.pf-check input { accent-color: var(--accent); margin: 0; cursor: pointer; }
.af-row select, .af-row input {
  font-size: 12px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--text); font-family: inherit;
}
.art-out {
  margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px;
  background: #fff; font-size: 12px; line-height: 1.7; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow-y: auto;
}
.inq-row { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line-soft); font-size: 12px; }

/* 询盘中心 */
.inq-click { cursor: pointer; border-radius: 10px; padding: 9px 10px; transition: background .15s ease; }
.inq-click:hover { background: rgba(0,113,227,.05); }
.pill { margin-left: 6px; font-size: 10px; border-radius: 999px; padding: 1px 7px; }
.st-new { color: #d93025; }
.pill.st-new { background: rgba(217,48,37,.09); }
.st-replied { color: #1a73e8; }
.st-quoted { color: #b26a00; }
.st-won { color: var(--ok); font-weight: 600; }
.inq-detail {
  background: rgba(0,113,227,.035); border: 1px solid rgba(0,113,227,.14);
  border-radius: 12px; padding: 12px 14px; margin: 2px 0 8px; font-size: 12px;
}
.iqd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; }
.iqd-grid .k { display: inline-block; width: 58px; color: var(--text-3); font-size: 11px; }
.iqd-msg {
  margin-top: 9px; padding: 10px 12px; background: rgba(255,255,255,.75); border-radius: 10px;
  color: var(--text-2); line-height: 1.7; border: 1px solid var(--line-soft);
}

/* 数据中心 */
.trend-chart { display: flex; gap: 14px; align-items: flex-end; padding: 6px 4px 0; }
.trend-col { flex: 1; text-align: center; }
.trend-bars { display: flex; gap: 4px; justify-content: center; align-items: flex-end; height: 70px; }
.tb { width: 14px; border-radius: 4px 4px 2px 2px; }
.tb.vv { background: linear-gradient(180deg, var(--accent), rgba(0,113,227,.55)); }
.tb.inq { background: linear-gradient(180deg, #e8833a, rgba(232,131,58,.55)); }
.trend-d { font-size: 10.5px; color: var(--text-3); margin-top: 5px; }
.trend-v { font-size: 10px; color: var(--text-3); }
.lg-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin: 0 3px; vertical-align: -1px; }
.funnel-row { display: flex; align-items: center; gap: 10px; margin: 7px 0; font-size: 12px; }
.funnel-row .fn-label { flex: none; width: 130px; color: var(--text-2); }
.funnel-row .fn-bar {
  min-width: 34px; padding: 5px 10px; border-radius: 7px; color: #fff; font-size: 11px; font-weight: 500;
  background: linear-gradient(90deg, var(--accent), rgba(0,113,227,.6));
}

/* 市场雷达 */
.radar-src {
  font-size: 11px; color: var(--text-2); background: rgba(18,25,38,.04);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 11px;
}
.scan-line { height: 3px; border-radius: 2px; background: var(--line-soft); overflow: hidden; position: relative; }
.scan-dot {
  position: absolute; top: 0; left: -15%; width: 15%; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanMove 1.1s linear infinite;
}
@keyframes scanMove { to { left: 100%; } }
.inq-row:first-of-type { border-top: 0; }
.inq-row .iq-l { flex: none; width: 168px; }
.inq-row .iq-l b { font-size: 12px; }
.inq-row .iq-c { margin-left: 6px; font-size: 10.5px; color: var(--text-3); }
.inq-row .iq-m { flex: 1; color: var(--text-2); line-height: 1.5; }
.inq-row .iq-t { flex: none; font-size: 10.5px; color: var(--text-3); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.stat-card { background: var(--panel-solid); border: 1px solid var(--line-soft); border-radius: 11px; padding: 11px 13px; text-align: center; }
.stat-card .sv { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); }
.stat-card .sk { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.site-frame-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.site-frame-wrap iframe { display: block; width: 100%; height: 660px; border: 0; }
.frame-note { font-size: 10.5px; color: var(--text-3); margin-top: 7px; text-align: center; }
@media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .inq-row { flex-direction: column; gap: 2px; } }

/* ---------------- 功能五：SEO 与 GEO ---------------- */
.kw-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.kw-table th { text-align: left; font-size: 11px; color: var(--text-3); font-weight: 500; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.kw-table td { padding: 7px 8px; border-bottom: 1px dashed var(--line-soft); color: var(--text-2); }
.kw-table td:first-child { color: var(--text); font-weight: 500; }
.kw-table .up { color: var(--ok); font-weight: 500; }
.kw-table .flat { color: var(--text-3); }
.kw-table .down { color: var(--danger); }
.geo-item { padding: 8px 0; border-top: 1px dashed var(--line-soft); font-size: 12.5px; }
.geo-item:first-of-type { border-top: 0; }
.geo-item .g-n { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.geo-item .g-q { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.g-ok { color: var(--ok); font-size: 10.5px; font-weight: 600; background: var(--ok-soft); border-radius: 5px; padding: 1px 6px; }
.g-no { color: var(--text-3); font-size: 10.5px; font-weight: 500; background: rgba(18,25,38,.06); border-radius: 5px; padding: 1px 6px; }
.g-warn { color: var(--warn); font-size: 10.5px; font-weight: 600; background: var(--warn-soft); border-radius: 5px; padding: 1px 6px; }

/* ===== 培训板块（占位版） ===== */
.train-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:900px){ .train-grid { grid-template-columns:repeat(2,1fr); } }
.train-card {
  border:1px dashed var(--line); border-radius:14px; padding:16px; cursor:pointer;
  background:var(--panel-solid); transition:border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.train-card:hover { border-color:var(--accent-line); box-shadow:0 8px 22px -12px rgba(0,113,227,.25); transform:translateY(-2px); }
.tc-ic { font-size:22px; margin-bottom:8px; }
.tc-t { font-size:13.5px; font-weight:600; color:var(--text); }
.tc-d { font-size:11.5px; color:var(--text-3); margin-top:5px; line-height:1.55; }
.tc-tag {
  display:inline-block; margin-top:10px; font-size:10.5px; color:var(--text-3);
  border:1px dashed var(--line); border-radius:999px; padding:2px 9px; background:rgba(18,25,38,.02);
}
.course-thumb {
  aspect-ratio:16/9; border-radius:10px; margin-bottom:10px;
  background:linear-gradient(160deg,#2b3547,#161c26);
  display:flex; align-items:center; justify-content:center;
}
.play {
  width:44px; height:44px; border-radius:50%; flex:0 0 44px;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28);
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px;
}
.news-row { display:flex; gap:14px; padding:14px 4px; border-bottom:1px dashed var(--line-soft); align-items:center; cursor:pointer; }
.news-row:hover { background:rgba(18,25,38,.02); }
.news-date { font-size:11px; color:var(--text-3); flex:0 0 44px; text-align:center; border:1px dashed var(--line); border-radius:8px; padding:4px 0; }
.skel { height:13px; border-radius:6px; background:var(--line-soft); }
.vmask {
  position:fixed; inset:0; z-index:95; display:none;
  background:rgba(15,20,28,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  align-items:center; justify-content:center; padding:20px;
}
.vmask.show { display:flex; }
.vbox {
  width:min(860px,94vw); background:var(--panel-solid); border-radius:18px; padding:18px;
  box-shadow:0 30px 80px -20px rgba(10,15,25,.5);
}
.vplayer {
  aspect-ratio:16/9; border-radius:12px; background:#10151d; color:rgba(255,255,255,.62);
  display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:center; font-size:13px;
}

/* ===== 深度研究报告：结论速览 / 来源分级 / 事实卡片 / 推导链 / 校验 ===== */
.rline {
  margin-top:12px; padding:10px 13px; border-radius:10px;
  background:linear-gradient(180deg, rgba(0,113,227,.09), rgba(0,113,227,.05));
  border:1px solid rgba(0,113,227,.22); color:#0b4d8f; font-size:12.5px; line-height:1.6;
}
.tier {
  display:inline-block; font-size:10.5px; font-weight:600; padding:2px 8px; border-radius:999px;
  border:1px solid transparent; white-space:nowrap;
}
.tier.l1 { background:#e7f5ee; color:#0f7a54; border-color:#b8e2ce; }
.tier.l2 { background:#eaf2fd; color:#0b5ca8; border-color:#c3daf6; }
.tier.l3 { background:#fdf3e3; color:#98620a; border-color:#f2dcb4; }
.tier.l4 { background:#f2f3f6; color:#5c6473; border-color:#dcdfe6; }
.conf { display:inline-block; font-size:11px; padding:1px 8px; border-radius:999px; border:1px solid; }
.conf.ch { color:#0f7a54; border-color:#b8e2ce; background:#eef9f3; }
.conf.cm { color:#98620a; border-color:#f2dcb4; background:#fdf8ee; }
.conf.cl { color:#b3261e; border-color:#f3c9c5; background:#fdf1f0; }
.fref { display:inline-block; font-size:11px; color:var(--text-3); border:1px dashed var(--line); border-radius:6px; padding:1px 6px; }
.tier-legend { margin-top:12px; font-size:11.5px; color:var(--text-3); line-height:2; }
.tier-legend .tier { margin:0 4px 0 2px; }
.scope-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
@media (max-width:760px){ .scope-grid { grid-template-columns:1fr; } }
.scope-box { border:1px solid var(--line-soft); border-radius:11px; padding:12px 14px; background:rgba(255,255,255,.6); }
.scope-box.out { background:rgba(18,25,38,.03); }
.scope-box h5 { margin:0 0 6px; font-size:12px; color:var(--text-2); font-weight:600; }
.scope-box ul { margin:0; padding-left:16px; font-size:12px; color:var(--text-2); line-height:1.75; }
.chain-list { display:flex; flex-direction:column; gap:11px; }
.chain-item { border:1px solid var(--line-soft); border-radius:11px; padding:11px 13px; background:rgba(255,255,255,.65); }
.chain-h { font-size:11px; color:var(--text-3); margin-bottom:7px; font-weight:600; }
.chain-3 { display:grid; grid-template-columns:1fr 1fr 1.15fr; gap:9px; }
@media (max-width:760px){ .chain-3 { grid-template-columns:1fr; } }
.cx { font-size:12px; color:var(--text-2); line-height:1.65; padding:8px 10px; border-radius:9px; background:rgba(18,25,38,.035); }
.cx.con { background:rgba(0,113,227,.07); color:#0b4d8f; }
.cxk { display:block; font-size:10.5px; color:var(--text-3); margin-bottom:3px; letter-spacing:.4px; }
.cx.con .cxk { color:rgba(11,77,143,.7); }
.verify-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:760px){ .verify-grid { grid-template-columns:1fr; } }
.verify-box { border:1px solid var(--line-soft); border-radius:11px; padding:12px 14px; background:rgba(255,255,255,.6); }
.verify-box.warn { background:rgba(253,241,240,.7); border-color:#f3d3cf; }
.verify-box h5 { margin:0 0 6px; font-size:12px; font-weight:600; color:var(--text-2); }
.verify-box ul { margin:0; padding-left:16px; font-size:12px; color:var(--text-2); line-height:1.75; }

/* ===== 市场雷达：近 30 天简报 / 趋势 / 痛点 / 热点 / 国家 / 关系图 ===== */
.l30-card { border:1px solid var(--line-soft); border-left:3px solid var(--accent-line); border-radius:11px; padding:12px 14px; background:rgba(255,255,255,.68); margin-bottom:10px; }
.l30-h { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--text); }
.l30-rank { width:20px; height:20px; flex:0 0 20px; border-radius:6px; background:linear-gradient(160deg,#3b9dff,#0071e3); color:#fff; font-size:11px; display:flex; align-items:center; justify-content:center; font-weight:600; }
.l30-meta { font-size:11px; color:var(--text-3); margin:7px 0 6px 29px; }
.l30-insight { font-size:12px; color:var(--text-2); line-height:1.7; margin-left:29px; padding:7px 10px; border-radius:9px; background:rgba(0,113,227,.05); }
.mom { font-size:10.5px; font-weight:600; padding:2px 8px; border-radius:999px; border:1px solid; margin-left:auto; }
.mom.burst { color:#b3261e; border-color:#f3c9c5; background:#fdf1f0; }
.mom.up { color:#98620a; border-color:#f2dcb4; background:#fdf8ee; }
.mom.fresh { color:#0b5ca8; border-color:#c3daf6; background:#eaf2fd; }
.mom.flat { color:#5c6473; border-color:#dcdfe6; background:#f2f3f6; }
.op-title2 { font-size:12px; font-weight:600; color:var(--text-2); margin:14px 0 7px; }
.hot-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
@media (max-width:900px){ .hot-grid { grid-template-columns:1fr; } }
.hot-card { border:1px dashed var(--line); border-radius:11px; padding:12px 13px; background:rgba(255,255,255,.6); }
.hc-t { font-size:12.5px; font-weight:600; color:var(--text); }
.hc-s { font-size:11.5px; color:var(--text-2); margin-top:6px; line-height:1.65; }
.hc-w { font-size:11px; color:var(--text-3); margin-top:7px; }
.pri { display:inline-block; font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:999px; border:1px solid; }
.pri.p0 { color:#b3261e; border-color:#f3c9c5; background:#fdf1f0; }
.pri.p1 { color:#98620a; border-color:#f2dcb4; background:#fdf8ee; }
.pri.p2 { color:#5c6473; border-color:#dcdfe6; background:#f2f3f6; }
.diag-wrap {
  border:1px solid var(--line-soft); border-radius:14px; padding:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,250,253,.75));
}
.rg-svg { width:100%; height:auto; display:block; }

/* ===== 登录（内部成员） ===== */
.login-mask {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 22px;
  background: linear-gradient(160deg, rgba(245,248,253,.88), rgba(232,238,247,.92));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.login-mask.show { display: flex; }
.login-card {
  width: min(400px, 100%);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(18,25,38,.08);
  border-radius: 20px;
  padding: 30px 28px 22px;
  box-shadow: 0 30px 80px -28px rgba(10,20,40,.35);
}
.login-logo {
  font-size: 21px; font-weight: 700; letter-spacing: .5px; text-align: center;
  background: linear-gradient(120deg, #0071e3, #34a4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-sub { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 7px; }
.login-tabs {
  display: flex; gap: 5px; margin: 20px 0 16px;
  background: rgba(18,25,38,.045); border-radius: 10px; padding: 4px;
}
.login-tab {
  flex: 1; text-align: center; font-size: 12.5px; color: var(--text-2);
  padding: 7px 0; border-radius: 7px; cursor: pointer; transition: all .16s var(--ease);
}
.login-tab.active {
  background: #fff; color: #0071e3; font-weight: 600;
  box-shadow: 0 1px 4px rgba(10,20,40,.1);
}
.login-label { font-size: 11.5px; color: var(--text-3); margin: 12px 0 6px; }
.login-input {
  width: 100%; box-sizing: border-box; font-size: 14px; color: var(--text);
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); outline: none; font-family: inherit;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.login-input:focus {
  border-color: var(--accent-line, #7ab3f0);
  box-shadow: 0 0 0 3px rgba(0,113,227,.1);
}
.login-code-row { display: flex; gap: 8px; }
.login-code-row .login-input { flex: 1; min-width: 0; letter-spacing: 3px; }
.login-code-row .btn { flex: 0 0 auto; white-space: nowrap; }
.login-btn { width: 100%; margin-top: 20px; justify-content: center; }
.login-msg { min-height: 17px; font-size: 12px; margin-top: 11px; line-height: 1.5; }
.login-msg.err { color: #c0392b; }
.login-msg.ok { color: #0f7a54; }
.login-hint { font-size: 11px; color: #98620a; line-height: 1.65; margin-top: 6px; border-radius: 8px; }
.login-hint:not(:empty) { padding: 8px 10px; background: rgba(253,243,227,.65); border: 1px solid #f2dcb4; }
.login-foot {
  font-size: 11px; color: var(--text-3); text-align: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}

/* 顶栏右上角的登录身份标识 */
.user-box {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--text-2);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.6);
}
.user-dot { width: 6px; height: 6px; border-radius: 50%; background: #2eb872; flex: 0 0 6px; }
.user-dot.local { background: #e0a020; }
.user-role { font-size: 10px; color: var(--text-3); border-left: 1px solid var(--line-soft); padding-left: 6px; }
.user-link { cursor: pointer; color: #0071e3; border-left: 1px solid var(--line-soft); padding-left: 6px; }
.user-link:hover { text-decoration: underline; }

/* ===== 评委一键进入大按钮 ===== */
.login-guest-btn{display:flex;align-items:center;gap:12px;width:100%;margin:2px 0 14px;padding:14px 16px;
  border:none;border-radius:12px;cursor:pointer;text-align:left;
  background:linear-gradient(135deg,#0071e3,#00b8a9);color:#fff;
  box-shadow:0 6px 18px rgba(0,113,227,.35);transition:transform .15s,box-shadow .15s}
.login-guest-btn:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(0,113,227,.45)}
.login-guest-btn[disabled]{opacity:.6;cursor:wait}
.login-guest-btn .gb-ic{font-size:24px;line-height:1}
.login-guest-btn .gb-txt{display:flex;flex-direction:column;gap:2px}
.login-guest-btn .gb-t{font-size:16px;font-weight:700;letter-spacing:.5px}
.login-guest-btn .gb-d{font-size:11.5px;opacity:.85}
.login-or{position:relative;text-align:center;margin:4px 0 14px;font-size:11px;color:var(--text-3,#8a94a6)}
.login-or::before,.login-or::after{content:'';position:absolute;top:50%;width:32%;height:1px;background:var(--line-soft,#e5e9f0)}
.login-or::before{left:0}.login-or::after{right:0}
