/**
 * 制作台 · 三层导航 / 智能模式闸（P-css-j：从 overview）
 */

/* —— P4 三层导航 · 本书条核心突出 —— */
.igs-nv-chrome.is-core-nav {
  flex-wrap: nowrap;
  gap: 0.45rem 0.55rem;
  padding: 0.38rem 0.45rem;
  min-height: 2.65rem;
  background: linear-gradient(180deg, #fbfdfb 0%, #f3f8f5 100%);
  border-bottom: 1px solid color-mix(in srgb, #9bb8a6 55%, var(--igs-line));
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__book {
  flex: 0 1 9.5rem;
  min-width: 5.5rem;
  gap: 0.25rem;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__titles strong {
  font-size: 0.92rem;
  font-weight: 700;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__back {
  padding: 0.28rem 0.4rem;
  border-radius: 0.45rem;
}
.igs-nv-chrome__views.is-core {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.18rem;
  gap: 0.12rem;
  border-radius: 0.7rem;
  background: #e6efe9;
  border: 1px solid #c5d9cc;
  box-shadow: inset 0 1px 2px rgba(20, 60, 40, 0.04);
}
.igs-nv-chrome__views.is-core .igs-nv-chrome__view {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 0.5rem;
  color: #3d5348;
}
.igs-nv-chrome__views.is-core .igs-nv-chrome__view .igs-ws-ico {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}
.igs-nv-chrome__views.is-core .igs-nv-chrome__view.is-on {
  background: #fff;
  color: #0f5c42;
  box-shadow: 0 1px 6px rgba(20, 92, 69, 0.14);
}
.igs-nv-chrome__views.is-core .igs-nv-chrome__view.is-on .igs-ws-ico {
  opacity: 1;
  color: #145c45;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__immerse {
  flex-shrink: 0;
}
.igs-nv-immerse-switch.is-compact {
  padding: 0.1rem;
  gap: 0.1rem;
  border-radius: 0.65rem;
  background: #eef4f0;
  border-color: #c8d9cf;
}
.igs-nv-immerse-switch.is-compact .igs-nv-immerse-switch__btn {
  padding: 0.32rem 0.55rem;
  font-size: 0.76rem;
  border-radius: 0.5rem;
  gap: 0.22rem;
}
.igs-nv-immerse-switch.is-compact .igs-nv-immerse-ico {
  width: 16px;
  height: 16px;
}
.igs-nv-immerse-switch.is-compact .igs-nv-immerse-switch__btn.is-read.is-on {
  background: linear-gradient(135deg, #1a7a58, #145c45);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(20, 92, 69, 0.28);
}
.igs-nv-immerse-switch.is-compact .igs-nv-immerse-switch__btn.is-write:hover {
  background: linear-gradient(135deg, #c4923a, #a67a28);
  color: #fff;
  border-color: transparent;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__acts.is-core {
  gap: 0.35rem;
  margin-left: 0;
  flex-shrink: 0;
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__ai {
  padding: 0.4rem 0.85rem;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 1px 4px rgba(47, 155, 106, 0.15);
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__ai.is-on {
  box-shadow: 0 2px 10px rgba(36, 122, 84, 0.35);
}
.igs-nv-chrome.is-core-nav .igs-nv-chrome__more > summary {
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  border-color: #c8d9cf;
  background: #fff;
}
/* 桌面瘦壳：藏窄屏分段（第4层导航） */
body.igs-ux2-desktop-first .igs-nv-studio.is-core-nav .igs-nv-mseg {
  display: none !important;
}
@media (max-width: 900px) {
  .igs-nv-chrome.is-core-nav {
    flex-wrap: wrap;
  }
  .igs-nv-chrome__views.is-core {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }
  .igs-nv-chrome__views.is-core .igs-nv-chrome__view {
    flex: 1;
    justify-content: center;
    padding: 0.38rem 0.35rem;
  }
  .igs-nv-chrome__views.is-core .igs-nv-chrome__view span {
    font-size: 0.78rem;
  }
}

.igs-nv-ch-ver-author {
  font-size: 0.72rem;
  color: #3d6b5c;
  font-weight: 600;
}
.igs-creator-book-sec {
  list-style: none;
  margin: 0.55rem 0 0.2rem;
  padding: 0;
  border: 0;
}
.igs-creator-book-sec em {
  font-style: normal;
  font-size: 0.72rem;
  color: #6b7c74;
  font-weight: 600;
}
#igsCreatorBookList li.is-open-shared strong::after {
  content: " · 可读";
  font-weight: 500;
  color: #6b7c74;
  font-size: 0.72rem;
}

/* —— 个人设置 · 信任设备 —— */
.igs-me-devices { margin: 0.4rem 0 0.55rem; }
.igs-me-devices__list { display: flex; flex-direction: column; gap: 0.4rem; }
.igs-me-devices__row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.5rem 0.65rem; border-radius: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--igs-line, #d5cdc0) 80%, transparent);
  background: color-mix(in srgb, var(--igs-paper, #f7f3ea) 88%, #fff);
}
.igs-me-devices__row.is-current { border-color: color-mix(in srgb, #3d9a7a 55%, transparent); }
.igs-me-devices__meta { min-width: 0; }
.igs-me-devices__meta strong { display: block; font-size: 0.88rem; }
.igs-me-devices__meta span { font-size: 0.72rem; color: var(--igs-muted, #6a736c); }
.igs-me-devices__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* —— 智能模式确认闸编排（chromeProfile.smart · 融合 §10） —— */
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-strip,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-compose-chrome,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-ai-coach,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-intent-strip,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-model-pf,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-agent-bar,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-role-row,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome [data-ws-agent-bar],
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-strip__row--roles {
  display: none !important;
}
/* 智能简约仍常显「新会话」（合同：新会话常显芯片；勿随整条 smart-strip 一起藏） */
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-status__new {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid rgba(26, 107, 82, 0.45);
  background: linear-gradient(180deg, #eefaf4, #d8f0e4);
  color: #145a3f;
  font-weight: 750;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-status__new:hover {
  border-color: rgba(26, 107, 82, 0.65);
  background: linear-gradient(180deg, #e6f7ee, #ccead9);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-status__att {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--igs-line, #c5d4cb) 80%, #9bb8a6);
  background: color-mix(in srgb, var(--igs-card, #fff) 92%, #eef6f1);
  color: #2a4a3a;
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  cursor: pointer;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-status__att:hover {
  border-color: rgba(26, 107, 82, 0.45);
}
/* 智能精简 · 迷你挂载条（软挂可见，不挡输入） */
.igs-ws-smart-slim-att {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.15rem 0.5rem 0.05rem;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
  border: 1px dashed color-mix(in srgb, #3d9a7a 35%, transparent);
  background: color-mix(in srgb, #eef8f2 70%, #fff);
  font-size: 0.72rem;
}
.igs-ws-smart-slim-att__lab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #2a5a44;
  font-weight: 650;
}
.igs-ws-smart-slim-att__chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: center;
  min-width: 0;
}
.igs-ws-smart-slim-att .igs-ws-chip {
  font-size: 0.7rem;
  padding: 0.12rem 0.4rem;
}
.igs-ws-smart-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  margin: 0.35rem 0.5rem 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(46, 90, 68, 0.12), rgba(46, 90, 68, 0.04));
  font-size: 0.82rem;
}
.igs-ws-smart-status__main {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
}
.igs-ws-smart-status__att,
.igs-ws-smart-status__l1 {
  font-size: 0.72rem;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.igs-ws-smart-progress-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.1rem;
}
.igs-ws-smart-progress__cap {
  font-size: 0.65rem;
  font-weight: 700;
  color: #3d564a;
  opacity: 0.75;
}
.igs-ws-smart-progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.igs-ws-smart-progress li {
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 90, 68, 0.2);
  opacity: 0.55;
}
.igs-ws-smart-progress li.is-done {
  opacity: 0.8;
  background: rgba(46, 90, 68, 0.08);
}
.igs-ws-smart-progress li.is-on {
  opacity: 1;
  font-weight: 700;
  border-color: rgba(46, 90, 68, 0.55);
  background: rgba(46, 90, 68, 0.16);
}
.igs-ws-smart-status__lab {
  font-size: 0.84rem;
  line-height: 1.35;
}
.igs-ws-smart-status__more {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  opacity: 0.75;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.igs-ws-smart-gate {
  margin: 0.45rem 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(46, 90, 68, 0.28);
  background: rgba(255, 252, 245, 0.92);
}
.igs-ws-smart-gate__hd {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.45rem;
}
.igs-ws-smart-gate__hd strong {
  font-size: 0.92rem;
}
.igs-ws-smart-gate__hd span {
  font-size: 0.78rem;
  opacity: 0.8;
}
.igs-ws-smart-gate__grp {
  margin: 0.4rem 0;
}
.igs-ws-smart-gate__grp-lab {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}
.igs-ws-smart-gate__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0;
}
.igs-ws-smart-gate__chip {
  border: 1px solid rgba(46, 90, 68, 0.35);
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}
.igs-ws-smart-gate__chip.is-on {
  background: rgba(46, 90, 68, 0.18);
  border-color: rgba(46, 90, 68, 0.55);
  font-weight: 600;
}
.igs-ws-smart-gate__chip.is-rec {
  box-shadow: inset 0 0 0 1px rgba(180, 120, 40, 0.45);
}
.igs-ws-smart-gate__unk {
  margin: 0.35rem 0;
  font-size: 0.8rem;
}
.igs-ws-smart-gate__unk.is-miss {
  padding: 0.35rem;
  border-radius: 8px;
  background: rgba(180, 80, 40, 0.08);
  border: 1px dashed rgba(180, 80, 40, 0.35);
}
.igs-ws-smart-gate__ans {
  margin: 0.35rem 0;
  font-size: 0.72rem;
  opacity: 0.8;
}
.igs-ws-smart-gate__ans pre {
  margin: 0.25rem 0 0;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.7rem;
}
.igs-ws-smart-gate__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.igs-ws-smart-gate__btn {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  background: #fff;
}
.igs-ws-smart-gate__btn.is-primary {
  background: #2e5a44;
  color: #fff;
  border-color: #2e5a44;
}
.igs-ws-coord-board {
  margin: 0.25rem 0 0.15rem;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(46, 90, 68, 0.18);
}
.igs-ws-coord-sum {
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.igs-ws-coord-sum.is-muted { opacity: 0.65; }
.igs-ws-coord-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}
.igs-ws-coord-cell {
  font-size: 0.65rem;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  border: 1px solid rgba(46, 90, 68, 0.18);
  opacity: 0.55;
  background: #fff;
}
.igs-ws-coord-cell b { font-weight: 600; }
.igs-ws-coord-cell.is-mounted { opacity: 0.85; border-style: dashed; }
.igs-ws-coord-cell.is-impact { opacity: 0.9; background: rgba(180, 140, 40, 0.12); }
.igs-ws-coord-cell.is-secondary { opacity: 0.95; border-color: rgba(46, 90, 68, 0.45); }
.igs-ws-coord-cell.is-primary {
  opacity: 1;
  font-weight: 700;
  background: rgba(46, 90, 68, 0.2);
  border-color: rgba(46, 90, 68, 0.65);
}
.igs-ws-coord-pids {
  margin-top: 0.25rem;
  font-size: 0.68rem;
}
.igs-ws-coord-pids code {
  font-size: 0.65rem;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
  background: rgba(46, 90, 68, 0.1);
}
.igs-ws-smart-plan {
  margin: 0.3rem 0 0.15rem;
  padding: 0.45rem 0.5rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(46, 90, 68, 0.22);
  background: rgba(255, 255, 255, 0.72);
}
.igs-ws-smart-plan.is-v2 {
  border-color: rgba(47, 155, 106, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.igs-ws-smart-plan__hd {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-bottom: 0.3rem;
}
.igs-ws-smart-plan__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.78rem;
}
.igs-ws-smart-plan__title strong {
  font-size: 0.8rem;
}
.igs-ws-smart-plan__pct {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #1d5c3f;
  font-size: 0.78rem;
}
.igs-ws-smart-plan__badge {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.igs-ws-smart-plan__badge.is-ok {
  color: #1d5c3f;
  background: rgba(47, 155, 106, 0.14);
  border-color: rgba(47, 155, 106, 0.3);
}
.igs-ws-smart-plan__badge.is-wait {
  color: #8a5a12;
  background: rgba(212, 160, 48, 0.16);
  border-color: rgba(212, 160, 48, 0.35);
}
.igs-ws-smart-plan__now {
  font-size: 0.72rem;
  font-weight: 650;
  color: #2a3d34;
  line-height: 1.35;
}
.igs-ws-smart-plan__run {
  font-size: 0.62rem;
  opacity: 0.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.igs-ws-smart-plan__bar {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(42, 61, 52, 0.1);
  overflow: hidden;
  margin: 0.2rem 0 0.4rem;
}
.igs-ws-smart-plan__bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f9b6a, #1d5c3f);
  transition: width 0.25s ease;
}
.igs-ws-smart-plan__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.igs-ws-smart-plan__steps li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.35rem;
  font-size: 0.72rem;
  padding: 0.28rem 0.4rem;
  border-radius: 6px;
  border: 1px solid transparent;
  opacity: 0.72;
}
.igs-ws-smart-plan__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(42, 61, 52, 0.08);
  color: #3d564a;
}
.igs-ws-smart-plan__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.igs-ws-smart-plan__lab {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.igs-ws-smart-plan__meta {
  font-size: 0.62rem;
  opacity: 0.7;
}
.igs-ws-smart-plan__st {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.08rem 0.3rem;
  border-radius: 999px;
  background: rgba(42, 61, 52, 0.06);
  color: #3d564a;
}
.igs-ws-smart-plan__steps li.is-wait {
  opacity: 0.78;
}
.igs-ws-smart-plan__steps li.is-done {
  opacity: 0.9;
  background: rgba(46, 90, 68, 0.08);
}
.igs-ws-smart-plan__steps li.is-done .igs-ws-smart-plan__idx {
  background: rgba(47, 155, 106, 0.22);
  color: #1d5c3f;
}
.igs-ws-smart-plan__steps li.is-done .igs-ws-smart-plan__st {
  color: #1d5c3f;
  background: rgba(47, 155, 106, 0.14);
}
.igs-ws-smart-plan__steps li.is-on {
  opacity: 1;
  font-weight: 650;
  border-color: rgba(47, 155, 106, 0.5);
  background: rgba(47, 155, 106, 0.14);
  box-shadow: 0 0 0 1px rgba(47, 155, 106, 0.12);
}
.igs-ws-smart-plan__steps li.is-on .igs-ws-smart-plan__idx {
  background: #2f9b6a;
  color: #fff;
}
.igs-ws-smart-plan__steps li.is-on .igs-ws-smart-plan__st {
  color: #fff;
  background: #2f9b6a;
}
.igs-ws-smart-plan__steps li.is-blocked {
  opacity: 1;
  border-color: rgba(180, 80, 40, 0.45);
  background: rgba(180, 80, 40, 0.08);
}
.igs-ws-smart-plan__steps li.is-blocked .igs-ws-smart-plan__st {
  color: #9a3412;
  background: rgba(180, 80, 40, 0.14);
}
.igs-ws-smart-gate__btn.is-ghost {
  background: transparent;
}

/* —— 智能模式 · 对话优先简约（新人友好 · 专注会话） —— */
body.igs-smart-chrome .igs-nv-ai-rail .igs-ws-bar.is-smart-chrome {
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 100%);
  padding: 0;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-smart-status.is-compact {
  margin: 0.12rem 0.35rem 0.1rem;
  padding: 0.28rem 0.45rem;
  border-radius: 0.55rem;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 107, 82, 0.1);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-smart-status.is-compact .igs-ws-smart-status__lab {
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-smart-status.is-compact .igs-ws-smart-status__more {
  font-size: 0.9rem;
  padding: 0.1rem 0.35rem;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-log-wrap {
  flex: 1 1 auto;
  min-height: min(38vh, 16rem);
  display: flex;
  flex-direction: column;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen > .igs-ws-log-wrap {
  min-height: min(46vh, 22rem);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-bar__log {
  flex: 1 1 auto;
  min-height: 10rem;
  max-height: none;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-zen-strip {
  margin: 0 0 0.25rem;
  padding: 0.22rem 0.4rem;
  font-size: 0.66rem;
  gap: 0.25rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(47, 111, 237, 0.06);
  border-color: rgba(47, 111, 237, 0.14);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-zen-strip__place,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-zen-strip__route {
  max-width: 9rem;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-zen-strip__thread,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-zen-strip__tip {
  display: none;
}
body.igs-smart-chrome .igs-nv-ai-rail.is-zen-chat .igs-ws-bar.is-zen .igs-ws-bar__hd {
  padding: 0.12rem 0.35rem 0.08rem;
  margin: 0;
  border-bottom: 0;
}
body.igs-smart-chrome .igs-nv-ai-rail.is-zen-chat .igs-ws-bar.is-zen .igs-ws-bar__hd-main .igs-ws-bar__titles {
  display: none;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-bar__compose {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 0.2rem 0.35rem 0.15rem;
  padding: 0.4rem 0.45rem 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(26, 107, 82, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
  box-shadow: 0 -6px 20px rgba(20, 40, 30, 0.06);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-chat-input,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen .igs-ws-bar__compose.is-zen textarea {
  min-height: 5.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-compose-hint {
  font-size: 0.68rem;
  opacity: 0.72;
}
body.igs-smart-chrome .igs-ws-ai-coach.is-minimal {
  margin: 0.35rem 0.25rem 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px dashed rgba(26, 107, 82, 0.16);
  background: rgba(247, 252, 249, 0.65);
}
body.igs-smart-chrome .igs-ws-ai-coach.is-minimal .igs-ws-ai-coach__minimal-hint {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #3a5248;
  text-align: center;
}
body.igs-smart-chrome .igs-ws-ai-coach.is-minimal .igs-ws-ai-coach__ft.is-minimal {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.72rem;
  justify-content: space-between;
}
body.igs-smart-chrome .igs-ws-bar.is-chat-empty.is-smart-chrome .igs-ws-empty--chat {
  padding: 0.25rem 0;
}
body.igs-smart-chrome .igs-nv-ai-rail__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0.25rem;
}
body.igs-smart-chrome .igs-nv-ai-rail__body > .igs-ws-bar.is-dock-rail {
  flex: 1 1 auto;
  min-height: 0;
}

/* 智能模式 · 简约 v2：侧栏更薄、会话更大、重复控件收起 */
body.igs-smart-chrome .igs-nv-ai-rail__hd {
  padding: 0.38rem 0.5rem 0.22rem;
}
body.igs-smart-chrome .igs-nv-ai-rail__hd .igs-ws-kicker,
body.igs-smart-chrome .igs-nv-ai-map-hint {
  display: none !important;
}
body.igs-smart-chrome .igs-nv-ai-rail__hd strong {
  font-size: 0.86rem;
}
body.igs-smart-chrome .igs-nv-ai-tabs {
  padding: 0.2rem 0.4rem 0.28rem;
  gap: 0.12rem;
}
body.igs-smart-chrome .igs-nv-ai-tab {
  font-size: 0.72rem;
  padding: 0.22rem 0.42rem;
}
body.igs-smart-chrome .igs-nv-ai-rail .igs-ws-bar.is-smart-chrome > .igs-ws-bar__hd {
  display: none;
}
body.igs-smart-chrome .igs-ws-smart-status.is-idle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0.06rem 0.3rem 0.08rem;
  padding: 0.14rem 0.35rem;
  font-size: 0.68rem;
  background: transparent;
  border: 0;
  opacity: 0.82;
}
body.igs-smart-chrome .igs-ws-smart-status.is-idle .igs-ws-smart-status__lab {
  font-weight: 600;
  font-size: 0.68rem;
}
body.igs-smart-chrome .igs-ws-smart-status.is-idle .igs-ws-smart-status__att {
  font-size: 0.64rem;
  opacity: 0.75;
}
body.igs-smart-chrome .igs-ws-smart-plan.is-compact {
  margin-top: 0.15rem;
}
body.igs-smart-chrome .igs-ws-smart-plan.is-compact .igs-ws-smart-plan__hd {
  gap: 0.15rem;
}
body.igs-smart-chrome .igs-ws-smart-plan.is-compact .igs-ws-smart-plan__now {
  font-size: 0.7rem;
}
body.igs-smart-chrome .igs-ws-smart-plan__fold {
  margin: 0.2rem 0 0;
}
body.igs-smart-chrome .igs-ws-smart-plan__fold > summary {
  cursor: pointer;
  font-size: 0.68rem;
  color: #4a6a58;
  padding: 0.15rem 0;
  list-style: none;
  user-select: none;
}
body.igs-smart-chrome .igs-ws-smart-plan__fold > summary::-webkit-details-marker {
  display: none;
}
body.igs-smart-chrome .igs-ws-smart-plan__fold .igs-ws-smart-plan__steps {
  max-height: 8rem;
  overflow: auto;
  margin-top: 0.2rem;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-log-wrap {
  min-height: min(44vh, 18rem);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome.is-zen > .igs-ws-log-wrap {
  min-height: min(52vh, 28rem);
}
body.igs-smart-chrome .igs-nv-ai-rail__body {
  padding: 0.2rem 0.3rem 0.12rem;
}
body.igs-smart-chrome .igs-ws-ai-coach.is-minimal {
  margin: 0.1rem 0.15rem 0.25rem;
  padding: 0.25rem 0.35rem;
  border: 0;
  background: transparent;
}
body.igs-smart-chrome .igs-ws-ai-coach.is-minimal .igs-ws-ai-coach__minimal-hint {
  margin: 0;
  font-size: 0.74rem;
  color: #6a7c74;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-compose-meta__tip,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-compose-expand-btn {
  display: none;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome > .igs-ws-bar__compose {
  margin: 0.12rem 0.28rem 0.08rem;
  padding: 0.32rem 0.38rem 0.28rem;
  border-radius: 0.75rem;
  box-shadow: 0 -4px 16px rgba(20, 40, 30, 0.08);
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-chat-input,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome textarea.igs-ws-chat-input {
  min-height: 6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  border-radius: 0.55rem;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-send {
  min-height: 2.65rem;
  min-width: 4.5rem;
  font-weight: 700;
}
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-msg {
  margin-bottom: 0.6rem;
}
body.igs-smart-chrome .igs-ws-smart-gate {
  margin: 0.2rem 0.3rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
}

/* 智能模式 · 结构区再压一层：仅当条处于精简态（is-smart-chrome）才藏 strip；⋯ 展开后须能见挂载/新会话 */
body.igs-smart-chrome .igs-nv-ai-rail__hd .igs-ws-kicker,
body.igs-smart-chrome .igs-nv-ai-rail__sub,
body.igs-smart-chrome .igs-nv-ai-map-hint,
body.igs-smart-chrome .igs-nv-ai-rail .igs-ws-bar.is-smart-chrome > .igs-ws-bar__hd,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-coord-board,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-progress-wrap,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-status__l1,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-compose-model,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-smart-strip,
body.igs-smart-chrome .igs-ws-bar.is-smart-chrome .igs-ws-zen-strip {
  display: none !important;
}
body.igs-smart-chrome .igs-nv-ai-rail__hd {
  padding: 0.22rem 0.45rem 0.12rem;
  align-items: center;
}
body.igs-smart-chrome .igs-nv-ai-rail__hd-main {
  align-items: center;
}
body.igs-smart-chrome .igs-nv-ai-rail__badge {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0;
  border-radius: 0.4rem;
}
body.igs-smart-chrome .igs-nv-ai-rail__hd strong {
  font-size: 0.8rem;
  font-weight: 650;
}
body.igs-smart-chrome .igs-nv-ai-tabs {
  padding: 0.08rem 0.35rem 0.16rem;
  gap: 0.08rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
body.igs-smart-chrome .igs-nv-ai-tabs::-webkit-scrollbar {
  display: none;
}
body.igs-smart-chrome .igs-nv-ai-rail.is-tab-chat .igs-nv-ai-tabs {
  padding: 0.08rem 0.35rem 0.16rem;
  background: transparent;
}
body.igs-smart-chrome .igs-nv-ai-tab,
body.igs-smart-chrome .igs-nv-ai-rail.is-tab-chat .igs-nv-ai-tab {
  font-size: 0.68rem;
  padding: 0.16rem 0.38rem;
  border-radius: 999px;
}
body.igs-smart-chrome .igs-ws-smart-status,
body.igs-smart-chrome .igs-ws-smart-status.is-compact {
  margin: 0 0.3rem;
  padding: 0.08rem 0.28rem;
  background: transparent;
  border: 0;
  min-height: 0;
}
body.igs-smart-chrome .igs-ws-smart-status .igs-ws-smart-status__lab {
  font-size: 0.66rem;
  font-weight: 600;
  opacity: 0.78;
}
body.igs-smart-chrome .igs-ws-smart-plan.is-v2:not(.is-compact) .igs-ws-smart-plan__steps {
  display: none;
}
body.igs-smart-chrome .igs-nv-ai-rail .igs-ws-bar.is-page-rail {
  min-height: 0;
}
body.igs-smart-chrome .igs-nv-ai-rail .igs-ws-bar.is-page-rail > .igs-ws-log-wrap {
  min-height: min(52vh, 22rem);
}

/* —— 个人中心 · 安全设置 —— */
.igs-me-security__block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--igs-line, #d5ddd6) 80%, transparent);
}
.igs-me-security__block:first-of-type {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: 0;
}
.igs-me-security__h {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.igs-me-security__prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 0.45rem;
}
.igs-me-security__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  cursor: pointer;
}
.igs-me-security__status {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.84rem;
  color: var(--igs-muted, #6a736c);
}
.igs-me-totp-secret {
  display: block;
  margin: 0.35rem 0 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--igs-chip, #eef2ef) 90%, transparent);
  font-size: 0.8rem;
  word-break: break-all;
}
.igs-me-totp-setup,
.igs-me-totp-disable {
  margin: 0.5rem 0;
  padding: 0.65rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px dashed color-mix(in srgb, var(--igs-line, #d5ddd6) 90%, transparent);
}

/* 候选页：返回会话 CTA（同一侧栏，非新窗口） */
.igs-nv-ai-rail__hd-acts .igs-ws-ico-btn.is-back-chat,
.igs-nv-cands__chrome-acts .igs-nv-cand-ico-btn.is-back-chat {
  border-color: color-mix(in srgb, #1a6b52 45%, transparent);
  background: linear-gradient(180deg, #eefaf4, #d8f0e4);
  color: #145a3f;
  font-weight: 700;
}
