/**
 * Moshaverr 90.0 — stable public layout owner.
 * Loaded once, after route-specific bundles. Historical namespaces are disabled.
 */
:root {
  --msh90-shell: 1440px;
  --msh90-reading: 900px;
  --msh90-sidebar: 300px;
  --msh90-gutter: clamp(16px, 4vw, 48px);
  --msh90-gap: clamp(20px, 3vw, 40px);
  --msh90-navy: #071426;
  --msh90-navy-2: #0d213b;
  --msh90-gold: #d2aa27;
  --msh90-text: #101828;
  --msh90-muted: #667085;
  --msh90-soft: #f5f7fa;
  --msh90-line: rgba(7, 20, 38, .11);
  --msh90-card: #fff;
  --msh90-radius: 22px;
  --msh90-shadow: 0 16px 48px rgba(7, 20, 38, .08);
  --msh90-header: 88px;
}

html { width: 100%; max-width: 100%; overflow-x: hidden; }
body.msh-stability-90 {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  color: var(--msh90-text);
  background: #fff;
}
body.msh-stability-90 *,
body.msh-stability-90 *::before,
body.msh-stability-90 *::after { box-sizing: border-box; }
body.msh-stability-90 :where(img,picture,video,iframe,canvas,svg) { max-width: 100%; }
body.msh-stability-90 img,
body.msh-stability-90 img[loading="lazy"] {
  opacity: 1 !important;
  visibility: visible !important;
}
body.msh-stability-90 img { height: auto; }
body.msh-stability-90 :where(.theme-shell,.msh-shell,.site-header__inner,.site-topbar__inner,.site-footer__main,.site-footer__bottom) {
  width: min(calc(100% - (2 * var(--msh90-gutter))), var(--msh90-shell)) !important;
  max-width: var(--msh90-shell) !important;
  margin-inline: auto !important;
}
body.msh-stability-90 :where(.site-main,main,#main-content,.msh-shortcode-content,.msh-visual-builder-content,.msh-builder-page,.entry-content) {
  min-width: 0;
  max-width: 100%;
}
body.msh-stability-90 :where([hidden]) { display: none !important; }
body.msh-stability-90 :where(.msh-reveal,[data-reveal],.msh-animate) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
body.msh-stability-90 a, body.msh-stability-90 button { -webkit-tap-highlight-color: transparent; }
body.msh-stability-90 :focus-visible { outline: 3px solid color-mix(in srgb, var(--msh90-gold) 70%, #fff); outline-offset: 3px; }

/* Header */
body.msh-stability-90 .site-topbar { position: relative; z-index: 1002; }
body.msh-stability-90 .site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  min-height: var(--msh90-header);
  background: rgba(7, 20, 38, .985) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(7,20,38,.14);
}
body.msh-stability-90 .site-header__inner {
  min-height: var(--msh90-header) !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 2.5vw, 40px) !important;
  padding-block: 10px !important;
}
body.msh-stability-90 .site-brand { min-width: 0; }
body.msh-stability-90 .site-brand > a { display: inline-flex; align-items: center; max-width: 235px; }
body.msh-stability-90 .site-brand img { width: auto !important; max-height: 62px !important; object-fit: contain; }
body.msh-stability-90 .site-brand__asset { gap: 12px; }
body.msh-stability-90 .site-brand__mark { width: 58px !important; height: 58px !important; flex: 0 0 58px; }
body.msh-stability-90 .site-navigation {
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(14px, 2vw, 30px) !important;
}
body.msh-stability-90 .site-navigation__menu { min-width: 0; }
body.msh-stability-90 .msh-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(10px, 1.35vw, 22px) !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.msh-stability-90 .msh-menu > li { min-width: 0; }
body.msh-stability-90 .msh-menu > li > a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding-inline: 3px !important;
  color: #fff;
  font-size: clamp(12px, .88vw, 15px) !important;
  white-space: nowrap;
}
body.msh-stability-90 .site-navigation__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: max-content;
}
body.msh-stability-90 .header-health-link { display: none !important; }
body.msh-stability-90 .header-tools {
  min-height: 48px;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 3px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.035) !important;
}
body.msh-stability-90 .header-tool {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border-radius: 11px !important;
}
body.msh-stability-90 .header-tool span { display: none !important; }
body.msh-stability-90 .header-tool svg { width: 20px !important; height: 20px !important; }
body.msh-stability-90 .header-cta {
  min-width: 128px !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  border-radius: 15px !important;
  white-space: nowrap;
}
body.msh-stability-90 .menu-toggle { display: none !important; }

