/* DARK P28 — Figma 1825:1238. Uses the existing fixed-board scaler. */
#main #enterprise-boc > .boc-stage {
  display: none;
}

html[data-theme="dark"] #main #enterprise-boc.portfolio-sheet {
  --boc-scale: var(--zk592-scale, 1);
  /* The 60px running rows in the source artwork are shorter after scaling. */
  --boc-running-extra: max(0px, calc(var(--portfolio-row-height) - 60px * var(--boc-scale)));
  position: relative;
  display: block;
  width: 100%;
  max-width: 1920px;
  height: calc(2360px * var(--boc-scale) + 2 * var(--boc-running-extra));
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: calc(22px * var(--boc-scale));
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(#060713 calc(100% - var(--boc-running-extra)), #130541 0);
  box-shadow: 0 14px 45px #07030c36;
}

html[data-theme="dark"] #main #enterprise-boc > :is(.sheet-content,.u-background),
html[data-theme="dark"] #main #enterprise-boc::before {
  display: none;
}

html[data-theme="dark"] #main #enterprise-boc > .boc-stage {
  position: absolute;
  inset: var(--boc-running-extra) auto auto 0;
  display: block;
  width: 1920px;
  height: 2360px;
  transform: scale(var(--boc-scale));
  transform-origin: top left;
  isolation: isolate;
  color: #fff;
  font: 400 28px/1.2 'Portfolio Inter', 'PingFang SC', sans-serif;
}

#enterprise-boc .boc-stage :is(h2,p,figure,ul) {
  margin: 0;
}

#enterprise-boc .boc-stage img {
  display: block;
  max-width: none;
}

html[data-theme="dark"] #main #enterprise-boc::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 0 calc(2px * var(--boc-scale)) #372942;
  content: '';
  pointer-events: none;
}

#enterprise-boc .boc-background {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  background: linear-gradient(180deg, #060713 0%, #0a0e24 55%, #090517 90%, #29004b 100%);
}

#enterprise-boc .boc-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #060713 20.804%, #0a0e2480 50%, #090517 86.589%);
}

#enterprise-boc .boc-trails {
  position: absolute;
  inset: 30.25% 0 auto;
  height: 90.85%;
  background: url('../assets/cq-overview-1606/5e873.png') center / cover no-repeat;
}

#enterprise-boc .boc-mask {
  position: absolute;
  top: 179px;
  z-index: 1;
  width: 1920px;
  height: 2360px;
  mask: url('../assets/enterprise-boc-dark/1825/background-mask.svg') 0 0 / 1920px 1008px no-repeat;
  background:
    linear-gradient(180deg, transparent 9.089%, #000c 55.653%, #270046cc 93.75%),
    url('../assets/enterprise-hefei-dark/73b98.png') left -157.248px top -216.884px / 2077.056px 2576.884px no-repeat;
}

#enterprise-boc .boc-mask::after {
  position: absolute;
  inset: 0 0 auto;
  height: 45.81%;
  background: url('../assets/enterprise-boc-dark/226ff.png') 0 0 / cover no-repeat;
  opacity: .02;
  content: '';
}

#enterprise-boc .boc-grid {
  position: absolute;
  bottom: -155.77px;
  left: 0;
  z-index: 1;
  height: auto;
}

#enterprise-boc .boc-stage > .boc-section-no {
  position: absolute;
  left: 601px;
  top: -97px;
  font: 700 820px/normal 'Portfolio Trash', sans-serif;
  letter-spacing: -57.4px;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: transparent;
  background: linear-gradient(-14.625deg, #9d59ff06 14.068%, #7424ff17 71.428%);
  background-clip: text;
}

#enterprise-boc .boc-heading {
  position: absolute;
  inset: 140px 80px auto;
  z-index: 1;
}

#enterprise-boc .boc-kicker {
  display: flex;
  min-height: 41.6px;
  align-items: center;
  gap: 16px;
}

#enterprise-boc .boc-discipline {
  display: grid;
  width: 226.35px;
  height: 36px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 24px;
  font: 700 24px/1.2 'Portfolio Trash', 'PingFang SC', sans-serif;
  white-space: nowrap;
}

#enterprise-boc .boc-discipline span,
#enterprise-boc .boc-description,
#enterprise-boc .boc-pill > span,
#enterprise-boc .boc-caption p,
#enterprise-boc .boc-caption-label span {
  transform: skewX(-6.63deg) scaleY(.99);
}

#enterprise-boc .boc-kicker > p {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

#enterprise-boc .boc-heading > .boc-title {
  width: max-content;
  margin-top: 12px;
  padding-left: 4px;
  color: #fff;
  font: 400 86px/1.2 'Portfolio Title', 'LogoSC Unbounded Sans', sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-align: left;
  transform: skewX(-6.63deg) scaleY(.99);
  transform-origin: left center;
  white-space: nowrap;
}

