.tools-entry .section-heading {
  max-width: 1040px;
}

.tools-entry-note {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(23, 19, 15, .64);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.9;
}

.tools-entry .tool-entry .tool-intro {
  color: rgba(23, 19, 15, .68);
}

.tools-entry .tool-entry.emphasized .masked-note {
  color: rgba(246, 241, 232, .72);
}

.ecosystem-lite {
  background:
    radial-gradient(circle at 84% 18%, rgba(180, 147, 79, .075), transparent 30%),
    linear-gradient(180deg, rgba(249, 245, 234, .96), rgba(241, 234, 220, .96));
}

.ecosystem-lite .section-heading {
  max-width: 980px;
}

.ecosystem-lite .eco-entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.ecosystem-lite .eco-card {
  min-height: 176px;
  background: rgba(255, 250, 239, .48);
  border-color: rgba(180, 147, 79, .24);
}

.ecosystem-lite .eco-card b {
  color: var(--ink);
}

.ecosystem-lite .eco-card span {
  max-width: 20em;
}

@media (max-width: 760px) {
  .tools-entry-note {
    font-size: 14px;
    line-height: 1.75;
  }

  .ecosystem-lite .eco-entry-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-lite .eco-card {
    min-height: 132px;
  }
}


/* v43 item 1 final load-order sizing */
.profile-abilities { width:calc(100% + 152px)!important; margin-left:-76px!important; min-height:266px!important; }
.profile-abilities article { min-height:266px!important; }
.works-showcase-shell { width:min(1455px,calc(100vw - 16px))!important; }
@media(max-width:1080px){.profile-abilities{width:100%!important;margin-left:0!important}.works-showcase-shell{width:100%!important}}


/* v43 item 2: media report arrow offset */
.credibility-groups .media-proof-enter{top:23px!important}


/* v43 item 4: one arrow and one shared main-page CTA language */
.cg-arrow-link::after { content:none!important; display:none!important; }
.hero-jump-link,
.tool-jump-link,
.works-field-enter,
.ai-app-field-enter,
.method-system-panel .method-more,
.sequence .cooperation-grid .cooperation-enter {
  min-height:42px!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  border:1px solid rgba(216,189,120,.62)!important;
  background:#4d6156!important;
  color:#f6f1e8!important;
  text-decoration:none!important;
}
.sequence .cooperation-grid .cooperation-enter { width:max-content!important; margin-top:28px!important; }
.sequence .cooperation-grid .cooperation-enter>.cta-arrow,
.hero-jump-link>.cta-arrow,
.tool-jump-link>.cta-arrow,
.works-field-enter [aria-hidden="true"],
.ai-app-field-enter [aria-hidden="true"] {
  width:auto!important;height:auto!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;color:#d8bd78!important;
  font:400 18px/1 Georgia,"Times New Roman",serif!important;
}
.method-system-panel .method-more::after { content:none!important; }


