/**
 * ovolve-spec.css — #ecosystem / #features
 * 产品说明书版式：10–14px 圆角，白底镜框，墨色分段，天蓝只作主线点缀
 */

#ecosystem.spec-section,
#features.spec-section,
#inside.inside-section {
  scroll-margin-top: 100px;
}

#ecosystem.spec-section {
  padding: 88px 0;
  background: #F3F1EE;
}

#features.spec-section {
  padding: 88px 0 96px;
  background: #FFFFFF;
}

.spec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: end;
  margin-bottom: 28px;
}

.spec-head-copy {
  max-width: 38rem;
}

#ecosystem .spec-head .section-title,
#features .spec-head .section-title {
  text-align: left;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.spec-title-stack span {
  display: block;
}

.spec-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 15.5px;
  line-height: 1.75;
  padding-bottom: 0.15em;
  overflow: visible;
  color: var(--text-secondary);
}

.spec-count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: #D6D3D1;
  user-select: none;
}

.spec-frame {
  list-style: none;
  margin: 0;
  padding: 8px 28px 8px;
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -24px rgba(28, 25, 23, 0.18);
}

.spec-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 22px 4px;
  border-bottom: 1px solid #EFECE9;
  transition: background 0.18s ease;
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row:hover {
  background: #FAFAF9;
}

.spec-row-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #A8A29E;
  padding-top: 5px;
}

.spec-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.spec-row-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.spec-row-body > p {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.spec-role {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716C;
}

.spec-role--spine {
  color: #0369A1;
}

.spec-row--spine {
  padding-top: 26px;
  padding-bottom: 28px;
}

.spec-row--spine .spec-row-index {
  color: #0369A1;
}

.spec-meta {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A8A29E;
}

.spec-writeback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 16px;
}

.spec-file {
  min-width: 0;
  background: #FAFAF9;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  overflow: hidden;
}

.spec-file--out {
  background: #F8FBFF;
  border-color: #D8E8F3;
}

.spec-file-bar {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716C;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid #E7E5E4;
}

.spec-file-body {
  margin: 0;
  padding: 12px;
}

.spec-file-body code,
.spec-note code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #1C1917;
  word-break: break-word;
}

.spec-log-arrow {
  align-self: center;
  text-align: center;
  color: #A8A29E;
  font-size: 16px;
}

.spec-feat .spec-head {
  margin-bottom: 22px;
}

.spec-stage {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
  height: 530px;
  min-height: 530px;
  max-height: 530px;
  min-width: 0;
  align-items: start;
}

#features .feat-index {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 530px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#features .feat-index .delivery-tab-btn {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  width: 360px;
  height: 154px;
  min-height: 154px;
  max-height: 154px;
  margin: 0;
  padding: 0 8px 0 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: #999999;
  transition: color 0.2s ease;
}

#features .feat-index .delivery-tab-btn:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#features .feat-index .delivery-tab-btn p {
  display: block;
  margin: 0;
  max-width: 32ch;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: inherit;
  transform: translateY(22px);
}

#features .feat-index .delivery-tab-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  transform: translateY(22px);
}

#features .feat-index .delivery-tab-head b,
#features .feat-index .delivery-tab-btn > b {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: inherit;
}

#features .feat-index .delivery-tab-badge {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: inherit;
  opacity: 0.55;
}

#features .feat-index .delivery-tab-btn.active,
#features .feat-index .delivery-tab-btn:hover {
  background: transparent;
  border-color: rgba(28, 25, 23, 0.1);
  box-shadow: none;
  color: #1C1917;
}

#features .feat-index .delivery-tab-btn.active p {
  color: #57534E;
}

#features .feat-index .delivery-tab-btn.active b,
#features .feat-index .delivery-tab-btn.active .delivery-tab-head b {
  font-weight: 600;
  color: #1C1917;
}

#features .feat-index .delivery-tab-btn.active .delivery-tab-badge {
  color: #78716C;
  background: none;
  opacity: 1;
}

#features .feat-index .delivery-tab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

#features .feat-index .delivery-tab-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #1C1917;
  border-radius: 0;
}

#features .feat-index .delivery-tab-btn.active .delivery-tab-progress i {
  animation: specTabFill 6s linear forwards;
}