/* Archive / blog */
body.msh-stability-90 .article-archive-hero {
  min-height: auto !important;
  padding-block: clamp(52px, 6vw, 88px) clamp(34px, 5vw, 64px) !important;
}
body.msh-stability-90 .article-archive-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
  align-items: center !important;
  gap: clamp(34px, 6vw, 90px) !important;
}
body.msh-stability-90 .article-archive-hero h1 {
  max-width: 800px;
  margin-block: 8px 16px;
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.3 !important;
}
body.msh-stability-90 .article-archive-search {
  width: 100%;
  max-width: 390px;
  justify-self: end;
  padding: 18px !important;
  border-radius: 20px !important;
}
body.msh-stability-90 .article-archive-search > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
}
body.msh-stability-90 .article-category-strip { display: flex; flex-wrap: wrap; gap: 8px; }
body.msh-stability-90 .article-news-section { padding-block: clamp(44px, 6vw, 84px) !important; }
body.msh-stability-90 .article-news-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important;
  align-items: start !important;
  gap: clamp(20px, 3vw, 34px) !important;
}
body.msh-stability-90 .article-news-main { min-width: 0; }
body.msh-stability-90 .article-news-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(16px, 2vw, 24px) !important;
}
body.msh-stability-90 .article-news-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--msh90-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: var(--msh90-shadow) !important;
}
body.msh-stability-90 .article-news-card > a { display: flex !important; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
body.msh-stability-90 .article-news-card :where(figure,.article-news-card__media) {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #e5e9ef !important;
}
body.msh-stability-90 .article-news-card :where(figure,.article-news-card__media) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}
body.msh-stability-90 .article-news-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(18px, 2.3vw, 26px) !important; }
body.msh-stability-90 .article-news-card h2 { margin-block: 12px; font-size: clamp(20px, 2vw, 29px) !important; line-height: 1.55; }
body.msh-stability-90 .article-news-card p { flex: 1; }
body.msh-stability-90 .article-trending {
  position: sticky;
  top: calc(var(--msh90-header) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--msh90-header) - 48px);
  overflow: auto;
  border: 1px solid var(--msh90-line) !important;
  border-radius: 22px !important;
  background: #fff;
  box-shadow: var(--msh90-shadow) !important;
}

