#orderflow {
  color: #e7e9ed;
  --light-x:75%; background:var(--cfx-band);
  border-bottom: 1px solid #21314a;
}
.of-section {padding-block: clamp(32px, 4vw, 58px)}
.of-heading {display: flex; align-items: baseline; gap: 16px 38px; margin-bottom: 19px}
.of-heading h2 {
  margin: 0;
  font-size: clamp(23px, 2.45vw, 34px);
  font-weight: 720;
  line-height: 1.5;
  letter-spacing: -.04em;
}
.of-heading p {margin: 0; max-width: 53ch; color: #b4bec5; font-size: 13px; line-height: 1.9}
.of-studio {
  --of-mint: #6ee7ff;
  --of-line: #303744;
  margin: 0;
  overflow: hidden;
  border: 1px solid #38434b;
  border-radius: 12px;
  background: #131722;
  box-shadow: 0 8px 26px #070d101c;
}
.of-toolbar {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: 16px 8px;
  background: #191d2a;
  border-bottom: 1px solid var(--of-line);
}
.of-market {display: flex; align-items: baseline; gap: 12px; white-space: nowrap}
.of-market bdi {
  display: inline-flex; align-items: center; gap: 7px;
  font: 650 14px/1.3 system-ui, sans-serif; color: #e3e7ed;
}
.of-market small {font-size: 10px; font-weight: 600; color: #b6c1ca}
.of-market span {border-inline-start: 1px solid #3c4350; padding-inline-start: 12px; color: #b0bec3; font-size: 11px}
.of-views {
  position: relative; direction: rtl; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 330px;
}
.of-views::after {
  content: ""; position: absolute; right: 0; bottom: -1px; width: 25%; height: 2px;
  background: var(--of-mint); transform: translateX(calc(var(--of-index, 0) * -100%)); pointer-events: none;
}
html[dir=ltr] .of-views::after {left:0;right:auto;transform:translateX(calc(var(--of-index, 0) * 100%))}
.of-views button,.of-player {
  appearance: none; font-family: inherit; border: 0; background: transparent; color: #adb6c2;
}
.of-views button {min-height: 43px; padding: 4px 7px; font-size: 12px; white-space: nowrap}
.of-views button[aria-pressed=true] {color: #c3f5e9; background: #223037; font-weight: 650}
.of-views button:focus-visible {outline-offset: -3px}
.of-workspace {display: grid; direction: ltr; grid-template-columns: minmax(0, 1fr) clamp(242px, 26%, 305px)}
.of-workspace cfx-flow-plot {display: flex; flex-direction: column; min-width: 0; width: 100%; height: 259px}
.of-workspace cfx-flow-detail {
  display: block; direction: rtl; min-width: 0; height: 259px;
  border-left: 1px solid var(--of-line); background: #171b28;
}
.of-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; margin: 0; padding: 3px 14px;
  border-top: 1px solid var(--of-line); background: #171d26;
}
.of-caption p {margin: 0; color: #c1cbd2; font-size: 12px; line-height: 1.75}
.of-player {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 34px; padding: 2px 6px; border-radius: 4px; color: #b9eee1; font-size: 12px;
}
.of-player i {width: 11px; height: 12px; background: currentColor; clip-path: polygon(18% 5%,93% 50%,18% 95%)}
.of-player[data-state=playing] i {clip-path: polygon(12% 6%,40% 6%,40% 94%,12% 94%,12% 6%,60% 6%,88% 6%,88% 94%,60% 94%,60% 6%)}
@media (hover: hover) {
  .of-views button:hover,.of-player:hover {color: #d7fff2; background: #222c35}
}
@media (prefers-reduced-motion: no-preference) {
  .of-views::after {transition: transform .32s cubic-bezier(.22,.75,.22,1)}
}
@media (max-width: 740px) {
  .of-heading {display: block; margin-bottom: 13px}
  .of-heading p {margin-top: 3px}
}
@media (max-width: 620px) {
  .of-toolbar {display: block; padding: 0}
  .of-market {min-height: 34px; padding-inline: 12px; border-bottom: 1px solid var(--of-line)}
  .of-market span {margin-inline-start: auto; border: 0}
  .of-views {min-width: 0}
  .of-views button {white-space:normal;line-height:1.2}
  .of-views button {min-height: 38px; padding: 3px 1px; font-size: 11.5px}
  .of-workspace {grid-template-columns: minmax(0, 1fr)}
  .of-workspace cfx-flow-plot {height: 178px}
  .of-workspace cfx-flow-detail {height: 205px; border-left: 0; border-top: 1px solid var(--of-line)}
  .of-caption {padding-inline: 9px; gap: 6px; min-height: 53px}
  .of-caption p {font-size: 11px}
  .of-player {font-size: 11px}
}

.of-section {padding-block:clamp(34px,5vw,76px)}
.of-heading {justify-content:space-between; align-items:end}
.of-heading h2 {font-size:clamp(29px,3.8vw,52px); line-height:1.35; letter-spacing:-.05em}
.of-heading p {max-width:45ch}
.of-studio {border-inline:0; border-radius:0; box-shadow:none; border-color:#314055}
.of-toolbar,.of-caption {background:#0e1928}
.of-workspace cfx-flow-plot,.of-workspace cfx-flow-detail {height:clamp(245px,23vw,324px)}
.of-actions {display:flex; align-items:center; gap:10px; flex:none}
.of-inspect {min-height:44px; padding:4px 12px; border:0; background:transparent; color:var(--site-accent); font:650 13px Vazirmatn,Tahoma,sans-serif; cursor:pointer}
.of-inspect:hover {text-decoration:underline; text-underline-offset:4px}
.of-player {min-height:44px}
@media(max-width:620px) {
  .of-studio {display:grid; grid-template-areas:"toolbar" "plot" "caption" "detail"}
  .of-toolbar {grid-area:toolbar}
  .of-workspace {display:contents}
  .of-workspace cfx-flow-plot {grid-area:plot; direction:ltr}
  .of-workspace cfx-flow-detail {grid-area:detail}
  .of-workspace cfx-flow-plot {height:clamp(195px,50vw,245px)}
  .of-workspace cfx-flow-detail {height:174px}
  .of-caption {grid-area:caption; display:grid; gap:0; padding:6px 10px 0}
  .of-caption p {min-block-size:3.5em}
  .of-actions {justify-content:space-between}
  .of-inspect {padding-inline:0}
}
