/**
 * 制作台 · 融合意图条 / 教练卡 / 润色芯片（P-css-j：从 ws-chat）
 */

/* AI 融合意图条 · 合同 v1.0.111+ */
.igs-ws-intent-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0.65rem;
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  background: rgba(46, 90, 62, 0.06);
  border: 1px solid rgba(46, 90, 62, 0.14);
}
.igs-ws-intent-strip__lab {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(30, 55, 40, 0.72);
  margin-right: 0.15rem;
}
.igs-ws-intent-strip__ctx {
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(46, 90, 62, 0.12);
  color: rgba(30, 55, 40, 0.78);
  margin-right: 0.1rem;
}
.igs-ws-intent {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 90, 62, 0.28);
  background: #fff;
  color: rgba(22, 48, 34, 0.92);
  cursor: pointer;
}
.igs-ws-intent:hover:not(:disabled) {
  border-color: rgba(46, 90, 62, 0.5);
  background: rgba(46, 90, 62, 0.08);
}
.igs-ws-intent:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-intent.is-all {
  border-style: dashed;
  font-weight: 600;
}
.igs-ws-intent.is-primary {
  border-color: rgba(46, 125, 90, 0.45);
  background: rgba(46, 125, 90, 0.12);
  color: #1a3d2c;
  font-weight: 600;
}
.igs-ws-intent.is-urgent {
  border-color: color-mix(in srgb, #c45 50%, rgba(46, 90, 62, 0.28));
  background: color-mix(in srgb, #c45 8%, #fff);
}

/* 精简开口：默认收起次要 chrome，气泡区吃满剩余高度（功能进换岗/说明/全部） */
.igs-ws-bar.is-opening-lean.is-page-rail {
  min-height: 0;
}
.igs-nv-ai-rail.is-tab-chat .igs-ws-bar.is-opening-lean.is-page-rail {
  height: 100%;
  min-height: 100%;
}
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-bar__log {
  flex: 1 1 auto;
  min-height: min(40vh, 20rem);
  max-height: none;
}
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-log-wrap {
  flex: 1 1 auto;
  min-height: min(40vh, 20rem);
}
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-log-wrap > .igs-ws-bar__log {
  min-height: 0;
}
.igs-nv-ai-rail .igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-bar__log {
  min-height: 0;
}
.igs-nv-ai-rail .igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-log-wrap {
  min-height: 0;
}
.igs-ws-bar.is-opening-lean .igs-ws-smart-strip {
  padding: 0.2rem 0.45rem 0.22rem;
  gap: 0.15rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-smart-strip__guide {
  display: none;
}
.igs-ws-role-fold {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.igs-ws-role-fold > summary {
  list-style: none;
  cursor: pointer;
}
.igs-ws-role-fold > summary::-webkit-details-marker { display: none; }
.igs-ws-role-fold > .igs-ws-role-seg {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.2rem);
  right: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 11rem;
  max-width: min(18rem, 70vw);
  padding: 0.4rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 107, 82, 0.22);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 32, 0.12);
}
.igs-ws-intent-strip.is-lean {
  margin: 0.1rem 0.45rem 0.2rem;
  padding: 0.28rem 0.4rem;
  gap: 0.28rem;
}
.igs-ws-intent-more {
  position: relative;
  display: inline-flex;
}
.igs-ws-intent-more > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px dashed rgba(46, 90, 62, 0.35);
  background: #fff;
  color: rgba(22, 48, 34, 0.75);
}
.igs-ws-intent-more > summary::-webkit-details-marker { display: none; }
.igs-ws-intent-more__body {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.2rem);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-width: 10rem;
  padding: 0.4rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(46, 90, 62, 0.2);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 32, 0.12);
}
.igs-ws-ctx-row.is-lean {
  align-items: center;
}
.igs-ws-meta-fold {
  flex: 0 0 auto;
  position: relative;
}
.igs-ws-meta-fold > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 650;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px dashed rgba(26, 50, 40, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #4a5c54;
}
.igs-ws-meta-fold > summary::-webkit-details-marker { display: none; }
.igs-ws-meta-fold[open] > summary {
  border-style: solid;
  border-color: rgba(26, 107, 82, 0.28);
  color: #145a45;
}
.igs-ws-meta-fold > .igs-ws-meta-group {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.2rem);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  max-width: min(22rem, 85vw);
  padding: 0.4rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 50, 40, 0.12);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 32, 0.12);
}
.igs-ws-bar.is-opening-lean .igs-ws-agent-tpls.is-collapsed .igs-ws-agent-tpls__folded {
  display: none;
}
.igs-ws-bar.is-opening-lean .igs-ws-agent-tpls {
  padding: 0.12rem 0.35rem;
  border-style: dashed;
}
.igs-ws-bar.is-opening-lean .igs-ws-prompts {
  padding-top: 0.08rem;
  padding-bottom: 0.08rem;
}
.igs-ws-lean-btn.is-on {
  border-color: rgba(26, 107, 82, 0.35);
  background: linear-gradient(180deg, #eef8f2, #f7fcf9);
  color: #145a45;
}
.igs-ws-lean-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-bar.is-opening-lean .is-lean-hide {
  display: none !important;
}
.igs-ws-bar.is-opening-lean.is-page-rail:not(.is-zen) > .igs-ws-bar__compose.is-compact .igs-ws-chat-input,
.igs-ws-bar.is-opening-lean.is-page-rail:not(.is-zen) > .igs-ws-bar__compose.is-compact textarea,
.igs-nv-ai-rail .igs-ws-bar.is-opening-lean:not(.is-zen) > .igs-ws-bar__compose.is-compact textarea,
.igs-nv-ai-rail .igs-ws-bar.is-opening-lean:not(.is-zen) > .igs-ws-bar__compose.is-compact .igs-ws-chat-input {
  min-height: 4.6rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-ctx-row.is-lean {
  margin: 0.05rem 0.35rem;
  padding: 0.12rem 0.35rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-latest-cand.is-compact {
  margin: 0.15rem 0.45rem;
  padding: 0.28rem 0.45rem;
}
.igs-ws-agent-tpls.is-lean-chip {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.igs-ws-intent.is-tpl {
  border-style: dashed;
  font-weight: 600;
}
.igs-ws-intent-strip.is-lean {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  gap: 0.25rem;
}
.igs-ws-intent-strip.is-lean .igs-ws-intent-strip__ctx {
  font-size: 0.62rem;
  padding: 0.08rem 0.32rem;
  opacity: 0.88;
}
.igs-ws-prompts.is-lean {
  margin: 0;
  padding: 0;
  gap: 0.22rem;
}
.igs-ws-plot-wiz.is-compact {
  margin: 0.15rem 0.45rem;
  padding: 0.35rem 0.45rem;
}
.igs-ws-plot-wiz__compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}
.igs-ws-plot-wiz__compact > strong {
  font-size: 0.78rem;
  color: #145a45;
}
.igs-ws-plot-wiz__compact > span {
  flex: 1 1 8rem;
  min-width: 0;
  font-size: 0.68rem;
  color: #5a6e64;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.igs-ws-plot-wiz__more {
  position: relative;
}
.igs-ws-plot-wiz__more > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  border: 1px dashed rgba(26, 107, 82, 0.3);
  background: #fff;
  color: #3a5a4c;
}
.igs-ws-plot-wiz__more > summary::-webkit-details-marker { display: none; }
.igs-ws-plot-wiz__more[open] > .igs-ws-plot-wiz__track {
  position: absolute;
  z-index: 9;
  top: calc(100% + 0.25rem);
  right: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-width: 14rem;
  max-width: min(22rem, 90vw);
  padding: 0.45rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 107, 82, 0.2);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 32, 0.12);
}

