/* R29 — final micro-polish: readable utility copy without flattening decorative hierarchy. */
@media (max-width:640px){
  /* Shared footer: readable navigation and legal chrome. Brand micro-label stays decorative. */
  .ac29-r18-footer__nav a,
  .ac29-r18-footer__social a,
  .ac29-r18-footer__bottom p,
  .ac29-r18-footer__bottom a{font-size:12px!important;line-height:1.5!important}

  /* Editorial breadcrumbs / section labels. */
  .ac49-breadcrumb a,.ac49-breadcrumb span,
  .ac26-eyebrow{font-size:12px!important;line-height:1.35!important}

  /* Homepage and service-route descriptions are content, not ornament. */
  .ac26-situation>span:last-child,
  .ac29-local-trust span,
  .ac29-enforcement-trust span{font-size:12px!important;line-height:1.45!important}

  /* P3/P4 decision labels. */
  .p4-fact-card>span,.p4-mini-process article>span,
  .p3-route article>span,.p3-decision-card>span{font-size:12px!important;line-height:1.35!important}

  /* Public instruments: explanatory copy gets a readable floor; ordinal labels remain subordinate. */
  .instrument-v1-journey__step p{font-size:12px!important;line-height:1.5!important}
  .instrument-v1-journey__step small,
  .tool-standard-strip__item small,
  .tool-standard-strip__intro small{font-size:10.5px!important;line-height:1.35!important}
  .acx-system-strip strong,.acx-system-strip span:not(.acx-strip-glyph){font-size:10.5px!important;line-height:1.45!important}

  /* Long-form diagrams: remove 7–9 px readable text while retaining compact infographic hierarchy. */
  .ac55-site-sheet em,
  .ac56-contract-sheet em,
  .ac57-blueprint em,
  .ac58-ledger em,
  .ac59-notice-sheet em,
  .ac59-proof span,
  .ac60-evidence span,
  .ac60-received-sheet span,
  .ac61-register-sheet span,
  .ac61-change-map span,
  .ac63-exceptions span,
  .ac66-fees small,
  .ac66-process span,
  .ac69-case-sheet li{font-size:9.5px!important;line-height:1.35!important}

  .ac54-process span,
  .ac56-unusual span,
  .ac57-risk-grid span,
  .ac60-response span,
  .ac60-claim span,
  .ac61-flow span,
  .ac61-complex span,
  .ac68-court-route span,
  .ac69-doc-route span,
  .ac69-mandate span,
  .ac69-five strong{font-size:10.5px!important;line-height:1.4!important}

  .ac56-money-route span,
  .ac56-term-line span,
  .ac57-money span,
  .ac57-change span,
  .ac57-exit-line span,
  .ac58-moneyline span,
  .ac52-spouse-matrix span,
  .ac53-calendar span{font-size:11px!important;line-height:1.4!important}

  .ac68-decision-anatomy p{font-size:12px!important;line-height:1.5!important}
}

/* R29 specificity closure: legacy W137 rules use !important with body-scoped selectors. */
@media (max-width:640px){
  body.ac42-canonical-shell .ac29-r18-footer .ac29-r18-footer__nav a,
  body.ac42-canonical-shell .ac29-r18-footer .ac29-r18-footer__social a,
  body.ac42-canonical-shell .ac29-r18-footer .ac29-r18-footer__bottom p,
  body.ac42-canonical-shell .ac29-r18-footer .ac29-r18-footer__bottom a{
    font-size:12px!important;line-height:1.5!important
  }
  body.ac42-canonical-shell.instrument-v1 .instrument-v1-journey__step p{
    font-size:12px!important;line-height:1.5!important
  }
  body.ac29-r14.home-page .ac26-situation span,
  body.ac29-r14.ac29-longform-enforcement main>.ac26-section--tight .ac26-situation span{
    font-size:12px!important;line-height:1.45!important
  }
  body.ac42-canonical-shell .ac29-local-trust span,
  body.ac42-canonical-shell .ac29-enforcement-trust span{
    font-size:12px!important;line-height:1.45!important
  }
  body.ac42-canonical-shell.acx-product-page .acx-system-strip strong,
  body.ac42-canonical-shell.acx-product-page .acx-system-strip span:not(.acx-strip-glyph){
    font-size:10.5px!important;line-height:1.45!important
  }
  body.ac26-page.article-page .ac60-response span,
  body.ac26-page.article-page .ac60-claim span{
    font-size:10.5px!important;line-height:1.4!important
  }
}
@media (max-width:640px){
  body.ac29-r14.home-page .ac-growth-primary .ac26-situation>span:last-child,
  body.ac29-r14.home-page .ac-growth-secondary .ac26-situation>span:last-child{
    font-size:12px!important;line-height:1.45!important
  }
  body.ac42-canonical-shell.ac29-r14.local-page .ac29-local-trust span,
  body.ac42-canonical-shell.ac29-r14.ac29-longform-enforcement .ac29-enforcement-trust span{
    font-size:12px!important;line-height:1.45!important
  }
}