#features .feat-index .delivery-tab-btn:focus-visible {
  outline: 2px solid #1C1917;
  outline-offset: 3px;
}

#features .spec-panes {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 530px;
  min-height: 530px;
  max-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 44px -28px rgba(28, 25, 23, 0.18);
}

#features .spec-panes .delivery-card-pane {
  position: absolute;
  inset: 0;
  display: block;
  height: 530px;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: none;
  background: #FFFFFF;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

#features .spec-panes .delivery-card-pane.active {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

#features .spec-panes .spec-doc {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#features .spec-doc-grid,
#features .spec-still--wide {
  flex: 1 1 auto;
  min-height: 0;
}

#features .spec-still--wide {
  min-height: 0;
}

#features .spec-split,
#features .spec-compare {
  min-height: 0;
  height: 100%;
}

.spec-doc {
  border: 1px solid #E7E5E4;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px -24px rgba(28, 25, 23, 0.18);
  overflow: hidden;
}

.spec-doc-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #78716C;
  background: #FAFAF9;
  border-bottom: 1px solid #E7E5E4;
}

.spec-doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  min-height: 0;
}

.spec-figure {
  margin: 0;
  padding: 18px 20px 16px;
  border-right: 1px solid #E7E5E4;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spec-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1C1917;
}

.spec-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #78716C;
}

.spec-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  vertical-align: 1px;
  background: #D6D3D1;
}

.spec-legend .lg-front { background: #0EA5E9; }
.spec-legend .lg-opt { background: #059669; }

#features .pareto-canvas-container {
  flex: 1;
  min-height: 0;
  background: #F7F6F4;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  padding: 8px;
}

#features .spec-figure {
  min-height: 0;
}

#features .spec-foot {
  flex-shrink: 0;
}

.spec-note {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #FAFAF9;
}

.spec-note .spec-file-bar {
  border-radius: 0;
}

.spec-note-k,
.spec-k {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716C;
}

.spec-note pre {
  margin: 0;
  padding: 16px 18px 8px;
  background: none;
  white-space: pre-wrap;
  flex: 1;
}

.spec-note-meta {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 12.5px;
  color: #57534E;
}

.spec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.spec-col {
  padding: 20px 22px;
  min-width: 0;
}

.spec-col + .spec-col {
  border-left: 1px solid #E7E5E4;
  background: #FAFAF9;
}

.spec-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1C1917;
}

.spec-files {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-files li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #EFECE9;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #44403C;
}

.spec-files li:first-child {
  border-top: 0;
}

.spec-files small {
  color: #A8A29E;
  font-size: 11px;
}

.spec-files .ok {
  color: #047857;
}

.spec-foot {
  margin: 0;
  padding: 13px 22px;
  border-top: 1px solid #E7E5E4;
  background: #FAFAF9;
  font-size: 13px;
  line-height: 1.6;
  color: #57534E;
}

.spec-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.spec-block {
  padding: 0;
  min-width: 0;
}

.spec-block + .spec-block {
  border-left: 1px solid #E7E5E4;
}

.spec-block-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid #E7E5E4;
  font-size: 13px;
}

.spec-block--blocked .spec-block-bar {
  background: #F8F4F2;
  color: #7C2D12;
}

.spec-block--passed .spec-block-bar {
  background: #F2F6F3;
  color: #14532D;
}

.spec-block-bar b {
  font-weight: 600;
}

.spec-block-bar span {
  font-family: var(--font-mono);
  font-size: 11px;
}

.spec-codeblock {
  margin: 0;
  padding: 16px 18px 20px;
  overflow-x: auto;
  background: #FFFFFF;
}

.spec-codeblock code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #44403C;
  white-space: pre;
}

