/*! based on normalize.css v5.0.0 | MIT License | github.com/necolas */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  margin: 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-size: 1em;
  /* 2 */
  font-family: monospace, monospace;
  /* 1 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  -webkit-text-decoration-skip: objects;
}
/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0;
}
/**
 * Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-size: 1em;
  /* 2 */
  font-family: monospace, monospace;
  /* 1 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  /* 2 */
  font-family: inherit;
  /* 1 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"],
textarea,
input[type="text"],
input[type="password"] {
  -webkit-appearance: none;
  /* 2 */
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: none;
}
/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  padding: 0;
  margin: 0;
  border: none;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  color: inherit;
  /* 2 */
  white-space: normal;
  /* 1 */
}
/**
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
  /* 2 */
}
/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  outline-offset: -2px;
  /* 2 */
  -webkit-appearance: none;
  /* 1 */
}
/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  font: inherit;
  /* 2 */
  -webkit-appearance: none;
  /* 1 */
}
/**
 * Fix opacity of a placeholder in Firefox
 */
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/*
  BASE STYLES

  Contains global base styles. Defines elements appearance
  - Default styles via tags
  - Custom styles via classes or attributes
  - Global styles: links, list, visual-hidden (css class)
  - Custom WebKit scrollbars

  TOKENS ENCAPSULATION
  --------------------
  [1] It's important to import tokens only when they're needed
  in place of usage and prevent transitive imports. This is
  the way to keep them only inside this mixin.

  BUILD CACHE ISSUES
  ------------------
  [2] Import from package to fix build cache issues
  [3] [crafting-stylelint-disable]

  FOCUS VISIBLE POLYFILL
  ----------------------
  [4] This will hide the focus indicator if the element receives focus via the mouse,
  but it will still show up on keyboard focus.

  FONT SMOOTHING
  --------------
  [5] Apply font-smoothing only for HiDPI screens
  https://www.wrike.com/open.htm?id=430032540
  TODO: add "screen" media type for every condition after fix a bug with CSS minify
  https://www.wrike.com/open.htm?id=587759669

  !important usage
  ----------------
  [6] The hidden attribute should override the styles of any element, so !important is used
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
mark {
  color: inherit;
  /*
    TODO [crafting-tokens-typography] [crafting-stylelint-disable]
    Used pure 'font-weight' because base style for 'mark' doesn't have size (s,m,l,xl).
    It's like normalize for tag.
  */
  font-weight: 600;
  background-color: transparent;
}
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}
body {
  font-family: var(--s-d-fontFamily-base);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  body {
    -webkit-font-smoothing: antialiased;
  }
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ui-kit-link {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ui-kit-link:hover,
.ui-kit-link:active {
  text-decoration: none;
}
.ui-kit-link.focus-visible {
  text-decoration: none;
}
.ui-kit-link.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-lt-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-lt-brdC);
}
.ui-kit-link,
.ui-kit-link:visited {
  color: var(--s-d-link-lt-txC);
}
.ui-kit-link:hover {
  color: var(--s-d-link-lt-hov-txC);
}
.ui-kit-link:active {
  color: var(--s-d-link-lt-prs-txC);
}
.ui-kit-link.theme-dark {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ui-kit-link.theme-dark:hover,
.ui-kit-link.theme-dark:active {
  text-decoration: none;
}
.ui-kit-link.theme-dark.focus-visible {
  text-decoration: none;
}
.ui-kit-link.theme-dark.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-dk-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-dk-brdC);
}
.ui-kit-link.theme-dark,
.ui-kit-link.theme-dark:visited {
  color: var(--s-d-link-dk-txC);
}
.ui-kit-link.theme-dark:hover {
  color: var(--s-d-link-dk-hov-txC);
}
.ui-kit-link.theme-dark:active {
  color: var(--s-d-link-dk-prs-txC);
}
.ui-kit-link--context {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ui-kit-link--context:hover,
.ui-kit-link--context:active {
  text-decoration: none;
}
.ui-kit-link--context.focus-visible {
  text-decoration: none;
}
.ui-kit-link--context.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-lt-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-lt-brdC);
}
.ui-kit-link--context,
.ui-kit-link--context:visited {
  color: currentColor;
}
.ui-kit-link--context:hover {
  color: var(--s-d-link-lt-hov-txC);
}
.ui-kit-link--context:active {
  color: var(--s-d-link-lt-prs-txC);
}
.ui-kit-link--context.theme-dark {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ui-kit-link--context.theme-dark:hover,
.ui-kit-link--context.theme-dark:active {
  text-decoration: none;
}
.ui-kit-link--context.theme-dark.focus-visible {
  text-decoration: none;
}
.ui-kit-link--context.theme-dark.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-dk-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-dk-brdC);
}
.ui-kit-link--context.theme-dark,
.ui-kit-link--context.theme-dark:visited {
  color: currentColor;
}
.ui-kit-link--context.theme-dark:hover {
  color: var(--s-d-link-dk-hov-txC);
}
.ui-kit-link--context.theme-dark:active {
  color: var(--s-d-link-dk-prs-txC);
}
.ui-kit-link--filled {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
  transition-property: box-shadow, border-radius;
}
.ui-kit-link--filled:hover,
.ui-kit-link--filled:active {
  text-decoration: none;
  text-decoration: underline;
}
.ui-kit-link--filled.focus-visible {
  text-decoration: none;
  text-decoration: underline;
}
.ui-kit-link--filled.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-lt-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-lt-brdC);
}
.ui-kit-link--filled,
.ui-kit-link--filled:visited {
  color: var(--s-d-linkFilled-lt-txC);
}
.ui-kit-link--filled:hover {
  color: var(--s-d-linkFilled-lt-hov-txC);
}
.ui-kit-link--filled:active {
  color: var(--s-d-linkFilled-lt-prs-txC);
}
.ui-kit-link--filled.theme-dark {
  text-decoration: underline;
  transition-property: box-shadow, border-radius, color;
  transition-duration: 0.1s;
  transition-timing-function: ease-out;
  -webkit-tap-highlight-color: transparent;
  transition-property: box-shadow, border-radius;
}
.ui-kit-link--filled.theme-dark:hover,
.ui-kit-link--filled.theme-dark:active {
  text-decoration: none;
  text-decoration: underline;
}
.ui-kit-link--filled.theme-dark.focus-visible {
  text-decoration: none;
  text-decoration: underline;
}
.ui-kit-link--filled.theme-dark.focus-visible {
  outline: none;
  border-radius: var(--s-d-focRing-brdR);
  box-shadow: 0 0 0 var(--s-d-focRing-outlineOffset) var(--s-d-focRingOffset-dk-brdC), 0 0 0 var(--s-d-focRing-brdW) var(--s-d-focRing-dk-brdC);
}
.ui-kit-link--filled.theme-dark,
.ui-kit-link--filled.theme-dark:visited {
  color: var(--s-d-linkFilled-dk-txC);
}
.ui-kit-link--filled.theme-dark:hover {
  color: var(--s-d-linkFilled-dk-hov-txC);
}
.ui-kit-link--filled.theme-dark:active {
  color: var(--s-d-linkFilled-dk-prs-txC);
}
.ui-kit-list {
  list-style-position: inside;
}
/*
  Start: Custom scrollbars
  ------------------------
  Highlights:
    1. `.scrollbar-native` is set according to configuration in
        AM > Accessibility tab, when user choose to use native scrollbars.
    2. `.scrollbar-native` is delivered the same way as themes.
    3. We show custom scrollbars by default in cases when
       - app doesn't support themes via service
       - and/or user is external and doesn't have access to those AM settings.
*/
@supports (-webkit-appearance: none) {
  :root:not(.scrollbar-native) {
    /*
      hack for webkit target
      link: http://browserhacks.com/#hack-8a0d11a6b2e3d172711eed35cb7237b9
      also targets edge but ::-webkit-scrollbar doesn't apply
    */
  }
  :root:not(.scrollbar-native) ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  :root:not(.scrollbar-native) ::-webkit-scrollbar-thumb {
    border: 0px solid transparent;
    border-radius: calc(var(--s-d-scrollbarThumb-brdR) + 0 * 1px);
    background-color: var(--s-d-scrollbarThumb-lt-bgC);
  }
  :root:not(.scrollbar-native) ::-webkit-scrollbar-track {
    border-radius: var(--s-d-scrollbarTrack-brdR);
    background-color: var(--s-d-scrollbarTrack-lt-bgC);
  }
  :root:not(.scrollbar-native) ::-webkit-scrollbar-corner {
    background-color: transparent;
  }
}
@supports (scrollbar-width: thin) {
  :root:not(.scrollbar-native) {
    scrollbar-color: var(--s-d-scrollbarThumb-lt-bgC) var(--s-d-scrollbarTrack-lt-bgC);
  }
  :root:not(.scrollbar-native) * {
    scrollbar-width: thin;
  }
}
@supports (-webkit-appearance: none) {
  :root:not(.scrollbar-native) .kit-scrollbar-autohide {
    border-color: transparent;
    background-color: transparent;
    -webkit-background-clip: text;
    transition: all 0.3s ease-out;
  }
  :root:not(.scrollbar-native) .kit-scrollbar-autohide::-webkit-scrollbar-thumb {
    border: 4px solid;
    border-color: inherit;
    background-color: transparent;
  }
  :root:not(.scrollbar-native) .kit-scrollbar-autohide::-webkit-scrollbar-track {
    background-color: inherit;
  }
  :root:not(.scrollbar-native) .kit-scrollbar-autohide:hover {
    border-color: var(--s-d-scrollbarThumb-lt-bgC);
    background-color: var(--s-d-scrollbarTrack-lt-bgC);
  }
}
/*
  Bug fix for textarea scrollbar cursor type in Chrome.
  https://www.wrike.com/open.htm?id=783734926
*/
@supports (-webkit-appearance: none) {
  textarea {
    cursor: auto;
  }
}
html,
body {
  height: 100%;
}
body {
  background-color: var(--dt-panel-10-backgroundColor);
}