/* R39 — AC26 structural recovery after W137 CSS consolidation.
   Scope is deliberately limited to commercial pages using the AC26 editorial system.
   Restores layout primitives that were dropped from multiple consolidated page bundles.
   Special publication/tool/local/home surfaces are outside this patch. */
body.ac26-page.commercial-page .ac26-container{
  width:min(calc(100% - 64px),var(--ac26-max,1440px));
  margin-inline:auto;
}
body.ac26-page.commercial-page .ac26-section{
  padding:82px 0;
  border-top:1px solid var(--ac26-line,rgba(103,94,86,.20));
}
body.ac26-page.commercial-page .ac26-section--tight{padding:64px 0}
body.ac26-page.commercial-page .ac26-section--stone{
  background:linear-gradient(180deg,rgba(233,225,213,.72),rgba(247,243,235,.46));
}
body.ac26-page.commercial-page .ac26-eyebrow{
  font:600 12px/1.2 var(--ac26-sans,"Manrope",Arial,sans-serif);
  letter-spacing:.23em;
  text-transform:uppercase;
  color:#a27652;
  margin-bottom:20px;
}
body.ac26-page.commercial-page .ac26-display{
  font:500 clamp(54px,6.2vw,104px)/.92 var(--ac26-serif,"Newsreader",Georgia,serif);
  letter-spacing:-.045em;
  margin-bottom:28px;
  max-width:980px;
}
body.ac26-page.commercial-page .ac26-title{
  font:500 clamp(42px,4.2vw,74px)/1 var(--ac26-serif,"Newsreader",Georgia,serif);
  letter-spacing:-.035em;
  margin-bottom:24px;
}
body.ac26-page.commercial-page .ac26-lead{
  font:400 clamp(20px,1.55vw,27px)/1.5 var(--ac26-serif,"Newsreader",Georgia,serif);
  color:var(--ac26-ink-soft,#43535b);
  max-width:760px;
}
body.ac26-page.commercial-page .ac26-copy{
  font:400 17px/1.75 var(--ac26-sans,"Manrope",Arial,sans-serif);
  color:var(--ac26-ink-soft,#43535b);
  max-width:760px;
}
body.ac26-page.commercial-page .ac26-copy p:last-child{margin-bottom:0}
body.ac26-page.commercial-page .ac26-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
body.ac26-page.commercial-page .ac26-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:16px;
  min-height:52px;padding:0 25px;border-radius:999px;text-decoration:none;
  font-weight:600;font-size:14px;border:1px solid transparent;
}
body.ac26-page.commercial-page .ac26-btn::after{content:"→";font-size:17px}
body.ac26-page.commercial-page .ac26-btn--dark{background:var(--ac26-ink,#10232d);color:#fff}
body.ac26-page.commercial-page .ac26-btn--line{border-color:rgba(16,35,45,.42);background:rgba(255,255,255,.35)}
body.ac26-page.commercial-page .ac26-btn--light{background:#fff;color:var(--ac26-ink,#10232d)}
body.ac26-page.commercial-page .ac26-text-link{
  display:inline-flex;align-items:center;gap:12px;text-decoration:none;
  border-bottom:1px solid rgba(16,35,45,.38);padding-bottom:5px;font-weight:600;
}
body.ac26-page.commercial-page .ac26-text-link::after{content:"→"}

/* Cluster headings: semantic two-column editorial header, never a full-width text spill. */
body.ac26-page.commercial-page .ac26-cluster__head{
  display:grid;
  grid-template-columns:minmax(280px,330px) minmax(0,1fr);
  gap:70px;
  align-items:start;
  margin-bottom:38px;
}
body.ac26-page.commercial-page .ac26-cluster__no{
  font:500 58px/1 var(--ac26-serif,"Newsreader",Georgia,serif);
  color:var(--ac26-champagne,#b79268);
}
body.ac26-page.commercial-page .ac26-cluster__head h2{
  font:500 48px/1.05 var(--ac26-serif,"Newsreader",Georgia,serif);
  margin:8px 0 0;
}
body.ac26-page.commercial-page .ac26-cluster__intro{
  font:400 20px/1.55 var(--ac26-serif,"Newsreader",Georgia,serif);
  color:var(--ac26-ink-soft,#43535b);
  max-width:700px;
}

/* Standard editorial route rows. */
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row{
  display:grid!important;
  grid-template-columns:70px minmax(0,1.15fr) minmax(0,1fr) 24px!important;
  gap:22px!important;
  align-items:center!important;
  min-height:0!important;
  padding:20px 0!important;
  border-top:1px solid var(--ac26-line,rgba(103,94,86,.20))!important;
  text-decoration:none!important;
  position:relative;
}
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row:last-child{
  border-bottom:1px solid var(--ac26-line,rgba(103,94,86,.20))!important;
}
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > .ac26-link-row__no{
  grid-column:1!important;
  font:500 26px/1 var(--ac26-serif,"Newsreader",Georgia,serif)!important;
  color:var(--ac26-champagne,#b79268)!important;
  display:block!important;
}
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > strong{
  grid-column:2!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  font:500 21px/1.25 var(--ac26-serif,"Newsreader",Georgia,serif)!important;
}
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > span:not(.ac26-link-row__no):not(.ac26-link-row__arrow){
  grid-column:3!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  font-size:13px!important;
  line-height:1.55!important;
  color:#58646a!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > .ac26-link-row__arrow{
  grid-column:4!important;
  position:static!important;
  display:block!important;
  justify-self:end!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1!important;
  color:var(--ac26-ink,#10232d)!important;
}

/* Supporting editorial structures used across the commercial family. */
body.ac26-page.commercial-page .ac26-situations{
  display:grid;grid-template-columns:repeat(6,1fr);
  border-top:1px solid var(--ac26-line,rgba(103,94,86,.20));
  border-bottom:1px solid var(--ac26-line,rgba(103,94,86,.20));
}
body.ac26-page.commercial-page .ac26-situation{
  padding:26px 22px;min-height:132px;
  border-right:1px solid var(--ac26-line,rgba(103,94,86,.20));text-decoration:none;
}
body.ac26-page.commercial-page .ac26-situation:last-child{border-right:0}
body.ac26-page.commercial-page .ac26-situation strong{display:block;font:500 18px/1.2 var(--ac26-serif,"Newsreader",Georgia,serif);margin-bottom:9px}
body.ac26-page.commercial-page .ac26-situation span{font-size:12px;line-height:1.5;color:#728086}
body.ac26-page.commercial-page .ac26-sequence{display:grid;grid-template-columns:250px 1fr;gap:58px;align-items:start}
body.ac26-page.commercial-page .ac26-sequence__items{display:grid;grid-template-columns:repeat(5,1fr)}
body.ac26-page.commercial-page .ac26-sequence__item{padding:8px 25px 18px;border-left:1px solid var(--ac26-line,rgba(103,94,86,.20))}
body.ac26-page.commercial-page .ac26-sequence__item b{display:block;font:500 32px/1 var(--ac26-serif,"Newsreader",Georgia,serif);color:var(--ac26-champagne,#b79268);margin-bottom:18px}
body.ac26-page.commercial-page .ac26-sequence__item strong{display:block;font:500 17px/1.3 var(--ac26-serif,"Newsreader",Georgia,serif);margin-bottom:8px}
body.ac26-page.commercial-page .ac26-sequence__item span{font-size:12px;line-height:1.55;color:#58646a}
body.ac26-page.commercial-page .ac26-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
body.ac26-page.commercial-page .ac26-feature-points{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:36px;border-top:1px solid var(--ac26-line,rgba(103,94,86,.20))}
body.ac26-page.commercial-page .ac26-feature-points>div{padding:25px 24px 8px;border-right:1px solid var(--ac26-line,rgba(103,94,86,.20))}
body.ac26-page.commercial-page .ac26-feature-points>div:last-child{border-right:0}
body.ac26-page.commercial-page .ac26-feature-points strong{display:block;font:500 20px/1.2 var(--ac26-serif,"Newsreader",Georgia,serif);margin-bottom:8px}
body.ac26-page.commercial-page .ac26-feature-points span{font-size:13px;line-height:1.55;color:#58646a}
body.ac26-page.commercial-page .ac26-cta-band{position:relative;overflow:hidden;padding:72px 0;background:var(--ac26-charcoal,#172126);color:#f8f3eb}
body.ac26-page.commercial-page .ac26-cta-band__grid{display:grid;grid-template-columns:1.2fr auto;gap:44px;align-items:center}
body.ac26-page.commercial-page .ac26-cta-band .ac26-eyebrow{color:#d1b18d}
body.ac26-page.commercial-page .ac26-cta-band .ac26-title{margin-bottom:10px;color:#f8f3eb}
body.ac26-page.commercial-page .ac26-cta-band p{color:#d1d5d4}

/* R39 semantic repair for the B2B hub. W137 used positional nth-of-type selectors;
   the page evolved and the third section was incorrectly forced into a four-column grid. */
body.business-counsel-page.ac26-page section[aria-labelledby="account-routes-title"] > .ac26-container{
  display:block!important;
  grid-template-columns:none!important;
}
body.business-counsel-page.ac26-page section[aria-labelledby="account-routes-title"]{
  background:linear-gradient(180deg,#eee4d8,#f7f1e9)!important;
}
body.business-counsel-page.ac26-page section[aria-labelledby="fit-title"]{
  background:linear-gradient(90deg,rgba(12,24,29,.92),rgba(12,24,29,.64)),url('/assets/editorial-office-2026.webp') center/cover no-repeat!important;
  color:#fff!important;
}
body.business-counsel-page.ac26-page section[aria-labelledby="fit-title"] .ac26-title,
body.business-counsel-page.ac26-page section[aria-labelledby="fit-title"] .ac26-copy{color:#fff!important}
body.business-counsel-page.ac26-page section[aria-labelledby="fit-title"] .ac26-eyebrow{color:#d2b38e!important}

@media(max-width:1100px){
  body.ac26-page.commercial-page .ac26-situations{grid-template-columns:repeat(3,1fr)}
  body.ac26-page.commercial-page .ac26-sequence{grid-template-columns:1fr}
  body.ac26-page.commercial-page .ac26-sequence__items{grid-template-columns:repeat(5,1fr)}
}
@media(max-width:900px){
  body.ac26-page.commercial-page .ac26-container{width:min(calc(100% - 40px),var(--ac26-max,1440px))}
  body.ac26-page.commercial-page .ac26-split{grid-template-columns:1fr}
  body.ac26-page.commercial-page .ac26-sequence__items{grid-template-columns:repeat(2,1fr)}
  body.ac26-page.commercial-page .ac26-sequence__item:last-child{grid-column:span 2}
  body.ac26-page.commercial-page .ac26-feature-points{grid-template-columns:1fr}
  body.ac26-page.commercial-page .ac26-feature-points>div{border-right:0;border-bottom:1px solid var(--ac26-line,rgba(103,94,86,.20))}
  body.ac26-page.commercial-page .ac26-cluster__head{grid-template-columns:1fr;gap:24px}
  body.ac26-page.commercial-page .ac26-cta-band__grid{grid-template-columns:1fr}
  body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row{
    grid-template-columns:34px minmax(0,1fr) 24px!important;
    column-gap:12px!important;row-gap:6px!important;align-items:start!important;padding:18px 0!important;
  }
  body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > .ac26-link-row__no{
    grid-column:1!important;grid-row:1 / span 2!important;font-size:18px!important;margin-top:2px!important;
  }
  body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > strong{
    grid-column:2!important;grid-row:1!important;font-size:18px!important;line-height:1.28!important;
  }
  body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > span:not(.ac26-link-row__no):not(.ac26-link-row__arrow){
    grid-column:2!important;grid-row:2!important;font-size:12.5px!important;line-height:1.5!important;
  }
  body.ac26-page.commercial-page section.ac26-section > .ac26-container > a.ac26-link-row > .ac26-link-row__arrow{
    grid-column:3!important;grid-row:1 / span 2!important;align-self:center!important;
  }
}
@media(max-width:640px){
  body.ac26-page.commercial-page .ac26-container{width:min(calc(100% - 28px),var(--ac26-max,1440px))}
  body.ac26-page.commercial-page .ac26-section{padding:70px 0}
  body.ac26-page.commercial-page .ac26-section--tight{padding:50px 0}
  body.ac26-page.commercial-page .ac26-display{font-size:clamp(48px,16vw,74px)}
  body.ac26-page.commercial-page .ac26-title{font-size:clamp(38px,12vw,56px)}
  body.ac26-page.commercial-page .ac26-situations{grid-template-columns:1fr 1fr}
  body.ac26-page.commercial-page .ac26-sequence__items{grid-template-columns:1fr}
  body.ac26-page.commercial-page .ac26-sequence__item,
  body.ac26-page.commercial-page .ac26-sequence__item:last-child{grid-column:auto}
}
