/* Scene 12 only: the shared TPE editor design, inside the Studio illustration. */
.work .editor-demo {
  color-scheme: light;
  color: #282e36;
  background: #fff;
  border-color: #dbe1e8;
  border-radius: 14px;
}
.work .editor-demo .demo-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 41px;
  padding: 0 16px;
  border-bottom: 1px solid #e3e8ef;
  background: #fff;
}
.work .editor-demo .demo-title b {
  font-size: 13px;
  letter-spacing: -.3px;
}
.work .editor-demo .demo-title b span {
  margin-left: 5px;
  color: #7e8691;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 1.4px;
}
.work .editor-demo .demo-title small {
  color: #7e8691;
  font-size: 8px;
}
.work .editor-demo svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.work .editor-demo .demo-document-tabs {
  display: flex;
  height: 39px;
  border-bottom: 1px solid #e3e8ef;
  background: #f6f8fa;
}
.work .editor-demo .demo-document-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  box-shadow: inset 0 3px #ffd400;
  border-right: 1px solid #e3e8ef;
  background: #fff;
  font-size: 12px;
}
.work .editor-demo .demo-document-tab > svg {
  color: #9a7c00;
}
.work .editor-demo .demo-document-tab > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4ad00;
  box-shadow: 0 0 0 3px #fff2ae;
}
.work .editor-demo .demo-close {
  margin-left: 12px;
  color: #8c949e;
  font-size: 16px;
}
.work .editor-demo .demo-add {
  display: grid;
  width: 38px;
  place-items: center;
  color: #7e8691;
  font-size: 23px;
}
.work .editor-demo .demo-toolbar {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 35px;
  padding: 5px 12px;
  border-bottom: 1px solid #e3e8ef;
  background: #fafbfc;
  color: #6e7681;
  font-size: 9px;
}
.work .editor-demo .demo-toolbar > span:first-child {
  margin-right: auto;
}
.work .editor-demo .demo-action {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #535d69;
}
.work .editor-demo .demo-action svg {
  width: 13px;
  height: 13px;
}
.work .editor-demo .demo-export {
  padding: 5px 7px;
  border-radius: 5px;
  background: #ffd400;
  color: #282e36;
}
.work .editor-demo .demo-code-workbench {
  display: flex;
  min-height: 220px;
  flex: 1;
}
.work .editor-demo .editor-body {
  min-width: 0;
  min-height: 220px;
  padding: 15px 0 14px;
  overflow: hidden;
  background: #fff;
}
.work .editor-demo .code-row {
  height: 30px;
  gap: 0;
  padding: 0;
  border-left: 0;
  font: 13px/30px Consolas, 'Courier New', monospace;
}
.work .editor-demo .code-row.active {
  background: #fff8d6;
}
.work .editor-demo .line-number {
  width: 39px;
  padding-right: 11px;
  border-right: 1px solid #f1f2f4;
  color: #9aa1ab;
  font-size: 11px;
  text-align: right;
}
.work .editor-demo .code-row code {
  min-width: 0;
  padding-left: 14px;
  color: #494458;
}
.work .editor-demo .demo-token-comment { color: #8a929d; }
.work .editor-demo .demo-token-reference { color: #286da8; }
.work .editor-demo .demo-token-motion { color: #b44d3f; font-weight: 700; }
.work .editor-demo .demo-token-instruction { color: #8a48a7; font-weight: 600; }
.work .editor-demo .demo-token-modifier { color: #7b5ca8; }
.work .editor-demo .demo-token-number { color: #b47936; }
.work .editor-demo .demo-token-operator { color: #68717e; font-weight: 600; }
.work .editor-demo .demo-token-terminator { color: #b7bdc6; }
.work .editor-demo .caret { background: #ad8a00; }
.work .editor-demo .demo-tool-rail {
  display: flex;
  width: 42px;
  flex: 0 0 42px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 3px;
  border-left: 1px solid #e3e8ef;
  background: #fafbfc;
  color: #7e8691;
}
.work .editor-demo .demo-tool-rail > span {
  display: grid;
  width: 30px;
  height: 29px;
  place-items: center;
  border-radius: 6px;
}
.work .editor-demo .demo-tool-rail > .is-active {
  background: #fff5c8;
  color: #313740;
}
.work .editor-demo .demo-tool-rail > i {
  width: 25px;
  border-top: 1px solid #e3e8ef;
  margin: 3px 0;
}
.work .editor-demo .window-foot {
  padding: 10px 13px;
  border-top: 1px solid #e3e8ef;
  background: #fafbfc;
  color: #8a9099;
}
.work .editor-demo .window-foot > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.work .editor-demo .window-foot b { color: #8a9099; }
.work .editor-demo .demo-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4f9b74;
}
