/* Верхняя строка с текстом загрузки. */
.landing-loading-text {
    margin: 0 0 8px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1.85;
    text-transform: uppercase;
}

/* Карточка boot-экрана. */
.boot-panel {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    height: 410px;
    margin: 0 auto;
}

/* Landing использует тот же базовый ширинный контракт, что и остальные страницы. */
.landing-page {
    width: min(920px, calc(100% - 32px));
    margin: 48px auto;
}

@media (max-width: 720px) {
    .landing-page {
        margin: 24px auto;
    }
}

/* Заполняет доступную высоту внутри карточки. */
.boot-panel .record-grid {
    flex: 1;
}

/* Служебная строка в верхней панели. */
.boot-panel .record-top {
    position: relative;
    display: block;
    min-height: 16px;
}

/* Полоса прогресса под шапкой. */
.boot-progress {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(182, 164, 111, 0.08);
}

/* Анимированная полоса сканирования. */
.boot-progress::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(182, 164, 111, 0.06), rgba(182, 164, 111, 0.35), rgba(182, 164, 111, 0.06));
    animation: boot-scan 2.8s ease-in-out infinite;
}

/* Анимация движения полосы. */
@keyframes boot-scan {
    0% {
        transform: translateX(0);
        opacity: 0.35;
    }

    50% {
        transform: translateX(196%);
        opacity: 0.65;
    }

    100% {
        transform: translateX(0);
        opacity: 0.35;
    }
}

/* Одна строка boot-лога. */
.boot-line {
    min-height: 1.7em;
    line-height: 2;
}

/* Ссылка в boot-экранe. */
.boot-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Hover для boot-ссылки. */
.boot-link:hover {
    text-decoration-thickness: 2px;
}

.boot-access {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.boot-input {
    min-width: 220px;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgba(182, 164, 111, 0.35);
    background: transparent;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    outline: none;
}

.boot-input:focus {
    border-bottom-color: var(--accent);
}

/* Форма доступа оператора на landing. */
.operator-access {
    display: block;
    width: fit-content;
    margin: 12px 0 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-align: left;
}

.operator-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 720px) {
    .operator-access {
        width: 100%;
    }
}