/* v47 precise requested homepage refinements, UTF-safe base */
.profile-abilities {
  width: min(calc(100% + 152px), calc(100vw - 16px)) !important;
  margin-left: -76px !important;
  margin-right: 0 !important;
  min-height: 342px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.profile-abilities article {
  min-height: 342px !important;
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}
.credibility-groups .media-proof-link {
  margin-top: 48px !important;
  transform: translateY(19px) !important;
}
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(calc(100% + 297px), calc(100vw - 16px)) !important;
  margin-left: -148px !important;
  margin-right: 0 !important;
}
.works-home > .home-work-card-main .home-work-visual,
.ai-app-field .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: 498px !important;
  min-height: 498px !important;
  max-height: 498px !important;
  aspect-ratio: auto !important;
}
.ai-app-field .ai-app-home > .ai-app-card-main {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.ai-app-field .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: 498px !important;
  min-height: 498px !important;
  max-height: 498px !important;
  justify-content: flex-end !important;
  padding-bottom: 30px !important;
}
.cg-arrow-link::after,
.main-jump-link::after,
.tool-jump-link::after,
.hero-jump-link::after,
.method-enter::after,
.works-field-enter::after,
.ai-app-field-enter::after,
.cooperation-enter::after { content: none !important; display: none !important; }
.cg-arrow-link,
.hero-jump-link,
.tool-jump-link,
.method-enter,
.works-field-enter,
.ai-app-field-enter,
.sequence .cooperation-grid .cooperation-enter,
.main-jump-link {
  border: 1px solid rgba(216,189,120,.68) !important;
  background: #4d6156 !important;
  color: #f6f1e8 !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}
.cg-arrow-link .cta-arrow,
.main-jump-link .cta-arrow,
.cg-arrow-link > [aria-hidden="true"],
.works-field-enter > [aria-hidden="true"],
.ai-app-field-enter > [aria-hidden="true"],
.cooperation-enter > [aria-hidden="true"] {
  color: #d8bd78 !important;
  border: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font: 400 18px/1 Georgia, "Times New Roman", serif !important;
}
.sequence .cooperation-grid .cooperation-enter {
  width: max-content !important;
  margin-top: 30px !important;
}
@media (max-width: 1180px) {
  .profile-abilities { width: 100% !important; margin-left: 0 !important; min-height: 0 !important; }
  .profile-abilities article { min-height: 0 !important; }
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; margin-left: 0 !important; }
  .works-home > .home-work-card-main .home-work-visual,
  .ai-app-field .ai-app-home > .ai-app-card-main .ai-app-visual,
  .ai-app-field .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* v48 final boundary and arrow unification */
.profile-abilities,
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}
.profile-abilities {
  min-height: 342px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.profile-abilities article { min-height: 342px !important; }
.credibility-groups .media-proof-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-top: 48px !important;
  transform: none !important;
}
.credibility-groups .media-proof-enter {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  align-self: center !important;
  justify-self: end !important;
}
.cg-arrow-link::after,
.main-jump-link::after,
.tool-jump-link::after,
.hero-jump-link::after,
.method-enter::after,
.works-field-enter::after,
.ai-app-field-enter::after,
.cooperation-enter::after,
.media-proof-enter::after,
.platform-enter::after,
.subpage-return-link::after { content: none !important; display: none !important; }
.cg-arrow-link .cta-arrow,
.main-jump-link .cta-arrow,
.tool-jump-link .cta-arrow,
.hero-jump-link .cta-arrow,
.method-enter .cta-arrow,
.works-field-enter [aria-hidden="true"],
.ai-app-field-enter [aria-hidden="true"],
.cooperation-enter [aria-hidden="true"],
.media-proof-enter,
.platform-enter,
.subpage-return-link .cta-arrow {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #d8bd78 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sequence .cooperation-grid .cooperation-enter,
.sequence .cooperation-grid .cooperation-enter.cg-arrow-link {
  width: max-content !important;
  min-width: 184px !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  flex-direction: row !important;
  padding-inline: 22px !important;
}
.sequence .cooperation-grid .cooperation-enter span,
.sequence .cooperation-grid .cooperation-enter .cta-arrow {
  writing-mode: horizontal-tb !important;
  white-space: nowrap !important;
}
.subpage-return-wrap { background: inherit !important; }
.subpage-return-link,
.subpage-return-link.cg-arrow-link {
  border: 1px solid rgba(216,189,120,.68) !important;
  background: inherit !important;
  color: currentColor !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
@media (max-width: 1180px) {
  .profile-abilities,
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; margin-left: 0 !important; }
}


/* v49 targeted polish: unified arrows, safer feature widths, inline city case pages */
.method-enter,
.media-proof-enter,
.platform-enter,
.cg-arrow-link .cta-arrow,
.main-jump-link .cta-arrow,
.tool-jump-link .cta-arrow,
.hero-jump-link .cta-arrow,
.works-field-enter [aria-hidden="true"],
.ai-app-field-enter [aria-hidden="true"],
.cooperation-enter [aria-hidden="true"],
.subpage-return-link .cta-arrow {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #d8bd78 !important;
}
.method-enter,
.media-proof-enter,
.platform-enter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
.cooperation-enter .cta-arrow,
.cooperation-enter [aria-hidden="true"] {
  display: inline-block !important;
  margin-left: 10px !important;
  color: #d8bd78 !important;
}
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1260px, calc(100vw - 96px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}
.works-home > .home-work-card-main .home-work-visual {
  min-height: 0 !important;
  height: clamp(360px, 42vw, 492px) !important;
  aspect-ratio: 16 / 9 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main {
  min-height: 0 !important;
  height: auto !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  min-height: 0 !important;
  height: clamp(350px, 39vw, 468px) !important;
}
.subpage-return-wrap {
  background: transparent !important;
  border-top: 0 !important;
  margin-top: -1px !important;
  padding-top: 0 !important;
}
body:has(.city-os-page) .subpage-return-wrap,
body:has(.city-case-page) .subpage-return-wrap,
body:has(.ai-app-library-page) .subpage-return-wrap,
body:has(.visual-works-page) .subpage-return-wrap {
  background: #100c08 !important;
}
body:has(.city-os-page) .subpage-return-link,
body:has(.city-case-page) .subpage-return-link,
body:has(.ai-app-library-page) .subpage-return-link,
body:has(.visual-works-page) .subpage-return-link {
  color: #f6f1e8 !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
  }
}


/* v51 main feature media proportion refinement */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1320px, calc(100vw - 72px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.works-home > .home-work-card-main .home-work-visual {
  height: clamp(400px, 43vw, 530px) !important;
  min-height: 400px !important;
  aspect-ratio: 16 / 9 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(390px, 41vw, 510px) !important;
  min-height: 390px !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
  }
}


/* v52 requested final proportion and cooperation arrow cleanup */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1360px, calc(100vw - 64px)) !important;
  max-width: 100% !important;
}
.works-home > .home-work-card-main .home-work-visual {
  height: clamp(470px, 47vw, 620px) !important;
  min-height: 470px !important;
  aspect-ratio: 16 / 9 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(460px, 45vw, 600px) !important;
  min-height: 460px !important;
}
.sequence .cooperation-grid .cooperation-enter > span,
.sequence .cooperation-grid .cooperation-enter .cta-arrow,
.sequence .cooperation-grid .cooperation-enter [aria-hidden="true"],
.cooperation-enter > span,
.cooperation-enter .cta-arrow,
.cooperation-enter [aria-hidden="true"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}
.sequence .cooperation-grid .cooperation-enter,
.sequence .cooperation-grid .cooperation-enter.cg-arrow-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
@media (max-width: 1080px) {
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
  }
}


