/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* База приложения на токенах (tokens.css). Экранные стили — в своих файлах
 * (auth.css, ui.css — CRM-каркас и компоненты, portal.css — кабинет арендатора).
 * Голые body и a кабинет перекрывает сам (.portal-body: фон, цвет и font;
 * свои цвета ссылок), поэтому новые CRM-значения body его не меняют. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background: var(--bg-page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
