.ll-portal-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px;
}

.ll-portal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.ll-portal-header h1 {
    margin: 3px 0 5px 0;
}

.ll-portal-login-card {
    max-width: 520px;
}

.ll-portal-login-key {
    margin: 14px 0 18px 0;
}

.ll-portal-muted {
    color: #99a5b1;
    font-size: 13px;
    line-height: 1.5;
}

.ll-portal-license-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.ll-portal-license-card {
    max-width: none;
    padding: 24px;
}

.ll-portal-license-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ll-portal-license-heading h2 {
    margin: 0 0 5px 0;
    font-size: 23px;
}

.ll-portal-key-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border: 1px solid #34404d;
    border-radius: 8px;
    background: #11171d;
}

.ll-portal-label {
    margin-bottom: 5px;
    color: #8794a1;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.ll-portal-license-key {
    color: #edf3f8;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.7px;
}

.ll-portal-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.ll-portal-facts div {
    padding: 13px;
    border: 1px solid #303944;
    border-radius: 7px;
    background: #151b22;
}

.ll-portal-facts span,
.ll-portal-facts strong {
    display: block;
}

.ll-portal-facts span {
    margin-bottom: 5px;
    color: #84909c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ll-portal-machines {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #303844;
}

.ll-portal-machines h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
}

.ll-portal-machine {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #303944;
    border-radius: 7px;
    background: #12181e;
}

.ll-portal-empty {
    max-width: none;
}

@media (max-width: 760px) {
    .ll-portal-shell {
        padding: 20px;
    }

    .ll-portal-header,
    .ll-portal-key-row,
    .ll-portal-machine {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-portal-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .ll-portal-facts {
        grid-template-columns: 1fr;
    }
}