.igs-ws-jump-end {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  transform: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 107, 82, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #145a45;
  box-shadow: 0 4px 14px rgba(20, 40, 32, 0.12);
  cursor: pointer;
}
.igs-ws-jump-end:hover {
  border-color: rgba(26, 107, 82, 0.45);
  background: #eef8f2;
}
.igs-ws-jump-end[hidden] {
  display: none !important;
}

/* 会话区悬浮：最新反馈大窗 + ↓最新 */
.igs-ws-log-fabs {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 7;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 1rem);
  pointer-events: none;
}
.igs-ws-log-fabs > * {
  pointer-events: auto;
}
.igs-ws-latest-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 107, 82, 0.36);
  background: linear-gradient(180deg, #1f7a5e 0%, #145a45 100%);
  color: #f4faf7;
  box-shadow: 0 6px 16px rgba(20, 90, 70, 0.28);
  cursor: pointer;
  white-space: nowrap;
}
.igs-ws-latest-fb .igs-ws-ico {
  width: 0.95rem;
  height: 0.95rem;
}
.igs-ws-latest-fb em {
  font-style: normal;
  font-weight: 650;
  opacity: 0.82;
  font-size: 0.64rem;
}
.igs-ws-latest-fb:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(20, 90, 70, 0.34);
}
.igs-ws-ico-btn.is-latest-fb {
  color: #145a45;
  border-color: rgba(26, 107, 82, 0.32);
  background: rgba(26, 107, 82, 0.1);
  font-weight: 750;
}
.igs-ws-ico-btn.is-latest-fb:hover {
  background: rgba(26, 107, 82, 0.16);
}
.igs-ws-msg__art.is-modal-open {
  color: #145a45;
  border-color: rgba(26, 107, 82, 0.28);
}
.igs-ws-msg__art.is-latest-fb {
  background: rgba(26, 107, 82, 0.12);
  font-weight: 750;
}
.igs-ws-msg.is-latest-asst .igs-ws-result-acts {
  opacity: 1;
}

.igs-ws-compose-latest-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #145a45 !important;
  border-color: rgba(26, 107, 82, 0.32) !important;
  font-weight: 750;
}
.igs-ws-compose-latest-btn .igs-ws-ico {
  width: 0.95rem;
  height: 0.95rem;
}
.igs-ws-latest-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0.25rem 0.45rem 0.15rem;
  padding: 0.42rem 0.55rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 107, 82, 0.28);
  background: linear-gradient(90deg, rgba(26, 107, 82, 0.12), rgba(255, 255, 255, 0.94));
  color: #145a45;
  font-size: 0.78rem;
  font-weight: 650;
  animation: igs-latest-offer-in 0.24s ease-out;
}
.igs-ws-latest-offer > span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex: 1 1 10rem;
  min-width: 0;
}
.igs-ws-latest-offer .igs-btn {
  padding: 0.28rem 0.7rem;
  font-size: 0.74rem;
}
.igs-ws-latest-offer .igs-btn-ghost {
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
}
@keyframes igs-latest-offer-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.igs-ws-compose-count {
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 650;
  color: #7a8a82;
  letter-spacing: 0.02em;
}
.igs-ws-compose-count.is-warn {
  color: #a65a28;
}
.igs-ws-compose-meta__tip {
  font-size: 0.62rem;
  color: #8a9a92;
  margin-left: auto;
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__compose.is-compact:focus-within {
  border-color: rgba(26, 107, 82, 0.35);
  box-shadow:
    0 0 0 2px rgba(26, 107, 82, 0.08),
    0 -6px 18px rgba(40, 30, 18, 0.04);
}
.igs-ws-empty--chat.is-lean {
  padding: 1.1rem 0.65rem 0.85rem;
  text-align: center;
}
.igs-ws-empty--chat.is-lean .igs-ws-empty__lead {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: #3a4a42;
}
.igs-ws-empty--chat.is-lean .igs-ws-ai-guide {
  margin-top: 0.55rem;
}
.igs-ws-empty--chat.is-lean .igs-ws-ai-guide__hint {
  text-align: center;
  font-size: 0.76rem;
  color: #6a7c74;
}
.igs-ws-bar.is-chat-empty.is-opening-lean .igs-ws-compose-chrome {
  display: none;
}
.igs-ws-bar.is-opening-lean.is-chat-empty .igs-ws-log-wrap {
  min-height: min(48vh, 24rem);
}

.igs-ws-intent-all__body {
  max-height: min(70vh, 36rem);
  overflow: auto;
  padding: 0.25rem 0.15rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.igs-ws-intent-all__sec h4 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(30, 55, 40, 0.7);
}
.igs-ws-intent-all__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.45rem;
}
.igs-ws-intent-all__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(46, 90, 62, 0.2);
  background: #fff;
  cursor: pointer;
}
.igs-ws-intent-all__card:hover:not(:disabled) {
  border-color: rgba(46, 90, 62, 0.45);
  background: rgba(46, 90, 62, 0.06);
}
.igs-ws-intent-all__card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-intent-all__card strong {
  font-size: 0.84rem;
}
.igs-ws-intent-all__card span {
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(30, 55, 40, 0.62);
}