/* Article */
body.msh-stability-90.msh-route-article .article-hero {
  min-height: clamp(400px, 54vh, 600px) !important;
  padding-block: clamp(105px, 11vw, 150px) clamp(44px, 6vw, 76px) !important;
}
body.msh-stability-90.msh-route-article .article-hero__grid {
  width: min(calc(100% - (2 * var(--msh90-gutter))), var(--msh90-shell)) !important;
  max-width: var(--msh90-shell) !important;
  margin-inline: auto !important;
}
body.msh-stability-90.msh-route-article .article-hero h1 {
  max-width: 1080px !important;
  font-size: clamp(36px, 5vw, 66px) !important;
  line-height: 1.35 !important;
}
body.msh-stability-90 .article-cover { overflow: hidden; border-radius: 24px; }
body.msh-stability-90 .article-cover img { display: block; width: 100%; max-height: 680px; object-fit: cover; }
body.msh-stability-90 .article-layout,
body.msh-stability-90 .service-content.article-layout,
body.msh-stability-90 .standard-page-layout {
  width: min(calc(100% - (2 * var(--msh90-gutter))), var(--msh90-shell)) !important;
  max-width: var(--msh90-shell) !important;
  margin: clamp(28px, 5vw, 64px) auto clamp(54px, 7vw, 100px) !important;
  display: grid !important;
  direction: ltr;
  grid-template-columns: minmax(250px, var(--msh90-sidebar)) minmax(0, 1fr) !important;
  grid-template-areas: "sidebar main";
  align-items: start !important;
  gap: var(--msh90-gap) !important;
}
body.msh-stability-90 .article-layout > *,
body.msh-stability-90 .standard-page-layout > * { direction: rtl; min-width: 0; }
body.msh-stability-90 .article-sidebar,
body.msh-stability-90 .article-layout > .msh-article-toc { grid-area: sidebar; width: 100%; min-width: 0; align-self: start; }
body.msh-stability-90 .article-main { grid-area: main; width: 100% !important; max-width: none !important; min-width: 0 !important; }
body.msh-stability-90 .article-single .article-main,
body.msh-stability-90 .service-single .article-main,
body.msh-stability-90 .standard-page .article-main {
  padding: clamp(22px, 3vw, 42px) !important;
  border: 1px solid var(--msh90-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--msh90-shadow);
}
body.msh-stability-90 .article-layout--no-sidebar { display: block !important; }
body.msh-stability-90 .article-layout--no-sidebar .article-main { width: min(100%, 1060px) !important; margin-inline: auto !important; }
body.msh-stability-90 .article-content,
body.msh-stability-90 .service-content .article-main,
body.msh-stability-90 .standard-page .entry-content {
  width: 100% !important;
  max-width: var(--msh90-reading) !important;
  margin-inline: auto !important;
  font-size: clamp(16px, 1.08vw, 19px) !important;
  line-height: 2.05 !important;
  overflow-wrap: anywhere !important;
}
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) > * {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: none !important;
  zoom: 1 !important;
}
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) :where(img,picture,figure,video,iframe,table,pre) {
  max-width: 100% !important;
}
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) figure { margin: clamp(24px, 4vw, 42px) auto !important; }
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) img { display: block !important; height: auto !important; margin-inline: auto; border-radius: 18px; }
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
body.msh-stability-90 :where(.article-content,.service-content .article-main,.standard-page .entry-content) iframe { width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; }
body.msh-stability-90 :where(.msh-article-toc,.article-reader-card) { width: 100%; max-width: 100% !important; overflow-wrap: anywhere; }
body.msh-stability-90 :where(.msh-article-toc.is-sticky,.article-reader-card) { top: calc(var(--msh90-header) + 22px) !important; }

