/* WEB-COMPLETE-01: keep the inherited decorative edge inside the viewport. */
html body.optical-site main#main .approved-home #mission p.origin-mission::before {
 right:0!important;
}

/* WEB-PUBLISH-01: color only. Existing homepage geometry, border width,
   radius, shadow, typography and motion rules are deliberately preserved. */
@media screen and (forced-colors:none) {
 body.optical-site main #ah-suggested-correction {
  --surface-refine-base:var(--surface-refine-green);
  --surface-refine-accent:var(--surface-refine-green-accent);
  --surface-refine-edge:linear-gradient(125deg,#fff,var(--surface-refine-green-accent) 26%,#70b8a080 56%,var(--surface-refine-green-accent) 88%,#fff);
  background:linear-gradient(140deg,color-mix(in srgb,var(--surface-refine-base) var(--surface-refine-reflection-base,82%),#fff),var(--surface-refine-base) 32%,var(--surface-refine-base) 68%,color-mix(in srgb,var(--surface-refine-base) 91%,var(--surface-refine-accent))) padding-box,var(--surface-refine-edge) border-box!important;
 }
 /* Existing violet note material and existing badge geometry. */
 body.optical-site main .web-publish-coming-soon {
  background:#8b78ee0c;border-color:#a38cff;color:var(--opt-ink);
 }
}

/* WEB-PUBLISH-01A: match .ah-wrap on the heading alone. The statement's
   existing 8% gutters leave 84% content width; .ah-wrap uses 90% / 1180px.
   Other statement content and every vertical spacing value stay untouched. */
body.optical-site .approved-home .ah-statement #ah-statement-title {
 width:min(1180px,calc(100% / .84 * .9));
 margin-inline:calc((100% - min(1180px,calc(100% / .84 * .9)))/2)!important;
}
@media screen and (max-width:640px) {
 /* Existing mobile statement gutters are 7%; .ah-wrap uses safe 20px sides. */
 body.optical-site .approved-home .ah-statement #ah-statement-title {
  width:calc(100% / .86 - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right)));
  margin-inline:calc((100% - (100% / .86 - max(20px,env(safe-area-inset-left)) - max(20px,env(safe-area-inset-right))))/2)!important;
 }
}

/* WEB-PUBLISH-01 successor: shared intrinsic tracks align the changed offer
   content without fixed content heights or new spacing values. Glass materials,
   border/radius/shadow and the homepage rule above remain unchanged. */
/* WEB-PUBLISH-01A continuation: the two pricing offer sections use their
   existing .acp-wrap edges; retain all vertical spacing and reading widths. */
body.optical-site main#main .acp-pricing-page > .acp-hero {
 max-width:none;padding-inline:0;
}
body.optical-site main#main .acp-pricing-page > #pricing-access {
 padding-inline:0;
}
/* WEB-PUBLISH-01B: owner-approved existing theme ink, including emphasis. */
body.optical-site main#main .acp-pricing-page > .acp-hero h1,
body.optical-site main#main .acp-pricing-page > .acp-hero h1 em {
 background:none!important;
 color:var(--acp-ink)!important;
 -webkit-text-fill-color:var(--acp-ink)!important;
}
body.optical-site main#main .acp-page .acp-pricing {
 column-gap:var(--v5-card-gap);row-gap:0;align-items:stretch;
}
body.optical-site main#main .acp-page .acp-pricing .acp-plan {
 display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;
 padding:var(--v5-card-pad);margin-bottom:var(--v5-card-gap);min-width:0;
}
body.optical-site main#main .acp-page .web-publish-availability {align-self:start;}
body.optical-site[data-appearance] main#main .acp-page .web-publish-coming-soon {
 white-space:nowrap;background:linear-gradient(#8b78ee0c,#8b78ee0c),var(--surface-refine-neutral);border-color:#a38cff;color:var(--opt-ink);
}
body.optical-site main#main .acp-page .acp-price>span {
 color:var(--opt-ink)!important;-webkit-text-fill-color:currentColor!important;
}
body.optical-site main#main :is(.offer-action,.matrix-action) {white-space:nowrap;}
body.optical-site main#main #comparison-matrix .matrix-footer-price {
 white-space:normal;overflow-wrap:normal;word-break:normal;
}
body.optical-site main#main #comparison-matrix tfoot td {vertical-align:bottom;}
@media(min-width:769px) {
 body.optical-site main#main #comparison-matrix .matrix-desktop .matrix-footer-price {
  font-size:var(--text-sm);line-height:var(--body-leading,1.6);letter-spacing:normal;
 }
}
@media(max-width:768px) {
 body.optical-site main#main .acp-page .acp-pricing,
 body.optical-site main#main #plans .plans-grid {grid-template-columns:minmax(0,1fr)!important;}
}
/* Keep the inherited review-status material and geometry; use the existing
   light-theme reading ink where its small amber text fell below AA. */
@media screen and (max-width:767px) and (forced-colors:none) {
 body.optical-site[data-appearance="light"] main#main .approved-home #ah-suggested-correction > summary > .ah-badge {
  color:var(--opt-ink)!important;
 }
}