/* v54 screenshot fixes: restore better media proportions and remove cooperation arrow box */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1220px, calc(100vw - 160px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.works-home > .home-work-card-main .home-work-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: clamp(500px, 48vw, 660px) !important;
  min-height: 500px !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(500px, 48vw, 660px) !important;
  min-height: 500px !important;
}
.visual-works-page .works-library {
  padding-top: clamp(52px, 6vh, 78px) !important;
}
.visual-works-page .works-library .works-library-grid,
.visual-works-page [data-works-library] {
  margin-top: clamp(22px, 3vh, 36px) !important;
}
.sequence .cooperation-grid .cooperation-enter,
.sequence .cooperation-grid .cooperation-enter.cg-arrow-link {
  overflow: visible !important;
}
.sequence .cooperation-grid .cooperation-enter > span,
.sequence .cooperation-grid .cooperation-enter .cta-arrow,
.sequence .cooperation-grid .cooperation-enter [aria-hidden="true"],
.cooperation-enter > span,
.cooperation-enter .cta-arrow,
.cooperation-enter [aria-hidden="true"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #d8bd78 !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}


/* v54 visual works library spacing correction */
#works-library.managed-works {
  padding-top: clamp(44px, 5vh, 68px) !important;
}
#works-library .works-library-heading {
  margin-bottom: clamp(22px, 3vh, 34px) !important;
}
#works-library [data-managed-works],
#works-library .managed-works-grid {
  margin-top: 0 !important;
}