/* Services */
body.msh-stability-90.msh-route-service .entry-hero {
  min-height: clamp(410px, 60vh, 660px);
  padding-block: clamp(104px, 11vw, 150px) clamp(44px, 6vw, 72px) !important;
}
body.msh-stability-90.msh-route-service .entry-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr) !important;
  gap: clamp(28px, 5vw, 70px) !important;
  align-items: center !important;
}
body.msh-stability-90.msh-route-service .entry-hero__copy { min-width: 0; }
body.msh-stability-90.msh-route-service .entry-hero__visual {
  width: 100%; min-width: 0; aspect-ratio: 4 / 3 !important;
  overflow: hidden; border-radius: 26px !important; background: #dfe5eb;
}
body.msh-stability-90.msh-route-service .entry-hero__visual img { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.msh-stability-90 .msh-service-gallery {
  width: min(calc(100% - (2 * var(--msh90-gutter))), 1120px) !important;
  max-width: 1120px !important;
  margin: clamp(28px, 5vw, 60px) auto !important;
  opacity: 1 !important; visibility: visible !important; transform: none !important;
}
body.msh-stability-90 .msh-service-gallery__track {
  position: relative !important;
  width: 100%; min-height: 360px; aspect-ratio: 16 / 8.5 !important;
  overflow: hidden !important; border-radius: 26px !important; background: #dfe5eb !important;
}
body.msh-stability-90 .msh-service-gallery__track figure {
  position: absolute !important; inset: 0 !important; display: none; width: 100% !important; height: 100% !important; margin: 0 !important;
}
body.msh-stability-90 .msh-service-gallery:not(.is-ready) .msh-service-gallery__track figure:first-child,
body.msh-stability-90 .msh-service-gallery.is-ready .msh-service-gallery__track figure.is-active { display: block !important; }
body.msh-stability-90 .msh-service-gallery img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.msh-stability-90 :where(.theme-service-grid,.msh-related-services > div:last-child,.msh-builder-services-grid,.msh-feature-list) {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: clamp(14px, 2vw, 22px) !important;
}
body.msh-stability-90 :where(.theme-service-card,.msh-related-services article,.msh-builder-service-card,.msh-result-card) {
  min-width: 0; overflow: hidden; border: 1px solid var(--msh90-line) !important; border-radius: 22px !important; background: #fff; box-shadow: var(--msh90-shadow);
}
body.msh-stability-90 :where(.theme-service-card__image,.msh-runtime-card-media,.msh-builder-service-card__media,.msh-related-services figure,.msh-result-card__media) {
  display: block !important; width: 100% !important; min-height: 210px !important; aspect-ratio: 16 / 10 !important; overflow: hidden; background: #e4e8ed !important;
}
body.msh-stability-90 :where(.theme-service-card__image,.msh-runtime-card-media,.msh-builder-service-card__media,.msh-related-services figure,.msh-result-card__media) img {
  display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important;
}

/* Account / CRM */
body.msh-stability-90.msh-route-account .msh-account-hero .msh-shell {
  display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap; gap: 14px;
}
body.msh-stability-90.msh-route-account .msh-section--soft { padding-block: clamp(24px, 4vw, 52px) !important; }
body.msh-stability-90.msh-route-account .msh-section--soft > .msh-shell {
  width: min(calc(100% - (2 * var(--msh90-gutter))), 1520px) !important; max-width: 1520px !important;
}
body.msh-stability-90 .msh-account {
  width: 100% !important; max-width: none !important; min-width: 0 !important;
  display: grid !important; direction: rtl;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 28px) !important; align-items: start !important;
  overflow: visible !important; background: transparent !important; border: 0 !important;
}
body.msh-stability-90 .msh-account--single-view { grid-template-columns: minmax(0, 1fr) !important; }
body.msh-stability-90 .msh-account--compact-nav { grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) !important; }
body.msh-stability-90 .msh-account-nav {
  width: 100% !important; height: auto !important; min-height: 0 !important; max-height: calc(100vh - var(--msh90-header) - 34px);
  position: sticky !important; top: calc(var(--msh90-header) + 18px) !important; align-self: start !important;
  display: flex !important; flex-direction: column !important; gap: 6px !important; overflow: auto !important;
  padding: 10px !important; border: 1px solid var(--msh90-line) !important; border-radius: 22px !important; background: #fff !important; box-shadow: var(--msh90-shadow) !important;
}
body.msh-stability-90 .msh-account-nav button {
  width: 100% !important; min-height: 48px !important; display: flex !important; align-items: center !important; justify-content: flex-start !important;
  gap: 10px !important; padding: 10px 12px !important; border: 0 !important; border-radius: 13px !important;
  background: transparent !important; color: #344054 !important; text-align: right !important; white-space: nowrap;
}
body.msh-stability-90 .msh-account-nav button svg { width: 20px; height: 20px; flex: 0 0 20px; }
body.msh-stability-90 .msh-account-nav button.is-active { background: linear-gradient(135deg,#f7e8ae,#fff7dc) !important; color: #735500 !important; box-shadow: inset -3px 0 0 var(--msh90-gold) !important; }
body.msh-stability-90 .msh-account-main { width: 100% !important; min-width: 0 !important; max-width: none !important; }
body.msh-stability-90 .msh-account-panel { display: none !important; width: 100% !important; max-width: none !important; min-width: 0 !important; min-height: 0 !important; padding: clamp(20px, 3vw, 38px) !important; border-radius: 26px !important; }
body.msh-stability-90 .msh-account-panel.is-active { display: block !important; }
body.msh-stability-90 .msh-portal-heading { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 18px !important; text-align: right !important; }
body.msh-stability-90 .msh-portal-stats { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 14px !important; }
body.msh-stability-90 .msh-portal-stats > div { min-width: 0; min-height: 118px !important; display: grid !important; align-content: center !important; justify-items: start !important; padding: 18px !important; border-radius: 18px !important; }
body.msh-stability-90 .msh-portal-notification-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; }
body.msh-stability-90 .msh-portal-quick-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; }
body.msh-stability-90 .msh-portal-quick-grid > * { min-width: 0; min-height: 80px !important; }
body.msh-stability-90 :where(.msh-portal-table,.msh-asset-table,.msh-orders-table) { max-width: 100%; overflow-x: auto; }