.spec-codeblock .rm { color: #B91C1C; }
.spec-codeblock .ad { color: #047857; }

@media (max-width: 900px) {
  .spec-stage {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 16px;
  }

  #features .feat-index {
    width: 100%;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
  }

  #features .feat-index .delivery-tab-btn {
    flex: 1 1 0;
    width: auto;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    padding: 10px 8px 16px;
  }

  #features .feat-index .delivery-tab-btn p {
    display: none;
  }

  #features .feat-index .delivery-tab-head,
  #features .feat-index .delivery-tab-btn p {
    transform: none;
  }

  #features .feat-index .delivery-tab-head b,
  #features .feat-index .delivery-tab-btn > b {
    font-size: 14px;
  }

  #features .spec-panes,
  #features .spec-panes .delivery-card-pane {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  .spec-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spec-count {
    font-size: 44px;
  }

  .spec-frame {
    padding: 4px 16px;
  }

  .spec-row,
  .spec-row--spine {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .spec-writeback,
  .spec-doc-grid,
  .spec-split,
  .spec-compare {
    grid-template-columns: 1fr;
  }

  .spec-log-arrow {
    transform: rotate(90deg);
  }

  .spec-figure,
  .spec-col + .spec-col,
  .spec-block + .spec-block {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid #E7E5E4;
  }
}

@media (prefers-reduced-motion: reduce) {
  #features .feat-index .delivery-tab-btn.active .delivery-tab-progress i {
    animation: none;
    width: 100%;
  }
}

@keyframes specTabFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ── 大图说明书 + 产品界面 ── */

.spec-split-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(268px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

/* ═══ 生态能力环已移除：进度回到右侧竖条 ═══ */

.spec-still {
  margin: 0;
  min-width: 0;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(28, 25, 23, 0.04),
    0 28px 56px -28px rgba(28, 25, 23, 0.22);
}

.spec-still--wide {
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.spec-still-img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-still.is-ready > .spec-still-img {
  display: block;
}

.spec-still.is-ready > .spec-still-fallback {
  display: none;
}

.spec-still-fallback {
  flex: 1;
  min-height: 0;
}

.studio-window {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
  background: #FFFFFF;
}

.studio-panes {
  position: relative;
  flex: 1;
  min-height: 0;
}

.studio-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease;
}

.studio-pane.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.studio-chrome {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px 0 14px;
  background: #FAFAF9;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #44403C;
}

.studio-brand img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.studio-win {
  display: flex;
  align-items: center;
  height: 100%;
}

.studio-win i {
  width: 40px;
  height: 100%;
  position: relative;
}

.studio-win i::before,
.studio-win i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #78716C;
}

.studio-win i:first-child::before {
  width: 9px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.studio-win i:nth-child(2)::before {
  width: 8px;
  height: 8px;
  background: none;
  border: 1px solid #78716C;
  transform: translate(-50%, -50%);
}

.studio-win i.is-close::before,
.studio-win i.is-close::after {
  width: 10px;
  height: 1px;
}

.studio-win i.is-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.studio-win i.is-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.studio-stage {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.studio-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px 10px;
  background: #F7F6F4;
  border-right: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 12px;
  color: #78716C;
}

.studio-new {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: #1C1917;
  color: #FAFAF9;
  font-size: 12px;
  font-weight: 560;
}

.studio-search {
  height: 28px;
  margin-bottom: 10px;
  padding: 0 8px;
  border: 1px solid #E7E5E4;
  border-radius: 7px;
  background: #FFFFFF;
  color: #A8A29E;
  line-height: 28px;
}

.studio-side-k {
  margin: 4px 4px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #A8A29E;
}

.studio-side span {
  display: block;
  padding: 6px 8px;
  border-radius: 7px;
  line-height: 1.3;
}

.studio-side span.is-on {
  background: #FFFFFF;
  color: #1C1917;
  font-weight: 560;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
}

.studio-ver {
  margin-top: auto;
  padding: 8px 4px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #A8A29E;
}

.studio-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
  min-width: 0;
  background:
    linear-gradient(180deg, #FCFCFB 0%, #F7F6F4 100%);
}

.studio-pagehead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.studio-pagehead b {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: #1C1917;
}

.studio-pagehead span,
.studio-md-name,
.studio-fail > span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716C;
}

.studio-fail {
  padding: 12px 14px;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  background: #FFFFFF;
}

.studio-fail code {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: #9A3412;
  word-break: break-word;
}

.studio-md {
  flex: 1;
  border: 1px solid #D8E8F3;
  border-radius: 10px;
  background: #F8FBFF;
  overflow: hidden;
}