.igs-ws-plot-wiz {
  margin: 0.35rem 0 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(46, 90, 62, 0.22);
  background: color-mix(in srgb, rgba(46, 90, 62, 0.07) 70%, var(--igs-elev, #f7f8f5));
}
.igs-ws-plot-wiz.is-urgent {
  border-color: color-mix(in srgb, #c45 42%, rgba(46, 90, 62, 0.22));
  background: color-mix(in srgb, #c45 8%, var(--igs-elev, #f7f8f5));
}
.igs-ws-plot-wiz__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.45rem;
}
.igs-ws-plot-wiz__hd strong {
  font-size: 0.86rem;
}
.igs-ws-plot-wiz__hd span {
  flex: 1 1 10rem;
  font-size: 0.74rem;
  color: rgba(30, 55, 40, 0.68);
  line-height: 1.35;
}
.igs-ws-plot-wiz__track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.igs-ws-plot-wiz__step {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font: inherit;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 90, 62, 0.22);
  background: #fff;
  color: rgba(30, 55, 40, 0.75);
  cursor: pointer;
}
.igs-ws-plot-wiz__step i {
  font-style: normal;
  font-weight: 700;
  font-size: 0.68rem;
  width: 1.05rem;
  height: 1.05rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 90, 62, 0.12);
}
.igs-ws-plot-wiz__step.is-on {
  border-color: rgba(46, 90, 62, 0.55);
  background: rgba(46, 90, 62, 0.12);
  font-weight: 700;
  color: rgba(22, 48, 34, 0.95);
}
.igs-ws-plot-wiz__step.is-done:not(.is-on) {
  opacity: 0.72;
}
.igs-ws-plot-wiz__step.is-done i {
  background: rgba(42, 136, 88, 0.25);
}
.igs-ws-plot-wiz__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.igs-ws-plot-wiz-entry {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
}

/* AI 智能教练卡 · 简约指引（v1.0.150） */
.igs-ws-ai-coach {
  margin: 0.5rem auto 0.25rem;
  max-width: 22.5rem;
  text-align: left;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 50, 40, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 252, 247, 0.96), rgba(244, 250, 247, 0.92));
  box-shadow: 0 2px 14px rgba(20, 36, 30, 0.05);
}
.igs-ws-ai-coach__hd {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.igs-ws-ai-coach__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: rgba(26, 107, 82, 0.1);
  color: #145a45;
}
.igs-ws-ai-coach__mark .igs-ico {
  width: 1.05rem;
  height: 1.05rem;
}
.igs-ws-ai-coach__who {
  min-width: 0;
  flex: 1;
}
.igs-ws-ai-coach__who strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3328;
  letter-spacing: 0.01em;
}
.igs-ws-ai-coach__who p,
.igs-ws-ai-coach__hint {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #6a7c74;
}
.igs-ws-ai-coach__locus {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.2rem 0 0 !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  color: #1a6b52 !important;
  letter-spacing: 0.01em;
}
.igs-ws-ai-coach__locus .igs-ico {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  opacity: 0.85;
}
.igs-ws-switch-modal__locus {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: #4a6358;
  line-height: 1.4;
}
.igs-ws-ai-coach__next {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(26, 107, 82, 0.18);
  background: rgba(255, 255, 255, 0.88);
}
.igs-ws-ai-coach__next em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a6b52;
  margin-bottom: 0.2rem;
}
.igs-ws-ai-coach__next p {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #2a3a32;
  font-weight: 600;
}
.igs-ws-ai-coach__next-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.igs-ws-ai-coach__go {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 107, 82, 0.35);
  background: linear-gradient(180deg, #1a6b52, #155a45);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.igs-ws-ai-coach__go:hover:not(:disabled) {
  filter: brightness(1.05);
}
.igs-ws-ai-coach__go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-ai-coach__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-bottom: 0.5rem;
}
.igs-ws-ai-coach__acts .igs-ws-guide-chip.is-pri {
  border-color: rgba(26, 107, 82, 0.45);
  background: rgba(26, 107, 82, 0.1);
  font-weight: 700;
}
.igs-ws-ai-coach__acts .igs-ws-guide-chip.is-ghost {
  border-style: dashed;
  background: transparent;
  color: #5a6c64;
}
.igs-ws-ai-coach__ft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(26, 50, 40, 0.07);
  font-size: 0.68rem;
  color: #6a7c74;
}
.igs-ws-ai-coach__ft .igs-ico {
  width: 0.75rem;
  height: 0.75rem;
  vertical-align: -0.08rem;
  opacity: 0.75;
}
.igs-ws-ai-coach__ft-acts {
  display: inline-flex;
  gap: 0.15rem;
}
.igs-ws-ai-coach__ft .igs-btn-ghost {
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  min-height: 0;
}
.igs-ws-ai-coach.is-lean .igs-ws-ai-coach__hd {
  margin-bottom: 0.15rem;
}
.igs-ws-coach-more {
  display: inline-block;
  margin: 0;
}
.igs-ws-coach-more > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px dashed rgba(26, 50, 40, 0.22);
  color: #5a6c64;
  background: rgba(255, 255, 255, 0.65);
}
.igs-ws-coach-more > summary::-webkit-details-marker { display: none; }
.igs-ws-ai-coach__acts.is-fold {
  margin: 0.35rem 0 0;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(26, 50, 40, 0.1);
}
.igs-ws-coach-more.is-pipe {
  margin: 0.35rem 0;
  width: 100%;
}
.igs-ws-coach-more.is-pipe > summary {
  font-size: 0.75rem;
  border-style: solid;
  border-color: rgba(26, 107, 82, 0.2);
  color: #1a6b52;
}

