/* /Components/FileDropZone.razor.rz.scp.css */
/* Д206: зона перетаскивания файла. Пунктир — общепринятый знак «сюда можно бросить»;
   при наведении файла зона подсвечивается акцентом темы (Д60), а не своим цветом. */

.drop-zone[b-9vi62ls1ha] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border: 1px dashed var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-background-gray);
    transition: border-color .15s, background-color .15s;
}

.drop-zone--over[b-9vi62ls1ha] {
    border-color: var(--mud-palette-primary);
    background-color: var(--mud-palette-primary-hover);
}

/* Сам input лежит поверх зоны прозрачным: так браузер принимает и клик, и drop,
   а всё видимое рисует разметка под ним. */
.drop-zone__input[b-9vi62ls1ha] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Д235: экран входа по макету Figma (узел 329-76) и мастер первого запуска в том же стиле.
   Карточка 380 px, отступы и размеры — из макета. Шрифт — тот же стек, что у темы: Inter из
   wwwroot/fonts/inter (объявлен в app.css). Своего стека здесь нужно потому, что страницы
   статические и без MudThemeProvider. Разметку рисуют страницы, а поля — InputText, поэтому
   всё через ::deep. */

.auth-page[b-usf5rwpkhr] {
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #242A35;
}

.auth-page[b-usf5rwpkhr]  .auth-card {
    box-sizing: border-box;
    width: min(380px, 100%);
    min-height: 420px;
    padding: 20px;
    border-radius: 20px;
    background: #FFFFFF;
    color: #242A35;
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-page[b-usf5rwpkhr]  .auth-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 41px;
}

.auth-page[b-usf5rwpkhr]  .auth-logo {
    flex: none;
    display: block;
}

.auth-page[b-usf5rwpkhr]  .auth-title {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: -0.02em;
}

.auth-page[b-usf5rwpkhr]  .auth-subtitle {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgb(36 42 53 / 0.5);
}

/* Мастер первого запуска: заголовок шага и пояснение под ним. */
.auth-page[b-usf5rwpkhr]  .auth-heading {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
}

.auth-page[b-usf5rwpkhr]  .auth-lead {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgb(36 42 53 / 0.7);
}

.auth-page[b-usf5rwpkhr]  .auth-label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.02em;
}

.auth-page[b-usf5rwpkhr]  .auth-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin: 0 0 20px;
    padding: 0 20px;
    border: 1px solid rgb(17 17 17 / 0.2);
    border-radius: 5px;
    background: #FFFFFF;
    color: #242A35;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    outline: none;
}

.auth-page[b-usf5rwpkhr]  .auth-input:focus {
    border-color: #0C4AD1;
}

/* Общие правила валидации из app.css (зелёная и красная обводка) здесь заменены рамкой. */
.auth-page[b-usf5rwpkhr]  .auth-input.valid.modified {
    outline: none;
}

.auth-page[b-usf5rwpkhr]  .auth-input.invalid {
    outline: none;
    border-color: #C62828;
}

.auth-page[b-usf5rwpkhr]  .auth-error,
.auth-page[b-usf5rwpkhr]  .auth-errors {
    margin: 0 0 20px;
    color: #C62828;
    font-size: 14px;
    line-height: 20px;
}

.auth-page[b-usf5rwpkhr]  .auth-errors {
    padding-left: 20px;
}

.auth-page[b-usf5rwpkhr]  .auth-errors .validation-message {
    color: inherit;
}

.auth-page[b-usf5rwpkhr]  .auth-submit {
    display: block;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 5px;
    background: #0C4AD1;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.02em;
    cursor: pointer;
}

.auth-page[b-usf5rwpkhr]  .auth-submit:hover {
    background: #0A3FB3;
}

.auth-page[b-usf5rwpkhr]  .auth-submit:focus-visible {
    outline: 2px solid #0C4AD1;
    outline-offset: 2px;
}

.auth-page[b-usf5rwpkhr]  .auth-footnote {
    margin: 20px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 17px;
    color: rgb(36 42 53 / 0.5);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6t4w6l0ex7],
