/* Shared contact widgets are appended to body, outside each page's scoped styles. */
@font-face {
  font-family: 'APS Widget Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('./open-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'APS Widget Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('./open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Reveal text-bearing panels only after the shared font is ready. The chat icon stays usable. */
html.aps-widget-fonts-loading #msw-panel,
html.aps-widget-fonts-loading #lh-ov,
html.aps-widget-fonts-loading #lh-ind { visibility: hidden !important; }
#msw-wrap, #lh-ov, #lh-ind {
  font-family: 'APS Widget Open Sans', 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
#msw-wrap *, #msw-wrap *::before, #msw-wrap *::after,
#lh-box *, #lh-box *::before, #lh-box *::after { box-sizing: border-box; }
#msw-wrap button, #msw-wrap input, #msw-wrap a,
#lh-box button, #lh-box input, #lh-h, #lh-s, #lh-cn, #lh-ok { font-family: inherit; }
#msw-wrap .msw-tab, #msw-wrap #msw-consent, #lh-box #lh-cn { font-size: 14px; }
#msw-wrap .msw-item, #msw-wrap #msw-phone,
#msw-wrap #msw-submit, #msw-wrap #msw-ok { font-size: 16px; }
/* activate() hides the inactive pane inline and clears that value for the active pane. */
#msw-wrap #msw-pane-call { display: block; }
#msw-consent input[type='checkbox'], #lh-cn input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border: 1px solid #a8a3a0;
  border-radius: 4px;
  background: #fff;
}
#msw-consent input[type='checkbox']:checked, #lh-cn input[type='checkbox']:checked {
  border-color: #fb6d02;
  background: #fb6d02 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
#msw-wrap button:focus-visible, #msw-wrap a:focus-visible,
#msw-consent input:focus-visible, #lh-box button:focus-visible,
#lh-cn input:focus-visible { outline: 3px solid #e58020; outline-offset: 3px; }
