

/* Start:/bitrix/templates/stofonline/components/bitrix/system.auth.form/main_auth_2/style.css?17887665303557*/
/* Форма авторизации main_auth_2 — дизайн codinfo. Токены берутся из styles.css шаблона. */

.auth-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--hair, #ededee);
    border-radius: var(--radius-card, 3px);
    box-shadow: var(--shadow-card, rgba(0,0,0,0.07) 0 5px 25px 0);
    padding: 36px 32px;
    box-sizing: border-box;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-form__head { text-align: center; margin-bottom: 4px; }
.auth-form__title {
    font-family: var(--ff-display, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink, #1c1f21);
    margin: 0 0 6px;
}
.auth-form__subtitle { color: var(--text, #707070); font-size: 14px; margin: 0; }

.auth-form__field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.auth-form__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink, #1c1f21);
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-family: var(--ff-body, 'Manrope', sans-serif);
    font-size: 15px;
    color: var(--ink, #1c1f21);
    background: #fff;
    border: 1px solid var(--hair, #ededee);
    border-radius: var(--radius-card, 3px);
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.auth-input::placeholder { color: var(--muted, #999999); }
.auth-input:focus {
    border-color: var(--brand, #ff8400);
    box-shadow: 0 0 0 3px rgba(255, 132, 0, 0.15);
}

/* Кнопка входа — самодостаточная (не зависит от .btn шаблона/bootstrap) */
.auth-form__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 14px 28px;
    font-family: var(--ff-body, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--brand, #ff8400);
    border: 1px solid var(--brand-border, #ffbc4b);
    border-radius: var(--radius-pill, 50px);
    cursor: pointer;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, transform .15s ease-in-out;
}
.auth-form__submit:hover { background-color: var(--brand-hover, #e67700); border-color: var(--brand-hover, #e67700); }
.auth-form__submit:active { transform: translateY(1px); }

.auth-form__captcha img { display: block; margin: 4px 0; border-radius: var(--radius-card, 3px); }

.auth-form__user { text-align: center; color: var(--ink, #1c1f21); font-weight: 600; margin: 0 0 8px; }

/* Иконка защищённой авторизации Bitrix */
.auth-form__field--password { }
div.bx-system-auth-form span.bx-auth-secure {
    position: absolute;
    right: 10px;
    bottom: 9px;
    background-color: #fffae3;
    border: 1px solid #dedbc8;
    padding: 2px;
    display: inline-block;
    vertical-align: bottom;
}
div.bx-system-auth-form div.bx-auth-secure-icon {
    background-image: url(/bitrix/templates/stofonline/components/bitrix/system.auth.form/main_auth_2/images/sec.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 19px;
    height: 18px;
}
div.bx-system-auth-form div.bx-auth-secure-unlock { background-image: url(/bitrix/templates/stofonline/components/bitrix/system.auth.form/main_auth_2/images/sec-unlocked.png); }

/* Адаптив */
@media (max-width: 575px) {
    .auth-card { max-width: 100%; padding: 28px 20px; border-radius: 0; border-left: 0; border-right: 0; }
    .auth-form__title { font-size: 20px; }
}

/* End */


/* Start:/bitrix/templates/stofonline/styles.css?178912995428072*/
/* =====================================================================
   Шаблон stofonline — дизайн-система codinfo.ru
   Портировано из фронтенда (src/styles/_chrome.scss + токены styles.scss).
   Плоский CSS: только классы + CSS-переменные, без препроцессора.
   ===================================================================== */

/* ── Шрифты (локальные, относительно этого css) ──────────────────────── */
@font-face { font-family:'Manrope'; src:url('/bitrix/templates/stofonline/fonts/Manrope-Regular.ttf')  format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('/bitrix/templates/stofonline/fonts/Manrope-Medium.ttf')   format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('/bitrix/templates/stofonline/fonts/Manrope-SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('/bitrix/templates/stofonline/fonts/Manrope-Bold.ttf')     format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('/bitrix/templates/stofonline/fonts/Manrope-ExtraBold.ttf')format('truetype'); font-weight:800; font-style:normal; font-display:swap; }

@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-Regular.ttf')  format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-Medium.ttf')   format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-Bold.ttf')     format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-ExtraBold.ttf')format('truetype'); font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('/bitrix/templates/stofonline/fonts/Montserrat-Black.ttf')    format('truetype'); font-weight:900; font-style:normal; font-display:swap; }

/* ── Токены codinfo (синхронно с фронтендом) ─────────────────────────── */
:root {
  --brand:#ff8400; --brand-hover:#e67700; --brand-active:#cc6600; --brand-tint:#fff7ed; --brand-border:#ffbc4b;
  --accent:#2388ed; --accent-hover:#0056b3;
  --dark:#292e30; --ink:#1c1f21; --text:#707070; --muted:#999999; --hair:#ededee;
  --radius-card:3px; --radius-pill:50px;
  --shadow-card:rgba(0,0,0,0.07) 0px 5px 25px 0px;
  --ff-display:'Montserrat', sans-serif;
  --ff-body:'Manrope','Montserrat', sans-serif;
  --ease:ease-in-out; --dur:.15s;
}

/* ── База ────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; min-height:100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-display); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }

/* Sticky-footer: шапка сверху, контент (app-root) растёт, подвал прижат */
/* Оболочка приложения во всю высоту окна: контент скроллит внутри, подвал прижат.
   (Гость/контент тоже корректны: их область скроллит сама себя.) */
.wrapper { display:flex; flex-direction:column; height:100vh; min-height:100vh; overflow:hidden; }
.site-footer { margin-top:auto; }

/* ── SPA внутри Bitrix: прячем «родной» chrome Angular ────────────────────
   Шапку/подвал отдаёт Bitrix. app-header/app-footer ОСТАЮТСЯ в коде SPA ради
   портативности — для запуска вне Bitrix достаточно снять правило display:none. */
app-header, app-footer { display: none !important; }

/* SPA занимает высоту под шапкой Bitrix. app-root — flex-колонка на оставшуюся
   высоту; внутренняя .pso-root тянется (рабочая область AG-Grid получает реальную
   высоту и внутренний скролл). Лендинг/контент (.pso-root--scrollable) — по контенту. */
.wrapper > app-root,
.wrapper > .page-content {
    display: flex !important;        /* перебиваем app-root{display:block!important} из стилей SPA */
    flex-direction: column !important;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;                /* контент скроллит внутри своей области, не растягивая страницу */
}
/* Маршрутный компонент Angular (app-equipment-main, app-realty-main, app-main-layout,
   app-dynamic-page) — прямой потомок app-root, по умолчанию display:block и не тянется.
   Заставляем заполнять высоту, иначе вложенный AG-Grid (flex:1) схлопывается в 0. */
app-root > *:not(router-outlet):not(app-toast-container) {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}
app-root .pso-root { height: auto !important; min-height: 0 !important; flex: 1 1 auto !important; overflow: hidden !important; }
/* Контентные страницы (лендинг/документация) скроллят свою область внутри, а не страницу */
app-root .pso-root--scrollable { overflow: hidden !important; }
/* .pso-body в SPA имеет flex:1 0 auto (standalone: страница растёт, скроллит документ).
   Под Bitrix контейнер зажат в 100vh → разрешаем сжатие (shrink+min-height:0),
   иначе overflow-y:auto не срабатывает и контент обрезается без прокрутки. */
app-root .pso-root--scrollable .pso-body { overflow-y: auto !important; flex: 1 1 auto !important; min-height: 0 !important; }

/* ── Контентные страницы Bitrix (Документация/Справка/Возможности) ──────────
   <div class="page …"> — прямой потомок .wrapper, наша скролл-область app-shell
   (НЕ зависим от bootstrap). Контент кладём в белый «лист» .doc-sheet поверх
   серого фона приложения; разделяем воздухом, без бордера на каждой строке. */
.wrapper > .page {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    width: 100%;
    padding: 48px 24px 72px;
    background: #edeff3;        /* чуть глубже фона приложения — белый «лист» отделяется тенью */
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

/* Белый «лист» документа */
.doc-sheet {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 52px 56px 44px;
    animation: docRise .45s var(--ease) both;
}
@keyframes docRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.doc-sheet__head { margin-bottom: 8px; }
.doc-eyebrow {
    display: inline-block;
    font-family: var(--ff-display);
    font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 14px;
}
.doc-sheet h1 {
    font-family: var(--ff-display); font-weight: 800; font-size: 32px; line-height: 1.15;
    color: var(--ink); margin: 0;
}
.doc-lead { margin: 16px 0 0; font-size: 16px; color: var(--text); max-width: 62ch; }

/* Секция = вводный абзац + один/несколько документов.
   Единственный разделитель в макете — тонкая линия МЕЖДУ секциями (не под каждой строкой). */
.doc-section { margin-top: 36px; }
.doc-section + .doc-section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--hair); }
.doc-section__text { margin: 0 0 16px; color: var(--text); }

/* Карточка документа — без бордеров; разделение воздухом + hover-подсветка */
.doc-card {
    display: flex; align-items: center; gap: 16px;
    padding: 13px 16px; margin: 0 -16px;
    border-radius: var(--radius-card);
    text-decoration: none; color: inherit;
    transition: background var(--dur) var(--ease);
}
.doc-card:hover { background: var(--brand-tint); }
.doc-card__icon {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 26px; border-radius: 3px;
    background: #e2231a; color: #fff;
    font: 700 11px/1 var(--ff-display), Arial, sans-serif; letter-spacing: .5px;
    box-shadow: rgba(226, 35, 26, .25) 0 4px 10px;
}
.doc-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.doc-card__title { font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; }
.doc-card:hover .doc-card__title { color: var(--brand-hover); }
.doc-card__meta { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.doc-card__arrow {
    flex-shrink: 0; margin-left: auto; width: 20px; height: 20px; color: var(--muted);
    opacity: 0; transform: translateX(-6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.doc-card:hover .doc-card__arrow { opacity: 1; transform: none; color: var(--brand); }

/* Однородный список (постановления) — компактная сетка карточек */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px; }
.doc-card--compact { padding: 11px 14px; margin: 0; gap: 13px; }
.doc-card--compact .doc-card__icon { width: 38px; height: 23px; font-size: 10px; }
.doc-card--compact .doc-card__title { font-size: 14px; }

@media (max-width: 640px) {
    .doc-sheet { padding: 32px 22px 28px; }
    .doc-sheet h1 { font-size: 26px; }
    .doc-grid { grid-template-columns: 1fr; }
}

/* ── Текстовые разделы внутри листа (Возможности/Справка) ───────────────── */
.doc-sheet h2 { font-family: var(--ff-display); font-weight: 700; font-size: 21px; color: var(--ink); margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--hair); }
.doc-sheet h3 { font-family: var(--ff-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 22px 0 10px; }
.doc-sheet p { margin: 0 0 14px; }
.doc-sheet strong, .doc-sheet b, .doc-sheet .font-weight-bold { font-weight: 700; color: var(--ink); }
.doc-sheet a { color: var(--accent); }
.doc-sheet a:hover { color: var(--accent-hover); text-decoration: underline; }
.doc-sheet ul, .doc-sheet ol { margin: 0 0 16px; padding-left: 22px; }
.doc-sheet li { margin: 0 0 8px; }
/* Маркированные списки (vozmojnosti) — фирменный оранжевый маркер */
.doc-sheet ul.list { list-style: none; padding-left: 4px; margin-left: 0; }
.doc-sheet ul.list > li { position: relative; padding-left: 22px; }
.doc-sheet ul.list > li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc-sheet ul.template_history { list-style: none; padding-left: 0; }
.doc-sheet ul.template_history > li { position: relative; padding-left: 22px; }
.doc-sheet ul.template_history > li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc-sheet ol.template_history { padding-left: 20px; }
.doc-sheet .info_p { background: var(--brand-tint); border: 1px solid var(--brand-border); border-radius: var(--radius-card); padding: 12px 16px; }
.doc-sheet .red_color { color: #e2231a; font-weight: 700; }
.doc-sheet .blue_color { color: var(--accent); font-weight: 700; }
.doc-sheet .yellow_color { color: #c47e00; font-weight: 700; }

/* Аккордеон (Справка) — нативная замена bootstrap collapse */
.doc-sheet ul.nolist { list-style: none; padding: 0; margin: 0 0 8px; }
.doc-sheet .link {
    position: relative; display: block; cursor: pointer; user-select: none;
    margin-top: 8px; padding: 15px 46px 15px 18px;
    background: #f7f8fa; border: 1px solid var(--hair); border-radius: var(--radius-card);
    font-weight: 600; color: var(--ink);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.doc-sheet .link:hover { background: var(--brand-tint); border-color: var(--brand-border); }
.doc-sheet .link[aria-expanded="true"] { background: var(--brand-tint); border-color: var(--brand-border); }
.doc-sheet .link::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: translateY(-65%) rotate(45deg); transition: transform var(--dur) var(--ease);
}
.doc-sheet .link[aria-expanded="true"]::after { transform: translateY(-35%) rotate(225deg); border-color: var(--brand); }
.doc-sheet .collapse { display: none; }
.doc-sheet .collapse.show { display: block; animation: collapseFade .25s var(--ease); }
@keyframes collapseFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.doc-sheet .card-body {
    margin: 6px 0 0; padding: 18px 20px;
    background: #fff; border: 1px solid var(--hair); border-left: 3px solid var(--brand);
    border-radius: var(--radius-card); font-size: 14.5px;
}
.doc-sheet .card-body > :last-child { margin-bottom: 0; }
.doc-sheet .card-body ul:last-child, .doc-sheet .card-body ol:last-child { margin-bottom: 0; }
/* Иллюстративная кнопка «развернуть таблицу» в тексте справки (без FontAwesome) */
.doc-sheet .btn-expand {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0; vertical-align: middle;
    background: var(--brand); border: 0; border-radius: var(--radius-card); cursor: default;
}
.doc-sheet .btn-expand i { color: #fff; font-style: normal; }
.doc-sheet .btn-expand i::before { content: "\2922"; font-size: 15px; }

/* ── Шапка ───────────────────────────────────────────────────────────── */
.site-header { position:sticky; top:0; z-index:1001; background-color:var(--dark); color:#fff; font-family:var(--ff-body); }
.site-header__inner { max-width:1600px; margin:0 auto; padding:0 24px; min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header__group { display:flex; align-items:center; gap:32px; min-width:0; }

.site-logo { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#fff; flex-shrink:0; }
.site-logo__img { height:30px; width:auto; display:block; }
.site-logo__text { font-family:var(--ff-display); font-weight:700; font-size:20px; letter-spacing:-0.01em; color:#fff; white-space:nowrap; }
.site-logo__accent { color:var(--brand); }

.nav { display:flex; align-items:center; gap:4px; margin:0; padding:0; list-style:none; }
.nav__item { display:block; }
.site-header .nav__item--mobile { display:none !important; }
.nav__link { display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:var(--radius-card); font-size:14px; font-weight:600; color:#d7dadb; text-decoration:none; white-space:nowrap; transition:color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.nav__link:hover, .nav__link:focus-visible { color:#fff; background-color:rgba(255,255,255,0.06); }
.nav__link.active, .nav__link[aria-current="page"] { color:var(--brand); }
.nav__link--action { width:100%; border:0; background:rgba(255,132,0,0.12); color:#fff; font-family:var(--ff-body); text-align:left; cursor:pointer; }
.nav__link--action:hover, .nav__link--action:focus-visible { background:rgba(255,132,0,0.2); color:#fff; }
.nav__action-mark { display:inline-flex; width:22px; height:22px; align-items:center; justify-content:center; border-radius:50%; background:var(--brand); color:#fff; font-size:18px; font-weight:500; line-height:1; }

/* ── Кнопки-пилюли ───────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--ff-body); font-size:12px; font-weight:700; line-height:1; letter-spacing:0.02em; text-transform:uppercase; padding:12px 28px; border-radius:var(--radius-pill); border:1px solid transparent; cursor:pointer; text-decoration:none; white-space:nowrap; transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:active { transform:translateY(1px); }
.btn--primary { background-color:var(--brand); border-color:var(--brand-border); color:#fff; }
.btn--primary:hover, .btn--primary:focus-visible { background-color:var(--brand-hover); border-color:var(--brand-hover); color:#fff; }
.btn--primary:active { background-color:var(--brand-active); border-color:var(--brand-active); }
.btn--secondary { background-color:transparent; border-color:#fff; color:#fff; font-weight:600; }
.btn--secondary:hover { background-color:#fff; color:var(--dark); }
.btn--sm { padding:9px 20px; }

/* ── DEMO-бейдж ──────────────────────────────────────────────────────── */
.demo-badge { display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:var(--radius-pill); border:1px solid rgba(255,255,255,0.14); background-color:rgba(255,255,255,0.04); font-size:11px; font-weight:700; letter-spacing:0.08em; color:#c7cccd; white-space:nowrap; }
.demo-badge__dot { width:7px; height:7px; border-radius:50%; background-color:var(--brand); animation:demo-pulse 2s infinite; }
@keyframes demo-pulse { 0%{box-shadow:0 0 0 0 rgba(255,132,0,0.6);} 70%{box-shadow:0 0 0 6px rgba(255,132,0,0);} 100%{box-shadow:0 0 0 0 rgba(255,132,0,0);} }

/* ── Меню пользователя ───────────────────────────────────────────────── */
.site-header__user { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.user-chip { display:inline-flex; align-items:center; gap:10px; padding:6px 14px 6px 8px; border-radius:var(--radius-pill); border:1px solid rgba(255,255,255,0.12); background-color:rgba(255,255,255,0.04); color:#fff; cursor:pointer; transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.user-chip:hover { background-color:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.25); }
.user-chip__avatar { width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background-color:var(--brand); color:#fff; font-family:var(--ff-display); font-weight:700; font-size:12px; flex-shrink:0; }
.user-chip__login { font-size:13px; font-weight:700; color:#fff; max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.user-menu { position:relative; }
.menu { position:absolute; right:0; top:calc(100% + 8px); min-width:200px; background-color:#fff; border:1px solid var(--hair); border-radius:var(--radius-card); box-shadow:var(--shadow-card); padding:6px; z-index:1000; }
.menu[hidden] { display:none; }
.menu__item { display:flex; align-items:center; gap:10px; width:100%; padding:10px 12px; border-radius:var(--radius-card); font-size:14px; font-weight:600; color:var(--ink); text-decoration:none; transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.menu__item:hover { background-color:#f8f9fa; color:var(--brand-hover); }
.menu__item--danger:hover { background-color:#fff1f0; color:#d32029; }

/* ── Экран авторизации (гость) ───────────────────────────────────────── */
.stof-body--guest { background-color:#f8fafc; }
.auth-screen { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px; padding:40px 16px; }
.auth-screen__brand { display:flex; flex-direction:column; align-items:center; gap:14px; }
.auth-screen__logo { height:64px; width:auto; }
.auth-screen__title { font-family:var(--ff-display); font-weight:800; font-size:32px; color:var(--ink); letter-spacing:-0.01em; }
.auth-screen__form { width:100%; max-width:420px; }

/* ── Подвал ──────────────────────────────────────────────────────────── */
.site-footer { background-color:var(--dark); color:#c7cccd; font-family:var(--ff-body); }
.site-footer__inner { max-width:1600px; margin:0 auto; padding:28px 24px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; text-align:center; gap:12px 24px; }
.site-footer__brand { font-family:var(--ff-display); font-weight:700; color:#fff; font-size:14px; }
.site-footer__support { display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; font-size:13px; }
.site-footer__support a { color:#c7cccd; text-decoration:none; transition:color var(--dur) var(--ease); }
.site-footer__support a:hover { color:var(--brand); }
.site-footer__label { color:var(--muted); }
.site-footer__sep { color:rgba(255,255,255,0.18); }

/* ── Бургер + адаптив ────────────────────────────────────────────────── */
.nav-burger { display:none; width:40px; height:40px; border:0; border-radius:10px; background:transparent; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px; transition:background-color var(--dur) var(--ease); }
.nav-burger:hover, .nav-burger:focus-visible { background-color:rgba(255,255,255,0.08); }
.nav-burger__line { display:block; width:22px; height:2px; background:#fff; transition:transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(2) { opacity:0; }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

@media (max-width:991px) {
  .nav-burger { display:inline-flex; }
  .site-header__group { gap:16px; }
  .site-header .site-header__license { display:none !important; }
  .nav { position:absolute; top:72px; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; padding:8px; background-color:var(--dark); border-top:1px solid rgba(255,255,255,0.08); display:none; }
  .nav.is-open { display:flex; }
  .site-header .nav__item--mobile { display:block !important; margin-top:4px; padding-top:8px; border-top:1px solid rgba(255,255,255,0.08); }
  .nav__link { padding:12px 16px; }
  .user-chip__login { max-width:110px; }
}

@media (max-width:575px) {
  .site-header__inner { padding:0 14px; gap:10px; }
  .site-header__user { gap:8px; }
  .site-logo { gap:8px; }
  .site-logo__img { height:27px; }
  .site-logo__text { font-size:18px; }
  .user-chip { gap:8px; padding:5px 9px 5px 6px; }
  .user-chip__login { max-width:76px; }
}

/* ── Модалка (нативная, без bootstrap) ───────────────────────────────────
   Используется формой «Продлить лицензию» (#lic_extend). Открытие/закрытие —
   класс .is-open (script.js). Оверлей сам скроллится при высокой форме. */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 20px;
  background: rgba(28,31,33,.55);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.modal-card {
  position: relative;
  width: 100%; max-width: 680px; margin: auto;
  background: #fff; border-radius: var(--radius-card);
  box-shadow: rgba(0,0,0,.28) 0 24px 70px;
  padding: 44px 48px 36px;
  transform: translateY(-14px); transition: transform .25s var(--ease);
}
.modal-overlay.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 24px; line-height: 1;
  cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.modal-close:hover { background: var(--hair); color: var(--ink); }

/* Форма заявки */
.lic-form__title { font-family: var(--ff-display); font-weight: 700; font-size: 22px; color: var(--ink); text-align: center; margin: 0 0 8px; }
.lic-form__subtitle { text-align: center; color: var(--text); margin: 0 0 26px; font-size: 14px; line-height: 1.5; }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lic-input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--hair); border-radius: var(--radius-card);
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lic-input:focus { outline: none; border-color: var(--brand-border); box-shadow: 0 0 0 3px rgba(255,132,0,.15); }
.lic-input::placeholder { color: var(--muted); }
.lic-form__note { text-align: center; color: var(--muted); font-size: 13px; font-style: italic; margin: 18px 0 22px; }
.lic-form__actions { text-align: center; }
.lic-alert { border-radius: var(--radius-card); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.lic-alert--success { background: #e8f6ec; color: #1b7a3a; }
.lic-alert--error { background: #fdecea; color: #c0392b; }
.is-hidden { display: none !important; }

@media (max-width: 575px) {
  .lic-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 36px 22px 28px; }
}

/* End */
/* /bitrix/templates/stofonline/components/bitrix/system.auth.form/main_auth_2/style.css?17887665303557 */
/* /bitrix/templates/stofonline/styles.css?178912995428072 */