/* Builder, old cached HTML and generic system pages */
body.msh-stability-90 :where(.msh-visual-builder-document,.msh-visual-builder-content,.msh-builder-page,.msh-v17-full-width-template,.msh-shortcode-page) {
  width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; transform: none !important; zoom: 1 !important;
}
body.msh-stability-90 :where(.msh-builder-section,.msh-section,.theme-section,.msh-system-body) { min-width: 0; }
body.msh-stability-90 .msh-system-body { padding-block: clamp(38px, 5vw, 76px); }
body.msh-stability-90 .msh-result-grid,
body.msh-stability-90 .msh-tax-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.3vw,28px); }
body.msh-stability-90 :where(input,select,textarea,button) { max-width: 100%; font: inherit; }
body.msh-stability-90 :where(.msh-field-grid,.msh-form-grid) { min-width: 0; }
body.msh-stability-90 [style*="min-width"] { max-width: 100%; }

@media (max-width: 1240px) {
  body.msh-stability-90 .site-header__inner { grid-template-columns: minmax(165px, 205px) minmax(0,1fr) !important; gap: 15px !important; }
  body.msh-stability-90 .msh-menu { gap: 10px !important; }
  body.msh-stability-90 .msh-menu > li > a { font-size: 12px !important; }
  body.msh-stability-90 .header-cta { min-width: 110px !important; padding-inline: 13px !important; }
  body.msh-stability-90 .article-layout,
  body.msh-stability-90 .service-content.article-layout,
  body.msh-stability-90 .standard-page-layout { grid-template-columns: minmax(225px,260px) minmax(0,1fr) !important; }
  body.msh-stability-90 .msh-portal-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 1024px) {
  :root { --msh90-header: 76px; }
  body.msh-stability-90 .site-topbar { display: none !important; }
  body.msh-stability-90 .site-header__inner { min-height: var(--msh90-header) !important; display: flex !important; justify-content: space-between !important; gap: 16px !important; }
  body.msh-stability-90 .site-brand img { max-height: 52px !important; }
  body.msh-stability-90 .menu-toggle { display: inline-flex !important; position: relative !important; z-index: 1402 !important; }
  body.msh-stability-90 .site-navigation {
    position: fixed !important; inset: 0 !important; z-index: 1400 !important; width: 100% !important; height: 100dvh !important;
    display: none !important; grid-template-columns: none !important; flex-direction: column !important; align-items: stretch !important;
    gap: 18px !important; padding: max(20px,env(safe-area-inset-top)) 18px max(24px,env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important; background: rgba(7,20,38,.995) !important;
  }
  body.msh-stability-90 .site-navigation.is-open,
  body.msh-stability-90 .site-navigation[aria-hidden="false"] { display: flex !important; }
  body.msh-stability-90 .site-navigation .mobile-menu-head { display: flex !important; }
  body.msh-stability-90 .site-navigation .msh-menu { display: grid !important; width: 100% !important; gap: 4px !important; }
  body.msh-stability-90 .site-navigation .msh-menu > li > a { width: 100%; min-height: 50px; font-size: 15px !important; }
  body.msh-stability-90 .site-navigation__actions { width: 100%; display: grid !important; grid-template-columns: 1fr !important; min-width: 0; }
  body.msh-stability-90 .site-navigation .header-tools { width: 100%; justify-content: center; }
  body.msh-stability-90 .site-navigation .header-cta { width: 100%; }
  body.msh-stability-90 .article-archive-hero__grid,
  body.msh-stability-90 .article-news-layout,
  body.msh-stability-90 .article-layout,
  body.msh-stability-90 .service-content.article-layout,
  body.msh-stability-90 .standard-page-layout,
  body.msh-stability-90.msh-route-service .entry-hero__grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    direction: rtl;
  }
  body.msh-stability-90 .article-archive-search { justify-self: start; max-width: 520px; }
  body.msh-stability-90 .article-main { grid-area: main; }
  body.msh-stability-90 .article-sidebar,
  body.msh-stability-90 .article-layout > .msh-article-toc { grid-area: sidebar; }
  body.msh-stability-90 .article-trending { position: static; max-height: none; }
  body.msh-stability-90 .msh-account {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
  body.msh-stability-90 .msh-account-nav,
  body.msh-stability-90 .msh-account-main { width: 100% !important; max-width: 100% !important; }
  body.msh-stability-90 .msh-account-nav {
    position: sticky !important; top: calc(var(--msh90-header) + 4px) !important; z-index: 40; max-height: none;
    display: flex !important; flex-direction: row !important; overflow-x: auto !important; overflow-y: hidden !important; border-radius: 16px !important; scrollbar-width: none;
  }
  body.msh-stability-90 .msh-account-nav::-webkit-scrollbar { display: none; }
  body.msh-stability-90 .msh-account-nav button { width: auto !important; min-width: max-content !important; }
  body.msh-stability-90 .msh-account-nav button.is-active { box-shadow: inset 0 -3px 0 var(--msh90-gold) !important; }
  body.msh-stability-90 :where(.theme-service-grid,.msh-related-services > div:last-child,.msh-builder-services-grid,.msh-feature-list,.msh-result-grid,.msh-tax-grid) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 767px) {
  :root { --msh90-gutter: 12px; --msh90-gap: 18px; --msh90-header: 72px; }
  body.msh-stability-90 .site-header__inner { min-height: var(--msh90-header) !important; padding-block: 6px !important; }
  body.msh-stability-90 .site-brand img { max-height: 48px !important; }
  body.msh-stability-90 .site-brand__mark { width: 46px !important; height: 46px !important; flex-basis: 46px; }
  body.msh-stability-90 .article-archive-hero { padding-block: 40px 30px !important; }
  body.msh-stability-90 .article-archive-hero h1 { font-size: clamp(34px,10.5vw,50px) !important; }
  body.msh-stability-90 .article-archive-search { max-width: none; }
  body.msh-stability-90 .article-archive-search > div { grid-template-columns: 1fr !important; }
  body.msh-stability-90 .article-news-grid,
  body.msh-stability-90 :where(.theme-service-grid,.msh-related-services > div:last-child,.msh-builder-services-grid,.msh-feature-list,.msh-result-grid,.msh-tax-grid),
  body.msh-stability-90 .msh-portal-stats,
  body.msh-stability-90 .msh-portal-notification-grid,
  body.msh-stability-90 .msh-portal-quick-grid { grid-template-columns: minmax(0,1fr) !important; }
  body.msh-stability-90.msh-route-article .article-hero,
  body.msh-stability-90.msh-route-service .entry-hero { min-height: auto !important; padding-block: 88px 40px !important; }
  body.msh-stability-90.msh-route-article .article-hero h1 { font-size: clamp(31px,9.5vw,46px) !important; }
  body.msh-stability-90 .article-layout,
  body.msh-stability-90 .service-content.article-layout,
  body.msh-stability-90 .standard-page-layout { width: calc(100% - 24px) !important; margin-top: 24px !important; margin-bottom: 54px !important; }
  body.msh-stability-90 .article-single .article-main,
  body.msh-stability-90 .service-single .article-main,
  body.msh-stability-90 .standard-page .article-main { padding: 17px !important; border-radius: 20px; }
  body.msh-stability-90 .article-content,
  body.msh-stability-90 .service-content .article-main,
  body.msh-stability-90 .standard-page .entry-content { font-size: 16px !important; line-height: 2 !important; }
  body.msh-stability-90 .msh-article-toc { position: static !important; }
  body.msh-stability-90 .msh-service-gallery { width: calc(100% - 24px) !important; }
  body.msh-stability-90 .msh-service-gallery__track { min-height: 230px; aspect-ratio: 4 / 3 !important; }
  body.msh-stability-90.msh-route-account .msh-account-hero .msh-shell { align-items: stretch !important; flex-direction: column !important; }
  body.msh-stability-90.msh-route-account .msh-section--soft > .msh-shell { width: calc(100% - 16px) !important; }
  body.msh-stability-90 .msh-account { gap: 12px !important; }
  body.msh-stability-90 .msh-account-panel { padding: 15px !important; border-radius: 18px !important; }
  body.msh-stability-90 .msh-portal-heading { flex-direction: column !important; align-items: stretch !important; }
  body.msh-stability-90 .msh-portal-stats > div { min-height: 90px !important; }
  body.msh-stability-90 .msh-portal-quick-grid > * { min-height: 72px !important; }
  body.msh-stability-90 :where(.msh-button,button,input[type="submit"]) { min-height: 44px; }
}

@media (max-width: 430px) {
  body.msh-stability-90 .article-single .article-main,
  body.msh-stability-90 .service-single .article-main,
  body.msh-stability-90 .standard-page .article-main { padding: 14px !important; }
  body.msh-stability-90 .msh-account-panel { padding: 12px !important; }
  body.msh-stability-90 .msh-account-nav button { min-height: 44px !important; padding: 8px 10px !important; }
  body.msh-stability-90 .msh-service-gallery__track { min-height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  body.msh-stability-90 *, body.msh-stability-90 *::before, body.msh-stability-90 *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 90.1 navigation fail-safe -------------------------------------------------
 * Desktop navigation can never inherit a historical mobile/off-canvas state,
 * even when stale HTML/body classes survive a full-page cache. */
@media (min-width: 1181px) {
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel],
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel].is-open,
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel][aria-hidden="true"],
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel][aria-hidden="false"] {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  html body.msh-navigation-901 .site-header .mobile-menu-head,
  html body.msh-navigation-901 .site-header .mobile-menu-contact,
  html body.msh-navigation-901 .site-header .menu-toggle {
    display: none !important;
  }
  html body.msh-navigation-901.menu-is-open,
  html body.msh-navigation-901.msh-shell-open,
  html body.msh-navigation-901.msh-overlay-open {
    overflow: auto !important;
    position: static !important;
  }
}

