:root[data-legacy-palette="monochrome"] {
  color-scheme: light;
  --legacy-page: #f2f2f2;
  --legacy-paper: #ffffff;
  --legacy-panel: rgba(255, 255, 255, 0.58);
  --legacy-panel-soft: rgba(255, 255, 255, 0.4);
  --legacy-panel-strong: rgba(255, 255, 255, 0.88);
  --legacy-ink: #121212;
  --legacy-muted: rgba(18, 18, 18, 0.62);
  --legacy-faint: rgba(18, 18, 18, 0.42);
  --legacy-border: rgba(18, 18, 18, 0.1);
  --legacy-shadow: rgba(0, 0, 0, 0.14);
  --legacy-shadow-soft: rgba(0, 0, 0, 0.075);
  --legacy-top-0: #fcfcfc;
  --legacy-top-1: #f1f1f1;
  --legacy-top-2: #e0e0e0;
  --legacy-front-0: #f0f0f0;
  --legacy-front-1: #e2e2e2;
  --legacy-front-2: #cecece;
  --legacy-device-stroke: rgba(18, 18, 18, 0.075);
  --legacy-slot: #101010;
  --legacy-screen-ink: #f7f7f7;
  --legacy-accent: #ff714b;
  --legacy-secondary: #53d794;
  --legacy-button: #f7f7f7;
}

html[data-legacy-palette],
html[data-legacy-palette] body.guided-mode,
html[data-legacy-palette] body.guided-mode.continuous-mode {
  --jf-light-page-bg: var(--legacy-page) !important;
  background: var(--legacy-page) !important;
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] body,
html[data-legacy-palette] .opening-shell,
html[data-legacy-palette] .portfolio,
html[data-legacy-palette] .machine-paper,
html[data-legacy-palette] .machine-top-face,
html[data-legacy-palette] .machine-front-face,
html[data-legacy-palette] .pills,
html[data-legacy-palette] .pills a,
html[data-legacy-palette] .nav-contact-orb,
html[data-legacy-palette] .about-panel,
html[data-legacy-palette] .category,
html[data-legacy-palette] .contact-panel,
html[data-legacy-palette] .info-bars p,
html[data-legacy-palette] .project-copy p {
  transition:
    background-color 440ms ease,
    border-color 440ms ease,
    color 440ms ease,
    box-shadow 440ms ease,
    fill 440ms ease,
    stroke 440ms ease;
}

html[data-legacy-palette] body.guided-mode[data-opening-theme="light"] .opening-shell.machine-opening {
  --machine-unit-width: min(780px, calc(100vw - var(--site-gutter, clamp(40px, 6vw, 96px)) * 2));
  --machine-paper-ratio: 0.855;
  --machine-paper-cap: 0.94;
  --printer-bg: var(--legacy-page);
  --printer-ink: var(--legacy-ink);
  --printer-muted: var(--legacy-muted);
  --printer-paper: var(--legacy-paper);
  --printer-paper-line: color-mix(in srgb, var(--legacy-ink) 4%, transparent);
  --printer-paper-edge: var(--legacy-border);
  --printer-device-top: var(--legacy-top-1);
  --printer-device-front: var(--legacy-front-1);
  --printer-device-edge: var(--legacy-device-stroke);
  --printer-slot: var(--legacy-slot);
  --printer-screen: var(--legacy-slot);
  --printer-screen-ink: var(--legacy-screen-ink);
  --printer-orange: var(--legacy-accent);
  --printer-button-white: var(--legacy-button);
  --printer-shadow: var(--legacy-shadow);
  --machine-hero-bg: var(--legacy-page);
  --machine-paper-bg: var(--legacy-paper);
  --machine-paper-line: color-mix(in srgb, var(--legacy-ink) 4%, transparent);
  --machine-paper-edge: var(--legacy-border);
  --machine-paper-text: var(--legacy-faint);
  --machine-top-fill-0: var(--legacy-top-0);
  --machine-top-fill-1: var(--legacy-top-1);
  --machine-top-fill-2: var(--legacy-top-2);
  --machine-front-stop-0: var(--legacy-front-0);
  --machine-front-stop-1: var(--legacy-front-1);
  --machine-front-stop-2: var(--legacy-front-2);
  --machine-body-stroke: var(--legacy-device-stroke);
  --machine-top-stroke: var(--legacy-device-stroke);
  --machine-slot-line: var(--legacy-slot);
  background: var(--legacy-page) !important;
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-paper {
  border-color: var(--legacy-border);
  background:
    repeating-linear-gradient(180deg, transparent 0 17px, color-mix(in srgb, var(--legacy-ink) 4%, transparent) 17px 18px),
    var(--legacy-paper);
  box-shadow:
    0 22px 42px var(--legacy-shadow-soft),
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 60%, white 40%);
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-ticket figure {
  border-color: var(--legacy-border);
  background: color-mix(in srgb, var(--legacy-paper) 82%, var(--legacy-page) 18%);
  box-shadow: 0 8px 18px var(--legacy-shadow-soft);
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-front-body .machine-svg {
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.07));
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-slot-body::before {
  top: 54.333% !important;
  height: clamp(10px, 1.4vw, 18px) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.17) 0%, rgba(0, 0, 0, 0.06) 38%, transparent 100%) !important;
  filter: none !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-slot {
  opacity: 0 !important;
  rx: 0 !important;
}