/* v55 requested refinements */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1390px, calc(100vw - 52px)) !important;
  max-width: 100% !important;
}
.works-home > .home-work-card-main .home-work-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: clamp(540px, 50vw, 700px) !important;
  min-height: 540px !important;
  aspect-ratio: 16 / 10.6 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(540px, 50vw, 700px) !important;
  min-height: 540px !important;
}
#works-library.managed-works {
  padding-top: clamp(28px, 3.5vh, 50px) !important;
}
#works-library .works-library-heading {
  margin-bottom: clamp(14px, 2vh, 24px) !important;
}
#works-library [data-managed-works],
#works-library .managed-works-grid {
  margin-top: 0 !important;
}
.subpage-return-wrap {
  background: inherit !important;
  border-top: 0 !important;
  margin-top: -1px !important;
}
body:has(#learning-path) .subpage-return-wrap,
body:has(#works-library) .subpage-return-wrap {
  background: #f9f5ea !important;
}
body:has(.city-os-page) .subpage-return-wrap,
body:has(#quancheng-case) .subpage-return-wrap,
body:has(#city-method-map) .subpage-return-wrap {
  background: #100c08 !important;
}
.sequence .cooperation-grid .cooperation-enter > span,
.sequence .cooperation-grid .cooperation-enter .cta-arrow,
.sequence .cooperation-grid .cooperation-enter [aria-hidden="true"],
.cooperation-enter > span,
.cooperation-enter .cta-arrow,
.cooperation-enter [aria-hidden="true"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* v56 requested proportion refinements */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1440px, calc(100vw - 48px)) !important;
  max-width: 100% !important;
}
.works-home > .home-work-card-main .home-work-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: clamp(570px, 52vw, 740px) !important;
  min-height: 570px !important;
  aspect-ratio: 16 / 10.8 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(570px, 52vw, 740px) !important;
  min-height: 570px !important;
}
#works-library.managed-works {
  padding-top: clamp(16px, 2.2vh, 32px) !important;
}
#works-library .works-library-heading {
  margin-bottom: clamp(8px, 1.4vh, 18px) !important;
}
body:has(#learning-path) .subpage-return-wrap,
body:has(#works-library) .subpage-return-wrap {
  background: #f9f5ea !important;
}
body:has(.city-os-page) .subpage-return-wrap,
body:has(#quancheng-case) .subpage-return-wrap,
body:has(#city-method-map) .subpage-return-wrap,
body:has(#city-extra-cases) .subpage-return-wrap {
  background: #100c08 !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* Keep the return band attached to the section above instead of a fixed color. */
.subpage-return-wrap {
  background: var(--subpage-return-bg, inherit) !important;
}
/* v57 targeted fixes: taller feature media, closer libraries, stable return bands */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1480px, calc(100vw - 44px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.works-home > .home-work-card-main .home-work-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: clamp(645px, 54vw, 815px) !important;
  min-height: 645px !important;
  aspect-ratio: 16 / 10.85 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, .62fr) !important;
  align-items: stretch !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(645px, 54vw, 815px) !important;
  min-height: 645px !important;
  justify-content: flex-end !important;
  padding-bottom: clamp(26px, 3vw, 42px) !important;
}
#works-library.managed-works {
  padding-top: clamp(10px, 1.6vh, 24px) !important;
}
#works-library .works-library-heading {
  margin-bottom: clamp(4px, 1vh, 12px) !important;
}
#works-library [data-managed-works],
#works-library .managed-works-grid {
  margin-top: 0 !important;
}
body:has(#learning-path) .subpage-return-wrap,
body:has(#works-library) .subpage-return-wrap,
body:has(.visual-works-page) .subpage-return-wrap {
  background: #f9f5ea !important;
}
body:has(.city-os-page) .subpage-return-wrap,
body:has(#quancheng-case) .subpage-return-wrap,
body:has(#city-method-map) .subpage-return-wrap,
body:has(#city-extra-cases) .subpage-return-wrap {
  background: #100c08 !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main { grid-template-columns: 1fr !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* v57b requested visual works/application sizing and library lift */
.works-showcase-shell,
#ai-apps .ai-app-showcase-shell {
  width: min(1550px, calc(100vw - 32px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.works-home > .home-work-card-main .home-work-visual,
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual {
  height: clamp(720px, 58vw, 900px) !important;
  min-height: 720px !important;
  aspect-ratio: 16 / 10.95 !important;
}
#ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
  height: clamp(720px, 58vw, 900px) !important;
  min-height: 720px !important;
}
#works-library.managed-works {
  padding-top: 0 !important;
  margin-top: -8px !important;
}
#works-library .works-library-heading {
  margin-bottom: clamp(0px, .8vh, 8px) !important;
}
#works-library [data-managed-works],
#works-library .managed-works-grid {
  margin-top: 0 !important;
}
@media (max-width: 1080px) {
  .works-showcase-shell,
  #ai-apps .ai-app-showcase-shell { width: 100% !important; }
  .works-home > .home-work-card-main .home-work-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-visual,
  #ai-apps .ai-app-showcase-shell .ai-app-home > .ai-app-card-main .ai-app-copy {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}