/* 90.1 native mobile navigation, aligned with the JavaScript breakpoint. */
@media (max-width: 1180px) {
  html body.msh-navigation-901 .site-header__inner {
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }
  html body.msh-navigation-901 .site-header .menu-toggle {
    position: relative !important;
    z-index: 1702 !important;
    display: inline-flex !important;
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 50px !important;
  }
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel] {
    position: fixed !important;
    z-index: 1700 !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto minmax(0,1fr) auto auto !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: max(16px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg,#0d1b34,#061126) !important;
    box-shadow: none !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel].is-open:not([hidden]) {
    display: grid !important;
    pointer-events: auto !important;
  }
  html body.msh-navigation-901 .site-header .site-navigation[data-menu-panel][hidden] { display: none !important; }
  html body.msh-navigation-901 .site-header .mobile-menu-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 58px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
  }
  html body.msh-navigation-901 .site-header .mobile-menu-head button {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.05) !important;
    color: #fff !important;
    font-size: 28px !important;
  }
  html body.msh-navigation-901 .site-header .site-navigation__menu {
    min-height: 0 !important;
    width: min(100%,760px) !important;
    margin-inline: auto !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  html body.msh-navigation-901 .site-header .msh-menu {
    width: 100% !important;
    display: grid !important;
    gap: 5px !important;
  }
  html body.msh-navigation-901 .site-header .msh-menu > li { width: 100% !important; }
  html body.msh-navigation-901 .site-header .msh-menu > li > a {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: flex-start !important;
    padding: 11px 14px !important;
    border-radius: 13px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 15px !important;
    white-space: normal !important;
  }
  html body.msh-navigation-901 .site-header .msh-menu .sub-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 5px 10px 9px !important;
    display: grid !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  html body.msh-navigation-901 .site-header .msh-menu .sub-menu a,
  html body.msh-navigation-901 .site-header .msh-menu .sub-menu a * {
    color: rgba(255,255,255,.84) !important;
    -webkit-text-fill-color: rgba(255,255,255,.84) !important;
  }
  html body.msh-navigation-901 .site-header .site-navigation__actions {
    width: min(100%,760px) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  html body.msh-navigation-901 .site-header .mobile-menu-contact {
    width: min(100%,760px) !important;
    margin-inline: auto !important;
    display: grid !important;
  }
}