.components-reconnect-repeated-attempt-visible[b-6t4w6l0ex7],
.components-reconnect-failed-visible[b-6t4w6l0ex7],
.components-pause-visible[b-6t4w6l0ex7],
.components-resume-failed-visible[b-6t4w6l0ex7],
.components-rejoining-animation[b-6t4w6l0ex7] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-retrying[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-failed[b-6t4w6l0ex7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6t4w6l0ex7] {
    display: block;
}


#components-reconnect-modal[b-6t4w6l0ex7] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-6t4w6l0ex7 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-6t4w6l0ex7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-6t4w6l0ex7 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-6t4w6l0ex7]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-6t4w6l0ex7 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-6t4w6l0ex7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-6t4w6l0ex7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-6t4w6l0ex7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-6t4w6l0ex7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-6t4w6l0ex7] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-6t4w6l0ex7] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-6t4w6l0ex7] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-6t4w6l0ex7] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-6t4w6l0ex7] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-6t4w6l0ex7] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-6t4w6l0ex7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-6t4w6l0ex7] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-6t4w6l0ex7 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/RequestFilePanel.razor.rz.scp.css */
/* Д267: лист заявки как в Excel — сетка, буквы столбцов, номера строк; цвет строки — чем она стала. */
.snab-file-scroll[b-zrhayk4a3o] {
    overflow: auto;
    max-height: 70vh;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
}

.snab-file-grid[b-zrhayk4a3o] {
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.3;
    min-width: 100%;
}

/* Как в Excel: строка в одну линию, длинное обрезается многоточием, целиком — в подсказке.
   Перенос по словам в узком окне ломал ячейки по слогам («Геодат а №1058»). */
.snab-file-grid th[b-zrhayk4a3o],
.snab-file-grid td[b-zrhayk4a3o] {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 2px 6px;
    vertical-align: top;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.snab-file-grid thead th[b-zrhayk4a3o] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--mud-palette-background-gray);
    font-weight: 600;
    text-align: center;
}

.snab-file-rownum[b-zrhayk4a3o] {
    position: sticky;
    left: 0;
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
    text-align: right;
    white-space: nowrap;
}

.snab-file-posnum[b-zrhayk4a3o] {
    display: block;
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.snab-file-role[b-zrhayk4a3o] {
    font-weight: 500;
    font-size: 11px;
}

.snab-file-col-purchase[b-zrhayk4a3o] { background: rgba(12, 74, 209, 0.16) !important; color: var(--mud-palette-primary); }
.snab-file-col-namepart[b-zrhayk4a3o] { background: rgba(12, 74, 209, 0.08) !important; }
.snab-file-col-info[b-zrhayk4a3o] { color: var(--mud-palette-text-secondary); }
.snab-file-col-hidden[b-zrhayk4a3o] { color: var(--mud-palette-text-disabled); text-decoration: line-through; }

.snab-file-header td[b-zrhayk4a3o] { font-weight: 600; background: rgba(12, 74, 209, 0.10); }
.snab-file-position td[b-zrhayk4a3o] { background: rgba(46, 125, 50, 0.07); }
.snab-file-missed td[b-zrhayk4a3o] { background: rgba(237, 108, 2, 0.16); }
.snab-file-uncovered td[b-zrhayk4a3o] { background: rgba(211, 47, 47, 0.16); font-weight: 600; }
.snab-file-skipped td[b-zrhayk4a3o] { color: var(--mud-palette-text-secondary); background: var(--mud-palette-background-gray); }
.snab-file-grid td.snab-file-note[b-zrhayk4a3o] { background: rgba(237, 108, 2, 0.35); font-weight: 600; }

.snab-file-legend[b-zrhayk4a3o] { font-size: 12px; color: var(--mud-palette-text-secondary); }

.snab-file-swatch[b-zrhayk4a3o] {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: -2px;
    border: 1px solid var(--mud-palette-lines-default);
}

.snab-file-swatch.position[b-zrhayk4a3o] { background: rgba(46, 125, 50, 0.25); }
.snab-file-swatch.header[b-zrhayk4a3o] { background: rgba(12, 74, 209, 0.25); }
.snab-file-swatch.missed[b-zrhayk4a3o] { background: rgba(237, 108, 2, 0.4); }
.snab-file-swatch.uncovered[b-zrhayk4a3o] { background: rgba(211, 47, 47, 0.45); }
.snab-file-swatch.skipped[b-zrhayk4a3o] { background: var(--mud-palette-background-gray); }
.snab-file-swatch.note[b-zrhayk4a3o] { background: rgba(237, 108, 2, 0.7); }
/* /Components/RequestsBoard.razor.rz.scp.css */
/* Д69: доска реестра. Колонки не сжимаются в нечитаемые — доска шире экрана прокручивается
   по горизонтали, как принято в канбан-досках.
   ::deep — там, где класс висит на компоненте MudBlazor: атрибут изоляции стилей достаётся
   только элементам собственной разметки, до разметки дочерних компонентов он не доходит. */

.board[b-fq3twexwo5] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    align-items: flex-start;
    padding-bottom: 8px;
}

.board-column[b-fq3twexwo5] {
    flex: 0 0 auto;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Заголовок колонки виден при прокрутке длинной колонки. */
.board-column[b-fq3twexwo5]  .board-column-head {
    position: sticky;
    top: 0;
    z-index: 1;
}

.board-card[b-fq3twexwo5] {
    text-decoration: none;
    color: inherit;
    display: block;
}

.board-card:hover[b-fq3twexwo5] {
    filter: brightness(0.97);
}

/* Длинное название не растягивает колонку: две строки и многоточие. */
.board-card[b-fq3twexwo5]  .board-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