html[data-legacy-palette] .opening-shell.machine-opening #machineSlot stop {
  stop-color: var(--legacy-slot) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-paper {
  --machine-window-radius: clamp(14px, 1.8vw, 22px);
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-paper::before,
html[data-legacy-palette] .opening-shell.machine-opening .machine-paper::after {
  content: "";
  display: block !important;
  position: absolute;
  right: var(--machine-paper-side);
  left: var(--machine-paper-side);
  z-index: 20;
  height: var(--machine-window-radius);
  pointer-events: none;
  filter: none !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-paper::before {
  top: 0;
  bottom: auto;
  background:
    radial-gradient(circle at 100% 100%, transparent calc(var(--machine-window-radius) - 1px), var(--machine-paper-bg) var(--machine-window-radius)) left top / var(--machine-window-radius) var(--machine-window-radius) no-repeat,
    radial-gradient(circle at 0 100%, transparent calc(var(--machine-window-radius) - 1px), var(--machine-paper-bg) var(--machine-window-radius)) right top / var(--machine-window-radius) var(--machine-window-radius) no-repeat;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-paper::after {
  top: auto;
  bottom: 0;
  background:
    radial-gradient(circle at 100% 0, transparent calc(var(--machine-window-radius) - 1px), var(--machine-paper-bg) var(--machine-window-radius)) left bottom / var(--machine-window-radius) var(--machine-window-radius) no-repeat,
    radial-gradient(circle at 0 0, transparent calc(var(--machine-window-radius) - 1px), var(--machine-paper-bg) var(--machine-window-radius)) right bottom / var(--machine-window-radius) var(--machine-window-radius) no-repeat;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-title-display,
html[data-legacy-palette] .opening-shell.machine-opening .machine-title-scroll-label {
  fill: var(--legacy-screen-ink) !important;
  pointer-events: none;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-title-scroll {
  opacity: 0;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-stage.is-title-scroll-ready .machine-title-display {
  opacity: 0;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-stage.is-title-scroll-ready .machine-title-scroll {
  opacity: 1;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-front-body svg > circle {
  fill: var(--legacy-secondary) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-control-prev {
  left: 79.333%;
  background: var(--legacy-accent) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-control-next {
  left: 87.333%;
  background: linear-gradient(145deg, #fafafa 0%, #e5e5e5 44%, #d1d1d1 100%) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-control {
  border-color: color-mix(in srgb, var(--legacy-ink) 18%, transparent);
  box-shadow:
    inset 0 1px 1px color-mix(in srgb, var(--legacy-button) 68%, white 32%),
    inset 0 -3px 5px color-mix(in srgb, var(--legacy-ink) 15%, transparent),
    0 8px 18px var(--legacy-shadow);
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-control-next {
  border-color: rgba(18, 18, 18, 0.24) !important;
  box-shadow:
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.98),
    inset -2px -3px 4px rgba(18, 18, 18, 0.14),
    0 7px 14px rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  html[data-legacy-palette] body.guided-mode[data-opening-theme="light"] .opening-shell.machine-opening {
    --machine-unit-width: min(720px, calc(100vw - var(--site-gutter, clamp(26px, 4.6vw, 54px)) * 2));
    --machine-paper-max: 720px;
  }
}

@media (max-width: 760px) {
  html[data-legacy-palette] body.guided-mode[data-opening-theme="light"] .opening-shell.machine-opening {
    --machine-unit-width: calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));
    --machine-paper-ratio: 0.8835;
  }

  html[data-legacy-palette] .opening-shell.machine-opening .machine-control-next {
    left: 89.333%;
  }
}

html[data-legacy-palette] img {
  cursor: default !important;
}

html[data-legacy-palette] body.guided-mode[data-opening-theme="light"] .portfolio,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .portfolio,
html[data-legacy-palette] body.guided-mode[data-opening-theme="light"]:not([data-active-chapter="overview"]) .portfolio {
  background: var(--legacy-page) !important;
}

html[data-legacy-palette] body.guided-mode[data-opening-theme="light"]::before {
  background: color-mix(in srgb, var(--legacy-page) 2%, transparent);
  backdrop-filter: blur(5px) saturate(106%);
  -webkit-backdrop-filter: blur(5px) saturate(106%);
}

html[data-legacy-palette] .guided-mode .pills,
html[data-legacy-palette] .guided-mode.continuous-mode .pills,
html[data-legacy-palette] .guided-mode .nav-contact-orb {
  border-color: var(--legacy-border) !important;
  background: color-mix(in srgb, var(--legacy-panel-strong) 76%, transparent) !important;
  box-shadow:
    inset 0 0.5px 0 color-mix(in srgb, var(--legacy-paper) 64%, white 36%),
    inset 0 -0.5px 0 color-mix(in srgb, var(--legacy-ink) 7%, transparent),
    0 14px 34px var(--legacy-shadow) !important;
  color: var(--legacy-muted) !important;
  backdrop-filter: blur(18px) saturate(116%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(116%) !important;
}

html[data-legacy-palette] .guided-mode .pills a,
html[data-legacy-palette] .guided-mode.continuous-mode .pills a {
  border-color: var(--legacy-border) !important;
  background: var(--legacy-panel-soft) !important;
  box-shadow:
    inset 0 0.5px 0 color-mix(in srgb, var(--legacy-paper) 70%, white 30%),
    inset 0 -0.5px 0 color-mix(in srgb, var(--legacy-ink) 6%, transparent) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] .guided-mode .pills a.is-active,
html[data-legacy-palette] .guided-mode.continuous-mode .pills a.is-active {
  border-color: color-mix(in srgb, var(--legacy-ink) 13%, transparent) !important;
  background: var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 0.5px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%),
    inset 0 -0.5px 0 color-mix(in srgb, var(--legacy-ink) 8%, transparent),
    0 5px 14px var(--legacy-shadow-soft) !important;
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-panel,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .contact-panel,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .category,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .hero-frame,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .mosaic-large,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .thumb-strip img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .mini-grid img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .lookbook-row img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .nuth3-row img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .starter-layout img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .natural-row img,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-case,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-method,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .triangle-node,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-sequence figure,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-outcome strong,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-outcome span,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .info-bars p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .project-copy p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-copy p {
  border-color: var(--legacy-border) !important;
  background: var(--legacy-panel) !important;
  background-image: none !important;
  box-shadow:
    inset 0 0.5px 0 color-mix(in srgb, var(--legacy-paper) 64%, white 36%),
    0 18px 48px var(--legacy-shadow-soft) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .info-bars p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .project-copy p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-copy p {
  box-shadow: none !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .project-copy,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .info-bars,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .mosaic,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .thumb-strip,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .mini-grid {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .info-bars,
html[data-legacy-palette] body.guided-mode.continuous-mode .project-copy {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .info-bars p,
html[data-legacy-palette] body.guided-mode.continuous-mode .project-copy p {
  box-sizing: border-box;
  width: 100%;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .storyboard-drawer,
html[data-legacy-palette] body.guided-mode.continuous-mode .project-copy-drawer {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .storyboard-drawer > summary,
html[data-legacy-palette] body.guided-mode.continuous-mode .project-copy-drawer > summary {
  box-sizing: border-box;
  width: 100%;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .category span,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-panel h1,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .contact-panel h1,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .aigc-agent-title h2,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .info-bars strong,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .project-copy strong,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-copy .name,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .aigc-agent-module b {
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .category p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .aigc-agent-title p,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .aigc-agent-title span {
  color: var(--legacy-faint) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-panel::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .contact-panel::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .category::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .hero-frame::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .mosaic-large::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-case::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .yunyue-method::before,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .triangle-node::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--legacy-paper) 72%, white 28%), color-mix(in srgb, var(--legacy-ink) 5%, transparent) 58%, color-mix(in srgb, var(--legacy-paper) 78%, white 22%)) !important;
  opacity: 0.38 !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-copy p:hover,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .about-copy .name:hover,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .info-bars p:hover {
  border-color: color-mix(in srgb, var(--legacy-ink) 13%, transparent) !important;
  background: var(--legacy-panel-strong) !important;
  box-shadow: 0 16px 38px var(--legacy-shadow-soft) !important;
  color: var(--legacy-ink) !important;
}

/* Final palette lock for the old stylesheet's later retro overrides. */
html[data-legacy-palette] body.guided-mode.continuous-mode {
  --retro-page: var(--legacy-page);
  --retro-panel: var(--legacy-panel);
  --retro-panel-solid: color-mix(in srgb, var(--legacy-page) 68%, var(--legacy-ink) 4%);
  --retro-key: var(--legacy-panel-strong);
  --retro-key-strong: color-mix(in srgb, var(--legacy-panel-strong) 90%, white 10%);
  --retro-ink: var(--legacy-ink);
  --retro-muted: var(--legacy-faint);
  --retro-line: var(--legacy-border);
  --retro-line-strong: color-mix(in srgb, var(--legacy-ink) 17%, transparent);
  --retro-shadow: var(--legacy-shadow-soft);
  --retro-shadow-deep: var(--legacy-shadow);
  --retro-orange: var(--legacy-accent);
  --retro-green: var(--legacy-secondary);
  --hole-off: color-mix(in srgb, var(--legacy-ink) 16%, transparent);
}

/* Keep the old-version demo on one neutral page surface. */
html[data-legacy-palette] body.guided-mode .opening-shell,
html[data-legacy-palette] body.guided-mode.continuous-mode .portfolio,
html[data-legacy-palette] body.guided-mode.continuous-mode .project,
html[data-legacy-palette] body.guided-mode.continuous-mode .yunyue-system {
  background: var(--legacy-page) !important;
  background-color: var(--legacy-page) !important;
  background-image: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .yunyue-system {
  min-height: 0 !important;
  height: auto !important;
  align-content: start !important;
  margin-bottom: clamp(34px, 4vw, 58px) !important;
  padding: 0 !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .pills a.is-active::before {
  content: none !important;
  display: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .nav-contact-orb {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 86%, white 14%), var(--legacy-panel)),
    var(--legacy-panel) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-ink) 6%, transparent),
    0 14px 32px var(--legacy-shadow) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills a {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 88%, white 12%), var(--legacy-panel-strong)),
    var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-ink) 6%, transparent),
    0 4px 9px var(--legacy-shadow-soft) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills a.is-active,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills a:focus-visible,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .nav-contact-orb.is-active,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .nav-contact-orb:focus-visible {
  border-color: color-mix(in srgb, var(--legacy-ink) 14%, transparent) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-page) 86%, var(--legacy-ink) 4%), var(--legacy-panel-strong)),
    var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 3px 8px color-mix(in srgb, var(--legacy-ink) 13%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-paper) 70%, white 30%) !important;
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .category,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .aigc-agent-title,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .contact-panel,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .storyboard-drawer > summary,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .project-copy-drawer > summary {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 82%, white 18%), var(--legacy-panel)),
    var(--legacy-panel) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 66%, white 34%),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-ink) 5%, transparent),
    0 14px 34px var(--legacy-shadow-soft) !important;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer {
  margin-top: 12px;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer > summary {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--legacy-border);
  border-radius: 14px;
  color: var(--legacy-muted);
  cursor: pointer;
  list-style: none;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer > summary::-webkit-details-marker {
  display: none;
}

html[data-legacy-palette] .guided-mode .project-copy-state::before {
  content: "展开";
  color: var(--legacy-faint);
  font-size: 11px;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer[open] .project-copy-state::before {
  content: "收起";
}

html[data-legacy-palette] .guided-mode .project-copy-drawer > .project-copy {
  margin-top: 8px;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer > summary .storyboard-arrow {
  transition: transform 220ms ease;
}

html[data-legacy-palette] .guided-mode .project-copy-drawer[open] > summary .storyboard-arrow {
  transform: rotate(180deg);
}

@media (max-width: 760px) {
  html[data-legacy-palette] .guided-mode .project-copy-drawer > summary {
    min-height: 42px;
    padding: 0 13px;
  }
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-panel,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"][data-active-chapter="about"] .about-panel[data-chapter="about"] {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 78%, white 22%), var(--legacy-panel-soft)),
    var(--legacy-panel) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 68%, white 32%),
    0 15px 38px var(--legacy-shadow-soft) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy p,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy .name,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"][data-active-chapter="about"] .about-panel[data-chapter="about"] .about-copy p,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"][data-active-chapter="about"] .about-panel[data-chapter="about"] .about-copy .name {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 88%, white 12%), var(--legacy-panel-strong)),
    var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 5px 10px color-mix(in srgb, var(--legacy-ink) 6%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy .name,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy strong {
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy p:hover,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-copy .name:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--legacy-panel-strong) 80%, var(--legacy-page) 20%), var(--legacy-panel-strong)),
    var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 5px 12px color-mix(in srgb, var(--legacy-ink) 8%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 68%, white 32%) !important;
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-panel .portrait {
  border-color: var(--legacy-border) !important;
  background: var(--legacy-panel-soft) !important;
  box-shadow:
    inset 0 2px 8px color-mix(in srgb, var(--legacy-ink) 8%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-paper) 62%, white 38%) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .readout-dial {
  border-color: color-mix(in srgb, var(--legacy-ink) 13%, transparent) !important;
  background:
    repeating-conic-gradient(from -90deg, color-mix(in srgb, var(--legacy-ink) 18%, transparent) 0 2deg, transparent 2deg 20deg),
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--legacy-paper) 76%, white 24%), var(--legacy-top-1) 66%, var(--legacy-top-2)) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 68%, white 32%),
    inset 0 -2px 5px color-mix(in srgb, var(--legacy-ink) 8%, transparent),
    0 1px 0 var(--legacy-shadow-soft) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .readout-dial::before {
  background: color-mix(in srgb, var(--legacy-ink) 22%, transparent) !important;
  box-shadow: inset 0 1px 1px color-mix(in srgb, var(--legacy-paper) 62%, white 38%) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .readout-dial::after {
  background: var(--legacy-accent) !important;
  box-shadow: 0 0 7px color-mix(in srgb, var(--legacy-accent) 26%, transparent) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-panel h1 .readout-title-text,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .contact-panel h1 .readout-title-text,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .category > span,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .aigc-agent-title > h2 {
  color: var(--legacy-ink) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-panel h1 .readout-title-text::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--legacy-paper) 72%, white 28%) 0 18%, var(--legacy-secondary) 26% 58%, color-mix(in srgb, var(--legacy-secondary) 22%, transparent) 78%) !important;
  box-shadow: 0 0 8px color-mix(in srgb, var(--legacy-secondary) 38%, transparent) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .category,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .about-panel h1,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .contact-panel h1,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .aigc-agent-title {
  --hole-off: rgba(18, 18, 18, 0.3) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .contact-card p {
  border-color: var(--legacy-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(230, 230, 230, 0.28)),
    var(--legacy-panel-strong) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px var(--legacy-shadow-soft) !important;
  color: var(--legacy-muted) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .image-focus-backdrop {
  background: rgba(235, 235, 235, 0.64) !important;
}

html[data-legacy-palette] .opening-shell.machine-opening .machine-ticket img,
html[data-legacy-palette] .guided-mode .image-focus-frame,
html[data-legacy-palette] .guided-mode .image-focus-face-wrap,
html[data-legacy-palette] .guided-mode .image-focus-face,
html[data-legacy-palette] .guided-mode .image-focus-video {
  border-radius: var(--jf-image-radius, 16px) !important;
  clip-path: inset(0 round var(--jf-image-radius, 16px)) !important;
}

html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .image-focus-close,
html[data-legacy-palette] .guided-mode[data-opening-theme="light"] .image-focus-arrow {
  border-color: rgba(10, 10, 10, 0.11) !important;
  background: rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 12px 34px rgba(0, 0, 0, 0.15) !important;
}

html[data-legacy-palette] .guided-mode .utility-nav .pills a:focus-visible,
html[data-legacy-palette] .guided-mode .utility-nav .nav-contact-orb:focus-visible {
  outline: 2px solid rgba(18, 18, 18, 0.5) !important;
  outline-offset: 2px !important;
}

html[data-legacy-palette] .guided-mode.continuous-mode .utility-nav {
  filter: none !important;
  backface-visibility: hidden;
  contain: paint;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 190ms ease-out !important;
}

html[data-legacy-palette] body[data-utility-hidden="true"].guided-mode.continuous-mode .utility-nav {
  filter: none !important;
  transform: translate3d(-50%, calc(-100% - 18px), 0) !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-legacy-palette] *,
  html[data-legacy-palette] *::before,
  html[data-legacy-palette] *::after {
    transition-duration: 1ms !important;
  }

}

/* The individual keys provide the navigation surface; no second frame sits around them. */
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .utility-nav {
  contain: none !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .pills a,
html[data-legacy-palette] body.guided-mode.continuous-mode[data-opening-theme="light"] .utility-nav .nav-contact-orb {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%),
    inset 0 -1px 0 color-mix(in srgb, var(--legacy-ink) 6%, transparent) !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .utility-nav .pills::before,
html[data-legacy-palette] body.guided-mode.continuous-mode .utility-nav .pills::after {
  content: none !important;
  display: none !important;
}

html[data-legacy-palette] body.major-accordion-ready .major-section-item[hidden],
html[data-legacy-palette] body.major-accordion-ready .contact-panel[hidden] {
  display: none !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .contact-panel {
  margin: 32px auto 16px !important;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .closing-statement {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 56px;
  padding: 36px 44px 40px;
  border: 1px solid var(--legacy-border);
  border-radius: 16px;
  background: var(--legacy-panel);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--legacy-paper) 72%, white 28%),
    0 18px 48px var(--legacy-shadow-soft);
  color: var(--legacy-ink);
}

html[data-legacy-palette] body.guided-mode.continuous-mode .closing-statement p {
  max-width: 980px;
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 480;
  line-height: 1.68;
  letter-spacing: 0;
  text-wrap: pretty;
}

html[data-legacy-palette] body.guided-mode.continuous-mode .readout-title-text,
html[data-legacy-palette] body.guided-mode.continuous-mode .category > span {
  overflow: visible !important;
}

html[data-legacy-palette] body.major-accordion-ready .category[data-major-module],
html[data-legacy-palette] body.major-accordion-ready .yunyue-system[data-major-module] {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 0 !important;
  margin: 12px 0 !important;
}

html[data-legacy-palette] body.major-accordion-ready .category[data-major-expanded="true"] {
  margin-bottom: 28px !important;
}

html[data-legacy-palette] body.major-accordion-ready .yunyue-system[data-major-module] {
  padding: 0 !important;
}

html[data-legacy-palette] body.major-accordion-ready .yunyue-system[data-major-expanded="true"] {
  margin-bottom: 28px !important;
}

html[data-legacy-palette] body.major-accordion-ready .yunyue-system[data-major-module] > .aigc-agent-title {
  margin: 0 !important;
}

html[data-legacy-palette] body.major-accordion-ready [data-major-trigger] {
  position: relative;
  z-index: 1;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html[data-legacy-palette] body.major-accordion-ready .major-module-chevron {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 66px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--legacy-faint);
  border-bottom: 1.5px solid var(--legacy-faint);
  opacity: 0.78;
  transform: translateY(-65%) rotate(45deg);
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
  pointer-events: none;
}

html[data-legacy-palette] body.major-accordion-ready [data-major-trigger][aria-expanded="true"] .major-module-chevron {
  opacity: 1;
  transform: translateY(-35%) rotate(225deg);
}

html[data-legacy-palette] body.major-accordion-ready [data-major-trigger]:focus-visible {
  outline: 2px solid rgba(18, 18, 18, 0.48) !important;
  outline-offset: 3px !important;
}

@media (max-width: 760px) {
  html[data-legacy-palette] body.major-accordion-ready .major-module-chevron {
    right: 52px;
    width: 7px;
    height: 7px;
  }

  html[data-legacy-palette] body.guided-mode.continuous-mode .contact-panel {
    margin: 24px auto 12px !important;
  }

  html[data-legacy-palette] body.guided-mode.continuous-mode .closing-statement {
    margin-bottom: 32px;
    padding: 22px 18px 24px;
    border-radius: 14px;
  }

  html[data-legacy-palette] body.guided-mode.continuous-mode .closing-statement p {
    font-size: 16px;
    line-height: 1.68;
  }
}