/* 写作接力进度条（新人空态） */
.igs-ws-write-pipe {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.5rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(26, 107, 82, 0.12);
  background: rgba(255, 255, 255, 0.55);
}
.igs-ws-write-pipe__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  color: #5a6c64;
}
.igs-ws-write-pipe__hd strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1a3d30;
}
.igs-ws-write-pipe__pack {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 107, 82, 0.22);
  background: rgba(26, 107, 82, 0.08);
  color: #145a45;
  font-size: 0.64rem;
  font-weight: 700;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.igs-ws-write-pipe__lead {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #5a6c64;
}
.igs-ws-write-pipe__ask {
  font-size: 0.66rem !important;
  padding: 0.12rem 0.4rem !important;
}
.igs-ws-write-pipe__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.2rem;
}
.igs-ws-write-pipe__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  padding: 0.28rem 0.1rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  text-align: center;
  min-width: 0;
}
.igs-ws-write-pipe__step.is-click {
  cursor: pointer;
}
.igs-ws-write-pipe__step.is-click:hover {
  border-color: rgba(26, 107, 82, 0.35);
  background: rgba(26, 107, 82, 0.06);
}
.igs-ws-write-pipe__step span {
  font-size: 0.68rem;
  font-weight: 650;
  color: #6a7c74;
  line-height: 1.2;
}
.igs-ws-write-pipe__step em {
  font-style: normal;
  font-size: 0.58rem;
  color: #8a9a92;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.igs-ws-write-pipe__step.is-done {
  background: rgba(26, 107, 82, 0.08);
  border-color: rgba(26, 107, 82, 0.16);
}
.igs-ws-write-pipe__step.is-done span {
  color: #145a45;
}
.igs-ws-write-pipe__step.is-now {
  background: rgba(26, 107, 82, 0.14);
  border-color: rgba(26, 107, 82, 0.35);
  box-shadow: 0 0 0 1px rgba(26, 107, 82, 0.08);
}
.igs-ws-write-pipe__step.is-now span {
  color: #0f3d2e;
  font-weight: 750;
}
.igs-ws-write-pipe__step.is-now em {
  color: #1a6b52;
}
@media (max-width: 420px) {
  .igs-ws-write-pipe__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .igs-ws-write-pipe__step.is-now {
    box-shadow: none;
  }
}

