/* Preview-only corporate page rhythm. Copy, headings and link destinations stay intact. */
body.ms-consistency-preview:not([data-page="index.html"]) {
 --ms-type-title:clamp(36px,3.4vw,46px);
 --ms-type-section:32px;
 --ms-type-card:24px;
 --ms-type-task:18px;
 --ms-type-lead:20px;
 --ms-type-body:18px;
 --ms-type-note:14px;
 --ms-type-control:16px;
 font-family:var(--sans);color:var(--ink);background:var(--paper);
}
body.ms-consistency-preview:not([data-page="index.html"]) #main {
 font-family:var(--sans);color:var(--ink);background:var(--paper);
}
body.ms-consistency-preview:not([data-page="index.html"]) #main:is(.detail-main,.ms-content-main) {
 padding:calc(var(--ms-site-chrome-height,80px) + var(--ms-admin-offset,0px) + var(--ms-preview-page-top-gap,68px)) 0 96px;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main>.wrap {
 width:86%;max-width:1440px;margin-inline:auto;min-width:0;
}
/* Forms keep one calm reading column rather than an unused wide right column. */
body.ms-consistency-preview:not([data-page="index.html"]) #main.consult-main>.wrap,
body.ms-consistency-preview[data-publish-path="/contact/"] #main>.wrap {
 max-width:820px;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main.consult-main .form-shell {
 max-width:none;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .breadcrumbs {
 display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 32px;
 font-family:var(--sans);font-size:var(--ms-type-note);line-height:1.8;letter-spacing:0;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-head {
 max-width:960px;padding:0 0 56px;
}
/* These named roles override old inline presentation without rewriting content. */
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-head>h1,.ms-content-title,.svc-hero__title,.custom-hero__title) {
 max-width:24em;font-family:var(--sans)!important;font-size:var(--ms-type-title)!important;
 font-weight:600;line-height:1.6!important;letter-spacing:-.015em;text-wrap:pretty;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.ms-brand-phrase,.ms-brand-unit,.ms-copy-unit) {white-space:nowrap}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-brand-phrase {display:inline-block}
@media(max-width:760px){
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-brand-phrase {display:inline;white-space:normal}
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-content-title {margin:0 0 48px}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-summary,.ms-page-lead,.svc-hero__lead,.custom-hero__lead) {
 max-width:46em;font-family:var(--sans)!important;font-size:var(--ms-type-lead)!important;
 line-height:1.9!important;letter-spacing:.01em;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-summary {margin-top:24px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-lead {margin:0 0 40px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content {
 width:100%;max-width:880px;min-width:0;margin-inline:0;
 font-family:var(--sans);font-size:var(--ms-type-body);line-height:2;letter-spacing:.01em;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content:has(:is(.ms-page-grid,.ms-page-gallery,.ms-page-profile,.svc-hero,.custom-hero,.ms-b2b-content)) {max-width:1120px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content p {
 max-width:880px;line-height:2;letter-spacing:.01em;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-list p,.price-description,.form-response,.detail-expertise,.form-owner,.case-facts dd) {
 font-family:var(--sans);font-size:var(--ms-type-body);line-height:2;letter-spacing:.01em;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content :is(h2,h3,h4,h5,h6) {
 font-family:var(--sans)!important;font-weight:600;letter-spacing:0;line-height:1.65;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-section>h2,.ms-page-content h2,.ms-profile-copy>h2) {
 font-family:var(--sans)!important;font-size:var(--ms-type-section)!important;line-height:1.6!important;
 font-weight:600;letter-spacing:0;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content h2 {margin:64px 0 24px}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-list h3,.ms-page-content h3,.scope-heading h3) {
 font-family:var(--sans)!important;font-size:var(--ms-type-card)!important;
 font-weight:600;line-height:1.65!important;letter-spacing:0;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content h3 {margin:40px 0 20px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content :is(h4,h5,h6) {
 font-size:var(--ms-type-task);margin:32px 0 16px;line-height:1.75;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-card :is(h2,h3) {
 margin:0 0 20px;font-size:var(--ms-type-card)!important;line-height:1.65!important;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .task-card h3 {
 margin:0;font-size:var(--ms-type-task)!important;line-height:1.75!important;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-profile-copy>h2:first-child {margin-top:0}
body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section {
 display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;
 align-items:start;padding:48px 0;border-top:1px solid var(--line);
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section>h2 {margin:0;max-width:12em}
body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section>:not(h2) {min-width:0;max-width:880px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-section {margin:64px 0;padding:0}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-section>:first-child {margin-top:0}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.svc-section,.custom-section) {padding:48px 0}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.ms-page-grid,.ms-page-gallery) {gap:32px;margin:32px 0 48px}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-profile {gap:40px}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.detail-note,.report-hint,.report-book-page figcaption,.report-slide figcaption,.product-note,.case-dialog-client,.case-dialog-copy cite,.consult-credential,.form-small,.required,.optional,.price-tax-note,.ms-news-meta,.ms-page-content figcaption,.wp-element-caption) {
 font-family:var(--sans);font-size:var(--ms-type-note);line-height:1.9;letter-spacing:0;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content :is(p[style*="font-size:13px"],p[style*="font-size: 13px"]) {
 font-size:var(--ms-type-note)!important;line-height:1.9;color:var(--muted)!important;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.text-link,.quiet-link,.product-link,.case-teaser-more,.ms-page-links a,.ms-news-back) {
 font-family:var(--sans);font-size:var(--ms-type-control);line-height:1.8;
}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.price-lines>div,.price-lines dt) {font-size:var(--ms-type-body);line-height:1.9}
body.ms-consistency-preview:not([data-page="index.html"]) #main .price-details .price-amount {font-size:var(--ms-type-card);line-height:1.5;font-weight:600}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-news-list-title {font-size:var(--ms-type-body);line-height:1.9}
body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.ms-page-table,.wp-block-table) {max-width:100%;min-width:0;overflow-x:auto}
body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content table {font-size:var(--ms-type-control);line-height:1.9}
body.ms-consistency-preview:not([data-page="index.html"]) #main .wpcf7 :is(label,legend,input:not([type="checkbox"]):not([type="radio"]),select,textarea,button) {
 font-family:var(--sans);font-size:var(--ms-type-control);line-height:1.8;
}
@media(max-width:1100px){
 body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section {grid-template-columns:190px minmax(0,1fr);gap:32px}
}
@media(max-width:760px){
 body.ms-consistency-preview:not([data-page="index.html"]) {
  --ms-type-title:28px;--ms-type-section:24px;--ms-type-card:21px;
  --ms-type-task:16px;--ms-type-lead:18px;--ms-type-body:16px;
 }
 body.ms-consistency-preview:not([data-page="index.html"]) #main:is(.detail-main,.ms-content-main) {
  padding-top:calc(var(--ms-site-chrome-height,68px) + var(--ms-admin-offset,0px) + var(--ms-preview-page-top-gap,46px));padding-bottom:64px;
 }
 body.ms-consistency-preview:not([data-page="index.html"]) #main>.wrap {width:86%}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .breadcrumbs {margin-bottom:24px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-head {padding-bottom:36px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-content-title {margin-bottom:32px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-summary {margin-top:20px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-lead {margin-bottom:32px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section {grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .detail-section>h2 {max-width:none}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content h2 {margin-top:44px;margin-bottom:20px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content h3 {margin-top:32px;margin-bottom:16px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-card :is(h2,h3) {margin-top:0;margin-bottom:16px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-section {margin:44px 0}
 body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.svc-section,.custom-section) {padding:32px 0}
 body.ms-consistency-preview:not([data-page="index.html"]) #main :is(.ms-page-grid,.ms-page-gallery) {gap:28px;margin:28px 0 36px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-profile {gap:28px}
 body.ms-consistency-preview:not([data-page="index.html"]) #main .ms-page-content table {font-size:var(--ms-type-control)}
}
