* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hg-font-sans);
  color: var(--hg-color-text);
  background: var(--hg-color-bg-app);
  line-height: var(--hg-line-height-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.hg-auth-page {
    background: linear-gradient(180deg, #134869 0%, #5c819b 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: transparent; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { text-align: left; }
:focus-visible { outline: none; box-shadow: var(--hg-shadow-focus); }
.hg-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hg-page-title,
.hg-section__title {
  font-size: var(--hg-font-size-36);
  font-weight: var(--hg-font-weight-bold);
  line-height: 1.06;
  color: var(--hg-color-text-strong);
  letter-spacing: -0.02em;
}
.hg-section { display: grid; gap: 24px; margin-top: 30px;
    margin-bottom: 30px; }
.hg-section--tight { gap: 18px; }
.hg-section__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* .hg-section__head--with-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.hg-section__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
} */
 .hg-section__head--with-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.hg-section__controls {
  display: contents;
}
.hg-grid { display: grid; gap: var(--hg-grid-gap); }
.hg-muted { color: var(--hg-color-text-soft); }
.hg-text-strong { color: var(--hg-color-text-strong); }
.hg-empty-state {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--hg-color-text-soft);
}
.hg-empty-state i { font-size: 32px; }
@media (max-width: 1600px) {
  .hg-section__head--with-controls { grid-template-columns: 1fr; }
  .hg-section__controls { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 1120px) {
  .hg-page-title,
  .hg-section__title { font-size: 30px; }
}