/* 会话中一条智能提示 */
.igs-ws-coach-tip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0.35rem 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 107, 82, 0.14);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  color: #2a3a32;
}
.igs-ws-coach-tip__ico {
  flex: 0 0 auto;
  color: #1a6b52;
  opacity: 0.85;
}
.igs-ws-coach-tip__ico .igs-ico {
  width: 0.85rem;
  height: 0.85rem;
}
.igs-ws-coach-tip__txt {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.igs-ws-coach-tip__locus {
  flex: 0 1 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 600;
  color: #1a6b52;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(26, 107, 82, 0.08);
  border: 1px solid rgba(26, 107, 82, 0.14);
}
.igs-ws-coach-tip__txt b {
  font-weight: 650;
  color: #24332c;
}
.igs-ws-coach-tip .igs-ws-ai-coach__go {
  flex: 0 0 auto;
  font-size: 0.7rem;
  padding: 0.18rem 0.55rem;
}
.igs-ws-coach-tip__x {
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #8a9a92;
  cursor: pointer;
}
.igs-ws-coach-tip__x:hover {
  background: rgba(26, 50, 40, 0.06);
  color: #3a4a42;
}

.igs-ws-empty--chat.is-lean {
  padding: 0.85rem 0.5rem 0.55rem;
}
.igs-ws-empty--chat.is-lean .igs-ws-ai-coach {
  margin-top: 0;
}

.igs-ws-bar.is-opening-lean .igs-ws-empty--chat.is-lean {
  padding: 1.15rem 0.65rem 0.85rem;
  background:
    radial-gradient(70% 55% at 50% 12%, rgba(26, 107, 82, 0.055), transparent 68%);
}
.igs-ws-bar.is-opening-lean .igs-ws-ai-coach {
  box-shadow: 0 3px 16px rgba(20, 36, 30, 0.06);
}
.igs-ws-bar.is-opening-lean .igs-ws-guide-chip {
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-guide-chip:hover:not(:disabled) {
  transform: translateY(-1px);
}

.igs-ws-ai-guide {
  margin: 0.65rem 0 0.35rem;
  text-align: left;
  max-width: 28rem;
  margin-inline: auto;
}
.igs-ws-ai-guide__hint {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(30, 55, 40, 0.78);
}
.igs-ws-ai-guide__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.igs-ws-ai-guide__lab {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(30, 55, 40, 0.55);
  margin-right: 0.1rem;
}
.igs-ws-guide-chip {
  font: inherit;
  font-size: 0.76rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px dashed rgba(46, 90, 62, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(22, 48, 34, 0.9);
  cursor: pointer;
}
.igs-ws-guide-chip--intent {
  border-style: solid;
  background: rgba(46, 90, 62, 0.08);
}
.igs-ws-guide-chip:hover:not(:disabled) {
  border-color: rgba(46, 90, 62, 0.55);
  background: rgba(46, 90, 62, 0.12);
}
.igs-ws-guide-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-model__tpls {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.76rem;
}
.igs-ws-agent-tpls {
  margin: 0.35rem 0 0.55rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(46, 90, 62, 0.14);
  background: rgba(46, 90, 62, 0.05);
}
.igs-ws-agent-tpls.is-collapsed {
  padding: 0.28rem 0.45rem;
}
.igs-ws-agent-tpls__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0;
}
.igs-ws-agent-tpls.is-open .igs-ws-agent-tpls__hd {
  margin-bottom: 0.35rem;
}
.igs-ws-agent-tpls__sum {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.1rem 0.15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  min-width: 0;
  flex: 1 1 auto;
}
.igs-ws-agent-tpls__sum:hover .igs-ws-agent-tpls__lab {
  color: rgba(26, 90, 58, 0.95);
}
.igs-ws-agent-tpls__lab {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(30, 55, 40, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.igs-ws-agent-tpls__chev {
  font-style: normal;
  font-size: 0.7rem;
  color: rgba(30, 55, 40, 0.55);
  flex: 0 0 auto;
}
.igs-ws-agent-tpls__n {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 700;
  color: #2f7a55;
  background: rgba(47, 122, 85, 0.12);
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  flex: 0 0 auto;
}
.igs-ws-agent-tpls__folded {
  margin: 0.15rem 0 0;
  font-size: 0.64rem;
  color: rgba(30, 55, 40, 0.5);
  line-height: 1.3;
}
.igs-ws-agent-tpls__ctx,
.igs-ws-tpl-modal__ctx {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(30, 55, 40, 0.62);
}
.igs-ws-agent-tpls__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
@media (min-width: 1100px) {
  .igs-ws-agent-tpls__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.igs-ws-agent-tpl-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(46, 90, 62, 0.22);
  background: #fff;
  cursor: pointer;
  font: inherit;
  min-height: 3.6rem;
}
.igs-ws-agent-tpl-card em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(46, 90, 62, 0.7);
}
.igs-ws-agent-tpl-card strong {
  font-size: 0.78rem;
  color: rgba(22, 48, 34, 0.95);
}
.igs-ws-agent-tpl-card span {
  font-size: 0.68rem;
  color: rgba(60, 80, 70, 0.72);
  line-height: 1.3;
}
.igs-ws-agent-tpl-card:hover:not(:disabled) {
  border-color: rgba(46, 90, 62, 0.5);
  background: rgba(46, 90, 62, 0.08);
}
.igs-ws-agent-tpl-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
/* —— 总编润色风格芯片 —— */
.igs-ws-polish-styles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.15rem 0.45rem 0.35rem;
  padding: 0.45rem 0.55rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(180, 120, 60, 0.28);
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.95), rgba(255, 252, 245, 0.88));
}
.igs-ws-bar.is-page-rail > .igs-ws-compose-chrome > .igs-ws-polish-styles {
  margin: 0;
  padding: 0.35rem 0.4rem;
  flex: 1 1 100%;
}
.igs-ws-bar.is-page-rail > .igs-ws-polish-styles {
  order: 13;
  flex: 0 0 auto;
}
.igs-ws-polish-styles__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.igs-ws-polish-styles__hd strong {
  font-size: 0.8rem;
  color: #5a3a18;
}
.igs-ws-polish-styles__hd span {
  font-size: 0.68rem;
  color: #7a6348;
  flex: 1 1 auto;
  min-width: 0;
}
.igs-ws-polish-styles__presets,
.igs-ws-polish-styles__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}
.igs-ws-polish-preset {
  border: 1px dashed rgba(160, 100, 40, 0.4);
  background: rgba(255, 255, 255, 0.7);
  color: #6a4218;
  font-size: 0.68rem;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  cursor: pointer;
}
.igs-ws-polish-preset:hover:not(:disabled) {
  border-style: solid;
  background: rgba(255, 236, 210, 0.95);
}
.igs-ws-polish-chip {
  border: 1px solid rgba(120, 90, 50, 0.28);
  background: rgba(255, 255, 255, 0.85);
  color: #3d2a14;
  font-size: 0.7rem;
  padding: 0.16rem 0.48rem;
  border-radius: 0.45rem;
  cursor: pointer;
}
.igs-ws-polish-chip:hover:not(:disabled) {
  border-color: rgba(160, 100, 40, 0.55);
}
.igs-ws-polish-chip.is-on {
  border-color: rgba(160, 90, 20, 0.65);
  background: rgba(255, 214, 150, 0.55);
  font-weight: 600;
  color: #3a2208;
}
.igs-ws-polish-chip:disabled,
.igs-ws-polish-preset:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.igs-ws-polish-modal {
  max-width: min(52rem, 96vw);
  max-height: min(88vh, 44rem);
  display: flex;
  flex-direction: column;
}
.igs-ws-polish-modal .igs-ws-modal__bd {
  overflow: auto;
  padding: 0.6rem 0.85rem 1rem;
}
.igs-ws-polish-modal__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.igs-ws-polish-modal__grp {
  margin: 0 0 0.85rem;
}
.igs-ws-polish-modal__grp h4 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: #5a3a18;
}
.igs-ws-polish-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.45rem;
}
.igs-ws-polish-card {
  text-align: left;
  border: 1px solid rgba(120, 90, 50, 0.22);
  background: #fffdf8;
  border-radius: 0.55rem;
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.igs-ws-polish-card strong {
  font-size: 0.8rem;
  color: #2e1c0c;
}
.igs-ws-polish-card em {
  font-style: normal;
  font-size: 0.66rem;
  color: #8a6a48;
}
.igs-ws-polish-card span {
  font-size: 0.68rem;
  color: #4a3a28;
  line-height: 1.35;
}
.igs-ws-polish-card.is-on {
  border-color: rgba(160, 90, 20, 0.7);
  background: rgba(255, 224, 170, 0.55);
  box-shadow: inset 0 0 0 1px rgba(160, 90, 20, 0.25);
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] {
  position: fixed;
  inset: 0;
  z-index: 12080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 16, 10, 0.45);
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] .igs-ws-modal {
  background: #fffef9;
  border-radius: 0.85rem;
  border: 1px solid rgba(120, 90, 50, 0.25);
  box-shadow: 0 18px 48px rgba(40, 24, 8, 0.28);
  width: 100%;
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] .igs-ws-modal__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(120, 90, 50, 0.15);
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] .igs-ws-modal__hd strong {
  font-size: 0.95rem;
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] .igs-ws-modal__hd span {
  flex: 1 1 auto;
  font-size: 0.72rem;
  color: #6a5840;
}
.igs-ws-modal-backdrop[data-ws-polish-style-modal] .igs-ws-modal__ft {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem 0.7rem;
  border-top: 1px solid rgba(120, 90, 50, 0.12);
}

