/* Scoped owner-approved UI/UX corrections; preserve existing page design. */
.apci-preview .service-card .number svg{width:28px;height:28px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#8051b2}
html[data-theme=dark] .apci-preview .service-card .number svg{color:#bd91f2}
.apci-preview .apc-enquiry .source-note{font-size:14px;line-height:1.6;color:#675b71}
html[data-theme=dark] .apci-preview .apc-enquiry.form-panel{background:#2b2236;color:#f8f3ff;border-color:#584168}
html[data-theme=dark] .apci-preview .apc-enquiry .source-note{color:#d7c7e3}
.apci-preview .footer-nav a,.apc-footer-link{min-height:44px;display:inline-flex;align-items:center}
.apci-preview .footer-socials a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.apc-menu-dialog-close{position:absolute;z-index:2;top:16px;right:max(18px,calc((100vw - 1460px)/2));width:48px;height:48px;min-width:48px;padding:0;background:#673c98;color:#fff!important}
.apc-menu-dialog-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.apc-menu-dialog-close:focus-visible{outline:3px solid #f3ccff;outline-offset:4px}
.apc-menu-open .apc-shell{visibility:hidden}
.apci-preview .apc-review,.apci-preview .apc-enquiry input,.apci-preview .apc-enquiry select,.apci-preview .apc-enquiry legend{scroll-margin-top:100px}
#apc-vibe-portfolio #apcSearchInput:focus-visible,#apc-vibe-portfolio select:focus-visible{outline:3px solid #8051b2!important;outline-offset:-3px!important}
.apci-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.apc-menu-dialog-close{top:10px;right:10px;width:44px;height:44px;min-width:44px}.apci-preview h1:lang(zh-Hant){text-wrap:balance}.apci-preview .cta .button{flex-shrink:0;white-space:nowrap}}
@media(max-width:640px){.apci-enquiry-page .apc-whatsapp{display:none!important}}
/* Local review: readable secondary copy on existing dark cards. */
html[data-theme=dark] .service-card p,html[data-theme=dark] .step p:not(.n),html[data-theme=dark] .project-card .role{color:#d5c7e0}
html:not([data-theme=dark]) .step .n{color:#765397}
html:not([data-theme=dark]) .filter-note{color:#695875}
html:not([data-theme=dark]) .apc-service-detail .credit{color:#695875}

/* Content shapes only: keep control outlines, separators and focus indicators. */
.apci-preview :is(.lavender,.filter-box,.empty,.email-draft,.review-card,
  .apc-service-grid a,.apc-tailored-grid article,.apc-mockup-grid figure,.apc-tools-grid a,
  .pf-discovery,.pf-card,.pf-empty,.pf-art-link,.pf-features article,
  .mt-tool-card,.mt-workbench .control-card,.mt-workbench .result,.mt-workbench .how-grid article) {
  border: 0 !important;
}

/* The generic CTA retains a pale lavender surface in dark mode. */
html[data-theme="dark"] body:not(.apc-service-detail):not(.apc-about-detail) .cta h2{color:#21132f!important}
