:root {
  --font-sans: "Segoe UI", Arial, sans-serif;

  --teal: #047E7D;
  --teal-dark: #035f5e;
  --gold: #F0B516;
  --team-accent: #C0305E;
  --team-accent-bg: #FBEAF0;
  --outer-bg: #e9eeee;
  --bg: #F5F6F5;
  --card: #ffffff;
  --surface: #F8FAF9;
  --surface-hover: #FAFBFA;
  --active-bg: #D9EAEA;
  --field-bg: #ffffff;
  --menu-bg: rgb(255 255 255 / 98%);
  --drawer-backdrop: rgb(15 23 42 / 40%);
  --border: #E4E7E4;
  --text: #1D2421;
  --text-2: #5C6B65;
  --text-3: #8B9791;
  --danger-bg: #FCEBEA;
  --danger-text: #B3261E;
  --ic-ok-bg: #E4F3EE;
  --ic-ok-text: #12795F;
  --ic-wait-bg: #FCF3DC;
  --ic-wait-text: #A9760B;
  --ic-total-bg: #E7EEFA;
  --ic-total-text: #2C5FA8;
  --shadow-sm: 0 1px 2px rgba(29, 36, 33, 0.04);
  --radius-control: 7px;
  --radius-card: 10px;
  --sidebar-width: 190px;
  --transition-ui: background .15s ease, border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}


html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --teal: #58c7bc;
  --teal-dark: #9ee4dc;
  --gold: #ECB11F;
  --team-accent: #f07da0;
  --team-accent-bg: #432533;
  --outer-bg: #0f1115;
  --bg: #141821;
  --card: #1b2029;
  --surface: #242b36;
  --surface-hover: #2d3643;
  --active-bg: #263646;
  --field-bg: #151a22;
  --menu-bg: #1b2029;
  --drawer-backdrop: #07090d;
  --border: #343c49;
  --text: #f2f5f8;
  --text-2: #c3cad4;
  --text-3: #8f99a8;
  --danger-bg: #44272b;
  --danger-text: #ffb0ad;
  --ic-ok-bg: #1c392c;
  --ic-ok-text: #8ee0b4;
  --ic-wait-bg: #3d321a;
  --ic-wait-text: #f0cb63;
  --ic-total-bg: #273342;
  --ic-total-text: #adc8ee;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 24%);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--outer-bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-3);
}

select,
button,
input,
textarea {
  outline: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(4, 126, 125, 0.12);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

i[class^="ti"],
i[class*=" ti"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}