.scenario-page{height:calc(100svh - var(--header-height));min-height:720px;padding:12px var(--side) 10px;display:grid;grid-template-rows:140px 292px minmax(0,1fr) 52px;gap:10px;overflow:hidden;color:#071b50;background:radial-gradient(circle at 88% 0,rgba(91,171,247,.17),transparent 30%),linear-gradient(150deg,#fff 0%,#f4faff 52%,#edf7ff 100%);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;-webkit-font-smoothing:auto}.scenario-page::before{content:"";position:fixed;z-index:0;right:-2%;top:66px;width:58%;height:310px;opacity:.45;pointer-events:none;background:linear-gradient(145deg,transparent 28%,rgba(78,151,228,.08) 29% 39%,transparent 40% 50%,rgba(78,151,228,.07) 51% 61%,transparent 62%)}.scenario-page>*{position:relative;z-index:1}
.scenario-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:30px}.breadcrumb{margin:0 0 17px;display:flex;gap:12px;color:#5878a4;font-size:13px}.breadcrumb a{font-weight:600}.breadcrumb strong{color:#075bd5}.scenario-eyebrow{margin:0 0 9px;color:#0871ec;font-size:12px;font-weight:700;letter-spacing:.35em}.scenario-intro h1{margin:0;color:#07145a;font-size:clamp(38px,3.25vw,54px);line-height:1.08;font-weight:750;letter-spacing:-.045em}.scenario-lead{margin:7px 0 0;color:#1c57aa;font-size:20px;font-weight:500}.scenario-search{width:336px;height:50px;margin-top:58px;padding:0 18px;display:flex;align-items:center;gap:14px;border:1px solid #8dbdf0;border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(58,112,175,.06)}.scenario-search svg{width:27px;fill:none;stroke:#075ee0;stroke-width:2}.scenario-search input{width:100%;border:0;outline:0;color:#124b9c;background:transparent;font-size:15px}.scenario-search input::placeholder{color:#2568c4}
.scenario-catalog{display:grid;grid-template-columns:28% 44% 28%;gap:10px}.scenario-group{min-width:0;padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.83);box-shadow:0 6px 22px rgba(42,97,151,.06)}.scenario-group>header{height:48px;padding:0 11px;display:flex;align-items:center;gap:10px;border-radius:9px;background:linear-gradient(90deg,#eef7ff,rgba(250,253,255,.55))}.scenario-group>header img{width:43px;height:43px;object-fit:contain}.scenario-group>header h2{margin:0;color:#071458;font-size:23px;white-space:nowrap}.scenario-group>header p{margin-left:auto;color:#1d64cb;font-size:13px;white-space:nowrap}.issue-list{height:calc(100% - 54px);display:grid;grid-template-rows:1fr 1fr;gap:9px;margin-top:6px}.issue-grid{height:calc(100% - 54px);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr 54px;gap:7px;margin-top:6px}.issue-card{position:relative;min-width:0;padding:10px 25px 8px 10px;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:9px;text-align:left;color:#071b50;border:1px solid #cfe0f1;border-radius:8px;background:rgba(255,255,255,.9);cursor:pointer}.issue-card:hover,.issue-card.is-active{border-color:#ff5a12;box-shadow:0 5px 14px rgba(255,91,15,.08)}.issue-card>img{width:48px;height:48px;object-fit:contain}.issue-card span{min-width:0}.issue-card b{display:block;font-size:14px;line-height:1.45;font-weight:700}.issue-card small{display:inline-block;margin-top:5px;padding:2px 12px;color:#1262cc;border-radius:5px;background:#e7f3ff;font-size:11px}.issue-card>i{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#0567e8;font-size:25px;font-style:normal;font-weight:300}.issue-card em{position:absolute;right:-1px;top:-1px;padding:4px 10px;color:#fff;border-radius:0 8px 0 8px;background:#ff6421;font-size:10px;font-style:normal}.issue-card.is-featured{grid-column:1/-1;grid-template-columns:55px minmax(0,1fr);padding-block:4px}.issue-card.is-featured>img{width:44px;height:44px}.issue-card.is-featured b{font-size:12px}.issue-card.is-featured small{margin-top:2px}.issue-card[hidden]{display:none}
.solution-builder{min-height:0;padding:9px 14px 10px;border-radius:12px;background:rgba(255,255,255,.9);box-shadow:0 5px 20px rgba(42,97,151,.05)}.builder-heading{height:53px;display:flex;justify-content:space-between;align-items:flex-start}.builder-heading h2{margin:0;font-size:23px;line-height:1.25}.builder-heading h2>span{display:inline-block;width:7px;height:26px;margin-right:12px;background:#116ee9;vertical-align:-5px}.builder-heading p{margin:2px 0 0 26px;color:#1d5eac;font-size:13px}.builder-heading>small{align-self:end;margin-bottom:5px;color:#1d64c7;font-size:10px}.builder-body{height:calc(100% - 53px);display:grid;grid-template-columns:118px minmax(0,1fr) 260px;gap:10px}.lane-labels{display:grid;grid-template-rows:55% 45%;border-left:5px solid #1a67dc}.lane-labels>div{padding:18px 8px}.lane-labels>div:last-child{border-left:0;border-top:1px solid #bed9f1;background:#f2fbf6}.lane-labels b,.lane-labels small{display:block}.lane-labels b{font-size:16px;line-height:1.25}.lane-labels small{margin-top:5px;color:#426c9f;font-size:11px;line-height:1.45}.agent-system{min-width:0;display:grid;grid-template-rows:55% 45%;border-radius:10px;overflow:hidden}.agent-row{padding:10px;display:grid;grid-template-columns:1.18fr 20px repeat(3,1fr 20px) 1fr;align-items:center;background:linear-gradient(180deg,#eaf6ff,#f4faff)}.agent-row article{height:70px;padding:8px;display:flex;align-items:center;gap:8px;border:1px solid #bddaf3;border-radius:7px;background:#fff}.agent-row article.primary-agent{color:#fff;border-color:#0758d5;background:linear-gradient(135deg,#0756d0,#073caa)}.agent-row img{width:39px;height:39px;object-fit:contain}.agent-row article:not(.primary-agent) img{width:35px;height:35px}.agent-row span{min-width:0}.agent-row b,.agent-row small{display:block}.agent-row b{font-size:12px;white-space:nowrap}.agent-row small{margin-top:4px;color:#47709e;font-size:9px;line-height:1.35}.agent-row .primary-agent small{color:#dbeaff}.agent-row>i{color:#0864df;text-align:center;font-size:21px;font-style:normal}.tool-row{padding:8px;display:grid;grid-template-columns:repeat(6,1fr);gap:7px;border-top:1px solid #cfe7da;background:linear-gradient(180deg,#f4fbf7,#edfaf3)}.tool-row article{min-width:0;padding:6px;display:flex;align-items:flex-start;gap:6px;border:1px solid #c7e8d7;border-radius:6px;background:#fff}.tool-row img{width:29px;height:29px;object-fit:contain}.tool-row b,.tool-row small{display:block}.tool-row b{font-size:10px;line-height:1.3}.tool-row small{margin-top:3px;color:#50749a;font-size:8px;line-height:1.3}.decision-workbench{padding:8px;border:1px solid #b7cff2;border-radius:9px;background:linear-gradient(150deg,#eef4ff,#f9fbff)}.decision-workbench h3{margin:0 0 6px;padding-bottom:6px;color:#082068;border-bottom:1px solid #cbdcf0;font-size:19px}.decision-workbench>div{padding:5px 8px;border-radius:6px;background:#fff}.decision-workbench>div b{display:block;margin:4px 0;color:#123d84;font-size:9px}.decision-workbench section{margin-top:6px;padding:6px 10px;border-radius:6px;background:#fff}.decision-workbench h4{margin:0;color:#0a3f9d;font-size:12px}.decision-workbench p{margin:2px 0 0;color:#58739b;font-size:9px}.decision-workbench ul{margin:3px 0 0;padding-left:14px;color:#1e5ab1;font-size:8px;line-height:1.35}
.scenario-footer{padding:0 10px 0 20px;display:grid;grid-template-columns:1fr 210px;gap:16px;align-items:center;border-radius:10px;background:rgba(255,255,255,.85);box-shadow:0 4px 16px rgba(42,97,151,.05)}.scenario-footer p{margin:0;color:#071b50;font-size:14px}.scenario-footer p b{margin-right:10px}.scenario-footer>a{height:40px;display:flex;align-items:center;justify-content:center;gap:18px;color:#075bd5;border:1.5px solid #075fdc;border-radius:5px;font-size:14px;font-weight:700}.scenario-footer>a.primary{color:#fff;border-color:#ff5c12;background:linear-gradient(135deg,#ff6d1c,#ff4d0a)}
@media(max-width:1280px) and (min-width:981px){.scenario-page{grid-template-rows:126px 270px minmax(0,1fr) 48px}.scenario-intro h1{font-size:42px}.scenario-lead{font-size:16px}.scenario-search{margin-top:48px}.scenario-group>header h2{font-size:18px}.scenario-group>header p{font-size:10px}.issue-card b{font-size:12px}.builder-heading h2{font-size:19px}.builder-body{grid-template-columns:105px minmax(0,1fr) 225px}.agent-row article{padding:6px}.agent-row b{font-size:10px}.tool-row b{font-size:9px}.scenario-footer p{font-size:12px}}
@media(max-height:820px) and (min-width:981px){.scenario-page{min-height:650px;grid-template-rows:118px 258px minmax(0,1fr) 46px}.breadcrumb{margin-bottom:8px}.scenario-eyebrow{margin-bottom:4px}.scenario-intro h1{font-size:39px}.scenario-lead{font-size:15px}.scenario-search{height:44px;margin-top:40px}.scenario-catalog{gap:8px}.scenario-group{padding:7px 9px}.scenario-group>header{height:42px}.scenario-group>header img{width:36px;height:36px}.issue-list,.issue-grid{height:calc(100% - 47px);margin-top:5px}.issue-card{padding-top:6px;padding-bottom:5px}.issue-card>img{width:42px;height:42px}.solution-builder{padding-top:7px}.builder-heading{height:46px}.builder-heading h2{font-size:18px}.builder-heading p{font-size:11px}.builder-body{height:calc(100% - 46px)}.agent-row article{height:58px}.agent-row img{width:31px;height:31px}.scenario-footer>a{height:36px}}
@media(max-width:980px){.scenario-page{height:auto;min-height:0;padding:24px var(--side) 40px;display:block;overflow:visible}.scenario-intro{display:block}.scenario-search{width:100%;margin:24px 0 0}.scenario-catalog{margin-top:24px;display:block}.scenario-group{margin-bottom:14px}.issue-list,.issue-grid{height:auto;display:grid;grid-template-columns:1fr;grid-template-rows:none}.issue-card.is-featured{grid-column:auto}.solution-builder{margin-top:20px;padding:18px}.builder-heading{height:auto;display:block}.builder-heading>small{display:block;margin:12px 0}.builder-body{height:auto;display:block}.lane-labels{display:none}.agent-system{display:block}.agent-row{grid-template-columns:1fr 1fr;gap:10px}.agent-row>i{display:none}.tool-row{grid-template-columns:1fr 1fr}.decision-workbench{margin-top:12px}.scenario-footer{margin-top:14px;padding:16px;display:flex;flex-wrap:wrap}.scenario-footer p{width:100%}.scenario-footer>a{flex:1;min-width:210px}}
@media(max-width:600px){.scenario-intro h1{font-size:35px}.scenario-lead{font-size:15px;line-height:1.6}.scenario-group>header{height:auto;min-height:54px;flex-wrap:wrap}.scenario-group>header p{width:100%;margin:0 0 7px 52px}.agent-row,.tool-row{grid-template-columns:1fr}.scenario-footer>a{min-width:100%}}

/* Match the approved one-screen prototype in short desktop viewports. */
.scenario-page{min-height:0}
.scenario-intro h1{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
.solution-builder{overflow:hidden}
@media(max-height:820px) and (min-width:981px){
  .scenario-page{grid-template-rows:100px 220px minmax(0,1fr) 44px;gap:8px;padding-top:8px;padding-bottom:8px}
  .breadcrumb{margin-bottom:5px}
  .scenario-eyebrow{margin-bottom:2px}
  .scenario-intro h1{font-size:36px}
  .scenario-lead{margin-top:3px;font-size:14px}
  .scenario-search{height:42px;margin-top:31px}
  .scenario-catalog{gap:8px}
  .scenario-group{padding:6px 8px}
  .scenario-group>header{height:38px}
  .scenario-group>header img{width:33px;height:33px}
  .scenario-group>header h2{font-size:17px}
  .issue-list,.issue-grid{height:calc(100% - 43px);margin-top:5px}
  .issue-grid{grid-template-rows:1fr 1fr 45px}
  .issue-card{grid-template-columns:43px minmax(0,1fr);padding-top:4px;padding-bottom:4px}
  .issue-card>img{width:38px;height:38px}
  .issue-card b{font-size:11px;line-height:1.35}
  .issue-card small{margin-top:2px;padding-block:1px;font-size:9px}
  .issue-card.is-featured{grid-template-columns:43px minmax(0,1fr)}
  .issue-card.is-featured>img{width:36px;height:36px}
  .issue-card.is-featured b{font-size:10px}
  .solution-builder{padding-top:6px}
  .builder-heading{height:43px}
  .builder-heading h2{font-size:17px}
  .builder-heading h2>span{height:21px}
  .builder-heading p{font-size:10px}
  .builder-heading>small{font-size:8px}
  .builder-body{height:calc(100% - 43px)}
  .agent-row article{height:58px}
  .agent-row img{width:31px;height:31px}
  .scenario-footer>a{height:34px}
  .scenario-footer p{font-size:11px}
  .issue-list,.issue-grid{min-height:0;overflow:hidden}
  .issue-card{min-height:0;overflow:hidden;grid-template-columns:35px minmax(0,1fr);gap:6px;padding:2px 20px 2px 6px}
  .issue-card>img{width:31px;height:31px}
  .issue-card b{font-size:10px;line-height:1.25}
  .issue-card small{margin-top:1px;padding:1px 8px;font-size:8px}
  .issue-card.is-featured{grid-template-columns:35px minmax(0,1fr);padding-block:1px}
  .issue-card.is-featured>img{width:30px;height:30px}
  .issue-card.is-featured b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .decision-workbench{padding:5px}
  .decision-workbench h3{margin-bottom:3px;padding-bottom:3px;font-size:15px}
  .decision-workbench>div{padding:3px 6px}
  .decision-workbench>div b{margin:2px 0;font-size:8px}
  .decision-workbench section{margin-top:3px;padding:3px 7px}
  .decision-workbench h4{font-size:10px}
  .decision-workbench p{font-size:8px}
  .decision-workbench ul{margin-top:1px;font-size:7px;line-height:1.25}
}

/* Demand-baseline prototype: orchestration, deterministic Tool calls,
   human decision gate and the execution-feedback loop are all explicit. */
.decision-handoff,.feedback-loop{display:none}
.solution-builder[data-scenario="需求与经营平衡"] .builder-body{
  position:relative;
  grid-template-columns:126px minmax(0,1fr) 335px;
  gap:5px;
  padding-bottom:0;
  overflow:visible;
  box-sizing:border-box;
}
.solution-builder[data-scenario="需求与经营平衡"]{
  margin-inline:-17px;
  padding-left:19px;
}
.solution-builder[data-scenario="需求与经营平衡"] .builder-heading h2>span{margin-right:18px}
.solution-builder[data-scenario="需求与经营平衡"] .lane-labels{
  grid-template-rows:56% 44%;
  border-left:4px solid #1769e6;
  overflow:hidden;
}
.solution-builder[data-scenario="需求与经营平衡"] .lane-labels>div:last-child{
  border-top:1px solid #badfc9;
  border-left:4px solid #13a15e;
  margin-left:-4px;
  background:linear-gradient(90deg,#f2fbf5,#f8fdf9);
}
.solution-builder[data-scenario="需求与经营平衡"] .lane-labels b{font-size:18px}
.solution-builder[data-scenario="需求与经营平衡"] .lane-labels small{font-size:11px}
.solution-builder[data-scenario="需求与经营平衡"] .agent-system{
  grid-template-rows:8px 55% minmax(0,1fr);
  height:calc(100% - 11px);
  align-self:start;
  overflow:visible;
  border-radius:10px;
}
.solution-builder[data-scenario="需求与经营平衡"] .shared-context{
  position:relative;
  width:58%;
  justify-self:end;
  margin-right:10%;
  border:0;
  border-top:1.5px dashed #1670e9;
  overflow:visible;
  background:transparent;
  line-height:22px;
  z-index:2;
  transform:translateY(27px);
}
.solution-builder[data-scenario="需求与经营平衡"] .shared-context::before,
.solution-builder[data-scenario="需求与经营平衡"] .shared-context::after{
  content:"";
  position:absolute;
  top:-2px;
  width:9px;
  height:14px;
  background:#1670e9;
  clip-path:polygon(40% 0,60% 0,60% 62%,100% 62%,50% 100%,0 62%,40% 62%);
}
.solution-builder[data-scenario="需求与经营平衡"] .shared-context::before{left:-5px}
.solution-builder[data-scenario="需求与经营平衡"] .shared-context::after{right:-5px}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row{
  grid-template-columns:1.35fr 24px repeat(3,1fr 24px) 1fr;
  padding:10px 1px;
  border-left:1px solid #c8e1f7;
  border-radius:10px 10px 0 0;
  background:linear-gradient(180deg,#eaf6ff 0%,#f5faff 100%);
}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row article{height:80px}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row article,
.solution-builder[data-scenario="需求与经营平衡"] .agent-row article span{min-width:0;overflow:hidden}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row b{font-size:13px}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row small{font-size:10px}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row>i{
  font-size:0;
}
.solution-builder[data-scenario="需求与经营平衡"] .agent-row>i::before{
  content:"";
  display:inline-block;
  width:21px;
  height:12px;
  background:#0966df;
  clip-path:polygon(0 43%,68% 43%,68% 8%,100% 50%,68% 92%,68% 57%,0 57%);
}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row{
  position:relative;
  padding:15px 10px 9px 48px;
  gap:8px;
  overflow:visible;
  border-top:1px solid #b9dfca;
  border-left:1px solid #b9dfca;
  border-radius:0 0 10px 10px;
  background:linear-gradient(180deg,#f4fbf7,#ecf9f1);
}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row article{
  padding:7px;
  border-color:#b9dfca;
}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row b{font-size:11px}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row small{font-size:9px}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row article:nth-child(-n+5)::before{
  top:-31px;
  height:39px;
  filter:sepia(1) saturate(8) hue-rotate(82deg) brightness(.75);
}
.solution-builder[data-scenario="需求与经营平衡"] .tool-row article:nth-child(-n+5)::after{
  content:"调用";
  position:absolute;
  z-index:3;
  left:calc(50% + 12px);
  top:-27px;
  color:#128f58;
  font-size:9px;
  font-weight:700;
  white-space:nowrap;
}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench{
  position:absolute;
  z-index:3;
  top:-44px;
  right:0;
  bottom:1px;
  width:264px;
  margin:0;
  overflow:visible;
  border-color:#abc9f1;
  background:linear-gradient(145deg,#edf4ff,#f9fbff);
}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench::before{
  content:"";
  left:-36px;
  top:39%;
  width:34px;
  height:14px;
  background:#075ee5;
  clip-path:polygon(0 43%,70% 43%,70% 8%,100% 50%,70% 92%,70% 57%,0 57%);
}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h3{font-size:21px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h3>img{width:30px;height:30px;flex-basis:30px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench>div{padding:8px 10px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench>div b{font-size:10px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench section{padding:8px 10px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h4{font-size:14px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench p{font-size:10px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-workbench ul{font-size:9px}
.solution-builder[data-scenario="需求与经营平衡"] .decision-handoff{
  display:block;
  position:absolute;
  left:-67px;
  top:26%;
  color:#3263b3;
  font-size:9px;
  font-weight:650;
  line-height:1.25;
  text-align:center;
}
.solution-builder[data-scenario="需求与经营平衡"] .scheme-list,
.solution-builder[data-scenario="需求与经营平衡"] .approval-panel{
  position:relative;
  margin-bottom:13px;
}
.solution-builder[data-scenario="需求与经营平衡"] .scheme-list::after,
.solution-builder[data-scenario="需求与经营平衡"] .approval-panel::after{
  content:"";
  position:absolute;
  z-index:2;
  left:50%;
  bottom:-15px;
  width:9px;
  height:13px;
  background:#0b63df;
  clip-path:polygon(40% 0,60% 0,60% 62%,100% 62%,50% 100%,0 62%,40% 62%);
  transform:translateX(-50%);
}
.solution-builder[data-scenario="需求与经营平衡"] .feedback-loop{
  display:block;
  position:absolute;
  z-index:4;
  left:150px;
  right:264px;
  bottom:1px;
  height:145px;
  border-left:2px solid #2453ca;
  border-bottom:2px solid #2453ca;
  border-radius:0 0 0 7px;
  pointer-events:none;
}
.solution-builder[data-scenario="需求与经营平衡"] .feedback-loop::before{
  content:"";
  position:absolute;
  left:-6px;
  top:-12px;
  width:10px;
  height:14px;
  background:#2453ca;
  clip-path:polygon(50% 0,100% 38%,60% 38%,60% 100%,40% 100%,40% 38%,0 38%);
}
.solution-builder[data-scenario="需求与经营平衡"] .feedback-loop::after{
  content:"";
  position:absolute;
  left:64%;
  bottom:-6px;
  width:15px;
  height:10px;
  background:#2453ca;
  clip-path:polygon(100% 40%,42% 40%,42% 0,0 50%,42% 100%,42% 60%,100% 60%);
  transform:translateX(-50%);
}
.solution-builder[data-scenario="需求与经营平衡"] .feedback-loop span{
  position:absolute;
  left:56%;
  bottom:-9px;
  padding:0 10px;
  color:#2453ca;
  background:#fff;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
  transform:translateX(-50%);
}

@media(max-height:820px) and (min-width:981px){
  .solution-builder[data-scenario="需求与经营平衡"] .builder-body{grid-template-columns:112px minmax(0,1fr) 315px;padding-bottom:0}
  .solution-builder[data-scenario="需求与经营平衡"] .agent-system{grid-template-rows:8px 55% minmax(0,1fr)}
  .solution-builder[data-scenario="需求与经营平衡"] .agent-row{padding:7px 1px;grid-template-columns:1.3fr 20px repeat(3,1fr 20px) 1fr}
  .solution-builder[data-scenario="需求与经营平衡"] .agent-row article{height:72px}
  .solution-builder[data-scenario="需求与经营平衡"] .agent-row b{font-size:clamp(10.5px,.78vw,12px)}
  .solution-builder[data-scenario="需求与经营平衡"] .agent-row small{font-size:clamp(8px,.6vw,9px)}
  .solution-builder[data-scenario="需求与经营平衡"] .tool-row{padding:14px 7px 7px 45px;gap:6px}
  .solution-builder[data-scenario="需求与经营平衡"] .tool-row article{padding:5px}
  .solution-builder[data-scenario="需求与经营平衡"] .tool-row b{font-size:clamp(9px,.68vw,10px)}
  .solution-builder[data-scenario="需求与经营平衡"] .tool-row small{font-size:clamp(7px,.55vw,8px)}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench{top:-37px;bottom:0;width:250px}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h3{font-size:clamp(17px,1.25vw,20px)}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h3>img{width:27px;height:27px;flex-basis:27px}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench>div b{font-size:9px}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench h4{font-size:12px}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench p{font-size:8.5px}
  .solution-builder[data-scenario="需求与经营平衡"] .decision-workbench ul{font-size:8px}
  .solution-builder[data-scenario="需求与经营平衡"] .feedback-loop{left:139px;right:250px;height:143px}
}

@media(max-height:820px) and (min-width:981px){
  .scenario-intro h1{font-size:42px}
  .scenario-lead{font-size:15px}
  .scenario-group>header h2{font-size:18px}
  .issue-card b{font-size:11px}
  .issue-card.is-featured b{font-size:10px}
}

/* Final prototype calibration: retain the full one-screen composition without
   sacrificing the visual weight of the approved 1672 × 941 reference. */
.scenario-intro h1{font-weight:760;letter-spacing:-.035em}
.scenario-group>header h2,.builder-heading h2,.decision-workbench h3{font-weight:750}
.issue-card b,.agent-row b,.tool-row b{font-weight:650}
.issue-symbol{width:48px;height:48px;padding:9px;color:#0867e8;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;background:#eaf5ff}
.issue-card .plain-symbol{padding:8px;border-radius:50%;background:#eaf5ff}
.issue-card .alert-symbol{filter:none}
.decision-workbench{position:relative}
.decision-workbench h3{display:flex;align-items:center;gap:10px}
.decision-workbench h3::before{display:none}
.decision-workbench h3>img{width:27px;height:27px;flex:0 0 27px;object-fit:contain}
.decision-workbench::before{content:"→";position:absolute;left:-29px;top:43%;color:#075ee5;font-size:23px;font-weight:500}
.scenario-footer p{display:flex;align-items:center}
.scenario-footer p b{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%;background:#eaf5ff}
.scenario-footer p b svg{width:27px;height:27px;fill:none;stroke:#075ee5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.scenario-catalog,.scenario-group,.solution-builder,.builder-body,.lane-labels,.agent-system,.agent-row,.tool-row,.decision-workbench{min-height:0}
.scenario-group,.builder-body,.agent-row,.decision-workbench{overflow:hidden}
.tool-row{overflow:visible}
.agent-system{position:relative;grid-template-rows:24px 52% minmax(0,1fr)}
.shared-context{display:flex;align-items:center;justify-content:center;color:#1763cb;font-size:9px;line-height:1;border-bottom:1px dashed #72a9ea;background:#f7fbff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tool-row article{position:relative}
.tool-row article:nth-child(-n+5)::before{content:"";position:absolute;z-index:2;left:50%;top:-17px;width:25px;height:34px;background:url("./assets/planning-scenarios/icons/call-down.png?v=2") center/contain no-repeat;transform:translateX(-50%)}
.decision-workbench{display:flex;flex-direction:column}
.decision-workbench .scheme-list b{display:flex;align-items:flex-start;gap:6px}
.decision-workbench .scheme-list b::before{content:"";width:9px;height:9px;flex:0 0 9px;margin-top:1px;border:1.5px solid #1266df;border-radius:50%}
.decision-workbench .scheme-list b:first-child::before{box-shadow:inset 0 0 0 2px #fff;background:#1266df}
.decision-workbench section{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:6px}
.decision-workbench section>img{width:30px;height:30px;object-fit:contain}
.decision-workbench section>div{min-width:0}
.decision-workbench .output-panel{flex:1}
.scenario-group>header img,
.issue-card>img,
.agent-row img,
.tool-row img,
.decision-workbench img{
  filter:none;
}
.issue-card>img,.agent-row img,.tool-row img,.decision-workbench section>img{
  box-sizing:border-box;
  padding:6px;
  border-radius:50%;
  background:#eaf5ff;
}
.agent-row .primary-agent img{background:rgba(255,255,255,.94)}
.decision-workbench h3>img{padding:1px;background:transparent}
.issue-card span{display:flex;min-height:0;flex-direction:column;justify-content:center}
.tool-row article:nth-child(-n+5)::before{filter:none}

@media(max-height:820px) and (min-width:981px){
  .scenario-page{height:auto;min-height:720px;grid-template-rows:104px 238px 310px 44px}
  .scenario-intro h1{font-size:42px;line-height:1.03}
  .scenario-lead{font-size:15px;line-height:1.35}

  .scenario-group{padding:6px 8px}
  .scenario-group{min-height:0;overflow:hidden}
  .scenario-group>header{height:38px;padding-inline:8px;gap:8px}
  .scenario-group>header img{width:34px;height:34px}
  .scenario-group>header h2{font-size:18px}
  .scenario-group>header p{font-size:10.5px}
  .issue-list,.issue-grid{height:calc(100% - 43px);margin-top:5px}
  .issue-grid{grid-template-rows:1fr 1fr 46px;gap:9px}
  .issue-list{gap:9px}
  .issue-card{grid-template-columns:40px minmax(0,1fr);gap:7px;padding:5px 21px 5px 7px;overflow:hidden}
  .issue-card>img{width:36px;height:36px}
  .issue-card>.issue-symbol{width:36px;height:36px;padding:7px}
  .issue-card b{font-size:12px;line-height:1.32}
  .issue-card small{align-self:flex-start;margin-top:4px;padding:1px 9px;font-size:9.5px;line-height:1.2}
  .issue-card>i{right:7px;font-size:20px}
  .issue-card.is-featured{grid-template-columns:40px minmax(0,1fr);padding-block:2px}
  .issue-card.is-featured>img{width:35px;height:35px}
  .issue-card.is-featured b{font-size:11px;line-height:1.25;white-space:nowrap;overflow:visible;text-overflow:clip}

  .solution-builder{padding:7px 12px 8px}
  .builder-heading{height:48px}
  .builder-heading h2{font-size:19px;line-height:1.2}
  .builder-heading h2>span{width:6px;height:22px;margin-right:10px;vertical-align:-4px}
  .builder-heading p{margin-left:22px;font-size:11px;line-height:1.35}
  .builder-body{height:calc(100% - 48px);overflow:hidden}
  .lane-labels>div{padding:12px 7px}
  .lane-labels b{font-size:14px}
  .lane-labels small{font-size:9px}
  .agent-row{padding:8px}
  .agent-system{grid-template-rows:20px 52% minmax(0,1fr)}
  .shared-context{font-size:8.5px}
  .agent-row article{height:64px;padding:7px;gap:7px}
  .agent-row img,.agent-row article:not(.primary-agent) img{width:34px;height:34px}
  .agent-row b{font-size:11.5px;line-height:1.25}
  .agent-row small{margin-top:3px;font-size:9px;line-height:1.3}
  .tool-row{padding:7px;gap:6px}
  .tool-row article{padding:5px;gap:5px}
  .tool-row img{width:27px;height:27px}
  .tool-row b{font-size:10.5px;line-height:1.22}
  .tool-row small{font-size:8px;line-height:1.22}
  .decision-workbench{padding:6px}
  .decision-workbench h3{margin-bottom:4px;padding-bottom:5px;font-size:17px}
  .decision-workbench>div{padding:4px 7px}
  .decision-workbench>div b{margin:2px 0;font-size:9px;line-height:1.28}
  .decision-workbench section{grid-template-columns:29px minmax(0,1fr);gap:5px;margin-top:4px;padding:5px 7px}
  .decision-workbench section>img{width:27px;height:27px}
  .decision-workbench h4{font-size:11.5px}
  .decision-workbench p{font-size:8.5px;line-height:1.3}
  .decision-workbench ul{margin-top:2px;padding-left:12px;font-size:8px;line-height:1.25}

  .scenario-footer{grid-template-columns:1fr 190px;gap:12px}
  .scenario-footer p{font-size:12.5px;line-height:1.35}
  .scenario-footer p b{width:34px;height:34px;flex-basis:34px;margin-right:8px}
  .scenario-footer p b svg{width:23px;height:23px}
  .scenario-footer>a{height:34px;font-size:13px}
}

/* Desktop fidelity mode: the approved 1672 x 941 prototypes are the visual
   source of truth for the dense APOS orchestration panel.  Keep the live HTML
   implementation as the accessible/mobile fallback, while using a lossless,
   responsive crop of the matching prototype on desktop. */
.prototype-solution{display:none}
@media(min-width:981px){
  .scenario-page:has(.solution-builder.prototype-backed){
    height:auto;
    min-height:calc(100svh - var(--header-height));
    grid-template-rows:140px 292px auto 52px;
  }
  .solution-builder.prototype-backed{
    width:auto;
    min-height:0;
    margin-inline:-17px;
    padding:0;
    align-self:start;
    overflow:hidden;
    border-radius:12px;
    background:transparent;
    box-shadow:none;
  }
  .solution-builder.prototype-backed>.builder-heading,
  .solution-builder.prototype-backed>.builder-body{display:none}
  .solution-builder.prototype-backed>.prototype-solution{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:1583/344;
    overflow:hidden;
  }
  .solution-builder.prototype-backed>.prototype-solution>img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    display:block;
    object-fit:fill;
    image-rendering:auto;
    user-select:none;
    pointer-events:none;
  }
}
@media(max-height:820px) and (min-width:981px){
  .scenario-page:has(.solution-builder.prototype-backed){
    grid-template-rows:104px 238px auto 44px;
  }
}