#enterprise-boc .boc-title-divider {
  color: #f0ebfc;
}

#enterprise-boc .boc-title-accent {
  color: transparent;
  background: linear-gradient(105deg, #6c3ff9 2%, #9550fa 74%, #a464ff 100%);
  background-clip: text;
}

#enterprise-boc .boc-heading > .boc-description {
  width: max-content;
  margin-top: 10px;
  color: #f4f0fa;
  font: 500 32px/1.26 'Noto Sans SC', 'CQ03 Noto', sans-serif;
  white-space: nowrap;
}

#enterprise-boc .boc-stage > .boc-heading > .boc-pills {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  list-style: none;
  margin-top: 39px;
}

#enterprise-boc .boc-pill {
  --boc-pill-width: 293.54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: var(--boc-pill-width);
  height: 81.679px;
  border: 1px solid #7b4cd4;
  border-radius: 24px;
  background: radial-gradient(ellipse 62% 83% at 7% 108%, #7315c3, #55109080 50%, transparent),
    linear-gradient(180deg, #46239f40, #260f5c40);
  backdrop-filter: blur(5.6px);
}

#enterprise-boc .boc-pill-blue {
  background: radial-gradient(ellipse 62% 83% at 7% 108%, #2f50ff, #332dae80 50%, transparent),
    linear-gradient(172deg, #2f4ded40 17.228%, #151e9440 96.795%);
}

#enterprise-boc .boc-pill:nth-child(3) { --boc-pill-width: 336px; }

#enterprise-boc .boc-bracket-start { transform: rotate(180deg); }
#enterprise-boc .boc-bracket-end { transform: scaleY(-1); }

#enterprise-boc .boc-pill > span {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

#enterprise-boc .boc-caption {
  position: absolute;
  top: -1px;
  right: .02px;
  display: grid;
  justify-items: end;
  gap: 12px;
  width: 311.575px;
}

#enterprise-boc .boc-caption-label {
  display: flex;
  align-items: center;
  gap: 17.516px;
  position: relative;
  font-size: 32px;
  font-weight: 600;
  white-space: nowrap;
}

#enterprise-boc .boc-caption-label span {
  padding: 0 13px;
  border-inline: 5.531px solid #fff;
}

#enterprise-boc .boc-caption-label span::after {
  content: '';
  position: absolute;
  top: 0;
  right: -5.531px;
  width: 5.531px;
  height: 5.531px;
  background: #a96cfe;
}

#enterprise-boc .boc-mark {
  display: block;
  width: 52px;
  height: 52px;
  background: url('../assets/enterprise-hefei-dark/1814/discipline-mark.svg') -6.5px -8.664px no-repeat;
  mask: url('../assets/enterprise-hefei-dark/1814/discipline-mask.svg') center no-repeat;
}

#enterprise-boc .boc-caption p {
  color: #ffffff80;
  font: 400 20px/1.2 'Portfolio Trash', sans-serif;
  white-space: nowrap;
}

#enterprise-boc .boc-gallery {
  position: absolute;
  z-index: 2;
  top: 504px;
  left: calc(50% + .19px);
  transform: translateX(-50%);
  display: flex;
  width: 2908.389px;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

#enterprise-boc .boc-row {
  position: relative;
  display: flex;
  gap: 35px;
}

#enterprise-boc .boc-tablet {
  position: relative;
  width: 945.478px;
  height: 562.682px;
  flex: none;
}

#enterprise-boc .boc-tablet::before {
  position: absolute;
  left: 43.892px;
  top: 74.11px;
  width: 858.414px;
  height: 506.558px;
  background: #290148;
  opacity: .4;
  filter: blur(82.379px);
  content: '';
}

#enterprise-boc .boc-tablet img {
  position: absolute;
  height: auto;
}

/* Only the screenshot participates in the existing image-zoom dialog. */
#enterprise-boc .boc-tablet > .boc-screen {
  display: contents;
}

#enterprise-boc .boc-floor {
  top: 500.3px;
  left: -5.535px;
}

#enterprise-boc .boc-frame {
  top: -4.297px;
  left: -3.597px;
}

#enterprise-boc .boc-ui {
  top: 2.873px;
  left: 3.595px;
  width: 938.283px;
}

#enterprise-boc .boc-light {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background: url('../assets/zhike-before-after-764/metric-glow.png') center / cover no-repeat;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

#enterprise-boc .boc-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 500px;
  background: linear-gradient(180deg, #0e0d2000 24%, #190557a6);
  pointer-events: none;
}

/* Keep the shared running rows outside the artwork transform. */
html[data-theme="dark"] #main #enterprise-boc > .portfolio-running {
  position: absolute;
  inset-inline: 0;
}
