@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-0.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-2.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-3.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-0.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-2.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-3.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-0.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-2.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-3.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/nurbrand/fonts/mont-4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===== Хранилище паролей Nur HVAC ===== */
:root, .theme_light, body.layout_frontend {
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif !important;

    /* кнопки и акценты — фирменный оранжевый */
    --color-primary-600: 239 90 40 !important;
    --color-primary-700: 217 74 28 !important;
    --color-primary-300: 107 111 138 !important;
    --color-bw-blue:     239 90 40 !important;

    /* тёмные плашки — фирменный navy */
    --color-background-alt2: 27 27 75 !important;
    --color-background-alt3: 27 27 75 !important;
    --color-marketing-logo:  27 27 75 !important;

    /* картинка-сейф на входе */
    --color-illustration-logo:          239 90 40 !important;
    --color-illustration-outline:       27 27 75  !important;
    --color-illustration-bg-primary:    244 245 250 !important;
    --color-illustration-bg-secondary:  231 232 240 !important;
    --color-illustration-tertiary:      239 90 40 !important;

    --color-text-main:  35 35 74 !important;
    --color-text-muted: 107 111 138 !important;

    --color-brand-050: #fdeee9 !important;
    --color-brand-100: #fde9e1 !important;
    --color-brand-200: #f9c9b6 !important;
    --color-brand-300: #f7ab8e !important;
    --color-brand-400: #f37c50 !important;
    --color-brand-500: #ef5a28 !important;
    --color-brand-600: #d94a1c !important;
    --color-brand-700: #b83c15 !important;
}

body, .layout_frontend, button, input, select, textarea {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

/* ---- логотип Vaultwarden в шапке заменяем на логотип компании ---- */
header svg,
header .logo,
header img { display: none !important; }

header { padding-top: 14px !important; padding-bottom: 10px !important; }
header::before {
    content: '';
    display: block;
    width: 210px;
    height: 62px;
    background: url('/nurbrand/logo.png') left center / contain no-repeat;
}

/* ---- убираем приписку «неофициальная версия Bitwarden» и номер версии ---- */
body.layout_frontend > app-root footer,
body.layout_frontend footer,
.layout_frontend > div > footer { display: none !important; }

/* ---- кнопки ---- */
button[type="submit"], .tw-bg-bg-brand, a.tw-bg-bg-brand {
    border-radius: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
}
