/* Meshstore: единый шрифт текста, заголовков, меню и форм. */
#allrecords,
#allrecords [field],
#allrecords [field] *,
#allrecords [style*="font-family"],
#allrecords .t-menu__link-item,
#allrecords button,
#allrecords input,
#allrecords select,
#allrecords textarea {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Meshstore dark palette refinement 2026-11-19. */
:root{--ms-palette-surface:#223322;--ms-palette-soft:#1c291d}
html[data-ms-theme="dark"]{--ms-palette-surface:#223322;--ms-palette-soft:#1c291d}
html[data-ms-theme="dark"] body #mesh-catalog-panel{--menu-bg:#223322;--menu-hover:#223322;--menu-line:#53614f}
html[data-ms-theme="dark"] body #allrecords .mesh-alice-note{background:rgb(34 51 34)!important;border-color:#53614f!important}
html[data-ms-theme="dark"] body #allrecords :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#1c291d!important;border-color:#53614f!important;color:#fff8e5!important}

/* Dark ink on butter-yellow actions in both themes, including footer. */
html[data-ms-theme] body #allrecords#allrecords :is(.ms-benefit-foot a,.neo-order,.kp-cta,.ms-partner-button,.ms-examples-link,.t-btn,.t-btnflex,.t-submit,.msn-primary,.ms-primary,.msa-primary,.mesh-service-advice__button),html[data-ms-theme] body #allrecords#allrecords :is(.ms-benefit-foot a,.neo-order,.kp-cta,.ms-partner-button,.ms-examples-link,.t-btn,.t-btnflex,.t-submit,.msn-primary,.ms-primary,.msa-primary,.mesh-service-advice__button) :is(span,strong,b,.t-btnflex__text){color:#172318!important}

html[data-ms-theme] body #allrecords#allrecords .t-btnflex span{background-color:transparent!important}

/* Forest, cream, orange and grey palette. */
html[data-ms-theme="light"] body,html[data-ms-theme="light"] #allrecords{background:#fff8e5!important;color:#223322}
html[data-ms-theme="light"] #allrecords .ms-theme-bg-light{background-color:#fff8e5!important}
html[data-ms-theme="light"] #allrecords .ms-theme-bg-soft{background-color:#fbe6a0!important}
html[data-ms-theme] body #ms-theme-toggle,html[data-ms-theme] body #ms-language-switch .ms-language-trigger{background:#fbe6a0!important;color:#223322!important}