.igs-ws-tpl-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 28, 22, 0.45);
}
.igs-ws-tpl-modal__panel {
  width: min(920px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  border-radius: 0.85rem;
  background: #f7faf7;
  border: 1px solid rgba(32, 72, 52, 0.18);
  box-shadow: 0 18px 48px rgba(20, 40, 30, 0.28);
  padding: 0.85rem 0.95rem 1rem;
}
.igs-ws-tpl-modal__panel.is-guide {
  width: min(1080px, 100%);
  max-height: min(92vh, 860px);
}
.igs-ws-tpl-modal__hd-acts {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.igs-ws-tpl-modal__sub {
  margin: 0.85rem 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #1a3226;
}
.igs-ws-role-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}
.igs-ws-role-help {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(32, 72, 52, 0.22);
  background: #fff;
  color: #2a4a38;
  cursor: pointer;
  padding: 0;
}
.igs-ws-role-help:hover {
  border-color: rgba(32, 72, 52, 0.45);
  background: #eef5ef;
  color: #143024;
}
.igs-ws-role-help svg {
  width: 1rem;
  height: 1rem;
}
.igs-ws-role-seg .igs-ws-role-help {
  margin-left: 0.15rem;
}
.igs-ws-agent-guide {
  margin: 0.55rem 0 0.35rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: linear-gradient(165deg, #eef6f0 0%, #f8fbf8 55%, #fff 100%);
  border: 1px solid rgba(32, 72, 52, 0.14);
}
.igs-ws-agent-guide__lead {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #1a3226;
}
.igs-ws-agent-guide__lead b {
  margin-right: 0.35rem;
  color: #2d6a4f;
}
.igs-ws-agent-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
}
.igs-ws-agent-guide__grid .is-wide {
  grid-column: 1 / -1;
}
.igs-ws-agent-guide__steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #24382c;
}
.igs-ws-agent-guide__steps li {
  margin: 0.15rem 0;
}
.igs-ws-agent-guide__ex {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(32, 72, 52, 0.18);
}
.igs-ws-agent-guide__ex > h4 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d6a4f;
}
.igs-ws-agent-guide__ex ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.igs-ws-agent-guide__ex li {
  padding: 0.5rem 0.55rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(32, 72, 52, 0.12);
}
.igs-ws-agent-guide__ex-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.igs-ws-agent-guide__ex-hd strong {
  font-size: 0.82rem;
  color: #1a3226;
}
.igs-ws-agent-guide__ex pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #2a3d32;
  background: #f3f7f4;
  border-radius: 0.4rem;
  padding: 0.4rem 0.45rem;
}
@media (max-width: 720px) {
  .igs-ws-agent-guide__grid {
    grid-template-columns: 1fr;
  }
}
.igs-ws-agent-guide__grid h4 {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #3d6b52;
}
.igs-ws-agent-guide__grid p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #24382c;
}
.igs-ws-agent-guide__forbid {
  margin: 0.55rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(32, 72, 52, 0.18);
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5a3a2a;
}
.igs-ws-agent-guide__forbid b {
  margin-right: 0.3rem;
}
.igs-ws-tpl-modal__hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.igs-ws-tpl-modal__hd strong {
  display: block;
  font-size: 1rem;
  color: #1a3226;
}
.igs-ws-tpl-modal__hd span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #5a7064;
}
.igs-ws-tpl-modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.igs-ws-tpl-modal__tab {
  font: inherit;
  font-size: 0.74rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 90, 62, 0.28);
  background: #fff;
  cursor: pointer;
  color: rgba(22, 48, 34, 0.9);
}
.igs-ws-tpl-modal__tab.is-on,
.igs-ws-tpl-modal__tab:hover {
  background: rgba(46, 90, 62, 0.12);
  border-color: rgba(46, 90, 62, 0.45);
}
.igs-ws-tpl-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.55rem;
}
.igs-ws-tpl-modal__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(46, 90, 62, 0.18);
  background: #fff;
}
.igs-ws-tpl-modal__card header {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.igs-ws-tpl-modal__card em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(46, 90, 62, 0.72);
}
.igs-ws-tpl-modal__card strong {
  font-size: 0.88rem;
  color: #1a3226;
}
.igs-ws-tpl-modal__card > p {
  margin: 0;
  font-size: 0.76rem;
  color: #5a7064;
}
.igs-ws-tpl-modal__preview {
  margin: 0;
  padding: 0.4rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(46, 90, 62, 0.06);
  font-size: 0.7rem;
  line-height: 1.4;
  white-space: pre-wrap;
  color: #2a4034;
  max-height: 5.5rem;
  overflow: hidden;
}
.igs-ws-tpl-modal__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
@media (max-width: 640px) {
  .igs-ws-agent-tpls__cards {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   精简聊天 · 视觉体验升版（v1.0.127）
   苔绿主 CTA + 暖纸助手气泡 · 层次清、动效克制
   ═══════════════════════════════════════════════ */
.igs-nv-ai-rail.is-tab-chat {
  --igs-chat-paper: #f7faf8;
  --igs-chat-ink: #1a2a24;
  --igs-chat-moss: #1a6b52;
  --igs-chat-moss-deep: #145a45;
  --igs-chat-amber: #9a6b2f;
  --igs-chat-line: rgba(26, 50, 40, 0.1);
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(26, 107, 82, 0.07), transparent 58%),
    radial-gradient(70% 45% at 0% 100%, rgba(154, 107, 47, 0.05), transparent 55%),
    linear-gradient(180deg, #f4f8f6 0%, #eef4f1 100%);
}
.igs-nv-ai-rail.is-tab-chat .igs-nv-ai-rail__body {
  padding: 0.28rem 0.35rem 0.45rem;
}
.igs-nv-ai-rail.is-tab-chat .igs-ws-bar.is-chat-desk.is-opening-lean {
  gap: 0;
}

/* 顶栏更安静 */
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-bar__hd {
  padding: 0.32rem 0.45rem 0.28rem;
  margin: 0 0.1rem;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__badge {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, #1f7a5e, #145a45);
  color: #f3faf6;
  box-shadow: 0 2px 8px rgba(26, 107, 82, 0.18);
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__titles strong {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--igs-chat-ink, #1a2a24);
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__route {
  font-size: 0.62rem;
  color: #6a7c74;
  opacity: 0.92;
}
.igs-ws-bar.is-opening-lean .igs-ws-ico-btn {
  border-radius: 0.45rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-lean-btn.is-on {
  box-shadow: 0 0 0 1px rgba(26, 107, 82, 0.12);
}

/* 智能条：薄玻璃条 */
.igs-ws-bar.is-opening-lean .igs-ws-smart-strip {
  margin: 0.1rem 0.35rem 0.15rem;
  padding: 0.28rem 0.4rem;
  border: 1px solid rgba(26, 107, 82, 0.1);
  border-radius: 0.7rem;
  border-bottom: 1px solid rgba(26, 107, 82, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 252, 249, 0.72));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.igs-ws-bar.is-opening-lean .igs-ws-smart-chip {
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-smart-chip:hover {
  transform: translateY(-0.5px);
}
.igs-ws-bar.is-opening-lean .igs-ws-smart-chip.is-obj {
  max-width: min(100%, 12.5rem);
  box-shadow: 0 1px 2px rgba(26, 107, 82, 0.06);
}
.igs-ws-bar.is-opening-lean .igs-ws-role-fold > summary.is-summary {
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 107, 82, 0.08);
}

/* 会话纸面 */
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-log-wrap {
  margin: 0.15rem 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 50, 40, 0.08);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.95), transparent 60%),
    linear-gradient(180deg, #fbfcfb 0%, #f4f7f5 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 18px rgba(20, 36, 30, 0.04);
  overflow: hidden;
}
.igs-ws-bar.is-opening-lean.is-page-rail > .igs-ws-log-wrap > .igs-ws-bar__log,
.igs-ws-bar.is-opening-lean.is-chat-desk .igs-ws-bar__log {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.65rem 0.55rem 0.85rem;
  gap: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 107, 82, 0.25) transparent;
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__log::-webkit-scrollbar {
  width: 5px;
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__log::-webkit-scrollbar-thumb {
  background: rgba(26, 107, 82, 0.22);
  border-radius: 999px;
}

/* 气泡：非对称卡片 + 入场 */
.igs-ws-bar.is-opening-lean.is-chat-desk .igs-ws-msg {
  position: relative;
  max-width: 96%;
  padding: 0.55rem 0.65rem 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 50, 40, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 2px 8px rgba(20, 36, 30, 0.04);
  animation: igs-msg-in 0.28s ease-out both;
}
@keyframes igs-msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .igs-ws-bar.is-opening-lean.is-chat-desk .igs-ws-msg {
    animation: none;
  }
}
.igs-ws-bar.is-opening-lean.is-chat-desk .igs-ws-msg.is-user {
  align-self: flex-end;
  margin-left: 1.1rem;
  border-color: rgba(26, 107, 82, 0.22);
  background:
    linear-gradient(165deg, #eef8f2 0%, #f5fcf8 55%, #f9fdfb 100%);
  border-bottom-right-radius: 0.35rem;
}
.igs-ws-bar.is-opening-lean.is-chat-desk .igs-ws-msg.is-assistant {
  align-self: flex-start;
  margin-right: 1.1rem;
  border-color: rgba(154, 107, 47, 0.18);
  background:
    linear-gradient(165deg, #fffcf7 0%, #faf6ef 60%, #f7f2ea 100%);
  border-bottom-left-radius: 0.35rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-msg__who {
  margin-bottom: 0.28rem;
  gap: 0.35rem;
  font-size: 0.68rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-msg__avatar {
  width: 1.45rem !important;
  height: 1.45rem !important;
  border-radius: 0.42rem !important;
  box-shadow: 0 1px 3px rgba(20, 36, 30, 0.12);
}
.igs-ws-bar.is-opening-lean .igs-ws-msg__body,
.igs-ws-bar.is-opening-lean .igs-ws-msg__md,
.igs-ws-bar.is-opening-lean .igs-ws-msg__plain {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #24332c;
}
.igs-ws-bar.is-opening-lean .igs-ws-msg.is-streaming {
  border-style: dashed;
  border-color: rgba(26, 107, 82, 0.28);
}
.igs-ws-bar.is-opening-lean .igs-ws-msg.is-typing .igs-ws-msg__body::after {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.25rem;
  border-radius: 50%;
  background: var(--igs-chat-moss, #1a6b52);
  animation: igs-typing-dot 1s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes igs-typing-dot {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* 空态：编辑部感 */
.igs-ws-bar.is-opening-lean .igs-ws-empty--chat.is-lean {
  padding: 1.6rem 0.85rem 1.25rem;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(26, 107, 82, 0.06), transparent 70%);
}
.igs-ws-bar.is-opening-lean .igs-ws-empty__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 107, 82, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #145a45;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(26, 107, 82, 0.08);
}
.igs-ws-bar.is-opening-lean .igs-ws-empty__lead {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: #24332c;
}
.igs-ws-bar.is-opening-lean .igs-ws-ai-guide {
  margin-top: 0.85rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 50, 40, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 12px rgba(20, 36, 30, 0.04);
  max-width: 22rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-guide-chip {
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-guide-chip:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(26, 107, 82, 0.45);
  background: #fff;
}
.igs-ws-bar.is-opening-lean .igs-ws-guide-chip--intent {
  border-style: solid;
  border-color: rgba(26, 107, 82, 0.28);
  background: linear-gradient(180deg, #f3faf6, #fff);
  font-weight: 650;
}

/* 开口工具条 */
.igs-ws-bar.is-opening-lean .igs-ws-compose-chrome {
  margin: 0.2rem 0.35rem 0.15rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 107, 82, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 247, 0.88));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.igs-ws-bar.is-opening-lean .igs-ws-intent {
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-intent:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(26, 107, 82, 0.1);
}
.igs-ws-bar.is-opening-lean .igs-ws-intent.is-all {
  color: #3a5a4c;
}
.igs-ws-bar.is-opening-lean .igs-ws-prompts .igs-ws-prompt {
  transition: transform 0.12s ease, background 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-prompts .igs-ws-prompt:hover:not(:disabled) {
  transform: translateY(-1px);
}
.igs-ws-bar.is-opening-lean .igs-ws-prompts .igs-ws-prompt.is-accent {
  box-shadow: 0 1px 3px rgba(26, 107, 82, 0.1);
}

/* 挂载行更薄 */
.igs-ws-bar.is-opening-lean .igs-ws-ctx-row.is-lean {
  margin: 0.08rem 0.35rem 0.12rem;
  padding: 0.18rem 0.4rem;
  border-radius: 0.55rem;
  border: 1px dashed rgba(26, 50, 40, 0.1);
  background: rgba(255, 255, 255, 0.45);
}

/* 发送区：主舞台 */
.igs-ws-bar.is-opening-lean.is-page-rail:not(.is-zen) > .igs-ws-bar__compose.is-compact {
  margin: 0.15rem 0.35rem 0.3rem;
  padding: 0.5rem 0.55rem 0.4rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(26, 107, 82, 0.16);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
  box-shadow:
    0 -8px 24px rgba(40, 30, 18, 0.04),
    0 4px 14px rgba(20, 36, 30, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-bar__compose.is-compact:focus-within {
  border-color: rgba(26, 107, 82, 0.42);
  box-shadow:
    0 0 0 3px rgba(26, 107, 82, 0.1),
    0 -8px 24px rgba(40, 30, 18, 0.04),
    0 4px 14px rgba(20, 36, 30, 0.06);
}
.igs-ws-bar.is-opening-lean .igs-ws-compose-model {
  margin: 0 0 0.25rem;
  padding: 0;
  font-size: 0.62rem;
  color: #7a8a82;
  opacity: 0.9;
}
.igs-ws-bar.is-opening-lean .igs-ws-chat-input,
.igs-ws-bar.is-opening-lean textarea.igs-ws-chat-input {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1a2a24;
  caret-color: #1a6b52;
}
.igs-ws-bar.is-opening-lean .igs-ws-chat-input::placeholder {
  color: #8a9a92;
  opacity: 0.95;
}
.igs-ws-bar.is-opening-lean .igs-ws-send {
  min-width: 3.35rem;
  min-height: 3.1rem;
  border-radius: 0.8rem;
  background: linear-gradient(160deg, #239574, #145a45);
  box-shadow:
    0 2px 0 rgba(12, 60, 45, 0.25),
    0 4px 12px rgba(26, 107, 82, 0.22);
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.igs-ws-bar.is-opening-lean .igs-ws-send:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 rgba(12, 60, 45, 0.22),
    0 6px 16px rgba(26, 107, 82, 0.28);
}
.igs-ws-bar.is-opening-lean .igs-ws-send:active:not(:disabled) {
  transform: translateY(0);
}
.igs-ws-bar.is-opening-lean .igs-ws-compose-expand-btn {
  border-radius: 0.5rem;
  color: #5a6e64;
}
.igs-ws-bar.is-opening-lean .igs-ws-compose-meta {
  margin-top: 0.22rem;
  padding-top: 0.1rem;
}
.igs-ws-bar.is-opening-lean .igs-ws-compose-more > summary {
  font-size: 0.62rem;
  color: #8a9a92;
  border: 0;
  padding: 0.1rem 0;
  background: transparent;
}

/* ↓最新 + 最新反馈大窗 */
.igs-ws-bar.is-opening-lean .igs-ws-log-fabs {
  animation: igs-jump-in 0.2s ease-out;
}
.igs-ws-bar.is-opening-lean .igs-ws-jump-end {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 107, 82, 0.28);
}
@keyframes igs-jump-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.igs-ws-bar.is-opening-lean .igs-ws-jump-end:hover {
  background: #eef8f2;
  box-shadow: 0 6px 18px rgba(26, 107, 82, 0.16);
}
.igs-ws-bar.is-opening-lean .igs-ws-latest-fb {
  animation: igs-latest-fb-in 0.22s ease-out;
}
@keyframes igs-latest-fb-in {
  from { opacity: 0; transform: translateY(4px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* 加情节紧凑条 */
.igs-ws-bar.is-opening-lean .igs-ws-plot-wiz.is-compact {
  margin: 0.15rem 0.35rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(26, 107, 82, 0.16);
  background: linear-gradient(90deg, rgba(26, 107, 82, 0.07), rgba(255, 255, 255, 0.9));
}
.igs-ws-bar.is-opening-lean .igs-ws-plot-wiz.is-urgent {
  border-color: rgba(180, 70, 50, 0.35);
  background: linear-gradient(90deg, rgba(196, 69, 40, 0.08), rgba(255, 255, 255, 0.92));
}


/* ═══════════════════════════════════════════════════════════
   小说页 · 视觉精修 v1.0.146
   青绿苔藓 + 宣纸暖底；图标/标题/卡片层次；禁紫/奶油陶土套路
   ═══════════════════════════════════════════════════════════ */

.igs-nv-mini-ico.igs-ws-ico,
.igs-nv-mini-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  vertical-align: -0.12em;
  opacity: 0.92;
}