.studio-md-name {
  padding: 8px 12px;
  border-bottom: 1px solid #E4EEF5;
  background: rgba(255, 255, 255, 0.72);
}

.studio-md pre {
  margin: 0;
  padding: 12px 14px 14px;
}

.studio-md code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #1C1917;
  white-space: pre-wrap;
}

.spec-rail {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 16px 8px 8px;
  background: #FFFFFF;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 40px -28px rgba(28, 25, 23, 0.16);
}

/* 右侧贯穿竖向进度：transform 驱动，跟轮播同一时钟 */
.spec-rail-progress {
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 8px;
  width: 2px;
  border-radius: 1px;
  background: #E7E5E4;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.spec-rail-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #1C1917;
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.spec-rail-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 10px;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.16s ease;
}

.spec-rail-item + .spec-rail-item {
  margin-top: 2px;
}

.spec-rail-item:hover,
.spec-rail-item.is-current {
  background: #F6F4F1;
}

.spec-rail-item:focus-visible {
  outline: 2px solid #0EA5E9;
  outline-offset: 2px;
}

.spec-rail-idx {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #A8A29E;
}

.spec-rail-item.is-current .spec-rail-idx {
  color: #0369A1;
}

.spec-rail-item h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1C1917;
}

.spec-rail-item em {
  margin-left: 6px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: #A8A29E;
}

.spec-rail-item.is-current em {
  color: #0369A1;
}

.spec-rail-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #78716C;
}

/* 外骨骼左侧各态内容 */
.studio-kv,
.studio-checks,
.studio-layers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-kv li,
.studio-checks li,
.studio-layers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #F0EDE9;
  font-size: 12.5px;
}

.studio-kv li:first-child,
.studio-checks li:first-child,
.studio-layers li:first-child {
  border-top: 0;
  padding-top: 0;
}

.studio-kv span,
.studio-checks span,
.studio-layers span {
  color: #78716C;
}

.studio-kv strong,
.studio-checks strong,
.studio-layers strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #1C1917;
}

.studio-kv li.ok strong,
.studio-checks li.ok strong {
  color: #047857;
}

.studio-checks li.bad strong {
  color: #B91C1C;
}

.studio-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #A8A29E;
}

.studio-hash {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  background: #FAFAF9;
}

.studio-hash span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #A8A29E;
}

.studio-hash code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #1C1917;
}

.studio-meter {
  height: 8px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #E7E5E4;
  overflow: hidden;
}

.studio-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0EA5E9, #0369A1);
}

.studio-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.studio-actions span,
.studio-actions strong {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.studio-actions span {
  color: #57534E;
  background: #F5F5F4;
}

.studio-actions strong {
  background: #1C1917;
  color: #FAFAF9;
}

.inside-section {
  padding: 88px 0 96px;
  background: #F4F2EE;
  scroll-margin-top: 96px;
}

#inside .spec-head .section-title {
  text-align: left;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inside-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 44px -28px rgba(28, 25, 23, 0.18);
}

.inside-photo {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.inside-card.is-ready > .inside-photo {
  display: block;
}

.inside-card.is-ready > .inside-stage {
  display: none;
}

.inside-stage {
  display: flex;
  flex-direction: column;
  height: 328px;
  min-height: 328px;
  max-height: 328px;
  background: #F7F6F4;
  overflow: hidden;
}

.inside-ui {
  flex: 1;
  min-height: 0;
  padding: 12px 14px 14px;
}

.inside-ui--chat {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 10px;
}

.inside-ui--chat aside {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  min-width: 0;
}

.inside-new {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 0 6px;
  border: 0;
  border-radius: 8px;
  background: #1C1917;
  color: #FAFAF9;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

.inside-aside-k {
  margin: 2px 4px 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #A8A29E;
}

.inside-thread {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: default;
}

.inside-thread span {
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 500;
  color: #44403C;
}

.inside-thread small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #A8A29E;
}

.inside-thread.is-on {
  background: #F5F5F4;
}

.inside-thread.is-on span {
  color: #1C1917;
}

.inside-chat-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}

.inside-msg {
  padding: 9px 11px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
}

.inside-msg span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #A8A29E;
}

.inside-msg p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #44403C;
}

