/* 实机案例沿用官网纸色、文字与分隔线，截图作为主要内容。 */
.agent-story {
  padding: 96px 0 72px;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.agent-heading {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 44px;
}
.agent-kicker { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.agent-heading h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.45;
}
.agent-heading h2 strong { font-size: 1.4em; line-height: 1; letter-spacing: -.06em; }
.agent-lead { font-size: 15px; line-height: 1.95; color: var(--muted); margin-top: 24px; max-width: 580px; }
.agent-case { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.agent-case-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.agent-case-heading .agent-kicker { margin-bottom: 8px; }
.agent-case-heading h3 { font-size: 25px; line-height: 1.5; letter-spacing: -.03em; }
.agent-case-heading > p { font-size: 12px; color: var(--muted); padding-bottom: 5px; }
.agent-case blockquote {
  margin: 24px 0 28px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.9;
}
.agent-case-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 30px; align-items: start; }
.agent-evidence { min-width: 0; }
.agent-gallery-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.agent-gallery-tabs button {
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 12px;
}
.agent-gallery-tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }
.agent-gallery-tabs button:hover { color: var(--ink); }
.agent-shot-panel[hidden] { display: none; }
.agent-shot {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  padding: 0;
}
.agent-shot img { display: block; width: 100%; height: auto; }
.agent-shot > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 11px;
}
.agent-caption, .agent-source, .agent-availability { color: var(--muted); font-size: 11px; line-height: 1.85; }
.agent-caption { margin-top: 12px; }
.agent-source { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.agent-availability { margin-top: 20px; max-width: 850px; }
/* 任务分派与回收用单色连接线表达，保持正文的纸色。 */
.agent-workforce { padding-left: 24px; border-left: 1px solid var(--line); }
.agent-chief { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
.agent-chief img { border-radius: 7px; flex-shrink: 0; }
.agent-chief h4 { font-size: 12px; font-weight: 600; }
.agent-chief p { font-size: 10px; color: var(--muted); margin-top: 5px; line-height: 1.8; }
.agent-dispatch, .agent-collect { position: relative; height: 20px; margin: 0; }
.agent-dispatch { border: 0; }
.agent-dispatch:before, .agent-collect:before { content: ""; position: absolute; left: 50%; width: 1px; height: 100%; background: var(--line); }
.agent-colleagues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; }
.agent-colleagues > div { position: relative; padding: 12px 4px; border: 1px solid var(--line); border-radius: 7px; text-align: center; background: #fff; }
.agent-colleagues h5 { font-size: 11px; font-weight: 600; margin-top: 10px; }
.agent-colleagues p { font-size: 9px; color: var(--muted); line-height: 1.8; margin-top: 5px; }
.agent-collect { border: 0; }
.agent-result { width: fit-content; max-width: 100%; padding: 12px; margin: auto; border: 1px solid var(--line); border-radius: 7px; text-align: center; background: var(--bg-soft); }
.agent-result p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.agent-result strong { display: block; font-size: 11px; font-weight: 500; margin-top: 5px; line-height: 1.8; }
.agent-lightbox {
  position: fixed;
  inset: 0;
  width: min(96vw, 1600px);
  max-width: 96vw;
  max-height: 96dvh;
  margin: auto;
  padding: 48px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
}
.agent-lightbox::backdrop { background: color-mix(in srgb, var(--ink) 70%, transparent); }
.agent-lightbox img { display: block; width: 100%; height: auto; max-height: calc(96dvh - 130px); object-fit: contain; }
.agent-lightbox p { text-align: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.agent-lightbox-close {
  position: absolute;
  right: 16px;
  top: 12px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.agent-original { display: block; text-align: center; color: var(--ink-2); font-size: 12px; margin-top: 8px; text-underline-offset: 4px; }
.agent-story button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-width: 900px) {
  .agent-heading { grid-template-columns: 1fr; gap: 20px; }
  .agent-lead { max-width: 630px; }
  .agent-case-layout { grid-template-columns: 1fr; gap: 28px; }
  .agent-workforce { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }

  .agent-colleagues { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .agent-colleagues > div:before, .agent-colleagues > div:after { display: none; }
  .agent-dispatch, .agent-collect { border: 0; height: 24px; }
}
@media (max-width: 600px) {
  .agent-story { padding: 56px 0 48px; }
  .agent-heading { margin-bottom: 28px; }
  .agent-heading h2 { font-size: clamp(26px, 7.3vw, 34px); }
  .agent-lead { font-size: 14px; }
  .agent-case { padding: 20px 14px; border-radius: 12px; }
  .agent-case-heading { display: block; }
  .agent-case-heading h3 { font-size: 21px; }
  .agent-case-heading > p { margin-top: 8px; padding-bottom: 0; }
  .agent-case blockquote { padding: 14px; font-size: 13px; margin: 18px 0 22px; }
  .agent-colleagues { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .agent-chief { padding: 14px 12px; gap: 10px; }
  .agent-chief h4 { font-size: 13px; }
  .agent-result { padding: 12px; }
  .agent-result strong { font-size: 12px; }
  .agent-shot > span { right: 6px; bottom: 6px; font-size: 10px; padding: 4px 7px; }
  .agent-lightbox { padding: 44px 6px 12px; }
}

 .agent-multitask {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0 28px;
  margin-bottom: 40px;
}
.agent-multitask h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.agent-multitask p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.agent-scale { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.agent-scale-item { padding: 0 32px 0 0; }
.agent-scale-item + .agent-scale-item { border-left: 1px solid var(--line); padding-left: 48px; }
.agent-scale-item > strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 16px;
  color: var(--ink);
  font-size: clamp(68px, 7.5vw, 104px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.15;
  margin: 10px 0;
}
.agent-scale-item > strong > span { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.agent-scale .agent-scale-note { grid-column: 1 / -1; font-size: 11px; margin-top: 24px; }
.agent-animal { display: block; margin: auto; color: var(--ink-2); }
@media (max-width: 600px) {
  .agent-multitask { padding: 24px 0; }
  .agent-multitask h3 { font-size: 19px; }
  .agent-scale { margin-top: 24px; }
  .agent-scale-item { padding-right: 12px; }
  .agent-scale-item + .agent-scale-item { padding-left: 18px; }
  .agent-scale-item > strong { font-size: clamp(42px, 12vw, 64px); display: block; }
  .agent-scale-item > strong > span { display: block; font-size: 13px; margin-top: 4px; }
  .agent-scale-item > p { font-size: 11px; }
}

.agent-headcount { width: 100%; max-width: 320px; justify-self: end; text-align: center; }
.agent-headcount-lead { display: flex; align-items: center; justify-content: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); text-align: left; }
.agent-headcount-lead img { border-radius: 7px; }
.agent-headcount-lead strong { display: block; font-size: 14px; font-weight: 600; }
.agent-headcount-lead span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.agent-headcount-grid { display: block; width: 100%; max-width: 264px; height: auto; margin: 20px auto 16px; color: var(--ink-2); }
.agent-headcount > p { color: var(--ink-2); font-size: 12px; line-height: 1.85; }
.agent-headcount > p > span { font-size: 10px; color: var(--muted); }
@media (max-width: 900px) { .agent-headcount { justify-self: start; max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px 30px; } .agent-headcount-lead { grid-column: 1; border: 0; justify-content: start; padding: 0; } .agent-headcount-grid { grid-column: 2; grid-row: 1 / 3; max-width: 210px; margin: 0 auto; } .agent-headcount > p { grid-column: 1; text-align: left; } }
@media (max-width: 600px) { .agent-heading { gap: 28px; } .agent-headcount { gap: 12px; } .agent-headcount-lead { gap: 8px; align-items: start; } .agent-headcount-lead strong { font-size: 11px; } .agent-headcount-lead span { font-size: 10px; } .agent-headcount-lead img { width: 24px; height: 24px; } .agent-headcount > p { font-size: 11px; } .agent-headcount-grid { max-width: 160px; } }
