/* Neural Eight — three scenarios, one premium Flow Console. */
.demo-workbench{height:588px}
.demo-chrome-icon img{display:block;width:18px;height:18px;object-fit:contain}
.demo-scenarios{
  position:relative;z-index:2;display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;align-items:stretch;flex:none;padding:8px 13px;
  background:linear-gradient(100deg,rgba(253,251,255,.97),rgba(246,243,250,.97));
  border-bottom:1px solid #e8e3ee;
}
.demo-scenario{
  display:flex;gap:8px;align-items:center;justify-content:center;
  min-width:0;min-height:39px;padding:9px 12px;
  border:1px solid transparent;border-radius:10px;
  background:transparent;color:#6e6676;
  font:600 10px/1.35 Inter,Arial,sans-serif;
  white-space:nowrap;cursor:pointer;
  transition:background .22s,border-color .22s,box-shadow .22s,color .22s,transform .22s;
}
.demo-scenario span{font-variant-numeric:tabular-nums;color:#998baa;font-weight:620;font-size:9px}
.demo-scenario strong{font-weight:650;letter-spacing:-.007em;overflow:hidden;text-overflow:ellipsis}
.demo-scenario:hover{background:#ffffffc7;color:#4c3d66;border-color:#e3d9f1}
.demo-scenario[aria-pressed="true"]{
  border-color:#cec1ec;
  background:linear-gradient(135deg,rgba(237,231,252,.95),rgba(247,243,255,.97));
  color:#5c4394;
  box-shadow:inset 0 1px 0 #fff,0 4px 12px rgba(109,81,171,.08);
}
.demo-scenario[aria-pressed="true"] span{color:#7b62bd}
.demo-scenario:focus-visible{outline:2px solid #9277d5;outline-offset:2px}
.demo-scenario:active{transform:scale(.96)}
.demo-workbench .demo-app,.demo-workbench .demo-workspace{min-height:0}
.demo-workbench[data-demo-scenario="document"] .demo-agent-icon{background:#eee5fc;color:#7455b4}
.demo-workbench[data-demo-scenario="automation"] .demo-agent-icon{background:#e6e1f4;color:#6554ae}
.demo-workbench[data-demo-scenario="document"] .demo-results{background:linear-gradient(148deg,#fbf9fe,#f0eafd)}
.demo-workbench[data-demo-scenario="automation"] .demo-results{background:linear-gradient(145deg,#faf9fd,#eee8fa)}
@media(max-width:1200px){
  .demo-workbench{height:596px}
  .demo-scenarios{gap:5px;padding:8px 10px}
  .demo-scenario{padding:8px 7px;font-size:9px}
}
@media(max-width:900px){.demo-workbench{height:594px}}
@media(max-width:650px){
  .demo-workbench{height:auto;min-height:735px}
  .demo-scenarios{gap:4px;padding:7px 9px}
  .demo-scenario{min-height:43px;padding:8px 4px;gap:4px;flex-direction:column;font-size:10px}
  .demo-scenario span{font-size:8px}
  .demo-scenario strong{max-width:100%}
  .demo-workspace{min-height:0}
}
@media(max-width:375px){.demo-scenario{font-size:9px}.demo-chrome-product{font-size:9px}}
@media(prefers-reduced-motion:reduce){.demo-scenario{transition:none}.demo-scenario:active{transform:none}}
/* Temporarily yield the mobile corner to the console's Reset/Run buttons. */
@media(max-width:650px){
 body.studio-home.demo-controls-in-view .nec-launch:not([aria-expanded="true"]),
 body.studio-home.demo-controls-in-view .nec-nudge{visibility:hidden!important;pointer-events:none!important;opacity:0!important}
}