.inside-msg.is-user {
  border-radius: 10px 10px 10px 4px;
}

.inside-msg.is-agent {
  background: #FAFAF9;
  border-radius: 10px 10px 4px 10px;
}

.inside-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.inside-steps li {
  padding: 3px 8px;
  border-radius: 999px;
  background: #F5F5F4;
  font-size: 10.5px;
  color: #78716C;
}

.inside-steps li.ok {
  background: #ECFDF5;
  color: #047857;
}

.inside-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 11px;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  background: #FFFFFF;
  font-size: 12px;
  color: #A8A29E;
}

.inside-composer em {
  font-style: normal;
  padding: 2px 7px;
  border-radius: 6px;
  background: #F5F5F4;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #78716C;
}

.inside-ui--goals,
.inside-ui--evolve,
.inside-ui--approve {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inside-goal,
.inside-approve,
.inside-file {
  padding: 14px 16px;
  border: 1px solid #E7E5E4;
  border-radius: 12px;
  background: #FFFFFF;
}

.inside-goal.is-wait {
  opacity: 0.78;
  background: #FAFAF9;
}

.inside-goal-top,
.inside-approve-head,
.inside-file-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.inside-goal em,
.inside-approve em {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #F0F9FF;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #0369A1;
}

.inside-goal.is-wait em,
.inside-approve em {
  background: #F5F5F4;
  color: #78716C;
}

.inside-goal-top strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #0EA5E9;
}

.inside-goal b,
.inside-approve b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1C1917;
}

.inside-goal span,
.inside-approve span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #78716C;
}

.inside-goal i {
  display: block;
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: #E7E5E4;
  position: relative;
  overflow: hidden;
}

.inside-goal i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38BDF8, #0EA5E9);
}

.inside-goal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.inside-goal-meta li {
  padding: 3px 8px;
  border-radius: 6px;
  background: #F5F5F4;
  font-size: 10.5px;
  color: #57534E;
}

.inside-file {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.inside-file-bar {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #E7E5E4;
  background: #FAFAF9;
}

.inside-file-bar span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #1C1917;
}

.inside-file-bar em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #A8A29E;
}

.inside-rules {
  flex: 1;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.inside-rules li {
  display: flex;
  gap: 2px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: #57534E;
}

.inside-rules li code {
  color: #A8A29E;
}

.inside-rules li.is-new {
  background: #F0FDF4;
  color: #047857;
}

.inside-rules li.is-new code {
  color: #059669;
  font-weight: 700;
}

.inside-file-foot {
  margin: 0;
  padding: 10px 14px 12px;
  border-top: 1px solid #EFECE9;
  font-size: 11.5px;
  color: #78716C;
}

.inside-approve {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.inside-approve-head {
  margin-bottom: 12px;
}

.inside-approve-head b {
  margin-top: 8px;
}

.inside-checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inside-checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid #F0EDE9;
  font-size: 12.5px;
}

.inside-checks li:first-child {
  border-top: 0;
  padding-top: 0;
}

.inside-checks span {
  margin: 0;
  color: #78716C;
}

.inside-checks strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #1C1917;
}

.inside-checks li.ok strong {
  color: #047857;
}

.inside-approve-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 2px;
}

.inside-approve-actions span,
.inside-approve-actions strong {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.inside-approve-actions span {
  color: #57534E;
  background: #F5F5F4;
}

.inside-approve-actions strong {
  background: #1C1917;
  color: #FAFAF9;
}

.inside-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 16px;
  border-top: 1px solid #EFECE9;
  background: #FFFFFF;
}

.inside-card figcaption b {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: #1C1917;
}

.inside-card figcaption span {
  font-size: 13px;
  line-height: 1.5;
  color: #78716C;
}

.inside-trust {
  margin: 22px 0 0;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: #78716C;
}

@media (max-width: 980px) {
  .spec-split-stage,
  .studio-stage,
  .inside-ui--chat,
  .inside-grid {
    grid-template-columns: 1fr;
  }

  .inside-stage {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .spec-still,
  .studio-window {
    min-height: 0;
  }

  .studio-side {
    display: none;
  }

  .spec-rail-item p {
    max-width: 62ch;
  }
}
