/* cf-theme.css — Vikunja (board.aigermes.top) в палитре cryptforge, 19.11.2026.
   Стиль project-site-style, вариант «каталог»: средняя плотность, не ужимать сильно.
   Вставляется nginx-ом (theme/nginx.conf, sub_filter) последним в <head>.
   Только переопределяет переменные и отступы; при обновлении Vikunja может частично
   «отвалиться» — это вернёт стандартный вид, а не сломает работу.
   Откат: заменить содержимое файла на пустой комментарий. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root, :root.dark {
  /* шкала серых тёмной темы Vikunja: 50 — самый тёмный, 900 — самый светлый */
  --grey-50-hsl: 190, 31%, 18%;   --grey-50: #1f363b;   /* карточки, панели */
  --grey-100-hsl: 190, 32%, 13%;  --grey-100: #17292d;  /* фон сайта */
  --grey-200: #35525a;  --grey-300: #6f8d8f;  --grey-400: #8fa6a1;
  --grey-500-hsl: 165, 13%, 70%;  --grey-500: #a9bdb8;
  --grey-600: #c3d2ce;  --grey-700: #d6e0dc;  --grey-800: #e9efea;
  --grey-900-hsl: 140, 20%, 96%;  --grey-900: #f3f7f4;

  --white: #1f363b; --white-h: 190deg; --white-s: 31%; --white-l: 18%; --white-a: 1;
  --site-background: #17292d;
  --scheme-main: #1f363b; --scheme-main-bis: #2a474d; --scheme-main-ter: #2a474d;
  --background: #2a474d; --border: #35525a; --border-light: #35525a; --border-hover: #4d6f74;
  --card-border-color: #35525a;
  --text: #e9efea; --text-strong: #f3f7f4; --text-light: #a9bdb8; --text-muted: #a9bdb8;
  --text-invert: #16282c;
  --input-background-color: #17292d; --input-border-color: #4d6f74; --input-color: #e9efea;
  --input-placeholder-color: #8fa6a1;
  --logo-text-color: #e9efea;

  /* акцент — жёлтый cryptforge, текст на нём тёмный */
  --primary-h: 50deg; --primary-s: 100%; --primary-l: 52%; --primary-a: 1;
  --primary: #ffd60a; --primary-invert: #16282c; --primary-hsl: 50, 100%, 52%;
  --switch-view-active-background: #ffd60a; --switch-view-color: #16282c;
  --link: #7aaeff; --link-hover: #a8c9ff; --link-h: 217deg; --link-s: 100%; --link-l: 74%;
  --success-h: 164deg; --success-s: 65%; --success-l: 54%; --success: #3dd6ae; --success-text: #3dd6ae;
  --warning-h: 42deg; --warning-s: 100%; --warning-l: 67%; --warning: #ffc857;
  --danger-h: 5deg; --danger-s: 100%; --danger-l: 72%; --danger: #ff7a6e; --danger-text: #ff7a6e;
  --info-h: 217deg; --info-s: 100%; --info-l: 74%;

  --table-row-hover-background-color: #2a474d;
  --dropdown-item-hover-background-color: #2a474d;
  --button-text-hover-background-color: #2a474d;
  --shadow-xs: none; --shadow-sm: 0 1px 2px rgba(0,0,0,.25); --shadow-md: 0 4px 12px rgba(0,0,0,.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.35);

  --family-primary: Inter, system-ui, sans-serif; --family-sans-serif: Inter, system-ui, sans-serif;
  --body-family: Inter, system-ui, sans-serif;
  --radius: 8px; --radius-large: 8px; --radius-small: 6px;
  color-scheme: dark;
}

/* средняя плотность: всё в rem уменьшается на ~12% */
html { font-size: 14px; }
body { background: #17292d; color: #e9efea; font-family: Inter, system-ui, sans-serif; font-size: 13.5px; line-height: 1.45; }
.title, .subtitle, h1, h2, h3 { font-family: Inter, system-ui, sans-serif; letter-spacing: -.01em; }

/* панель слева */
.menu-container { --sidebar-width: 240px !important; border-inline-end: 1px solid #35525a; }
.menu-container a, .menu-container .base-button { border-radius: 6px; }

/* карточки и списки */
.card { border-radius: 8px !important; }
.button.is-primary, .button.is-primary:hover { color: #16282c !important; }

/* фокус полей — жёлтый, а не синий */
:root, :root.dark { --input-focus-border-color: #ffd60a; --input-focus-box-shadow-color: hsla(50, 100%, 52%, .2); }
.input:focus, .textarea:focus, input:focus { border-color: #ffd60a !important; }

/* канбан: 4 колонки помещаются на 1440px, карточки чуть просторнее */
.kanban .bucket { width: 262px !important; }
.kanban-card { font-size: 13px; }
.kanban-card .card-content, .kanban-card > .card-content { padding: .6rem .7rem !important; }
.bucket-header .title { font-size: 13.5px !important; font-weight: 600; }

/* логотип */
.navbar .logo, .logo { max-height: 2.4rem; width: auto; }

/* Vikunja местами ставит Quicksand (без кириллицы) — везде Inter */
:root, :root.dark { --family-secondary: Inter, system-ui, sans-serif; --title-family: Inter, system-ui, sans-serif; }
body *:not(code):not(pre):not(kbd):not(.fa):not([class*="fa-"]) { font-family: Inter, system-ui, sans-serif !important; }
